Bug 802238

Summary: rpmbuild takes forever to build my 70MB package on fedora>=15
Product: [Fedora] Fedora Reporter: Muayyad Alsadi <alsadi>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: ffesti, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-06 20:08:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Muayyad Alsadi 2012-03-12 08:02:41 UTC
Description of problem:
I have a package that took 2 minutes to build on fedora 13 (and maybe 14)
on fedora 15 and 16 it takes 3 days before I get bored and pressed CTRL+C

Version-Release number of selected component (if applicable):
rpm-4.9.1.2-4.fc15.x86_64
rpm-build-4.9.1.2-4.fc15.x86_64


How reproducible:
always

Steps to Reproduce:
1. rpm -i http://www.ojuba.org/downloads/updates/testing/16/SRPMS/ojuba-samples-5-2.src.rpm
2. time rpmbuild --sign -ba /home/rpmbuild/SPECS/ojuba-samples.spec

  
Actual results:
takes forever to finish

Expected results:
2 minutes (maybe 50% more due to xz)

Additional info:
fedora 15 and 16 uses xz for payload,
so we might need to make xz maintainers follow on this two

Comment 1 Panu Matilainen 2012-03-12 08:52:47 UTC
Something about that package causes the kludge how 'rpmbuild --sign' is implemented in rpm >= 4.9.x to break, nothing to do with XZ.

Signing the packages as a separate step from building (ie first run 'rpmbuild -ba' and then 'rpmsign --addsign' on the resulting rpms) will avoid hanging forever, and that's actually the recommended way to perform signing. But as long as rpmbuild --sign still exists it should work... I'll have a look.

Comment 2 Muayyad Alsadi 2012-03-13 13:08:36 UTC
thank you in advance

Comment 3 Fedora End Of Life 2012-08-06 20:08:10 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora End Of Life 2012-08-06 20:08:10 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping