Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cryptsetup compile fails because of libdevmapper.c
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Thu Mar 31, 2011 7:02 pm    Post subject: Cryptsetup compile fails because of libdevmapper.c Reply with quote

I am trying to install cryptsetup but it fails out because of libdevmapper.c". Can Anyone help please?

Code:
localhost two # uname -a
Linux localhost 2.6.36-hardened-r6 #3 SMP Thu Mar 31 13:36:03 CDT 2011 x86_64 AMD Phenom(tm) II X3 705e Processor AuthenticAMD GNU/Linux
localhost two



Code:
>>> Emerging (1 of 1) sys-fs/cryptsetup-1.1.3-r3
 * cryptsetup-1.1.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...              [ ok ]
 * Package:    sys-fs/cryptsetup-1.1.3-r3
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux nls selinux userland_GNU
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.36-hardened-r6/build
 * Found sources for kernel version:
 *     2.6.36-hardened-r6
 * Checking for suitable kernel configuration options...                 [ ok ]
>>> Unpacking source...
>>> Unpacking cryptsetup-1.1.3.tar.bz2 to /var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work
>>> Source unpacked in /var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work
>>> Preparing source in /var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3 ...
 * Running elibtoolize in: cryptsetup-1.1.3/
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3 ...
 * econf: updating cryptsetup-1.1.3/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating cryptsetup-1.1.3/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sbindir=/sbin --enable-shared --enable-static --libdir=/usr/lib64 --enable-nls --enable-selinux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for inttypes.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking libdevmapper.h usability... yes
checking libdevmapper.h presence... yes
checking for libdevmapper.h... yes
checking for uuid_clear in -luuid... yes
checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.1.42... yes (1.4.6)
checking for posix_memalign... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for off_t... yes
checking for struct stat.st_rdev... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for poptConfigFileToString in -lpopt... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEVMAPPER... yes
checking whether DM_UDEV_DISABLE_DISK_RULES_FLAG is declared... yes
checking for sepol_bool_set in -lsepol... yes
checking for is_selinux_enabled in -lselinux... yes
checking for library containing pthread_mutex_lock... -lpthread
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/libcryptsetup.pc
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating luks/Makefile
config.status: creating man/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3 ...
make -j6
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3'
Making all in luks
make[2]: Entering directory `/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3/luks'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib   -Wall  -march=native -O2 -pipe -MT libluks_la-af.lo -MD -MP -MF .deps/libluks_la-af.Tpo -c -o libluks_la-af.lo `test -f 'af.c' || echo './'`af.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib   -Wall  -march=native -O2 -pipe -MT libluks_la-pbkdf.lo -MD -MP -MF .deps/libluks_la-pbkdf.Tpo -c -o libluks_la-pbkdf.lo `test -f 'pbkdf.c' || echo './'`pbkdf.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib   -Wall  -march=native -O2 -pipe -MT libluks_la-keymanage.lo -MD -MP -MF .deps/libluks_la-keymanage.Tpo -c -o libluks_la-keymanage.lo `test -f 'keymanage.c' || echo './'`keymanage.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib   -Wall  -march=native -O2 -pipe -MT libluks_la-keyencryption.lo -MD -MP -MF .deps/libluks_la-keyencryption.Tpo -c -o libluks_la-keyencryption.lo `test -f 'keyencryption.c' || echo './'`keyencryption.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib   -Wall  -march=native -O2 -pipe -MT libluks_la-hexprint.lo -MD -MP -MF .deps/libluks_la-hexprint.Tpo -c -o libluks_la-hexprint.lo `test -f 'hexprint.c' || echo './'`hexprint.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib   -Wall  -march=native -O2 -pipe -MT libluks_la-random.lo -MD -MP -MF .deps/libluks_la-random.Tpo -c -o libluks_la-random.lo `test -f 'random.c' || echo './'`random.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-af.lo -MD -MP -MF .deps/libluks_la-af.Tpo -c af.c  -fPIC -DPIC -o .libs/libluks_la-af.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-hexprint.lo -MD -MP -MF .deps/libluks_la-hexprint.Tpo -c hexprint.c  -fPIC -DPIC -o .libs/libluks_la-hexprint.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-keyencryption.lo -MD -MP -MF .deps/libluks_la-keyencryption.Tpo -c keyencryption.c  -fPIC -DPIC -o .libs/libluks_la-keyencryption.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-pbkdf.lo -MD -MP -MF .deps/libluks_la-pbkdf.Tpo -c pbkdf.c  -fPIC -DPIC -o .libs/libluks_la-pbkdf.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-keymanage.lo -MD -MP -MF .deps/libluks_la-keymanage.Tpo -c keymanage.c  -fPIC -DPIC -o .libs/libluks_la-keymanage.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-random.lo -MD -MP -MF .deps/libluks_la-random.Tpo -c random.c  -fPIC -DPIC -o .libs/libluks_la-random.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-hexprint.lo -MD -MP -MF .deps/libluks_la-hexprint.Tpo -c hexprint.c -o libluks_la-hexprint.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-random.lo -MD -MP -MF .deps/libluks_la-random.Tpo -c random.c -o libluks_la-random.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-af.lo -MD -MP -MF .deps/libluks_la-af.Tpo -c af.c -o libluks_la-af.o >/dev/null 2>&1
mv -f .deps/libluks_la-hexprint.Tpo .deps/libluks_la-hexprint.Plo
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-pbkdf.lo -MD -MP -MF .deps/libluks_la-pbkdf.Tpo -c pbkdf.c -o libluks_la-pbkdf.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-keyencryption.lo -MD -MP -MF .deps/libluks_la-keyencryption.Tpo -c keyencryption.c -o libluks_la-keyencryption.o >/dev/null 2>&1
mv -f .deps/libluks_la-random.Tpo .deps/libluks_la-random.Plo
mv -f .deps/libluks_la-af.Tpo .deps/libluks_la-af.Plo
mv -f .deps/libluks_la-pbkdf.Tpo .deps/libluks_la-pbkdf.Plo
mv -f .deps/libluks_la-keyencryption.Tpo .deps/libluks_la-keyencryption.Plo
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../lib -Wall -march=native -O2 -pipe -MT libluks_la-keymanage.lo -MD -MP -MF .deps/libluks_la-keymanage.Tpo -c keymanage.c -o libluks_la-keymanage.o >/dev/null 2>&1
mv -f .deps/libluks_la-keymanage.Tpo .deps/libluks_la-keymanage.Plo
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall  -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o libluks.la  libluks_la-af.lo libluks_la-pbkdf.lo libluks_la-keymanage.lo libluks_la-keyencryption.lo libluks_la-hexprint.lo libluks_la-random.lo 
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libluks.a .libs/libluks_la-af.o .libs/libluks_la-pbkdf.o .libs/libluks_la-keymanage.o .libs/libluks_la-keyencryption.o .libs/libluks_la-hexprint.o .libs/libluks_la-random.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libluks.a
libtool: link: ( cd ".libs" && rm -f "libluks.la" && ln -s "../libluks.la" "libluks.la" )
make[2]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3/luks'
Making all in lib
make[2]: Entering directory `/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3/lib'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib64"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DVERSION=\""1.1.3"\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Wall  -march=native -O2 -pipe -MT libcryptsetup_la-setup.lo -MD -MP -MF .deps/libcryptsetup_la-setup.Tpo -c -o libcryptsetup_la-setup.lo `test -f 'setup.c' || echo './'`setup.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib64"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DVERSION=\""1.1.3"\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Wall  -march=native -O2 -pipe -MT libcryptsetup_la-utils.lo -MD -MP -MF .deps/libcryptsetup_la-utils.Tpo -c -o libcryptsetup_la-utils.lo `test -f 'utils.c' || echo './'`utils.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib64"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DVERSION=\""1.1.3"\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Wall  -march=native -O2 -pipe -MT libcryptsetup_la-utils_debug.lo -MD -MP -MF .deps/libcryptsetup_la-utils_debug.Tpo -c -o libcryptsetup_la-utils_debug.lo `test -f 'utils_debug.c' || echo './'`utils_debug.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib64"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DVERSION=\""1.1.3"\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Wall  -march=native -O2 -pipe -MT libcryptsetup_la-backends.lo -MD -MP -MF .deps/libcryptsetup_la-backends.Tpo -c -o libcryptsetup_la-backends.lo `test -f 'backends.c' || echo './'`backends.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib64"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DVERSION=\""1.1.3"\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Wall  -march=native -O2 -pipe -MT libcryptsetup_la-libdevmapper.lo -MD -MP -MF .deps/libcryptsetup_la-libdevmapper.Tpo -c -o libcryptsetup_la-libdevmapper.lo `test -f 'libdevmapper.c' || echo './'`libdevmapper.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib64"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DVERSION=\""1.1.3"\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Wall  -march=native -O2 -pipe -MT libcryptsetup_la-gcrypt.lo -MD -MP -MF .deps/libcryptsetup_la-gcrypt.Tpo -c -o libcryptsetup_la-gcrypt.lo `test -f 'gcrypt.c' || echo './'`gcrypt.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-libdevmapper.lo -MD -MP -MF .deps/libcryptsetup_la-libdevmapper.Tpo -c libdevmapper.c  -fPIC -DPIC -o .libs/libcryptsetup_la-libdevmapper.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-backends.lo -MD -MP -MF .deps/libcryptsetup_la-backends.Tpo -c backends.c  -fPIC -DPIC -o .libs/libcryptsetup_la-backends.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-gcrypt.lo -MD -MP -MF .deps/libcryptsetup_la-gcrypt.Tpo -c gcrypt.c  -fPIC -DPIC -o .libs/libcryptsetup_la-gcrypt.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-setup.lo -MD -MP -MF .deps/libcryptsetup_la-setup.Tpo -c setup.c  -fPIC -DPIC -o .libs/libcryptsetup_la-setup.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-utils.lo -MD -MP -MF .deps/libcryptsetup_la-utils.Tpo -c utils.c  -fPIC -DPIC -o .libs/libcryptsetup_la-utils.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-utils_debug.lo -MD -MP -MF .deps/libcryptsetup_la-utils_debug.Tpo -c utils_debug.c  -fPIC -DPIC -o .libs/libcryptsetup_la-utils_debug.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-backends.lo -MD -MP -MF .deps/libcryptsetup_la-backends.Tpo -c backends.c -o libcryptsetup_la-backends.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-gcrypt.lo -MD -MP -MF .deps/libcryptsetup_la-gcrypt.Tpo -c gcrypt.c -o libcryptsetup_la-gcrypt.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-utils_debug.lo -MD -MP -MF .deps/libcryptsetup_la-utils_debug.Tpo -c utils_debug.c -o libcryptsetup_la-utils_debug.o >/dev/null 2>&1
mv -f .deps/libcryptsetup_la-gcrypt.Tpo .deps/libcryptsetup_la-gcrypt.Plo
mv -f .deps/libcryptsetup_la-backends.Tpo .deps/libcryptsetup_la-backends.Plo
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-utils.lo -MD -MP -MF .deps/libcryptsetup_la-utils.Tpo -c utils.c -o libcryptsetup_la-utils.o >/dev/null 2>&1
mv -f .deps/libcryptsetup_la-utils_debug.Tpo .deps/libcryptsetup_la-utils_debug.Plo
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-libdevmapper.lo -MD -MP -MF .deps/libcryptsetup_la-libdevmapper.Tpo -c libdevmapper.c -o libcryptsetup_la-libdevmapper.o >/dev/null 2>&1
mv -f .deps/libcryptsetup_la-utils.Tpo .deps/libcryptsetup_la-utils.Plo
mv -f .deps/libcryptsetup_la-libdevmapper.Tpo .deps/libcryptsetup_la-libdevmapper.Plo
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../luks -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.1.3\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -march=native -O2 -pipe -MT libcryptsetup_la-setup.lo -MD -MP -MF .deps/libcryptsetup_la-setup.Tpo -c setup.c -o libcryptsetup_la-setup.o >/dev/null 2>&1
mv -f .deps/libcryptsetup_la-setup.Tpo .deps/libcryptsetup_la-setup.Plo
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall  -march=native -O2 -pipe  -Wl,--version-script=../lib/libcryptsetup.sym -version-info 1:0:0 -Wl,-O1 -Wl,--as-needed -o libcryptsetup.la -rpath /usr/lib64 libcryptsetup_la-setup.lo libcryptsetup_la-utils.lo libcryptsetup_la-utils_debug.lo libcryptsetup_la-backends.lo libcryptsetup_la-libdevmapper.lo libcryptsetup_la-gcrypt.lo -luuid -lpthread -L/usr/lib64 -lgcrypt -lgpg-error ../luks/libluks.la
libtool: link: x86_64-pc-linux-gnu-gcc -shared  .libs/libcryptsetup_la-setup.o .libs/libcryptsetup_la-utils.o .libs/libcryptsetup_la-utils_debug.o .libs/libcryptsetup_la-backends.o .libs/libcryptsetup_la-libdevmapper.o .libs/libcryptsetup_la-gcrypt.o  -Wl,--whole-archive ../luks/.libs/libluks.a -Wl,--no-whole-archive  -Wl,--as-needed -luuid -lpthread -L/usr/lib64 /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so  -march=native -Wl,--version-script=../lib/libcryptsetup.sym -Wl,-O1   -Wl,-soname -Wl,libcryptsetup.so.1 -o .libs/libcryptsetup.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libcryptsetup.so.1" && ln -s "libcryptsetup.so.1.0.0" "libcryptsetup.so.1")
libtool: link: (cd ".libs" && rm -f "libcryptsetup.so" && ln -s "libcryptsetup.so.1.0.0" "libcryptsetup.so")
libtool: link: (cd .libs/libcryptsetup.lax/libluks.a && x86_64-pc-linux-gnu-ar x "/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3/lib/../luks/.libs/libluks.a")
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libcryptsetup.a  libcryptsetup_la-setup.o libcryptsetup_la-utils.o libcryptsetup_la-utils_debug.o libcryptsetup_la-backends.o libcryptsetup_la-libdevmapper.o libcryptsetup_la-gcrypt.o  .libs/libcryptsetup.lax/libluks.a/libluks_la-af.o .libs/libcryptsetup.lax/libluks.a/libluks_la-pbkdf.o .libs/libcryptsetup.lax/libluks.a/libluks_la-keyencryption.o .libs/libcryptsetup.lax/libluks.a/libluks_la-keymanage.o .libs/libcryptsetup.lax/libluks.a/libluks_la-random.o .libs/libcryptsetup.lax/libluks.a/libluks_la-hexprint.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libcryptsetup.a
libtool: link: rm -fr .libs/libcryptsetup.lax
libtool: link: ( cd ".libs" && rm -f "libcryptsetup.la" && ln -s "../libcryptsetup.la" "libcryptsetup.la" )
make[2]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3/lib'
Making all in src
make[2]: Entering directory `/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3/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.3"\" -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 -Wl,--as-needed -o cryptsetup cryptsetup-cryptsetup.o ../lib/libcryptsetup.la -L/usr/lib64 -lgcrypt -lgpg-error -lgpg-error -lselinux -lsepol  -lpopt 
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -march=native -O2 -pipe -static -Wl,-O1 -o cryptsetup cryptsetup-cryptsetup.o  -Wl,--as-needed ../lib/.libs/libcryptsetup.a -luuid -lpthread -L/usr/lib64 /usr/lib64/libgcrypt.a /usr/lib64/libgpg-error.a -lselinux -lsepol /usr/lib64/libpopt.a
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `_dm_check_versions':
libdevmapper.c:(.text+0x96): undefined reference to `dm_task_create'
libdevmapper.c:(.text+0xa8): undefined reference to `dm_task_run'
libdevmapper.c:(.text+0xc5): undefined reference to `dm_task_get_versions'
libdevmapper.c:(.text+0x150): undefined reference to `dm_task_destroy'
libdevmapper.c:(.text+0x164): undefined reference to `dm_task_destroy'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `_dm_message':
libdevmapper.c:(.text+0x269): undefined reference to `dm_task_create'
libdevmapper.c:(.text+0x281): undefined reference to `dm_task_set_name'
libdevmapper.c:(.text+0x290): undefined reference to `dm_task_destroy'
libdevmapper.c:(.text+0x2be): undefined reference to `dm_task_set_sector'
libdevmapper.c:(.text+0x2cd): undefined reference to `dm_task_set_message'
libdevmapper.c:(.text+0x2d9): undefined reference to `dm_task_run'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `_dm_simple':
libdevmapper.c:(.text+0x32a): undefined reference to `dm_udev_get_sync_support'
libdevmapper.c:(.text+0x33b): undefined reference to `dm_task_create'
libdevmapper.c:(.text+0x356): undefined reference to `dm_task_set_name'
libdevmapper.c:(.text+0x365): undefined reference to `dm_task_destroy'
libdevmapper.c:(.text+0x397): undefined reference to `dm_task_set_cookie'
libdevmapper.c:(.text+0x3a3): undefined reference to `dm_task_run'
libdevmapper.c:(.text+0x3af): undefined reference to `dm_udev_wait'
libdevmapper.c:(.text+0x3bc): undefined reference to `dm_task_run'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `dm_status_device':
libdevmapper.c:(.text+0x5a7): undefined reference to `dm_task_create'
libdevmapper.c:(.text+0x5ba): undefined reference to `dm_task_set_name'
libdevmapper.c:(.text+0x5cc): undefined reference to `dm_task_destroy'
libdevmapper.c:(.text+0x5f4): undefined reference to `dm_task_run'
libdevmapper.c:(.text+0x603): undefined reference to `dm_task_get_info'
libdevmapper.c:(.text+0x632): undefined reference to `dm_get_next_target'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `dm_remove_device':
libdevmapper.c:(.text+0x8ad): undefined reference to `dm_task_update_nodes'
libdevmapper.c:(.text+0x946): undefined reference to `dm_task_create'
libdevmapper.c:(.text+0x95b): undefined reference to `dm_task_set_name'
libdevmapper.c:(.text+0x972): undefined reference to `dm_task_destroy'
libdevmapper.c:(.text+0x98f): undefined reference to `dm_task_add_target'
libdevmapper.c:(.text+0x9a0): undefined reference to `dm_task_set_ro'
libdevmapper.c:(.text+0x9b1): undefined reference to `dm_task_no_open_count'
libdevmapper.c:(.text+0x9c2): undefined reference to `dm_task_run'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `dm_exit':
libdevmapper.c:(.text+0xa82): undefined reference to `dm_log_init_verbose'
libdevmapper.c:(.text+0xa89): undefined reference to `dm_log_init'
libdevmapper.c:(.text+0xa8e): undefined reference to `dm_lib_release'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `dm_init':
libdevmapper.c:(.text+0xb1d): undefined reference to `dm_udev_get_sync_support'
libdevmapper.c:(.text+0xba4): undefined reference to `dm_log_init'
libdevmapper.c:(.text+0xbae): undefined reference to `dm_log_init_verbose'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `lookup_dev':
libdevmapper.c:(.text+0xeb8): undefined reference to `dm_is_dm_major'
libdevmapper.c:(.text+0xec1): undefined reference to `dm_dir'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `dm_query_device':
libdevmapper.c:(.text+0xf99): undefined reference to `dm_task_create'
libdevmapper.c:(.text+0xfd7): undefined reference to `dm_task_set_name'
libdevmapper.c:(.text+0xfec): undefined reference to `dm_task_destroy'
libdevmapper.c:(.text+0xffa): undefined reference to `dm_task_run'
libdevmapper.c:(.text+0x101e): undefined reference to `dm_task_get_info'
libdevmapper.c:(.text+0x105d): undefined reference to `dm_get_next_target'
libdevmapper.c:(.text+0x1273): undefined reference to `dm_task_get_uuid'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `dm_create_device':
libdevmapper.c:(.text+0x14fe): undefined reference to `dm_task_create'
libdevmapper.c:(.text+0x153b): undefined reference to `dm_task_destroy'
libdevmapper.c:(.text+0x1540): undefined reference to `dm_task_update_nodes'
libdevmapper.c:(.text+0x16cc): undefined reference to `dm_task_create'
libdevmapper.c:(.text+0x16e5): undefined reference to `dm_task_set_name'
libdevmapper.c:(.text+0x16fa): undefined reference to `dm_task_set_uuid'
libdevmapper.c:(.text+0x1707): undefined reference to `dm_udev_get_sync_support'
libdevmapper.c:(.text+0x1724): undefined reference to `dm_task_set_ro'
libdevmapper.c:(.text+0x1745): undefined reference to `dm_task_add_target'
libdevmapper.c:(.text+0x179a): undefined reference to `dm_task_set_read_ahead'
libdevmapper.c:(.text+0x17aa): undefined reference to `dm_task_run'
libdevmapper.c:(.text+0x17c5): undefined reference to `dm_task_destroy'
libdevmapper.c:(.text+0x17cf): undefined reference to `dm_task_create'
libdevmapper.c:(.text+0x17e4): undefined reference to `dm_task_set_name'
libdevmapper.c:(.text+0x17fd): undefined reference to `dm_task_set_uuid'
libdevmapper.c:(.text+0x1806): undefined reference to `dm_udev_get_sync_support'
libdevmapper.c:(.text+0x1822): undefined reference to `dm_task_set_cookie'
libdevmapper.c:(.text+0x182e): undefined reference to `dm_task_run'
libdevmapper.c:(.text+0x1844): undefined reference to `dm_udev_get_sync_support'
libdevmapper.c:(.text+0x18b1): undefined reference to `dm_udev_get_sync_support'
libdevmapper.c:(.text+0x18c5): undefined reference to `dm_udev_wait'
libdevmapper.c:(.text+0x1940): undefined reference to `dm_task_set_name'
libdevmapper.c:(.text+0x1966): undefined reference to `dm_task_get_info'
libdevmapper.c:(.text+0x199d): undefined reference to `dm_task_set_cookie'
libdevmapper.c:(.text+0x19c9): undefined reference to `dm_udev_wait'
../lib/.libs/libcryptsetup.a(libcryptsetup_la-libdevmapper.o): In function `dm_get_dir':
libdevmapper.c:(.text+0x29): undefined reference to `dm_dir'
collect2: ld returned 1 exit status
make[2]: *** [cryptsetup] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3'
make: *** [all] Error 2
emake failed
 * ERROR: sys-fs/cryptsetup-1.1.3-r3 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3395:  Called _eapi2_src_compile
 *     ebuild.sh, line  654:  Called die
 * The specific snippet of code:
 *         emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =sys-fs/cryptsetup-1.1.3-r3',
 * the complete build log and the output of 'emerge -pqv =sys-fs/cryptsetup-1.1.3-r3'.
 * The complete build log is located at '/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/temp/environment'.
 * S: '/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3'

>>> Failed to emerge sys-fs/cryptsetup-1.1.3-r3, Log file:

>>>  '/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/temp/build.log'

 * Messages for package sys-fs/cryptsetup-1.1.3-r3:

 * ERROR: sys-fs/cryptsetup-1.1.3-r3 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3395:  Called _eapi2_src_compile
 *     ebuild.sh, line  654:  Called die
 * The specific snippet of code:
 *         emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =sys-fs/cryptsetup-1.1.3-r3',
 * the complete build log and the output of 'emerge -pqv =sys-fs/cryptsetup-1.1.3-r3'.
 * The complete build log is located at '/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/temp/environment'.
 * S: '/var/tmp/portage/sys-fs/cryptsetup-1.1.3-r3/work/cryptsetup-1.1.3'

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

localhost two # emerge -pv sys-fs/cryptsetup

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-fs/cryptsetup-1.1.3-r3  USE="nls (selinux) -dynamic" 0 kB
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Fri Apr 01, 2011 1:38 am    Post subject: Reply with quote

The build should have tried to link to /lib/libdevmapper.so, but it did not. This library is provided by sys-fs/lvm2, which is in the DEPEND list for =sys-fs/cryptsetup-1.1.3-r3. What is the output of emerge --info ; emerge --pretend --verbose sys-fs/lvm2?
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Fri Apr 01, 2011 2:56 am    Post subject: Reply with quote

I did a revdep-rebuild -p and it said everything is dynamlinking linked.

Code:
localhost subsonic # locate libdevmapper.so
/lib64/libdevmapper.so.1.02
/usr/lib64/libdevmapper.so
localhost subsonic #


Code:
[I--] [  ] sys-fs/lvm2-2.02.73-r1 (0)
localhost subsonic # emerge --info ; emerge --pretend --verbose sys-fs/lvm2
Portage 2.1.9.25 (selinux/v2refpolicy/amd64/hardened, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-hardened-r6 x86_64)
=================================================================
System uname: Linux-2.6.36-hardened-r6-x86_64-AMD_Phenom-tm-_II_X3_705e_Processor-with-gentoo-2.0.1
Timestamp of tree: Tue, 22 Mar 2011 08:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/maven-bin-2.2/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/hardened-development"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi amd64 berkdb bindist cairo cli cracklib crypt cxx dbus dri evdev fortran fuse gimp git glitz gnutls gtk hardened iconv iso14755 jpeg modules mudflap ncurses nls opengl openmp pam pcre perl pic png pppd python qt4 readline selinux session ssl svg tcpd tiff truetype udev virtualbox xcb xorg xvmc zlib" ALSA_CARDS="maestro3 usb-usx2y wavefront" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-fs/lvm2-2.02.73-r1  USE="lvm1 readline (selinux) static (-clvm) (-cman)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

localhost subsonic #
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Sat Apr 02, 2011 4:44 am    Post subject: Reply with quote

I have =sys-fs/lvm2[-static] and I was able to install =sys-fs/cryptsetup-1.1.3-r3[dynamic]. I cannot tell from the output provided why this makes a difference, but I suggest rebuilding with the same USE flags I used. If that works, then file a bug that your original combination did not work.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Apr 04, 2011 2:13 pm    Post subject: Reply with quote

I need static install for initrd and Luks. But I think I know the problem....

Code:
localhost one # lr /usr/lib/libdevmapper.so
lrwxrwxrwx 1 root root 32 Mar 31 22:00 /usr/lib/libdevmapper.so -> ../../lib64/libdevmapper.so.1.02
localhost one #


Code:
localhost one # lr /lib64/libdevmapper.so.1.02
-r-xr-xr-x 1 root root 163K Mar 31 22:00 /lib64/libdevmapper.so.1.02


is libdevmapper.so.1.02 supposed to be in /lib64/ or in /usr/lib64/?
Back to top
View user's profile Send private message
hakkikt
n00b
n00b


Joined: 24 Jun 2004
Posts: 21

PostPosted: Thu Aug 15, 2013 8:52 pm    Post subject: Reply with quote

dman777 wrote:
I need static install for initrd and Luks. But I think I know the problem....

Code:
localhost one # lr /usr/lib/libdevmapper.so
lrwxrwxrwx 1 root root 32 Mar 31 22:00 /usr/lib/libdevmapper.so -> ../../lib64/libdevmapper.so.1.02
localhost one #


Code:
localhost one # lr /lib64/libdevmapper.so.1.02
-r-xr-xr-x 1 root root 163K Mar 31 22:00 /lib64/libdevmapper.so.1.02


is libdevmapper.so.1.02 supposed to be in /lib64/ or in /usr/lib64/?


I just ran into this too. Solved it by rebuilding sys-fs/luks2, I had a copy in /usr/lib but not /usr/lib64
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum