Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491806 - =sys-fs/lvm2-2.02.104[readline,static,static-libs] ../libdm/ioctl/libdevmapper.a(pool.o): In function `dm_pool_create': pool.c:(.text+0x19c): undefined reference to `pthread_mutex_lock'
Summary: =sys-fs/lvm2-2.02.104[readline,static,static-libs] ../libdm/ioctl/libdevmappe...
Status: RESOLVED DUPLICATE of bug 492450
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 494336 494600 494780 (view as bug list)
Depends on:
Blocks: 493892
  Show dependency tree
 
Reported: 2013-11-20 19:45 UTC by grey dot
Modified: 2014-02-06 07:23 UTC (History)
20 users (show)

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


Attachments
build.log (build.log,67.32 KB, text/plain)
2013-11-20 19:48 UTC, grey dot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grey dot 2013-11-20 19:45:56 UTC
Linking error. See build.log

Reproducible: Always
Comment 1 grey dot 2013-11-20 19:48:45 UTC
Created attachment 363680 [details]
build.log
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-20 23:48:52 UTC
Can you comment with the output of `emerge --info`? Thank you in advance.
Comment 3 Alasdair Kergon 2013-11-21 00:33:08 UTC
For the first time upstream in this release we use a mutex inside libdevmapper to avoid a race when creating/destroying memory pools.  (Up to now, mutexes only wrapped library functions from outside.)
Comment 4 grey dot 2013-11-22 00:01:30 UTC
(In reply to Tom Wijsman (TomWij) from comment #2)
> Can you comment with the output of `emerge --info`? Thank you in advance.

If it makes you feel better.

> emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/no-multilib, gcc-4.8.2, glibc-2.17, 3.10.17-loki x86_64)
=================================================================
System uname: Linux-3.10.17-loki-x86_64-Intel-R-_Core-TM-_i7-3667U_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:     6022008 total,   3794484 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Thu, 21 Nov 2013 23:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r4, 3.3.2-r2
dev-util/cmake:           2.8.12
dev-util/pkgconfig:       0.28
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.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo crossdev gentoo-haskell lisp lobotomy udev
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mfpmath=sse -msse -msse2 -mssse3 -msse4.1 -msse4.2 -mavx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 -mfpmath=sse -msse -msse2 -mssse3 -msse4.1 -msse4.2 -mavx"
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 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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/crossdev /var/lib/overlays/haskell /var/lib/overlays/lisp /var/lib/overlays/lobotomy /var/lib/overlays/udev"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cryptsetup cxx dri gdbm iconv ipv6 mmx modules mudflap ncurses nptl openmp pcre readline sep-usr session smp sse sse2 sse3 sse4_1 ssl ssse3 threads unicode vim-syntax xft zlib zsh-completion" 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" DRACUT_MODULES="crypt dmraid lvm mdraid" ELIBC="glibc" GPSD_PROTOCOLS="nmea gpsclock aivdm" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm" QEMU_USER_TARGETS="i386 x86_64 arm" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i915 i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 5 grey dot 2013-11-22 00:04:17 UTC
Oh, and by the way, the problem affects only static builds as you guys may have guessed from the title. With USE=-static everything builds just fine.
Comment 6 nosys 2013-11-24 21:30:03 UTC
I can confirm this, identical build.log, somehow -lpthread is missing from STATIC_LIBS in make.tmpl.in
Comment 7 Markus Wernig 2013-11-25 06:39:22 UTC
Same here
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2013-11-26 11:33:57 UTC
As a workaround...

# CFLAGS="-pthread" emerge -1 lvm2

May allow the package to compile, while waiting for proper patch. And yes, indeed, this is USE="static" specific problem
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-16 12:36:19 UTC
*** Bug 494336 has been marked as a duplicate of this bug. ***
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2013-12-18 06:47:26 UTC
*** Bug 494600 has been marked as a duplicate of this bug. ***
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2013-12-20 07:07:12 UTC
*** Bug 494780 has been marked as a duplicate of this bug. ***
Comment 12 Torsten Kaiser 2013-12-29 10:05:14 UTC
> # CFLAGS="-pthread" emerge -1 lvm2

That did not help me to get cryptsetup to compile.

The following works:
* normal emerge of lvm2 (without the additional CFLAGS)
* # CFLAGS="-pthread" emerge -1 cryptsetup

Should something like "(breaks sys-fs/cryptsetup[static])" be added to the description of this bug? After the upgrade from cryptsetup-1.6.2 to 1.6.3 failed I searched for cryptsetup bugs and only found this bug (which provided me with above work around -> Thanks Samuli!) when I followed the DUPLICATE bugs.
Comment 13 Daniel Troeder 2013-12-30 10:34:58 UTC
I came here too, because of the problem upgrading from cryptsetup-1.6.2 to 1.6.3.
Comment 14 grey dot 2013-12-31 05:30:01 UTC
(In reply to Daniel Troeder from comment #13)
> I came here too, because of the problem upgrading from cryptsetup-1.6.2 to
> 1.6.3.

I can confirm this. Cryptsetup-1.6.3 fails with the very same issue. CFLAGS hack also works for me.
Comment 15 Fabio Coatti 2014-01-01 17:11:27 UTC
I've tried the hack suggested, but even if cryptsetup completes the installation, it segfaults trying to run a command like "cryptsetup luksDump /dev/sda1"
(cryptsetup[23498]: segfault at 0 ip           (null) sp 00007fff1bcaf658 error 14 in cryptsetup[400000+22b000])
So I masked out lvm2-sys-fs/lvm2-2.02.104 and now works fine; using whole disk encryption I didn't want to find myself with a non working cryptestup :)
Comment 16 Torsten Kaiser 2014-01-01 18:05:38 UTC
(In reply to Fabio Coatti from comment #15)
> [segfaults with luksDump]

Works for me. Both for mounting my /home/ and luksDump with 2.02.104:
     Thu Aug 15 18:53:25 2013 >>> sys-fs/cryptsetup-1.6.2
-> last build with old lvm2
     Tue Nov 19 19:35:35 2013 >>> sys-fs/lvm2-2.02.104
-> upgrade, but did not matter, as I'm using a static cryptsetup
-> but then the upgrade from 1.6.2 to 1.6.3 failed on Dec 29
     Sun Dec 29 10:22:00 2013 >>> sys-fs/lvm2-2.02.104
-> try with CFLAGS-hack against lvm2, did not work
     Sun Dec 29 10:33:57 2013 >>> sys-fs/lvm2-2.02.104
-> rebuild lvm2 without hack
     Sun Dec 29 10:35:57 2013 >>> sys-fs/cryptsetup-1.6.3
-> upgrade with CFLAGS-hack now worked


# cryptsetup luksDump /dev/md6
LUKS header information for /dev/md6

Version:        1
[snip]


Here my emerge --info, maybe that can help you...

Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.17, 3.13.0-rc6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.13.0-rc6-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:    12281496 total,   2376420 free
KiB Swap:   25165756 total,  25165756 free
Timestamp of tree: Wed, 01 Jan 2014 07:00:02 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0::java
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
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.14.1
sys-devel/binutils:       2.24
sys-devel/gcc:            4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x11 sunrise java mozilla local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -march=amdfam10 -O3 -fomit-frame-pointer -flto -fivopts -fweb -frename-registers -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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="-pipe -march=amdfam10 -O3 -fomit-frame-pointer -flto -fivopts -fweb -frename-registers -ftracer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --jobs=6 --load-average=7 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg 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 usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/var/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="/usr/portage-local/layman/x11 /usr/portage-local/layman/sunrise /usr/portage-local/layman/java /usr/portage-local/layman/mozilla /root/ebuilds"
USE="3dnow 3dnowext 7zip S3TC X a52 aac aalib ace acl acpi ads aften aio alisp alsa altenburgcards amarok amd64 amr amrnb amrr amrwb animgif ao apache2 apng aqua_theme archive async audacious audiofile autoipd avahi bcel bcp bdf beagle berkdb bigpatch binfilter bittorrent bl blas blender-game bluetooth bonusscripts boost bzip2 c++ cairo calendar caps carbone_theme cblas-external cdda cdio cdparanoia cdr cgi chm chroot cifsupcall cisco clang cli clucene cmdctrl cmdsubmenu compress connectionstatus consolekit contactnotes corefonts cpio cpufreq cracklib crypt cryptsetup cscope css ctype cups curl cutterlimit cutterqueue cuttime cvs cvsgraph cxx dar64 dbase dbm dbus dbx dc1394 declarative demo device-mapper divx djvu dlz dmi dmx dnotify doc domainkeys dot double-precision dpmod dri dts dv dvb dvbplayer dvd dvdarchive dvdchapjump dvdr dvdread dvi ecc editor egl elf emoticon encode enscript equalizer excel exif exiv2 expat extensions extra extra-algorithms extra-cardsets extraengine extras fam fat fbcon fdt festival ffmpeg fftw file file-icons flac fluidsynth fmod font-server fontconfig fortran fping fpx ftp fts3 fuse g3dvl gbm gcj gd gdbm gecko geoip gflags gif gimp git gkrellm glade glamor gles gles1 gles2 glib glibc-omitfp glitz glsa glut gmedia gmp gnutls gopher gpac gpg gpgme gphoto2 graphics graphite graphviz gs gstreamer gtk gtk3 gudev gutenprint gzip hddtemp hdri highlight history html htmlhandbook http httpd hvm hwdb ical iceweasel iconv icq icu id3 id3tag ide idea ieee1394 image imagemagick imap infowidget inherit-graph inkjar innodb inotify ipfilter ipsec iptc ipv6 irc irrlicht ithreads jabber jack jad jadetex java java-external java6 jce jingle jit jni john jpeg jpeg2k juju jumpplay kde kdecards kdepim kerberos kexi kipi kmid kpathsea ktts kvm latex lcms ldap libcaca libkms libmpeg2 libmysqlclient libnotify libsamplerate libsexy libssh2 libvisual libwww liemikuutio lights lirc lircsettings livebuffer llvm llvm-shared-libs lm_sensors logrotate logviewer loop-playback lto lua lucene lyx lzma lzo mad magic mail mailwrapper mainmenuhooks maps masquerade math matroska maya-shaderlibrary mbox mbrola md5sum mdev mdnsresponder-compat meanwhile menu-plugin menubar menuorg metric mhash midi mikmod mime mimencode minizip mixer mjpeg mmap mmx mmxext mng mod modplug modules mounts-check mozdevelop mozdom mozilla mp2 mp3 mp4 mp4live mpd mpeg mpeg2 mpg123 mplayer mppe-mppc mpu401 mschap msn mtp mudflap multilib multiprocess musepack music mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nat ncurses net netjack netmeeting network network-cron networkmanager nfs nfsidmap nfsv4 nfsv41 nls nntp normalize nova nptl nsplugin nspr nss ntfs ntfsprogs nuv offensive ogg ogg123 ole opcache opencl openexr opengl openmp openssh openssl openvg openvpn opus osmesa pam pango pascal pcap pcre pda pdf pdfimport perl php physfs pixmaps pkcs11 plasma player pmu png policykit portaudio posix postfix postscript povray pptp pth pulseaudio python qemu qt3support qt4 query-browser quicktime r600-llvm-compiler radio rar raw rc5 rdesktop readline realmedia remix replaygain restrict-javascript rle rpc rss rtc rtmp rtsp samba sasl sbig scanner screen script sdk sdl sdl-image sdl-sound sdlaudio seamonkey search secure-delete semantic-desktop sensord server session shared-dricore shorten shout sid signatures simplexml skins smime smp smtp sndfile sockets socks5 solver songs sortrecords sound soundex sounds sox speech speedo speex spell spice sql sqlite sqlite3 sse sse2 sse3 sse4a ssl stars stats stemmer stlport stream submenu subtitles subversion suhosin svg svgz swat sylpheed sysfs syslog system-cairo system-icu system-jpeg system-libvncserver system-sqlite systray sysvipc szip t1lib taglib tagwriting tb4 tcpd teletext tetex tex texteffect textures tftp tga themes theora thesaurus threads threadsafe tidy tiff timercmd timerinfo tk tls toolbar tools transcode trayicon truetype tta ttxtsubs twolame udev ui unicode unlock-notify upcall usb usbredir userfiles utils uudeview uuencode v4l v4l2 vaapi vamp vcd vcdx vdpau vdr video videos vim-syntax visualization vlm vnc vncviewer voice volctrl vorbis vorbis-psy vpx wav wavpack wayland web webdav webinterface webkit webm webp wifi winbind winpopup wireshark wma wmf wmp wxwidgets x264 xa xanim xcb xcf xcomposite xext xface xforms xfs xft xhtml xine xinerama xlib-xcb xml xmp xorg xosd xplanet xpm xrandr xrender xscreensaver xsl xslt xspice xv xvfb xvid xvmc xvnc yahoo yv12 zip zlib zrtp zvbi" ABI_X86="32 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 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" APACHE2_MPMS="worker" 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" CURL_SSL="nss" 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="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 alpha arm i386 m68k mips mips64 mips64el mipsel ppc ppc64 ppcemb s390x sparc sparc64" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l vesa radeon r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-fs/lvm2-2.02.104 was built with the following:
USE="lvm1 readline static-libs thin udev -clvm -cman -lvm2create_initrd (-selinux) -static" ELIBC="glibc" KERNEL="linux" USERLAND="GNU"


sys-fs/cryptsetup-1.6.3 was built with the following:
USE="nls openssl python static udev -gcrypt -kernel -nettle -reencrypt -static-libs -urandom" ELIBC="glibc" KERNEL="linux" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" USERLAND="GNU"
CFLAGS="-pthread"
Comment 17 Samuli Suominen (RETIRED) gentoo-dev 2014-01-03 16:32:14 UTC
*** Bug 496612 has been marked as a duplicate of this bug. ***
Comment 18 Fabio Coatti 2014-01-20 08:38:33 UTC
I solved simply removisng static use flag, as it seems no longer needed (probably a leftover from the past).
So I can't comment if the issue is cleared or not, but at least everything seems to work just fine on my system.

Thanks for the suggestions.
Comment 19 Markus Wernig 2014-01-20 17:59:04 UTC
(In reply to Fabio Coatti from comment #18)
> I solved simply removisng static use flag, as it seems no longer needed

+static is required if you need a static version of lvm eg. in an initrd.
Comment 20 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-02-02 05:53:31 UTC
Fixed in .105

*** This bug has been marked as a duplicate of bug 492450 ***
Comment 21 ViliusSutkus89 2014-02-03 20:07:17 UTC
USE="static -all_others" emerge -v1 =sys-fs/lvm2-2.02.105-r2

Still fails with the same fail message as grey dot uploaded in the second comment.

2.02.105-r1 , 2.02.105 and 2.02.104 also fail.
Comment 22 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-02-04 02:43:19 UTC
(In reply to palme3000 from comment #21)
> USE="static -all_others" emerge -v1 =sys-fs/lvm2-2.02.105-r2
> 
> Still fails with the same fail message as grey dot uploaded in the second
> comment.
> 
> 2.02.105-r1 , 2.02.105 and 2.02.104 also fail.

Fixed again, try any 105 with the new files/lvm2-2.02.105-pthread-pkgconfig.patch (should patch two files, not just one).
Comment 23 Aaron Pelton 2014-02-04 04:57:33 UTC
that did the trick for me.
Comment 24 antu456 2014-02-04 18:48:16 UTC
Works here now (amd64).
Comment 25 ViliusSutkus89 2014-02-06 07:23:02 UTC
(In reply to Robin Johnson from comment #22)
> (In reply to palme3000 from comment #21)
> > USE="static -all_others" emerge -v1 =sys-fs/lvm2-2.02.105-r2
> > 
> > Still fails with the same fail message as grey dot uploaded in the second
> > comment.
> > 
> > 2.02.105-r1 , 2.02.105 and 2.02.104 also fail.
> 
> Fixed again, try any 105 with the new
> files/lvm2-2.02.105-pthread-pkgconfig.patch (should patch two files, not
> just one).

Compiles nicely. Thanks.