Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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
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