lastfm version 1:1.5.4.27091+dfsg-2 failed to build on i386

Bug #749089 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lastfm (Ubuntu)
Fix Released
Medium
Steve Langasek

Bug Description

lastfm version 1:1.5.4.27091+dfsg-2 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2398403

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2398403/+files/buildlog_ubuntu-natty-i386.lastfm_1%3A1.5.4.27091%2Bdfsg-2_FAILEDTOBUILD.txt.gz

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

/usr/bin/moc-qt4 -DNDEBUG -DNBREAKPAD -DLINUX -DREALLY_LINUX -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I../libMoose -I../libUnicorn -I../../src -I../../build -I../../build/srv_httpinput/release httpinput.h -o ../../build/srv_httpinput/release/moc_httpinput.cpp
g++ -c -pipe -g -O2 -w -D_REENTRANT -fPIC -DNDEBUG -DNBREAKPAD -DLINUX -DREALLY_LINUX -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I../libMoose -I../libUnicorn -I../../src -I../../build -I../../build/srv_httpinput/release -o ../../build/srv_httpinput/release/moc_httpinput.o ../../build/srv_httpinput/release/moc_httpinput.cpp
rm -f libsrv_httpinput.so
g++ -Wl,-Bsymbolic-functions -shared -o libsrv_httpinput.so ../../build/srv_httpinput/release/httpinput.o ../../build/srv_httpinput/release/moc_httpinput.o -L/build/buildd/lastfm-1.5.4.27091+dfsg/bin -L/usr/lib -lLastFmTools -lQtNetwork -lQtCore -lpthread
mv -f libsrv_httpinput.so ../../bin/services/
make[3]: Leaving directory `/build/buildd/lastfm-1.5.4.27091+dfsg/src/httpinput'
cd src/mediadevices/ipod/ && /usr/bin/qmake /build/buildd/lastfm-1.5.4.27091+dfsg/src/mediadevices/ipod/ipod.pro -nocache QMAKE_CFLAGS_RELEASE=-g\ -O2 QMAKE_CFLAGS_DEBUG=-g\ -O2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2 QMAKE_LFLAGS_RELEASE=-Wl,-Bsymbolic-functions QMAKE_LFLAGS_DEBUG=-Wl,-Bsymbolic-functions QMAKE_STRIP=: PREFIX=/usr DEFINES\ +=\ NDEBUG -o Makefile
cd src/mediadevices/ipod/ && make -f Makefile
make[3]: Entering directory `/build/buildd/lastfm-1.5.4.27091+dfsg/src/mediadevices/ipod'
g++ -c -pipe -g -O2 -w -D_REENTRANT -fPIC -DNDEBUG -DNBREAKPAD -DLINUX -DREALLY_LINUX -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I../../libMoose -I../../libUnicorn -I../../../src -I../../../build -I/usr/include/gpod-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib64/glib-2.0/include -I/usr/local/include/gpod-1.0 -I/usr/local/include/glib-2.0 -I../../../build/srv_Ipod_device/release -o ../../../build/srv_Ipod_device/release/IpodDevice.o IpodDevice.cpp
In file included from /usr/include/glib-2.0/glib/galloca.h:34:0,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/gpod-1.0/gpod/itdb.h:44,
                 from IpodDevice.cpp:36:
/usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory
compilation terminated.
make[3]: *** [../../../build/srv_Ipod_device/release/IpodDevice.o] Error 1
make[3]: Leaving directory `/build/buildd/lastfm-1.5.4.27091+dfsg/src/mediadevices/ipod'
make[2]: *** [sub-src-mediadevices-ipod-make_default-ordered] Error 2
make[2]: Leaving directory `/build/buildd/lastfm-1.5.4.27091+dfsg'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/buildd/lastfm-1.5.4.27091+dfsg'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110403-1046
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/lastfm-1.5.4.27091+dfsg

Revision history for this message
Steve Langasek (vorlon) wrote :

the build system is second-guessing pkg-config...

Changed in lastfm (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
tags: added: multiarch
Steve Langasek (vorlon)
Changed in lastfm (Ubuntu):
assignee: nobody → Steve Langasek (vorlon)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lastfm - 1:1.5.4.27091+dfsg-2ubuntu1

---------------
lastfm (1:1.5.4.27091+dfsg-2ubuntu1) natty; urgency=low

  * debian/patches/build-fixes.diff: use pkg-config instead of hard-coding
    include paths for glib-2.0 and libgpod. LP: #749089.
  * debian/patches/build-kfreebsd.diff: drop references to /usr/local, which
    have nothing at all to do with a kfreebsd build.
 -- Steve Langasek <email address hidden> Sat, 09 Apr 2011 08:18:51 +0000

Changed in lastfm (Ubuntu):
status: Triaged → 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.