qrq version 0.1.4-3 failed to build on amd64 with GCC-4.6/oneiric

Bug #771075 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qrq (Ubuntu)
Fix Released
High
John Nogatch
Oneiric
Fix Released
High
John Nogatch

Bug Description

qrq version 0.1.4-3 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2466790

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/2466790/+files/buildlog_ubuntu-natty-amd64.qrq_0.1.4-3_FAILEDTOBUILD.txt.gz

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

/build/buildd/qrq-0.1.4/qrq.c:882: undefined reference to `printw'
/build/buildd/qrq-0.1.4/qrq.c:911: undefined reference to `printw'
qrq.o:/build/buildd/qrq-0.1.4/qrq.c:900: more undefined references to `printw' follow
oss.o: In function `open_dsp':
/build/buildd/qrq-0.1.4/oss.c:36: undefined reference to `endwin'
/build/buildd/qrq-0.1.4/oss.c:68: undefined reference to `endwin'
/build/buildd/qrq-0.1.4/oss.c:62: undefined reference to `endwin'
/build/buildd/qrq-0.1.4/oss.c:56: undefined reference to `endwin'
/build/buildd/qrq-0.1.4/oss.c:49: undefined reference to `endwin'
oss.o:/build/buildd/qrq-0.1.4/oss.c:43: more undefined references to `endwin' follow
collect2: ld returned 1 exit status
make[1]: *** [qrq] Error 1
make[1]: Leaving directory `/build/buildd/qrq-0.1.4'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110426-0030
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/qrq-0.1.4

Related branches

Matthias Klose (doko)
Changed in qrq (Ubuntu):
importance: Undecided → High
Changed in qrq (Ubuntu):
milestone: none → oneiric-alpha-3
Revision history for this message
John Nogatch (jnogatch) wrote :

g++ 4.6 does not resolve library symbols if the library is mentioned early in the command line.

The attached patch moves "-lncurses" and "-lm" to the end of the g++ command in the Makefile.

Changed in qrq (Ubuntu Oneiric):
assignee: nobody → John Nogatch (jnogatch)
status: New → Confirmed
tags: added: patch
Revision history for this message
John Nogatch (jnogatch) wrote :

Added descriptive header to patch file.

Changed in qrq (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
tags: added: universe
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

@John Nogatch - This is now fixed in qrq_0.2.0-2 which I've just uploaded to Debian unstable (Oneiric sync request to follow). I must apologize however: I had forgotten about this bug report and your patch John, so I failed to credit you for your work when I applied the same fix in 0.2.0-2. Sorry John, and thanks very much for your all your work.

Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

@John Nogatch - Scratch that... my upload to Debian was rejected for an unrelated reason, so along with fixing that, I did credit you with the patch. Thanks again!

Revision history for this message
Matthias Klose (doko) wrote :

now built in oneiric

Changed in qrq (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.