hamfax version 0.6.4-5.1 failed to build on amd64 with GCC-4.6/oneiric
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hamfax (Ubuntu) |
Fix Released
|
High
|
John Nogatch | ||
Oneiric |
Fix Released
|
High
|
John Nogatch |
Bug Description
hamfax version 0.6.4-5.1 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https:/
Details about the rebuild:
https:/
Direct link to the build log: https:/
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_
QT_DIR=
QT_LIBS=-lqt-mt -lSM -lICE -lX11 -lXext -lXmu -lXt -lXi
QT_
QT_
checking correct functioning of Qt installation... failure
configure: error: Failed to find matching components of a complete
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-
Related branches
Changed in hamfax (Ubuntu): | |
importance: | Undecided → High |
Changed in hamfax (Ubuntu): | |
milestone: | none → oneiric-alpha-3 |
Changed in hamfax (Ubuntu Oneiric): | |
assignee: | nobody → John Nogatch (jnogatch) |
status: | New → Confirmed |
Changed in hamfax (Ubuntu Oneiric): | |
milestone: | oneiric-alpha-3 → none |
tags: | added: universe |
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.