I do not have a 64-bit system either, but I reproduce the problem by using pbuilder-dist to run a "clean" oneiric i386 build on my system running natty.
I am seeing this issue of libraries needing to be moved later in the command in many packages; the behavior is different between gcc-4.5.2 in natty and gcc-4.6 in oneiric, but I do not see any description of such a change in gcc or ld documentation. Your patch to Makefile.am is good; they are better to be called LIBS, rather than LDFLAGS. Your patch to acinclude.m4 is also good, but after applying the patch, I had to remove configure and run autoconf to create a new configure. (I tried both autoconf and autoreconf, but only used the result of autoconf.) Then I created a new package and used pbuilder-dist to verify that it builds on oneiric i386. In summary, your patch file is good, but I believe that you should also create a new configure file in the upstream repository. -- 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

