Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516058 - sys-fs/cryptsetup-1.6.5 USE="gcrypt nls python static static-libs udev" - ?
Summary: sys-fs/cryptsetup-1.6.5 USE="gcrypt nls python static static-libs udev" - ?
Status: RESOLVED DUPLICATE of bug 496612
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-02 10:53 UTC by Freddie Witherden
Modified: 2014-07-02 12:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Freddie Witherden 2014-07-02 10:53:02 UTC
# emerge -av cryptsetup

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

Calculating dependencies... done!
[ebuild     U  ] sys-fs/cryptsetup-1.6.5 [1.6.4] USE="gcrypt nls python static static-libs udev -kernel -nettle -openssl -reencrypt -urandom" PYTHON_SINGLE_TARGET="python2_7 (-python2_6)" PYTHON_TARGETS="python2_7 (-python2_6)" 0 kB

fails to emerge with a linker error:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libsystemd_shared_la-util.o): In function `gid_to_name':
util.c:(.text.gid_to_name+0x31): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libsystemd_shared_la-util.o): In function `get_group_creds':
util.c:(.text.get_group_creds+0xd2): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libudev_la-libudev-util.o): In function `util_lookup_group':
libudev-util.c:(.text.util_lookup_group+0xd7): 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-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libsystemd_shared_la-util.o): In function `get_user_creds':
util.c:(.text.get_user_creds+0x16b): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
util.c:(.text.get_user_creds+0xef): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libudev_la-libudev-util.o): In function `util_lookup_user':
libudev-util.c:(.text.util_lookup_user+0xcc): 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-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libsystemd_shared_la-util.o): In function `lookup_uid':
util.c:(.text.lookup_uid+0x8e): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib64/libgcrypt.a(libgcrypt_la-ath.o): In function `_gcry_ath_mutex_lock':
ath.c:(.text+0x261): undefined reference to `pthread_mutex_lock'
/usr/lib64/libgcrypt.a(libgcrypt_la-ath.o): In function `_gcry_ath_mutex_unlock':
ath.c:(.text+0x2b1): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libdevmapper.a(pool.o): In function `dm_pool_create':
pool.c:(.text+0x1bc): undefined reference to `pthread_mutex_lock'
pool.c:(.text+0x1d7): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libdevmapper.a(pool.o): In function `dm_pool_destroy':
pool.c:(.text+0x299): undefined reference to `pthread_mutex_lock'
pool.c:(.text+0x2ad): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libdevmapper.a(pool.o): In function `dm_pools_check_leaks':
pool.c:(.text+0x75e): undefined reference to `pthread_mutex_lock'
pool.c:(.text+0x848): undefined reference to `pthread_mutex_unlock'
pool.c:(.text+0x8ce): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__gthread_mutex_lock':
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:769: undefined reference to `pthread_mutex_lock'
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:769: undefined reference to `pthread_mutex_lock'
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:769: undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__gthread_mutex_unlock':
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:799: undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__gthread_mutex_lock':
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:769: undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__gthread_mutex_unlock':
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:799: undefined reference to `pthread_mutex_unlock'
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:799: undefined reference to `pthread_mutex_unlock'
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:799: undefined reference to `pthread_mutex_unlock'
collect2: error: ld returned 1 exit status
Makefile:633: recipe for target 'veritysetup.static' failed
make[2]: *** [veritysetup.static] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libsystemd_shared_la-util.o): In function `gid_to_name':
util.c:(.text.gid_to_name+0x31): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libsystemd_shared_la-util.o): In function `get_group_creds':
util.c:(.text.get_group_creds+0xd2): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libudev_la-libudev-util.o): In function `util_lookup_group':
libudev-util.c:(.text.util_lookup_group+0xd7): 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-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libsystemd_shared_la-util.o): In function `get_user_creds':
util.c:(.text.get_user_creds+0x16b): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
util.c:(.text.get_user_creds+0xef): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libudev_la-libudev-util.o): In function `util_lookup_user':
libudev-util.c:(.text.util_lookup_user+0xcc): 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-pc-linux-gnu/4.7.4/../../../../lib64/libudev.a(libsystemd_shared_la-util.o): In function `lookup_uid':
util.c:(.text.lookup_uid+0x8e): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib64/libgcrypt.a(libgcrypt_la-ath.o): In function `_gcry_ath_mutex_lock':
ath.c:(.text+0x261): undefined reference to `pthread_mutex_lock'
/usr/lib64/libgcrypt.a(libgcrypt_la-ath.o): In function `_gcry_ath_mutex_unlock':
ath.c:(.text+0x2b1): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libdevmapper.a(pool.o): In function `dm_pool_create':
pool.c:(.text+0x1bc): undefined reference to `pthread_mutex_lock'
pool.c:(.text+0x1d7): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libdevmapper.a(pool.o): In function `dm_pool_destroy':
pool.c:(.text+0x299): undefined reference to `pthread_mutex_lock'
pool.c:(.text+0x2ad): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/../../../../lib64/libdevmapper.a(pool.o): In function `dm_pools_check_leaks':
pool.c:(.text+0x75e): undefined reference to `pthread_mutex_lock'
pool.c:(.text+0x848): undefined reference to `pthread_mutex_unlock'
pool.c:(.text+0x8ce): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__gthread_mutex_lock':
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:769: undefined reference to `pthread_mutex_lock'
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:769: undefined reference to `pthread_mutex_lock'
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:769: undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__gthread_mutex_unlock':
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:799: undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__gthread_mutex_lock':
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:769: undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__gthread_mutex_unlock':
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:799: undefined reference to `pthread_mutex_unlock'
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:799: undefined reference to `pthread_mutex_unlock'
/var/tmp/portage/sys-devel/gcc-4.7.4/work/build/x86_64-pc-linux-gnu/libgcc/./gthr-default.h:799: undefined reference to `pthread_mutex_unlock'
collect2: error: ld returned 1 exit status
Makefile:625: recipe for target 'cryptsetup.static' failed
make[2]: *** [cryptsetup.static] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/work/cryptsetup-1.6.5/src'
Makefile:452: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/work/cryptsetup-1.6.5'
Makefile:383: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: sys-fs/cryptsetup-1.6.5::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-fs/cryptsetup-1.6.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/cryptsetup-1.6.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/work/cryptsetup-1.6.5'
 * S: '/var/tmp/portage/sys-fs/cryptsetup-1.6.5/work/cryptsetup-1.6.5'


Reproducible: Always
Comment 1 Freddie Witherden 2014-07-02 10:53:30 UTC
Emerge info:

# emerge --info
Portage 2.2.10 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.4, glibc-2.19-r1, 3.14.5-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.14.5-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4820K_CPU_@_3.70GHz-with-gentoo-2.2
KiB Mem:    65955732 total,  61991444 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 02 Jul 2014 10:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.2.5-r3, 3.3.5, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.4, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.15 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo science
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science"
USE="X a52 aac acl acpi alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss enchant encode exif fam firefox flac fortran gdbm gif git gpm gtk iconv icu ipv6 jpeg kde kipi lapack latex lcms libnotify luatex mad mmx mng modules mp3 mp4 mpeg mpi multilib ncurses networkmanager nls nptl ogg opencl opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds python qt qt3support qt4 readline resolvconf romio sdl semantic-desktop session spell sqlite sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-02 12:02:04 UTC
Please attach the entire build log to this bug report.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-02 12:02:49 UTC

*** This bug has been marked as a duplicate of bug 496612 ***