gcc 4.6 does not obtain modules from libraries unless the library comes later in the command, after the module that requires it.
This problem was present in 2 places: 1. In Makefile.in hamfax_LDFLAGS must be after the hamfax .o files. 2. In configure QT_LIBS must be after the qt* test program. Modifying the configure file may not be a correct fix, since it may overwritten if autoconf or autoreconf is later used. ** Patch added: "move libs later in ld commands in configure & Makefile.in" https://bugs.launchpad.net/ubuntu/+source/hamfax/+bug/770985/+attachment/2170602/+files/770985.patch ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu ham developers, which is subscribed to hamfax in Ubuntu. https://bugs.launchpad.net/bugs/770985 Title: hamfax version 0.6.4-5.1 failed to build on amd64 with GCC-4.6/oneiric Status in “hamfax” package in Ubuntu: Confirmed Status in “hamfax” source package in Oneiric: Confirmed Bug description: hamfax version 0.6.4-5.1 failed to build on amd64 with GCC-4.6/oneiric Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2452521 Details about the rebuild: https://lists.ubuntu.com/archives/ubuntu-devel/2011-April/033042.html Direct link to the build log: https://launchpad.net/ubuntu/+archive /test-rebuild-20110413/+buildjob/2452521/+files/buildlog_ubuntu-natty- amd64.hamfax_0.6.4-5.1_FAILEDTOBUILD.txt.gz This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'. Excerpt 1324 lines into the build log: checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for Qt... yes: QT_CXXFLAGS=-I/usr/include/qt3 QT_DIR= QT_LIBS=-lqt-mt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi QT_UIC=/usr/bin/uic QT_MOC=/usr/bin/moc checking correct functioning of Qt installation... failure configure: error: Failed to find matching components of a complete Qt installation. Try using more options, see ./configure --help. make: *** [configure-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ****************************************************************************** Build finished at 20110423-0911 FAILED [dpkg-buildpackage died] Purging chroot-autobuild/build/buildd/hamfax-0.6.4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hamfax/+bug/770985/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-hams-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-hams-devel More help : https://help.launchpad.net/ListHelp

