Created attachment 509932 [details] build log From build.log: /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -o integritysetup lib/utils_crypt.o lib/utils_loop.o src/utils_tools.o src/integritysetup.o -lm libcryptsetup.la -lpopt -luuid /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljson-c /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup': dso_dlfcn.c:(.text+0x11): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1426: cryptsetup.static] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: link: x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native -static -Wl,--hash-style=gnu -Wl,-O1 -o veritysetup.static lib/utils_crypt.o lib/utils_loop.o src/utils_tools.o src/veritysetup.o -Wl,--as-needed ./.libs/libcryptsetup.a -L/lib64 -largon2 -ljson-c -lpopt -lssl -lcrypto -lgmp -ldl -lz -ldevmapper -lm -lrt -lpthread -ludev -luuid /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljson-c /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup': dso_dlfcn.c:(.text+0x11): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1446: veritysetup.static] Error 1 $ emerge --info dev-libs/json-c Portage 2.3.18 (python 2.7.14-final-0, default/linux/amd64/13.0/developer, gcc-4.9.4, glibc-2.26-r3, 4.14.1-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.14.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-5600U_CPU_@_2.60GHz-with-gentoo-2.4.1 KiB Mem: 8054524 total, 298084 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 13 Dec 2017 16:45:01 +0000 Head commit of repository gentoo: 1e84e824fead90affd333fc24c2d6ace9688f1a9 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29 p1.0) 2.29 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo dev-util/cmake: 3.10.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.29::gentoo, 2.29.1-r1::gentoo sys-devel/gcc: 4.9.4::gentoo, 5.4.0::gentoo, 6.3.0::gentoo, 6.4.0::gentoo, 7.2.0::gentoo sys-devel/gcc-config: 1.9.0-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync26.us.gentoo.org/gentoo-portage/ priority: -1000 sync-rsync-extra-opts: local location: /usr/local/overlays/local masters: gentoo priority: 0 science location: /usr/local/overlays/sci masters: gentoo priority: 1 java location: /usr/local/overlays/java masters: gentoo priority: 2 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 -march=native" FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native" GENTOO_MIRRORS="http://cosmos.illinois.edu/pub/gentoo/" LANG="en_US.utf-8" LC_ALL="en_US.utf-8" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" 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="12bit X a52 aac aacplus abook acl acpi adns alsa ambient amd64 amr amrenc apng apulse auto-hinter berkdb blas bluetooth bluray branding bzip2 cacert cairo caps cdda cdr celt cgroups chm cilk clang cleartype_hinting cli client clipboard compressed-lumas consolekit contrast contrib_cvv contrib_hdf corefonts cracklib crypt cryptsetup cups curl cxx dane dbus detex devil dia djvu dnstap dot dpi dri dri3 dts dvd dvdr ebook ecdsa egl emboss encode epspdf epub evdev exif expat extra extras faac faad fam fdk ffmpeg fftw firefox fits flac flambda fontconfig fontforge fortran frei0r fribidi ftp gd gdbm gdk-pixbuf gegl gflags gif gimp glamor gles gles1 gles2 glog glpk glut gmp gnutls gold gost gpg gpm graphics graphite graphviz gsl gsm gstreamer gtk gtk3 gts gudev harfbuzz hdf5 http2 iconv icu idn imagemagick imagequant imap inotify ipv6 ipython jpeg jpeg2k kde kdenlive kvazaar ladspa lame lapack lasi latex lcms ldap ldapi ldns legacy-systray lensfun libcxx libcxxabi libilbc libkms libnotify libsamplerate libsecret lldb lzma lzo mad markdown matplotlib matroska mbox melt metapost metis minizip mms mng mobi modules mp3 mp4 mpc mpeg mpi multilib mumps musepack music mutt ncat ncurses ndiff nettle nftables nls nmap-update notebook notmuch nping nptl nscd ocaml ocl-icd offensive ogg ole oom opengl openmp openpgp openssl opus pam pango passwdqc pbkdf2 pclm pcre pcre16 pcre32 pdf perl pkcs11 pm-utils png policykit postproc postscript ppds pstricks publishers pygments python qml qt3support qt4 qt5 quicktime quvi rar raw readline rtmp rubberband s3tc samba sasl schroedinger science script scrypt sctp sdl seccomp session sftp sidebar skey smi smime smtp snappy snmp sparse speex spell sqlite ssh ssl startup-notification stunnel superlu svg syslog system-harfbuzz system-icu system-jpeg system-libvpx system-sqlite szip taglib tahoma tcpd tesseract tftpd theora threads tiff timezone tofu tokyocabinet toolame tools tor-hardening truetype twolame udev udisks umfpack unicode upower usb utils uxa vaapi vdpau vim vim-pager vim-syntax vorbis vpx vulkan wavpack wayland webp webready wifi wmf wpg wps x264 x265 xa xattr xcb xetex xkb xml xmp xpm xv xvid xvmc yaz zenmap zimg zlib zstd" ABI_X86="64" ALSA_CARDS="hda-intel" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 f16c" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF MSP430" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-libs/json-c-0.12.1::gentoo was built with the following: USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4749e3e75c66d2e790537cd7cd579ca96812b9c3 commit 4749e3e75c66d2e790537cd7cd579ca96812b9c3 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2017-12-13 18:37:34 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2017-12-13 18:37:44 +0000 sys-fs/cryptsetup: Added missing statc-libs dep for json-c. Closes: https://bugs.gentoo.org/640940 Package-Manager: Portage-2.3.18, Repoman-2.3.6 sys-fs/cryptsetup/cryptsetup-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)