Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1144601

Summary: RPM macro rpm/macros.python3.python33 references non-existing /usr/lib/rpm/brp-scl-compress
Product: Red Hat Software Collections Reporter: Jérémie Galarneau <jeremie.galarneau>
Component: pythonAssignee: Python Maintainers <python-maint>
Status: CLOSED ERRATA QA Contact: Jan Kepler <jkejda>
Severity: high Docs Contact:
Priority: unspecified    
Version: rh-python34CC: bkabrda, jeremie.galarneau, jkejda, kanderso, mstuchli, rkuska
Target Milestone: rcKeywords: EasyFix
Target Release: 2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rh-python34-python-3.4.2-6.el7 rh-python34-python-3.4.2-6.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1170993 (view as bug list) Environment:
Last Closed: 2015-06-04 08:49:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1170993    

Description Jérémie Galarneau 2014-09-19 20:50:21 UTC
Description of problem:

The %python33_os_install_post RPM macro in /etc/rpm/macros.python3.python33 uses the brp-scl-compress utility which is not distributed anymore.

This macro is distributed as part of the python33-scldevel.x86_64 package.

Version-Release number of selected component (if applicable):

Using the SCL 1.2 on RHEL 7.
python33-scldevel.x86_64 - 1.1-13.el7

How reproducible:

Always reproducible.

Steps to Reproduce:
1. Use the %python33_os_install_post macro in a .spec file

Actual results:

/var/tmp/rpm-tmp.XFwU5G: line 48: /usr/lib/rpm/brp-scl-compress: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.XFwU5G (%install)

Comment 2 Robert Kuska 2014-09-22 08:02:20 UTC
Hi,

what version of scl-utils do you have on your machine?
(rpm -q scl-utils)

Do you have scl-utils-build installed in your enviroment (or minimal buildroot)?
(rpm -q scl-utils-build)

Comment 3 Jérémie Galarneau 2014-09-22 14:22:22 UTC
$ rpm -q scl-utils
scl-utils-20130529-5.el7.x86_64

I don't have scl-utils-build as it seems there is no such package in the RHEL7 SCL repository.

For that matter, here are the repos currently enabled on the machine:

repo id                                        repo name                                                            status
rhel-7-server-rpms/7Server/x86_64              Red Hat Enterprise Linux 7 Server (RPMs)                             4,780
rhel-ha-for-rhel-7-server-rpms/7Server/x86_64  Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs    45
rhel-rs-for-rhel-7-server-rpms/7Server/x86_64  Red Hat Enterprise Linux Resilient Storage (for RHEL 7 Server) (RPMs    56
rhel-sap-for-rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux for SAP (RHEL 7 Server) (RPMs)                 14
rhel-server-rhscl-7-beta-rpms/x86_64           Red Hat Software Collections Beta RPMs for Red Hat Enterprise Linux  1,766
rhel-server-rhscl-7-rpms/7Server/x86_64        Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Ser   779
rhel-server-rhscl-7-source-rpms/7Server/x86_64 Red Hat Software Collections Source RPMs for Red Hat Enterprise Linu   424

Comment 4 Robert Kuska 2014-09-23 09:03:52 UTC
Package scl-utils-build is available in optional repo.


sudo yum-config-manager --enable rhel-7-server-optional-rpms

Comment 5 Marcela Mašláňová 2014-09-23 10:57:19 UTC
python33-python-devel should build requires scl-utils-build. Build failure would be much more readable. Let's fix it in future releases.

Comment 6 Bohuslav "Slavek" Kabrda 2015-01-09 07:47:25 UTC
Moving to rh-python34 for RHSCL 2.0, this won't get fixed in python33.

Comment 12 errata-xmlrpc 2015-06-04 08:49:30 UTC
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://rhn.redhat.com/errata/RHEA-2015-1058.html