gstm version 1.2-7ubuntu1 failed to build on i386

Bug #749207 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gstm (Debian)
Fix Released
Unknown
gstm (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned

Bug Description

gstm version 1.2-7ubuntu1 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2394749

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2394749/+files/buildlog_ubuntu-natty-i386.gstm_1.2-7ubuntu1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 2292 lines into the build log:

fnssht.c:205:4: note: expected 'const char *' but argument is of type 'xmlChar *'
fnssht.c:205:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
fnssht.c:205:4: note: expected 'const char *' but argument is of type 'xmlChar *'
fnssht.c:179:8: warning: unused variable 'k'
fnssht.c: In function 'gstm_ssht_stoptunnel':
fnssht.c:241:1: warning: control reaches end of non-void function
fnssht.c: In function 'gstm_ssht_starttunnel':
fnssht.c:232:1: warning: control reaches end of non-void function
fnssht.c: In function 'gstm_ssht_helperthread':
fnssht.c:152:1: warning: control reaches end of non-void function
if i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_BINDIR=\""/usr/bin"\" -pthread -DORBIT2=1 -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -Wall -g -O2 -MT eggtrayicon.o -MD -MP -MF ".deps/eggtrayicon.Tpo" -c -o eggtrayicon.o eggtrayicon.c; \
 then mv -f ".deps/eggtrayicon.Tpo" ".deps/eggtrayicon.Po"; else rm -f ".deps/eggtrayicon.Tpo"; exit 1; fi
i686-linux-gnu-gcc -Wall -g -O2 -Wl,-Bsymbolic-functions -o gstm main.o support.o interface.o callbacks.o conffile.o fniface.o fnssht.o notarea.o eggtrayicon.o -pthread -L/usr/lib/i386-linux-gnu -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
/usr/bin/ld: conffile.o: undefined reference to symbol 'xmlTextWriterEndElement@@LIBXML2_2.6.0'
/usr/bin/ld: note: 'xmlTextWriterEndElement@@LIBXML2_2.6.0' is defined in DSO /usr/lib/libxml2.so.2 so try adding it to the linker command line
/usr/lib/libxml2.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [gstm] Error 1
make[3]: Leaving directory `/build/buildd/gstm-1.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/gstm-1.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/gstm-1.2'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110403-0939
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/gstm-1.2

Related branches

tags: added: oneiric
Changed in gstm (Ubuntu):
milestone: none → oneiric-alpha-1
Changed in gstm (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Changed in gstm (Debian):
status: Unknown → New
Revision history for this message
Mahyuddin Susanto (udienz) wrote :

attached debdiff to solve this problem

Changed in gstm (Ubuntu Oneiric):
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gstm - 1.2-7ubuntu2

---------------
gstm (1.2-7ubuntu2) oneiric; urgency=low

  * debian/patches/ftbfs-as-needed.patch: Fix FTBFS with ld no-add-needed
    by adding xml2 library linker to src/Makefile.{am|in}. (LP: #749207)
 -- Mahyuddin Susanto <email address hidden> Thu, 30 Jun 2011 12:31:17 +0700

Changed in gstm (Ubuntu Oneiric):
status: Triaged → Fix Released
Changed in gstm (Debian):
status: New → Fix Committed
Changed in gstm (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.