Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510894 - app-emulation/virtualbox-4.3.12 configure fails, does not accept sys-devel/gcc-4.9.0
Summary: app-emulation/virtualbox-4.3.12 configure fails, does not accept sys-devel/gc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.9
  Show dependency tree
 
Reported: 2014-05-20 23:25 UTC by jospezial
Modified: 2014-05-21 05:57 UTC (History)
1 user (show)

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 jospezial 2014-05-20 23:25:19 UTC
* Package:    app-emulation/virtualbox-4.3.12
 * Repository: gentoo
 * Maintainer: polynomial-c@gentoo.org patrick@gentoo.org
 * USE:        additions alsa amd64 elibc_glibc extensions java kernel_linux opengl pam pulseaudio python_single_target_python2_7 python_targets_python2_7 qt4 sdk userland_GNU vboxwebsrv vnc
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
 * You have disabled the "python" USE flag. This will only
 * disable the python bindings being installed.
 * Using: icedtea-7
>>> Unpacking source...
>>> Unpacking VirtualBox-4.3.12.tar.bz2 to /var/tmp/portage/app-emulation/virtualbox-4.3.12/work
>>> Unpacking virtualbox-4.3.10-patches-01.tar.xz to /var/tmp/portage/app-emulation/virtualbox-4.3.12/work
>>> Source unpacked in /var/tmp/portage/app-emulation/virtualbox-4.3.12/work
>>> Preparing source in /var/tmp/portage/app-emulation/virtualbox-4.3.12/work/VirtualBox-4.3.12 ...
 * Applying various patches (bugfixes/updates) ...
 *   001_virtualbox-ose-3.2.8-mesa-check.patch ...
 [ ok ]
 *   002_virtualbox-4.0.0-remove-configure-checks.patch ...
 [ ok ]
 *   003_virtualbox-4.0.2-restore_old_machines_dir.patch ...
 [ ok ]
 *   004_virtualbox-4.1.2-vboxpci-build.patch ...
 [ ok ]
 *   005_virtualbox-4.1.4-asneeded.patch ...
 [ ok ]
 *   006_virtualbox-4.2.18-vboxwebsrv_fix.patch ...
 [ ok ]
 *   007_virtualbox-4.3.10-gsoap2813.patch ...
 [ ok ]
 *   Skipping 050_virtualbox-4.3.4-nopie.patch due to EPATCH_EXCLUDE ...
 * Done with patching
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/virtualbox-4.3.12/work/VirtualBox-4.3.12 ...
Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: 
  ** gcc version 4.9.0 found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8!
Check /var/tmp/portage/app-emulation/virtualbox-4.3.12/work/VirtualBox-4.3.12/configure.log for details
 * ERROR: app-emulation/virtualbox-4.3.12::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_configure
 *   environment, line 5627:  Called die
 * The specific snippet of code:
 *       ./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" --disable-kmods --disable-dbus --disable-devmapper ${myconf} || die "configure failed"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-4.3.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-4.3.12::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-7  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea7"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info =virtualbox-4.3.12
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-4.3.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-4.3.12/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/virtualbox-4.3.12/work/VirtualBox-4.3.12'
 * S: '/var/tmp/portage/app-emulation/virtualbox-4.3.12/work/VirtualBox-4.3.12'
Comment 1 jospezial 2014-05-20 23:29:20 UTC
--- configure.ori       2014-05-21 01:18:16.114318000 +0200
+++ configure   2014-05-21 00:29:37.722318000 +0200
@@ -420,7 +420,7 @@
       elif [ $cc_maj -lt 3 \
              -o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
              -o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
-             -o \( $cc_maj -eq 4 -a $cc_min -gt 8 \) \
+             -o \( $cc_maj -eq 4 -a $cc_min -gt 9 \) \
              -o $cc_maj -gt 4 ]; then
         log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"
         fail really
Comment 2 jospezial 2014-05-21 00:58:38 UTC
Compile works with gcc-4.9.0 without problems.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-05-21 05:57:56 UTC
+  21 May 2014; Lars Wendler <polynomial-c@gentoo.org> virtualbox-4.3.12.ebuild:
+  Fixed compilation with gcc-4.9 (bug #510894).
+
Thanks for the fix.