Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351908 - sys-fs/cryptsetup-1.1.3-r3 build fails due to libgcrypt USE=static-libs change
Summary: sys-fs/cryptsetup-1.1.3-r3 build fails due to libgcrypt USE=static-libs change
Status: RESOLVED DUPLICATE of bug 351810
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-17 13:51 UTC by water
Modified: 2011-01-17 20:16 UTC (History)
2 users (show)

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 water 2011-01-17 13:51:38 UTC
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: attempted static link of dynamic object `/usr/lib/libgcrypt.so'
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 3552:  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 3552:  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'

 * Regenerating GNU info directory index...
 * Processed 117 info files.


Reproducible: Always
Comment 1 water 2011-01-17 13:52:50 UTC
localhost ~ # emerge --info =sys-fs/cryptsetup-1.1.3-r3
Portage 2.1.9.25 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-i686-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-1.12.14
Timestamp of tree: Mon, 17 Jan 2011 11:00:22 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
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.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://61.135.158.199/ ftp://gentoo.anheng.com.cn/gentoo/ http://mirrors.163.com/gentoo/ http://ftp.ncnu.edu.tw/Linux/Gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/  "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN zh en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa apm berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gdbm gdu ggi gif gimp gnome gpm gstreamer gtk hal iconv jpeg kdrive lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mpi mudflap myplayer nas ncurses nls nptl nptlonly ogg openal openexr opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support quicktime readline samba sdl session spell sqlite ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb utf8 vorbis win32codecs x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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" LINGUAS="zh_CN zh en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa vga fbdev" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
Comment 2 Rafał Mużyło 2011-01-17 15:13:33 UTC
Seems to be a partial dupe of bug 351810.
It's been fixed for 1.2.0, probably similar fix helps here.
Comment 3 Steven Peckins 2011-01-17 15:15:19 UTC
I had the same failure on amd64 during emerge @world this morning.  However, it *did* build with the addition of USE="dynamic".  FYI.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-01-17 17:53:47 UTC
Same here.


grenadine ~ # emerge --info 
Portage 2.1.9.31 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r12-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-1.12.14
Timestamp of tree: Mon, 17 Jan 2011 11:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
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.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/metadata/cache"
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="/opt/virtual/tmp-portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/dilfridge-private /usr/local/portage/dilfridge /usr/local/portage/kde /usr/local/portage/sci /usr/local/portage/vmware /usr/local/portage/n4g"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac accessibility acpi akonadi alsa amd64 animgif apache2 audiofile bash-completion berkdb binfilter boost branding bzip2 cairo cdaudio cdda cddax cddb cdparanoia cdr chm cisco cli cmake consolekit corefonts cracklib crypt css cups cupsddk curl cvs cxx dbus declarative detex djvu dnotify dri dts dvd dvdr dvipdfm embedded emboss emf encode enscript exif expat extra fam ffmpeg firefox flac foomatic foomaticdb fortran gcj gd gdbm gdu gif git glitz gnuplot gpm gps graphics groupwise gstreamer gtk hpcups hpijs hybrid-auth iconv id3 id3tag imagemagick imap inotify ipv6 jadetex java java6 jpeg jpeg2k kde kontact kpathsea lame lasi latex latex3 lcms ldap libnotify lm_sensors lzma mad math mbox mikmod mime mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses networking nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl phonon php player plotutils pmount png policykit postscript povray ppds pppd ps pstoedit publishers pulseaudio python qt3support qt4 quicktime rdesktop readline rss ruby samba sasl science sdl semantic-desktop session sftp skype smp spell sql sqlite sse sse2 ssl ssse3 startup-notification subtitles subversion svg sysfs syslog tcpd theora tiff tk truetype udev unicode usb vnc vorbis webdav webdav-neon webkit wmf wpd wv2 x264 xcb xcomposite xetex xine xml xmp xorg xpm xrandr xscreensaver xulrunner xv xvid xvmc zip zlib" 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" 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" COLLECTD_PLUGINS="cpu df fscache hddtemp interface iptables irq load memory network ntpd processes rrdcached rrdtool sensors swap syslog thermal uptime users apache" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa radeonhd" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Comment 5 Rainer Keller 2011-01-17 19:12:25 UTC
The problem is that libgcrypt got an update which removes the "static-libs" USE-Flag by default. When it is now rebuilt no static libraries are present and cryptsetup by default what to have static libraries.

There should be a dependency to libgcrypt "static-libs" USE flag when "dynamic" Use flag on cryptsetup is *not* set.

As a workaround you could enable the "static-libs" USE flags for libgcrypt manually and then try to emerge cryptsetup again.
Comment 6 SpanKY gentoo-dev 2011-01-17 19:40:47 UTC
not a stable blocker as it isnt a regression

*** This bug has been marked as a duplicate of bug 351810 ***
Comment 7 Rainer Keller 2011-01-17 20:16:40 UTC
The duplicate bug is already marked as fixed. But I can't find dependencies on static-libs use flag in the ebuild for 1.1.3-r3. Without manually setting the use flag cryptsetup does not compile.