← Back to team overview

quickly-talk team mailing list archive

Updating apps for precise

 

We have Quickly apps submitted to the ARB that run just fine on Oneiric,
but fail to build on Precise. This seems to be related to changes in the
APIs for GTK (I've attached a build log for one).

Is there a set of simple instructions we can give developers on how to
update their Quickly apps from Oneiric to Precise?

Thanks!
Allison
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package opensinhalease
dpkg-buildpackage: source version 12.04.1
dpkg-buildpackage: source changed by Malaka Gallage <mpgallage@xxxxxxxxx>
 dpkg-source --before-build opensinhalease-12.04.1
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
/usr/share/cdbs/1/class/python-vars.mk:116: WARNING:  Use of XS-Python-Version and XB-Python-Version fields in debian/control is deprecated with pysupport method; use debian/pyversions if you need to specify specific versions.
test -x debian/rules
dh_testroot
dh_clean 
cd . && \
		python setup.py clean \
		-a
running clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
WARNING: the following files are not recognized by DistUtilsExtra.auto:
  help/C/figures/icon.png
  help/C/index.page
  help/C/preferences.page
  help/C/topic1.page
  opensinhalease.desktop.in
  po/opensinhalease.pot
rm -rf debian/python-module-stampdir
find "/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1" -name '*.py[co]' -delete
find "/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1" -name __pycache__ -type d -empty -delete
find "/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1" -prune -name '*.egg-info' -exec rm -rf '{}' ';'
 dpkg-source -b opensinhalease-12.04.1
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building opensinhalease in opensinhalease_12.04.1.tar.gz
dpkg-source: info: building opensinhalease in opensinhalease_12.04.1.dsc
 debian/rules build
/usr/share/cdbs/1/class/python-vars.mk:116: WARNING:  Use of XS-Python-Version and XB-Python-Version fields in debian/control is deprecated with pysupport method; use debian/pyversions if you need to specify specific versions.
test -x debian/rules
mkdir -p "."
mkdir -p debian/python-module-stampdir
cd . && \
		python setup.py build \
		--build-base="/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/./build"
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)

** (setup.py:8320): WARNING **: Command line `dbus-launch --autolaunch=caff220528b16e30be25118100000008 --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/preferences.py:57: GtkWarning: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  publisher = Publisher()
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/preferences.py:57: GtkWarning: IA__gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
  publisher = Publisher()
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/preferences.py:57: GtkWarning: IA__gdk_window_set_user_data: assertion `GDK_IS_WINDOW (window)' failed
  publisher = Publisher()
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/preferences.py:57: GtkWarning: IA__gtk_style_attach: assertion `window != NULL' failed
  publisher = Publisher()
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: Warning: invalid (NULL) pointer instance
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: GtkWarning: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: GtkWarning: IA__gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: PangoWarning: pango_layout_new: assertion `context != NULL' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: PangoWarning: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: GtkWarning: IA__gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
  gtk.Builder.add_from_file(self, filename)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Builder.py:84: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  gtk.Builder.add_from_file(self, filename)
No handlers could be found for logger "opensinhalease_lib"
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Window.py:77: GtkWarning: IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  LaunchpadIntegration.add_items(self.ui.helpMenu, 1, True, True)
/home/allison/src/arb/opensinhalease/pristine/opensinhalease-12.04.1/opensinhalease_lib/Window.py:77: GtkWarning: IA__gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  LaunchpadIntegration.add_items(self.ui.helpMenu, 1, True, True)
Segmentation fault (core dumped)
make: *** [debian/python-module-stampdir/opensinhalease] Error 139
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Follow ups