Created attachment 427718 [details] build.log Hello, Basic Info: --- Kernel 4.4.1 --- ACCEPT_KEYWORDS="~amd64" I am trying to emerge dev-libs/libgcrypt-1.6.5 but it fails with message: libtool: link: x86_64-pc-linux-gnu-gcc -DSTANDALONE -O2 -march=native -pipe -fvisibility=hidden -Wall -Wl,-O1 -o hmac256 hmac256-hmac256.o -Wl,--as-needed libtool: link: (cd ".libs" && rm -f "libgcrypt.so.20" && ln -s "libgcrypt.so.20.0.5" "libgcrypt.so.20") libtool: link: (cd ".libs" && rm -f "libgcrypt.so" && ln -s "libgcrypt.so.20.0.5" "libgcrypt.so") libtool: link: ( cd ".libs" && rm -f "libgcrypt.la" && ln -s "../libgcrypt.la" "libgcrypt.la" ) /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fvisibility=hidden -Wall -Wl,-O1 -Wl,--as-needed -o mpicalc mpicalc-mpicalc.o libgcrypt.la -lgpg-error libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fvisibility=hidden -Wall -Wl,-O1 -o .libs/mpicalc mpicalc-mpicalc.o -Wl,--as-needed ./.libs/libgcrypt.so -lgpg-error ./.libs/libgcrypt.so: undefined reference to `_gcry_USE_THE_UNDERSCORED_FUNCTION' collect2: error: ld returned 1 exit status Makefile:719: recipe for target 'mpicalc' failed make[2]: *** [mpicalc] Error 1 make[2]: Leaving directory '/mnt/sda8/gentoo/sda4-64bit/var/tmp/portage/dev-libs/libgcrypt-1.6.5/work/libgcrypt-1.6.5-abi_x86_64.amd64/src' Makefile:479: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/mnt/sda8/gentoo/sda4-64bit/var/tmp/portage/dev-libs/libgcrypt-1.6.5/work/libgcrypt-1.6.5-abi_x86_64.amd64' Makefile:410: recipe for target 'all' failed make: *** [all] Error 2
Created attachment 427720 [details] make.conf
Portage 2.2.27 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r2, 4.4.1-gentoo_from_4.4.0-extract_systemd x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.4.1-gentoo_from_4.4.0-extract_systemd-x86_64-Intel-R-_Atom-TM-_CPU_D525_@_1.80GHz-with-gentoo-2.2 KiB Mem: 1012176 total, 286360 free KiB Swap: 4144440 total, 4129480 free Timestamp of repository gentoo: Tue, 08 Mar 2016 07:30:01 +0000 sh bash 4.3_p42-r2 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r2::gentoo dev-lang/perl: 5.22.1::gentoo dev-lang/python: 2.7.11-r2::gentoo, 3.3.5-r7::gentoo, 3.4.3-r7::gentoo dev-util/cmake: 3.4.3::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.20.5::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo, 5.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r2::gentoo Repositories: gentoo location: /mnt/sda8/gentoo/sda4-64bit/usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 x-ebuild-hacks location: /usr/local/portage/ebuild-hacks masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" 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 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac aalib acl acpi alsa amd64 artworkextra avahi avi battery berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dhxpcd divx dri dts dvd dvdnav dvdr dvdread emboss encode exif external-fuse fam fbcondecor ffmpeg firefox flac fortran ftp gadu gd gdbm gif glamor gnome gpm gstreamer gtk hal iconv ieee1394 introspection jpeg kerberos lame lcms ldap libcaca libnotify live mad matroska mjpeg mmx mmx2 mmxext mng modules mp3 mp4 mpeg mplayer multilib ncurses networkmanager nls nptl nptlonly nss ntfsprogs ogg opengl openmp oss pam pango pcmcia pcre pdf png policykit ppds ppp qt-static qt3 qt3support qt4 quicktime readline real realmedia sdl seccomp session slang sound spell sqlite sse sse2 ssl startup-notification svg systemd tcpd theora threads threadsafe tiff trayicon truetype type1 udev udisks unicode upower usb vcd vorbis wayland wext wifi win32codecs wmp wxwidgets x264 xanim xattr xcb xml 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" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="picolcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_1 python3_2 python3_3 python2_7 python3_4 pypy1_9 jython2_5" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" XFCE_PLUGINS="battery brightness clock multiload-nandhp power trash xmonad" 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 3.4" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 427722 [details] emerge -pqv '=dev-libs/libgcrypt-1.6.5::gentoo'
tried with USE="-sandbox -ccache" but without success
Can you please add the config.log? You can always try to add --enable-random=linux to the configure line, but if that solves it there is an auto-detection issue somewhere
Created attachment 427790 [details] as requested the config.log
emerged and installed now. Used: EXTRA_ECONF="--enable-random=linux" emerge --oneshot dev-libs/libgcrypt Thanks a lot... regarding the auto-detection. You mean this is a os problem or a libgcrypt-ebuild problem?
(In reply to Argh!... Rats!... from comment #7) > emerged and installed now. > Used: > EXTRA_ECONF="--enable-random=linux" emerge --oneshot dev-libs/libgcrypt > > Thanks a lot... > > regarding the auto-detection. > You mean this is a os problem or a libgcrypt-ebuild problem? I was thinking more upstream (g10code / libgcrypt) autoconf fixes needed,triggered by some edge case of the test. Possibly related to kernel version, but I haven't actually looked into it yet.
Just tried to emerge libgcrypt-1.6.4 and had same Problem as when trying to emerge libgcrypt-1.6.5 . emerging with EXTRA_ECONF="--enable-random=linux" however helped emerging 1.6.4 correctly in this case as it helped emerging 1.6.5 so i think you might be absolutely right. Anyway, thank you very much for your fast reply.
does the issue still persist in libgcrypt 1.7.0?
libgcrypt 1.7.0 emerged without Problems. unmerged-remerged it...no problem whatsoever...