Bug 988565 - Software Collections macro file ifarch statement not evaluating
Summary: Software Collections macro file ifarch statement not evaluating
Keywords:
Status: CLOSED DUPLICATE of bug 1009921
Alias: None
Product: Fedora
Classification: Fedora
Component: scl-utils
Version: 19
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Zeleny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-25 20:35 UTC by Ryan Hennessy
Modified: 2013-10-09 12:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-10-09 12:48:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ryan Hennessy 2013-07-25 20:35:45 UTC
Description of problem:
When building a software collections package on a 64 bit machine the /lib64 directory is not being created for the runtime package.   This causes the build to abort with the following error message.

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /opt/rh/less458/root/lib64


Version-Release number of selected component (if applicable):
Took software collections meta package spec file from the software collections documentation and tried to build the package.  The build process ends with the error message listed above.    

How reproducible:
reproduce this issue every time.

Steps to Reproduce:
1. Copy meta package spec file from documentation
2. Do basic editing of the file to make it package specific
3. Run rpmbuild -ba less458.spec --define 'scl less458'

Actual results:
Output of rpmbuild command:

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /opt/rh/less458/root/lib64

Expected results:
  A sucessful build of the 3 meta packages for this software collection.


Additional info:
  When editing the /etc/rpm/macro.scl file, I was able to move the following line out of the %ifarch macro and the rpmbuild process completes successfully.  Looks like there is an issue with the ifarch statement.

%{_scl_root}/%{_lib}

Comment 1 Jan Zeleny 2013-10-09 12:48:54 UTC

*** This bug has been marked as a duplicate of bug 1009921 ***


Note You need to log in before you can comment on or make changes to this bug.