loqui version 0.4.4-1 failed to build on i386

Bug #755930 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
loqui (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

loqui version 0.4.4-1 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2403440

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2403440/+files/buildlog_ubuntu-natty-i386.loqui_0.4.4-1_FAILEDTOBUILD.txt.gz

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

appending configuration tag "F77" to libtool
checking for windres... no
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0... yes (version 2.28.5)
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.4.0... yes (version 2.24.4)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GNET - version >= 2.0.0... no
*** Could not run GNET test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GNET is incorrectly installed.
configure: error: Test for GNet failed. See the 'INSTALL' for help.
make: *** [config.status] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110408-1817
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/loqui-0.4.4

Related branches

Matthias Klose (doko)
Changed in loqui (Ubuntu):
importance: Undecided → High
tags: added: oneiric
Changed in loqui (Ubuntu):
milestone: none → oneiric-alpha-1
Changed in loqui (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Changed in loqui (Ubuntu Oneiric):
milestone: oneiric-alpha-2 → none
status: New → Confirmed
tags: added: universe
Revision history for this message
Sebastian Carneiro (scarneiro) wrote :

Part of the problem with this bug has to do with outdated references in libgnet-dev to glib include dirs.

A bug has been filed to solve this issue in gnet: https://bugs.launchpad.net/ubuntu/+source/gnet/+bug/814374

Besides that, there are some problems in this package regarding indirect linking issues that I'm looking into.

Thanks,

Sebastian.

Revision history for this message
Colin Watson (cjwatson) wrote :

This now fails with:

i686-linux-gnu-gcc -g -O2 -Wl,-Bsymbolic-functions -o loqui eggtrayicon.o gtkutils.o main.o loqui_app_actions.o loqui_stock.o loqui_app.o loqui_app_info.o loqui_channel_entry_store.o loqui_channel_entry_action.o loqui_channel_buffer_gtk.o loqui_dropdown_box.o loqui_account_manager_store.o channel_tree.o nick_list.o about.o account_list_dialog.o loqui_statusbar.o prefs_dialog.o loqui_channel_text_view.o command_dialog.o remark_entry.o loqui_channelbar.o loqui_select_dialog.o prefs_general_upgrader.o loqui-core-gtk.o loqui-style-entry.o loqui-account-dialog.o loqui-protocol-selection-dialog.o loqui-transfer-window.o loqui-tray-icon.o loqui-channel-entry-action-group.o loqui-channel-entry-ui-data.o loqui-channel-entry-action-group-ui.o loqui-notifier-gtk.o /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so /usr/lib/i386-linux-gnu/libatk-1.0.so /usr/lib/i386-linux-gnu/libgio-2.0.so /usr/lib/i386-linux-gnu/libpangoft2-1.0.so /usr/lib/i386-linux-gnu/libpangocairo-1.0.so -lgdk_pixbuf-2.0 /usr/lib/i386-linux-gnu/libcairo.so /usr/lib/i386-linux-gnu/libpango-1.0.so /usr/lib/i386-linux-gnu/libfreetype.so -lfontconfig /usr/lib/i386-linux-gnu/libgmodule-2.0.so -pthread ../libloqui/.libs/libloqui.a /usr/lib/i386-linux-gnu/libgobject-2.0.so -lgnet-2.0 /usr/lib/i386-linux-gnu/libgthread-2.0.so -lrt /usr/lib/i386-linux-gnu/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib/i386-linux-gnu -Wl,--rpath -Wl,/usr/lib/i386-linux-gnu
/usr/bin/ld: eggtrayicon.o: undefined reference to symbol 'XFlush'
/usr/bin/ld: note: 'XFlush' is defined in DSO /usr/lib/i386-linux-gnu/libX11.so.6 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[5]: *** [loqui] Error 1

... which as you say is an indirect linking problem. I'll sort this out.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package loqui - 0.4.4-1ubuntu1

---------------
loqui (0.4.4-1ubuntu1) oneiric; urgency=low

  * Link against libX11, as src/eggtrayicon.c calls X functions directly
    (LP: #755930).
 -- Colin Watson <email address hidden> Mon, 12 Sep 2011 09:59:00 +0100

Changed in loqui (Ubuntu Oneiric):
status: Confirmed → 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.