gpass version 0.5.0-2 failed to build on amd64 with GCC-4.6/oneiric

Bug #770994 reported by Matthias Klose
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gpass (Ubuntu)
Won't Fix
High
riu
Oneiric
Won't Fix
High
riu

Bug Description

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

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/2451851/+files/buildlog_ubuntu-natty-amd64.gpass_0.5.0-2_FAILEDTOBUILD.txt.gz

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

../lib/libgpass.a(libgpass_a-crypt-stream.o): In function `gpass_crypt_stream_open':
/build/buildd/gpass-0.5.0/lib/crypt-stream.c:139: undefined reference to `mcrypt_enc_get_block_size'
../lib/libgpass.a(libgpass_a-crypt-stream.o): In function `write_block':
/build/buildd/gpass-0.5.0/lib/crypt-stream.c:475: undefined reference to `mcrypt_generic'
../lib/libgpass.a(libgpass_a-crypt-stream.o): In function `read_block':
/build/buildd/gpass-0.5.0/lib/crypt-stream.c:268: undefined reference to `mdecrypt_generic'
collect2: ld returned 1 exit status
make[3]: *** [gpass] Error 1
make[3]: Leaving directory `/build/buildd/gpass-0.5.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/gpass-0.5.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/gpass-0.5.0'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110423-0552
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/gpass-0.5.0

Matthias Klose (doko)
Changed in gpass (Ubuntu):
importance: Undecided → High
Changed in gpass (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in gpass (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

removed in oneiric

Changed in gpass (Ubuntu Oneiric):
status: Confirmed → Won't Fix
Changed in gpass (Ubuntu):
status: Confirmed → Won't Fix
riu (stanray)
Changed in gpass (Ubuntu):
assignee: nobody → riu (stanray)
Changed in gpass (Ubuntu Oneiric):
assignee: nobody → riu (stanray)
riu (stanray)
tags: added: as-needed
Revision history for this message
riu (stanray) wrote :

The compile error caused by the changes in the newest versions of gcc. See:

gcc in natty now passes --as-needed by default to the linker
https://lists.ubuntu.com/archives/ubuntu-devel/2010-November/031991.html

In that message is also a solution to the problem.

Gpass seems to be fixed now. See the changes: http://bazaar.launchpad.net/~stanray/gpass/trunk/revision/4

Here are the buildlogs for various versions of ubuntu:
https://code.launchpad.net/~stanray/+recipe/gpass-daily-1

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.