After GCC 7 switch dependencies on GCC runtime packages are incorrect
When a package depends on a library which can be found in RPATH and in standard path, pkgdepend generates require any dependency, like
depend fmri=pkg:/firstname.lastname@example.org fmri=pkg:/email@example.com type=require-any
developer/build/make , which depends on
Now, when system already has gcc-4-runtime installed (and it will by default), which delivers runtime libraries in /usr/lib ,
when one installs
developer/build/make, gcc-7-runtime is not installed and we likely have non-working make.
We've implemented the following workaround in oi-userland, when switched to GCC-6:
Likely, something similar should be implemented in illumos-gate (or we should fix pkgdepend and rely on it being fixed in build environment).
Updated by Alexander Pyhalov 4 months ago
For OpenIndiana I've fixed it by illumos-gate transform in https://github.com/OpenIndiana/oi-userland/pull/5093.
Final suggested illumos-gate webrev is available here: http://buildzone.oi-build.r61.net/11255/.