Description of problem: go-toolset-7-runtime POSTIN scriptlet fails, leading to tps-rpmtest failure. Version-Release number of selected component (if applicable): go-toolset-7-runtime-1.8-13.el7 How reproducible: 100% Steps to Reproduce: # yum install ./go-toolset-7-runtime-1.8-13.el7.s390x.rpm -y ... Running transaction Installing : go-toolset-7-runtime-1.8-13.el7.s390x 1/1 rm: cannot remove ‘/opt/rh/go-toolset-7/go-toolset-7’: No such file or directory warning: %post(go-toolset-7-runtime-1.8-13.el7.s390x) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package go-toolset-7-runtime-1.8-13.el7.s390x ...
So this only happens on the s390x architecture?
Ah, that's a hack on el8, which got partially applied to el7. Part 1: > touch %{buildroot}%{_scl_scripts}/%{scl} Part 2: > %post runtime > rm %{_scl_scripts}/%{scl} There's a bug in scl-utils.el8 that %scl_files includes this extra path, so the hack is to create it and then remove it in %post. Somehow we got only the second part applied on el7, but I think we don't need the hack at all. I would just remove this %post from el7.
(In reply to Derek Parker from comment #1) > So this only happens on the s390x architecture? No, this is reproducible in the other archs as well (tested in x86_64 and ppc64le).
Got it, thanks Josh for the insight, I'll get this fixed.
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/RHSA-2018:1304