Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685082 - bootstrap-prefix.sh should check for /opt/local/gcc7, not just /opt/local/gcc47
Summary: bootstrap-prefix.sh should check for /opt/local/gcc7, not just /opt/local/gcc47
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-05 05:57 UTC by Tim Boudreau
Modified: 2019-05-05 08:15 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 Tim Boudreau 2019-05-05 05:57:30 UTC
The 2019Q1 set of official packages for SmartOS - https://pkgsrc.joyent.com/packages/SmartOS/2019Q1/x86_64/All - contains GCC 7, which installs to /opt/local/gcc7

The test at line 2279 of bootstrap-prefix.sh tests for the presence of GCC 4.7, and will not detect it - it should be amended to test for both (or perhaps more ideally, a wildcard test and choosing the highest version supported):

# SmartOS
[[ -d /opt/local/gcc47/bin ]] && PATH="${PATH}:/opt/local/gcc47/bin"
Comment 1 Larry the Git Cow gentoo-dev 2019-05-05 08:15:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=6a100e41bd7c18939115d4709bd4d7f3deb5117c

commit 6a100e41bd7c18939115d4709bd4d7f3deb5117c
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2019-05-05 08:13:34 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2019-05-05 08:15:47 +0000

    scripts/bootstrap-prefix: pick up SmartOS GCC7, bug #685082
    
    As reported by Tim Boudreau, recent SmartOS uses GCC7.  Don't do any
    cleverness with globbing for now.
    
    Closes: https://bugs.gentoo.org/685082
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/bootstrap-prefix.sh | 1 +
 1 file changed, 1 insertion(+)