Created attachment 305283 [details] output of emerge --info The update of cryptsetup to the stable version sys-fs/cryptsetup-1.4.1 fails already in the configure process with the error message: checking for gcry_check_version in -lgcrypt... no configure: error: Cannot find static gcrypt library I have installed the stable dev-libs/libgcrypt-1.4.6 but the problem above occurs also after emerging (~)libgcrypt-1.5.0-r2. In my current working environment cryptsetup and libgcrypt are built with the following USE-flags sys-fs/cryptsetup-1.1.3-r3 was built with the following: USE="dynamic (multilib) nls (-selinux)" dev-libs/libgcrypt-1.4.6 was built with the following: USE="(multilib) static-libs" Thanks in advance, Uwe
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64) ================================================================= System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.3 Timestamp of tree: Wed, 14 Mar 2012 06:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [enabled] ccache version 3.1.6 [enabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /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 -march=core2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distcc distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j5" 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="/dev/shm" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="64bit X a52 aac aalib acl acpi aim alsa amd64 ao bash-completion berkdb bluetooth branding bzip2 cairo calendar cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups curl custom-optimization cxx dbus device-mapper dga dri dts dvd dvdr emacs emboss encode exif fam fbcon ffmpeg fftw firefox flac fontconfig fortran fortune gcj gd gdbm gdu geoip gif gimp gnuplot gnutls gphoto2 gpm gsl gstreamer gtk hddtemp iconv icq idn imagemagick imap imlib iodbc ipv6 jabber java javascript jikes jingle jpeg jpeg2k kpathsea lame laptop latex lcms ldap leim libcaca libnotify libsamplerate libwww lm_sensors logrotate logwatch mad maildir mcal memlimit mhash mime mmx mng modules mozilla mp3 mp4 mpeg mplayer msn mudflap mule multilib ncurses netboot new-login nls nptl nptlonly odbc ogg openal opengl openmp osc oscar pam pango pcre pdf plotutils png policykit postscript ppds pppd qt3support qt4 quicktime readline rss ruby sasl sdl session spell sse sse2 ssl startup-notification svg sysfs tcl tcpd tetex tidy tiff tk truetype udev unicode usb v4l v4l2 vcd vnc vorbis webkit wifi wmf x264 xcb xcomposite xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel radeon fglrx" 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
libgcrypt emerged with USE=static-libs should install /usr/lib/libgcrypt.a which is what it's complaining about (propably) emerge cryptsetup with FEATURES="keepwork" enabled and attach the config.log from /var/tmp/portage/sys-fs/cryptsetup-VERSION/work/cryptsetup-VERSION/config.log (replace VERSION to whatever you are using)
Created attachment 305285 [details] build.log Logfile of the failed update of cryptsetup
(In reply to comment #2) > libgcrypt emerged with USE=static-libs should install /usr/lib/libgcrypt.a > which is what it's complaining about (propably) > > emerge cryptsetup with FEATURES="keepwork" enabled and attach the config.log > from > /var/tmp/portage/sys-fs/cryptsetup-VERSION/work/cryptsetup-VERSION/config.log > > (replace VERSION to whatever you are using) /usr/lib/libgcrypt.a exists. Should it be elsewhere? I have attached the build.log and the config.log. FEATURES="keepwork" emerge -u cryptsetup still fails to configure. Greetins, Uwe
Created attachment 305287 [details] config.log of the failed emerge of cryptsetup-1.4.1
BTW: This is the first bug I report here... How can I manually reassign the bug to "Gentoo's Team for Core System packages" <base-system@gentoo.org>? Where do I have to click?
The problem is: <snip> configure:15888: checking for gcry_check_version in -lgcrypt configure:15913: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=core2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed conftest.c -lgcrypt -lgpg-error -L/usr/lib64 -lgcrypt -lgpg-error -static >&5 /usr/lib64/libgpg-error.a(libgpg_error_la-strerror.o): In function `gpg_strerror_r': (.text+0x6e): undefined reference to `__intel_sse2_strlen' /usr/lib64/libgpg-error.a(libgpg_error_la-strerror.o): In function `gpg_strerror_r': (.text+0x89): undefined reference to `_intel_fast_memcpy' /usr/lib64/libgpg-error.a(libgpg_error_la-strerror.o): In function `gpg_strerror_r': (.text+0x1af): undefined reference to `__intel_sse2_strlen' /usr/lib64/libgpg-error.a(libgpg_error_la-strerror.o): In function `gpg_strerror_r': (.text+0x1ca): undefined reference to `_intel_fast_memcpy' /usr/lib64/libgpg-error.a(libgpg_error_la-strerror.o): In function `gpg_strerror_r': (.text+0x204): undefined reference to `__intel_sse2_strlen' collect2: ld returned 1 exit status distcc[19233] ERROR: compile conftest.c on localhost failed </snip> Try disabling distcc first. Then try to recompile dev-libs/libgpg-error and/or sys-fs/cryptsetup.
(In reply to comment #6) > BTW: This is the first bug I report here... How can I manually reassign the > bug to "Gentoo's Team for Core System packages" <base-system@gentoo.org>? > Where do I have to click? You wait for bug-wranglers team to assign the bug for you. We are in process of determining where the bug belongs, might as well be a distcc problem alone and then it doesn't really belong to base-system@ at all.
(In reply to comment #7) > The problem is: > > [...] > > Try disabling distcc first. Then try to recompile dev-libs/libgpg-error > and/or sys-fs/cryptsetup. Aaarrggg... I found the problem, thanks for leading me to the right track. Actually, also disabling every single feature, the configure process was not finished properly. And then I remembered, that very long ago I switched to the ICC compiler with some packages in the portage tree. One of them was libgpg-error as suggested here http://en.gentoo-wiki.com/wiki/Intel_C%2B%2B_Compiler#.2Fetc.2Fportage.2Fpackage.icc. So I always compiled libgpg-error with ICC and not GCC. Now that I have taken out libgpg-error from package.icc and recompiled it with GCC, cryptsetup-1.4.1 could be installed without problems. Thanks a lot for your help, Samuli. I think we can close that bug now. Greetings, Uwe
Just one further comment: Putting dev-libs/libgpg-error dev-libs/libgcrypt sys-fs/cryptsetup in package.icc and compiling altogether with ICC works, too. I will add this information into the gentoo-icc Wiki (see the link in comment 9). Greetings, Uwe
good :) worksforme is better resolution for this than fixed (since nothing was actually "fixed)