Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589392 - >=app-emulation/virtualbox-5.1.0[qt5] configure fails: qt5 not found (with >=qt-5.7.0)
Summary: >=app-emulation/virtualbox-5.1.0[qt5] configure fails: qt5 not found (with >=...
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:
: 589398 591606 (view as bug list)
Depends on:
Blocks: qt5-c++11
  Show dependency tree
 
Reported: 2016-07-22 22:38 UTC by Dmitry Grigoriev
Modified: 2016-09-20 12:13 UTC (History)
4 users (show)

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


Attachments
std-c++11.patch (std-c++11.patch,368 bytes, patch)
2016-08-24 16:07 UTC, jospezial
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Grigoriev 2016-07-22 22:38:10 UTC
I have qt-5.7.0 installed from qt overlay. 
I added this to my /etc/portage/package.accept_keywords:

# QT5
=app-emulation/virtualbox-5.1.2
=app-emulation/virtualbox-additions-5.1.2
=app-emulation/virtualbox-modules-5.1.2
=app-emulation/virtualbox-extpack-oracle-5.1.2.108956
=dev-util/kbuild-0.1.9998_pre20131130-r1

Then ran `emerge -uNDq @world`:

>>> Verifying ebuild manifests
>>> Emerging (1 of 5) app-emulation/virtualbox-additions-5.1.2::gentoo
>>> Installing (1 of 5) app-emulation/virtualbox-additions-5.1.2::gentoo
>>> Emerging (2 of 5) dev-util/kbuild-0.1.9998_pre20131130-r1::gentoo
>>> Installing (2 of 5) dev-util/kbuild-0.1.9998_pre20131130-r1::gentoo
>>> Emerging (3 of 5) app-emulation/virtualbox-modules-5.1.2::gentoo
>>> Installing (3 of 5) app-emulation/virtualbox-modules-5.1.2::gentoo
>>> Emerging (4 of 5) app-emulation/virtualbox-5.1.2::gentoo
>>> Failed to emerge app-emulation/virtualbox-5.1.2, Log file:
>>>  '/var/tmp/portage/app-emulation/virtualbox-5.1.2/temp/build.log'
 * Package:    app-emulation/virtualbox-5.1.2
 * Repository: gentoo
...
Checking for Xrandr: found, OK.
Checking for Qt5: 
  ** qt5 not found!
Check /var/tmp/portage/app-emulation/virtualbox-5.1.2/work/VirtualBox-5.1.2/configure.log for details
 * ERROR: app-emulation/virtualbox-5.1.2::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line 133:  Called src_configure
 *   environment, line 5917:  Called die
 * The specific snippet of code:
 *       ./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" --disable-dbus --disable-kmods ${myconf[@]} || die "configure failed"
Comment 1 Dmitry Grigoriev 2016-07-22 22:38:41 UTC
# emerge --info
Portage 2.2.28 (python 2.7.10-final-0, default/linux/amd64/13.0/selinux, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64)
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    16320060 total,    536216 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 22 Jul 2016 18:22:58 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage-git
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

bumblebee
    location: /var/lib/layman/bumblebee
    masters: gentoo
    priority: 0

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 1

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 2

tox-overlay
    location: /var/lib/layman/tox-overlay
    masters: gentoo
    priority: 3

dimgel-local
    location: /usr/local/portage
    masters: gentoo
    priority: 999

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x dlj-1.1 DOOM3 googleearth Oracle-BCLA-JavaSE PUEL Q3AEULA skype-4.0.0.7-copyright TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage-distfiles"
EMERGE_DEFAULT_OPTS="--color=y --with-bdeps=y --verbose-conflicts"
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 selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ http://gentoo-mirror.spb.ru/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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 acl acpi alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dri2 dts dvd dvdr emboss encode eselect exif fam firefox flac fortran gdbm gif glamor gpm hal iconv ipv6 jpeg lash lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg open_perms opengl openmp pam pango pcre pdf png policykit ppds qt3support qt5 readline scanner sdl seccomp selinux session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unconfined unicode upower usb vim-syntax vorbis wayland wxwidgets x264 xattr xcb xcomposite xinerama xml xorg xv xvid xvmc 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 proxy proxy_ajp proxy_http" 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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 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="evdev synaptics" KERNEL="linux" L10N="en en-GB en-US ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en-GB en-US ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia intel modesetting" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Dmitry Grigoriev 2016-07-22 22:51:48 UTC
Same error with virtualbox-5.1.0.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-07-23 10:34:41 UTC
*** Bug 589398 has been marked as a duplicate of this bug. ***
Comment 4 jospezial 2016-07-23 15:05:38 UTC
see https://bugs.gentoo.org/show_bug.cgi?id=586630 for more info
Comment 5 jospezial 2016-08-07 12:54:46 UTC
The duplicate of this bug has been tracked at
https://bugs.gentoo.org/show_bug.cgi?id=589412

So please add 589412 to Blocks
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-18 11:56:29 UTC
*** Bug 591606 has been marked as a duplicate of this bug. ***
Comment 7 jospezial 2016-08-24 16:07:52 UTC
Created attachment 444050 [details, diff]
std-c++11.patch

tested with virtualbox-5.1.4 qt-5.7.9999 and gcc-5.4.0
Comment 8 Juergen Rose 2016-08-24 20:34:32 UTC
(In reply to jospezial from comment #7)
> Created attachment 444050 [details, diff] [details, diff]
> std-c++11.patch
> 
> tested with virtualbox-5.1.4 qt-5.7.9999 and gcc-5.4.0

Thanks for the patch, which worked here.
Comment 9 Juergen Rose 2016-09-14 09:47:46 UTC
The issue comes again with virtualbox-5.1.6. The patch of Comment 7 works as before.
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-09-20 12:13:12 UTC
commit 5fda57c22bc93fcda1676086c4eab1077491e051
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Tue Sep 20 14:12:16 2016

    app-emulation/virtualbox: New patchset with qt-5.7 build fix (bug #589392).
    
    Package-Manager: portage-2.3.1
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>


Fixed in 5.1.6 package.