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"
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(+)