Bug#583387: closed by Bastian Blank <waldi at debian.org> (Re: Bug#583387: no longer shipping static libraries causes cryptsetup FTBFS)

Bastian Blank waldi at debian.org
Thu May 27 18:13:10 UTC 2010


On Thu, May 27, 2010 at 07:13:01PM +0200, Jonas Meurer wrote:
> but still the most recent update of libdevmapper broke cryptsetup build.
> see the build logs at https://buildd.debian.org/pkg.cgi?pkg=cryptsetup:

> make[3]: Entering directory `/build/buildd-cryptsetup_1.1.1-1-i386-X7Uy0C/cryptsetup-1.1.1/src'
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DLIBDIR=\""/usr/lib"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/usr/etc"\" -DVERSION=\""1.1.1"\" -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
> mv -f .deps/cryptsetup-cryptsetup.Tpo .deps/cryptsetup-cryptsetup.Po
> /bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -Wall -g -O2 -all-static  -o cryptsetup cryptsetup-cryptsetup.o ../lib/libcryptsetup.la -lgcrypt -lgpg-error -lselinux -lsepol  -lpopt  
> libtool: link: gcc -Wall -Wall -g -O2 -static -o cryptsetup cryptsetup-cryptsetup.o  ../lib/.libs/libcryptsetup.a -luuid -L/lib -ldevmapper -lpthread /usr/lib/libgcrypt.a /usr/lib/libgpg-error.a -lselinux -lsepol /usr/lib/libpopt.a
> /usr/bin/ld: cannot find -ldevmapper
> collect2: ld returned 1 exit status
> make[3]: *** [cryptsetup] Error 1
> make[3]: Leaving directory `/build/buildd-cryptsetup_1.1.1-1-i386-X7Uy0C/cryptsetup-1.1.1/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd-cryptsetup_1.1.1-1-i386-X7Uy0C/cryptsetup-1.1.1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd-cryptsetup_1.1.1-1-i386-X7Uy0C/cryptsetup-1.1.1'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 
> i can reproduce this bug with libdevmapper-dev 2:1.02.47-1.

This is not the same version then already in unstable. So you can't even
show on which side it break. As you link with -static, it will only
consider static libs.

However the question is: why did it build on your system for the initial
upload. Out-of-date system?

Bastian

-- 
What kind of love is that?  Not to be loved; never to have shown love.
		-- Commissioner Nancy Hedford, "Metamorphosis",
		   stardate 3219.8





More information about the pkg-lvm-maintainers mailing list