Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 617660

Summary: virtualbox*: gcc version check
Product: Gentoo Linux Reporter: lekto
Component: New packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 617524    
Attachments: VirtualBox-5.1.22-gcc_version_check_remove.patch

Description lekto 2017-05-06 18:44:15 UTC
Created attachment 471828 [details]

app-emulation/virtualbox, app-emulation/virtualbox-guest-additions and x11-drivers/xf86-video-virtualbox are using VirtualBox-x.x.xx-tar.bz2, with configure script that suppory only gcc 4.x, 5.x or 6.x (confirmed with VirtualBox-5.1.22). After remove gcc version check, this programs are working with gcc-7.1.

This command:
sed -e "/\s*-o\s*\\\(\s*\$cc_maj\s*-eq\s*[5-9]\s*-a\s*\$cc_min\s*-gt\s*[0-5]\s*\\\)\s*\\\/d" -i configure || die
that is in src_prepare seems not working.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-05-08 15:55:03 UTC
commit f25c3154912b085e9caf70f77dada0e6a5ea0d92 (HEAD -> master, origin/master, origin/HEAD)
Author: Lars Wendler <>
Date:   Mon May 8 17:34:30 2017

    virtualbox packages: Don't even call useless gcc version check.
    Package-Manager: Portage-2.3.5, Repoman-2.3.2