Description of problem: This may be a RFE for scl-utils rather than DTS but it probably only applies to the DTS SCL and so I filed it here. scl enable devtoolset-7 should be setting PKG_CONFIG_PATH to: PKG_CONFIG_PATH=/opt/rh/devtoolset-7/root/usr/lib64/pkgconfig:$PKG_CONFIG_PATH` So that we pick up the libraries for devtoolset
Too late for DTS 7, moving out to DTS 8. Is there a specific testcase or is this just a would-be-nice-to-have thing? Nobody has ever asked for this, and DTS has been around for a couple years now...
For example: $ rpm -qlp devtoolset-7-valgrind-devel-3.13.0-11.el7.aarch64.rpm | grep pc$ /opt/rh/devtoolset-7/root/usr/lib64/pkgconfig/valgrind.pc
The enable script in devtoolset-8-runtime now has: export PKG_CONFIG_PATH=/opt/rh/devtoolset-8/root/usr/lib64/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}
Looks fine, seems to export the expected thing (and preserve original value if there was some). Verified with devtoolset-8-8.0-2.el{6,7}.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3561