cryptsetup fails to build from source in linaro

Bug #600179 reported by Matthias Klose
This bug report is a duplicate of:  Bug #599311: cryptsetup ftbfs in maverick. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: cryptsetup

test rebuild, doesn't fail in maverick
https://launchpad.net/ubuntu/+archive/test-rebuild-20100628/+build/1818862

make[3]: Entering directory `/build/buildd/cryptsetup-1.1.0~rc2/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DLIBDIR=\""/usr/lib"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/usr/etc"\" -DVERSION=\""1.1.0-rc2"\" -D_GNU_SOURCE -Wall -Wall -g -O2 -MT cryptsetup-cryptsetup.o -MD -MP -MF ".deps/cryptsetup-cryptsetup.Tpo" -c -o cryptsetup-cryptsetup.o `test -f 'cryptsetup.c' || echo './'`cryptsetup.c; \
 then mv -f ".deps/cryptsetup-cryptsetup.Tpo" ".deps/cryptsetup-cryptsetup.Po"; else rm -f ".deps/cryptsetup-cryptsetup.Tpo"; exit 1; fi
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -O2 -Wl,-Bsymbolic-functions -o cryptsetup -all-static cryptsetup-cryptsetup.o -lpopt ../lib/libcryptsetup.la -lgpg-error -lselinux -lsepol
libtool: link: gcc -Wall -g -O2 -Wl,-Bsymbolic-functions -o cryptsetup -static cryptsetup-cryptsetup.o /usr/lib/libpopt.a ../lib/.libs/libcryptsetup.a -luuid -ldevmapper -lpthread /lib/libgcrypt.a /lib/libgpg-error.a -lselinux -lsepol
/usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/libselinux.a(seusers.o): In function `check_group':
/build/buildd/libselinux-2.0.94/src/seusers.c:129: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/build/buildd/libselinux-2.0.94/src/seusers.c:125: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/libselinux.a(seusers.o): In function `get_default_gid':
/build/buildd/libselinux-2.0.94/src/seusers.c:104: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.4.4/../../../../lib/libdevmapper.a(libdm-common.o): In function `_add_dev_node':
(.text+0x181b): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `__lookup_dev':
/build/buildd/cryptsetup-1.1.0~rc2/lib/libdevmapper.c:102: undefined reference to `S_ISDIR'
/build/buildd/cryptsetup-1.1.0~rc2/lib/libdevmapper.c:106: undefined reference to `S_ISBLK'
collect2: ld returned 1 exit status
make[3]: *** [cryptsetup] Error 1
make[3]: Leaving directory `/build/buildd/cryptsetup-1.1.0~rc2/src'

Matthias Klose (doko)
Changed in cryptsetup (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
asi (gmazyland) wrote :

Please can Ubuntu upgrade to released version of cryptsetup (curently 1.1.2) and do not rely on old beta version here?
All these problems should fixed there.

See bug 594365.

Thanks.

Revision history for this message
Steve Langasek (vorlon) wrote :

Duplicate of bug #599311, fixed in cryptsetup 2:1.1.0~rc2-1ubuntu15.

BTW, the provided link to the log doesn't work; https://launchpad.net/ubuntu/+archive/test-rebuild-20100628/+build/1818862/+files/buildlog_ubuntu-maverick-amd64.cryptsetup_2:1.1.0~rc2-1ubuntu14_FAILEDTOBUILD.txt.gz works instead.

Changed in cryptsetup (Ubuntu):
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.