ratpoison version 1.4.5-2 failed to build on amd64 with GCC-4.6/oneiric

Bug #771103 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ratpoison (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

ratpoison version 1.4.5-2 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2467145

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/2467145/+files/buildlog_ubuntu-natty-amd64.ratpoison_1.4.5-2_FAILEDTOBUILD.txt.gz

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

/build/buildd/ratpoison-1.4.5/src/xinerama.c:46: undefined reference to `XineramaQueryExtension'
/build/buildd/ratpoison-1.4.5/src/xinerama.c:50: undefined reference to `XineramaQueryVersion'
/build/buildd/ratpoison-1.4.5/src/xinerama.c:59: undefined reference to `XineramaIsActive'
/build/buildd/ratpoison-1.4.5/src/xinerama.c:63: undefined reference to `XineramaQueryScreens'
xinerama.o: In function `free_xinerama':
/build/buildd/ratpoison-1.4.5/src/xinerama.c:95: undefined reference to `XFree'
collect2: ld returned 1 exit status
make[3]: *** [ratpoison] Error 1
make[3]: Leaving directory `/build/buildd/ratpoison-1.4.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/buildd/ratpoison-1.4.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/ratpoison-1.4.5'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110426-0631
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/ratpoison-1.4.5

Related branches

Matthias Klose (doko)
Changed in ratpoison (Ubuntu):
importance: Undecided → High
Changed in ratpoison (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in ratpoison (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
status: New → Confirmed
tags: added: universe
Revision history for this message
marcog (marco-gallotta) wrote :

Debdiff attached

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ratpoison - 1.4.5-2ubuntu1

---------------
ratpoison (1.4.5-2ubuntu1) oneiric; urgency=low

  * ld-as-needed.patch (and .reconf): Moved libraries from LDFLAGS to LDADD,
    fixes ftbfs with ld --as-needed (LP: #771103)
 -- Marco Gallotta <email address hidden> Sun, 04 Sep 2011 01:16:32 +0200

Changed in ratpoison (Ubuntu Oneiric):
status: Confirmed → Fix Released
Revision history for this message
Stefano Rivera (stefanor) wrote :

Marco: Please forward the patch to Debian & Upstream.

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.