Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702674 - app-emulation/virtualbox-6.1.0 - no-multilib profile: Cannot compile 32-bit applications (missing headers and/or libraries)!
Summary: app-emulation/virtualbox-6.1.0 - no-multilib profile: Cannot compile 32-bit a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-13 12:09 UTC by tka
Modified: 2019-12-13 20:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
configure.log (configure.log,16.08 KB, text/plain)
2019-12-13 12:09 UTC, tka
Details
build.log (build.log,5.89 KB, text/plain)
2019-12-13 12:10 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2019-12-13 12:09:44 UTC
Created attachment 599332 [details]
configure.log

Trying to build app-emulation/virtualbox-6.1.0 with an amd64 no-multilib profile fails in the configure phase because 32-bit applications cannot be compiled. This did not happen with prior versions of virtualbox.


>>> Configuring source in /var/tmp/portage/app-emulation/virtualbox-6.1.0/work/VirtualBox-6.1.0 ...
./configure --with-gcc=x86_64-pc-linux-gnu-gcc --with-g++=x86_64-pc-linux-gnu-g++ --disable-dbus --disable-kmods --disable-docs --disable-java --disable-devmapper --disable-pulse --disable-python
Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK.
Checking for kBuild: found, OK.
Checking for Open Watcom: 
  ** Open Watcom was not found, using alternative BIOS sources!
Checking for iasl: found version 20190703, OK.
Checking for xslt: found, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.9.9, OK.
Checking for libIDL: found version 0.8.14, OK.
Checking for ssl: found version OpenSSL 1.1.1d  10 Sep 2019, OK.
Checking for libcurl: found version 7.67.0, OK.
Checking for libvpx: found version 1.7.0, OK.
Checking for libopus: found, OK.
Checking for zlib: found version 1.2.11, OK.
Checking for libpng: found version 1.6.37+apng, OK.
Checking for SDL: found version 1.2.15, OK.
Checking for X libraries: Checking for Xcursor: found, OK.
Checking for Xinerama: found, OK.
Checking for Xrandr: found, OK.
Checking for Xmu: found, OK.
Checking for Mesa / GLU: Checking for Qt5: found version 5.13.2, OK.
Checking for Qt5 devtools: found version moc 5.13.2, OK.
Checking for static stc++ library: found, OK.
Checking for ALSA: found version 1.2.1, OK.
Checking for libcap library: found, OK.
Checking for compiler.h: compiler.h not found, OK.
Checking for 32-bit support: 
  Cannot compile 32-bit applications (missing headers and/or libraries)!
  Check the file /var/tmp/portage/app-emulation/virtualbox-6.1.0/work/VirtualBox-6.1.0/configure.log for detailed error information.
Check /var/tmp/portage/app-emulation/virtualbox-6.1.0/work/VirtualBox-6.1.0/configure.log for details
 * ERROR: app-emulation/virtualbox-6.1.0::gentoo failed (configure phase):
 *   (no error message)
Comment 1 tka 2019-12-13 12:10:49 UTC
Created attachment 599334 [details]
build.log

# emerge -pqv '=app-emulation/virtualbox-6.1.0::gentoo'
[ebuild     U ] app-emulation/virtualbox-6.1.0 [6.0.14] USE="alsa opengl opus pam qt5 sdk udev -debug -doc -dtrace -headless -java -libressl -lvm -pax_kernel -pulseaudio -python -vboxwebsrv -vnc" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_5 -python3_7" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7" 

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

app-emulation/virtualbox:0

  (app-emulation/virtualbox-6.1.0:0/0::gentoo, ebuild scheduled for merge) pulled in by
    =app-emulation/virtualbox-6.1.0::gentoo (Argument)

  (app-emulation/virtualbox-6.0.14:0/0::gentoo, installed) pulled in by
    ~app-emulation/virtualbox-6.0.14 required by (app-emulation/virtualbox-extpack-oracle-6.0.14.133895:0/0::gentoo, installed)
    ^                         ^^^^^^                                                                                                                                                  


# emerge --info '=app-emulation/virtualbox-6.1.0::gentoo'
Portage 2.3.81 (python 3.6.9-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-9.2.0, glibc-2.30-r3, 5.4.2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.2-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    16358752 total,  10790412 free
KiB Swap:   17825788 total,  17825788 free
Timestamp of repository gentoo: Fri, 13 Dec 2019 11:30:01 +0000
Head commit of repository gentoo: e8eef6cd41ad2c59ec6f2d4e8488e39ca4c917f5
sh bash 5.0_p11
ld GNU ld (Gentoo 2.33.1 p1) 2.33.1
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.16.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.33.1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -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="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS=""
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
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 acl acpi alsa amd64 avx bzip2 cairo caps cdda cddb cdparanoia crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg lame lcms libnotify libtirpc lzma mad matroska mmap mmx mmxext mp3 mpeg ncurses networkmanager nptl ogg opengl openmp pam pcre pie png policykit ppds readline sasl sdl seccomp split-usr sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssp ssse3 startup-notification svg test theora threads tiff truetype udev udisks unicode upower vaapi vorbis wayland x264 xattr xcb xinerama xml xtpax xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="i965 intel nouveau" 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, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Zdravko Spoljar 2019-12-13 14:13:22 UTC
it looks like missing part of ebuild code (compared to 6.0.14):
-------
if use amd64 && ! has_multilib_profile ; then
		myconf+=( --disable-vmmraw )
fi
--------
near line 247.
if i add this in 6.1 ebuild, then building is ok.

i don't know if ebuild code around lines 311 (in 6.0.14) is important. something about *.rc files....
Comment 3 Larry the Git Cow gentoo-dev 2019-12-13 19:17:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61c2f9bde53f5ae8c0ce008a3f596bc0b88aa0f

commit a61c2f9bde53f5ae8c0ce008a3f596bc0b88aa0f
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-12-13 19:16:36 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-12-13 19:17:12 +0000

    app-emulation/virtualbox: Attempt to fix build on amd64 no_multilib
    
    Seems like I accidentally dropped some ebuild code in 6.1.0_rc1 that
    should not have been dropped.
    
    Thanks-to: Zdravko Spoljar <zdravko.spoljar@styria-it.hr>
    Bug: https://bugs.gentoo.org/702674
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 app-emulation/virtualbox/virtualbox-6.1.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 4 tka 2019-12-13 20:51:42 UTC
It's working again. Thanks.