Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672062 - app-emulation/rkt-1.30.0 with USE=rkt_stage1_kvm_qemu is missing static-libs DEPENDs for a several packages
Summary: app-emulation/rkt-1.30.0 with USE=rkt_stage1_kvm_qemu is missing static-libs ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-27 15:25 UTC by Lucas Yamanishi
Modified: 2019-05-31 23:08 UTC (History)
0 users

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 Lucas Yamanishi 2018-11-27 15:25:47 UTC
Reproducible: Always

Steps to Reproduce:
1. Ensure dev-libs/libpcre, dev-libs/glib, dev-libs/libgpg-error, and dev-libs/libgcrypt, and sys-apps/usbredir are installed _without_ USE=static-libs.

2. Install app-emulation/rkt with USE=rkt_stage1_kvm_qemu

3. Watch it fail
Actual Results:  
Building `=app-emulation/rkt-1.30.0` with `USE=rkt_stage1_kvm_qemu` fails with various _ld: cannot find -lfoo_ errors unless a few additional packages are installed with `USE=static-libs`.




I was able to install it with the following:
  * dev-libs/glib[static-libs]
  * dev-libs/libgcrypt[static-libs]
  * dev-libs/libgpg-error[static-libs]
  * dev-libs/libpcre[static-libs]
  * sys-apps/usbredir[static-libs]

I found these in three phases.  After reinstalling each set with USE=static-libs, the build would progress a little further, then fail again.  After the third set, it installed successfully.
  1. dev-libs/libpcre and dev-libs/glib
  2. dev-libs/libgpg-error and dev-libs/libgcrypt
  3  sys-apps/usbredir

Sorry, I don't have the logs anymore.

```sh
# emerge --info app-emulation/rkt

Portage 2.3.51 (python 3.6.5-final-0, !../../usr/local/portage/profiles/custom/plasma/desktop, gcc-7.3.0, glibc-2.27-r6, 4.18.20-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.18.20-gentoo-x86_64-Intel-R-_Core-TM-_i7-4930K_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:    32826308 total,  10922260 free
KiB Swap:    8388604 total,   8384252 free
Head commit of repository lamawithonel: 3d142b33f01a88cd990064d5290b00e562193854

Timestamp of repository gentoo: Tue, 27 Nov 2018 09:15:01 +0000
Head commit of repository gentoo: 3329a092c08de9c3fcc1fd6b941452e18e5e71f4
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

lamawithonel
    location: /usr/local/portage
    sync-type: git
    sync-uri: https://github.com/lamawithonel/gentoo-overlay.git
    masters: gentoo
    priority: 40

johu
    location: /var/lib/layman/johu
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/dev/johu.git
    masters: gentoo
    priority: 50

rocm
    location: /var/lib/layman/rocm
    sync-type: laymansync
    sync-uri: https://github.com/justxi/rocm.git
    masters: gentoo
    priority: 50

sabayon
    location: /var/lib/layman/sabayon
    sync-type: laymansync
    sync-uri: git://github.com/Sabayon/for-gentoo.git
    masters: gentoo
    priority: 100

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: 400

pentoo
    location: /var/lib/layman/pentoo
    sync-type: laymansync
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 400

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 400

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 400

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync11.us.gentoo.org/gentoo-portage
    priority: 500
    sync-rsync-verify-jobs: 0
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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"
CXXFLAGS="-pipe -O2 -march=native -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--backtrack=2048"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-pipe -O2 -march=native -ggdb"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance cgroup clean-logs collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4 -l6"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_COMPRESS="xz"
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 acl acpi activities amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli crypt cups custom-cflags custom-optimization cxx dbus declarative device-mapper dri dts dvd dvdr emboss encode exif fam ffmpeg flac fontconfig fortran gdbm gif glamor gnome-keyring gpm gtk hardened iconv icu idn ipv6 jpeg kde kipi kwallet lcms libidn2 libnotify libtirpc lz4 lzma lzo mad mng mp3 mp4 mpeg multilib ncurses nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline sctp sdl seccomp spell ssl startup-notification svg systemd threads tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid xz zlib zstd" ABI_X86="64 32" 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="karbon plan sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" 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="evdev" KERNEL="linux" L10N="en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

app-emulation/rkt-1.30.0::gentoo was built with the following:
USE="actool systemd -doc -examples" ABI_X86="(64)" RKT_STAGE1="coreos fly kvm_qemu -host -kvm -kvm_lkvm"
```
Comment 1 Zac Medico gentoo-dev 2019-05-31 23:08:40 UTC
Masked for removal: bug 687100