The compilation fails with: -------------------------------------------------- make[2]: Leaving directory `/usr/data/tmp/portage/sys-fs/cryptsetup-1.1.0/work/cryptsetup-1.1.0/lib' Making all in src make[2]: Entering directory `/usr/data/tmp/portage/sys-fs/cryptsetup-1.1.0/work/cryptsetup-1.1.0/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DLIBDIR=\""/usr/lib64"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DVERSION=\""1.1.0"\" -D_GNU_SOURCE -Wall -march=native -O2 -pipe -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 x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -all-static -Wl,-O1 -o cryptsetup cryptsetup-cryptsetup.o -lpopt ../lib/libcryptsetup.la -L/usr/lib64 -lgcrypt -lgpg-error -lgpg-error libtool: link: x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -static -Wl,-O1 -o cryptsetup cryptsetup-cryptsetup.o /usr/lib64/libpopt.a ../lib/.libs/libcryptsetup.a -L/usr/lib64 -luuid -ldevmapper /usr/lib64/libudev.so /usr/lib64/libgcrypt.a /usr/lib64/libgpg-error.a /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.0/../../../../x86_64-pc-linux-gnu/bin/ld: attempted static link of dynamic object `/usr/lib64/libudev.so' collect2: ld returned 1 exit status make[2]: *** [cryptsetup] Error 1 make[2]: Leaving directory `/usr/data/tmp/portage/sys-fs/cryptsetup-1.1.0/work/cryptsetup-1.1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/data/tmp/portage/sys-fs/cryptsetup-1.1.0/work/cryptsetup-1.1.0' make: *** [all] Error 2 -------------------------------------------------- Reproducible: Always Steps to Reproduce: 1. emerge cryptsetup 2. 3. Actual Results: I've tried to re-emerge udev ('emerge -1 udev') Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.5.0, glibc-2.10.1-r1, 2.6.33.2-vs2.3.0.36.30.4-dirty x86_64) ================================================================= System uname: Linux-2.6.33.2-vs2.3.0.36.30.4-dirty-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-1.12.13 Timestamp of tree: Tue, 15 Jun 2010 03:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r2 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2, 4.5.0 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ABI="amd64" ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" ACCEPT_PROPERTIES="*"
Hello Tomas, can you please provide a _full_ `emerge --info` and the build.log and environment files mentioned at the end of the failing ebuildl, Thanks
Created attachment 235445 [details] full emerge --info output
Created attachment 235447 [details] full build.log
Are you sure this is the stable version? For my stable amd64 box I have cryptsetup-1.0.6-r2 installed. Also, this seems very similar to http://bugs.gentoo.org/show_bug.cgi?id=316571#c15
Oh, sorry, indeed. I did not remember, but cryptsetup is in my package.keywords. And i'm using sys-fs/lvm2-2.02.56-r2, so i guess you're right, it's a duplicate, they mention pb with static/dynamic udev/lib. *** This bug has been marked as a duplicate of bug 316571 ***