Hide Forgot
Description of problem: every hammer command on rhel6 issues warnings about missing devtoolset-4 Version-Release number of selected component (if applicable): satellite-6.3.0-11.1.beta.el6sat.noarch (snap8) rh-nodejs4-runtime-2.2-9.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. # hammer <any command> Can't read /etc/scl/prefixes/devtoolset-4, devtoolset-4 is probably not installed. Can't source enable, skipping. ... Actual results: warnings Expected results: no warnings
# tail -4 /opt/rh/rh-nodejs4/enable # new nodejs bundles v8 # we use dts-4 in rhel6 now because gcc/g++ from official repositories # are too old for new Node/v8 (and node-gyp) . scl_source enable devtoolset-4 If rh-nodejs4 for rhel6 now requires devtoolset-4 then the rpm should have it in its requires, and it's not there: # rpm -qR rh-nodejs4-runtime-2.2-9.el6.x86_64 /usr/bin/scl_source python(abi) = 2.6 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 >>> rh-nodejs4-runtime el6 should require devtoolset-4
Workaround is to run: # yum install devtoolset-4-runtime
This is a packaging problem with tfm scl. The same error appears anytime you enable tfm: $ scl enable tfm 'bash -c "whoami"' Can't read /etc/scl/prefixes/devtoolset-4, devtoolset-4 is probably not installed. Can't source enable, skipping. tstracho
This is a bug in the RHSCL rh-nodejs4 collection and not our packaging. The bug has been filed previously and should propagate via updates to RHSCL. Due to that, I'm closing this BZ. https://bugzilla.redhat.com/show_bug.cgi?id=1362169