Bug 843412 - /opt/rh/httpd24/root/lib64 installed but not packaged
Summary: /opt/rh/httpd24/root/lib64 installed but not packaged
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: scl-utils
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-26 09:05 UTC by Jan Kaluža
Modified: 2013-07-02 23:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-02 11:05:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Kaluža 2012-07-26 09:05:36 UTC
Probably after some update (I haven't tested httpd24 collection build for 2 months), %scl_files macro stopped including /opt/rh/httpd24/root/lib64 for some reason. When I add this directory into %files manually, it works as expected.

scl-utils           x86_64     20120613-1.fc17
scl-utils-build     x86_64     20120613-1.fc17

Comment 1 Jindrich Novy 2012-09-06 20:07:04 UTC
Actually the base filesystem ownership macros contain the following:
%ifarch x86_64 ppc ppc64 sparc sparc64 s390 s390x
%{_scl_root}/%{_lib}
%endif

which should correctly expand to e.g. /opt/rh/httpd24/root/lib64 when built on x86_64. Wasn't the package in question attempeted to be built for 32bit on x86_64?

Comment 2 Jan Kaluža 2012-09-07 06:27:47 UTC
It works. Maybe some update fixed it but I'm pretty sure I haven't changed anything in .spec file during those two months mentioned in Comment 0 and it failed to rebuild. But yes, now it's working as expected, so you can close this bug. Thanks.

Comment 3 Jan Zeleny 2012-09-07 06:46:55 UTC
Since this is working, I'm closing the bug.

Comment 4 Jan Kaluža 2012-09-07 08:15:37 UTC
Hm, so I have update. It still happens in my fedora-16-x86_64 mock:

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

Spec file is here: http://jkaluza.fedorapeople.org/httpd24.spec

For RHEL6 it works correctly using mock.

Comment 5 Jan Kaluža 2012-09-07 08:16:11 UTC
Of course I meant fedora-17-x86_64 in previous comment...

Comment 6 Jindrich Novy 2012-09-10 14:29:13 UTC
Yet a few questions.

Assuming this doesn't happen when you make a normal non-SCL build of the package? Is the scl-utils installed of x86_64 arch? Could you please provide me with a SRPM to let me test the build failure?

Thanks!

Comment 7 Jindrich Novy 2012-09-10 14:40:40 UTC
Could you please try this update?
https://admin.fedoraproject.org/updates/scl-utils-20120809-1.fc17

(currently in updates-testing)

Comment 8 Jan Kaluža 2012-09-24 07:40:42 UTC
Sorry for delay, I was on holiday. This version does not fix the problem for me. I will upload srpms and paste link here.

Comment 9 Jan Kaluža 2012-09-24 08:19:15 UTC
SRPM is here: http://repos.fedorapeople.org/repos/jkaluza/httpd24/fedora-17/SRPMS/httpd24-1-1.fc17.src.rpm

For now I'm building it like this (Those --install are little bit useless now, but should not cause any problem):

mock -r "$CONFIG" --init
mock -r "$CONFIG" --install scl-utils
mock -r "$CONFIG" --install scl-utils-build
mock -r "$CONFIG" --install iso-codes
mock -r "$CONFIG" --no-clean  --rebuild /home/hanzz/rpmbuild/SRPMS/httpd24-1*.src.rpm --define 'scl httpd24'

Comment 10 Jan Kaluža 2012-09-24 08:21:49 UTC
CONFIG is fedora-17-x86_64 in my case.

Comment 11 Jan Zeleny 2012-10-02 11:05:13 UTC
After a consultation with the reporter I'm closing the bug as NOTABUG. It seems that the issue was caused by the package being built as noarch. In that case the core of this bug is documented "feature" of scl-utils.


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