Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 716853

Summary: rpmbuild 2GB check chokes on big files (around 1GB)
Product: Red Hat Enterprise Linux 5 Reporter: Sven Mueller <sven-redhat>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Aleš Mareček <amarecek>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 5.8CC: amarecek, dkelson, ksrot, pkis, pmatilai
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rpm-4.4.2.3-33.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 21:58:09 UTC Type: ---
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: 928849    
Attachments:
Description Flags
test spec file none

Description Sven Mueller 2011-06-27 09:13:22 UTC
Created attachment 510048 [details]
test spec file

Description of problem:

We are trying to build an RPM which mostly consists of a big file (approx. 1GB in size: 1122139308 bytes to be precise) and a single suplementary. 

Version-Release number of selected component (if applicable):
Installed Packages
rpm.x86_64                                    4.4.2.3-9.el5                                  installed
rpm-build.x86_64                              4.4.2.3-9.el5                                  installed
rpm-devel.x86_64                              4.4.2.3-9.el5                                  installed
rpm-libs.x86_64                               4.4.2.3-9.el5                                  installed
rpm-python.x86_64                             4.4.2.3-9.el5                                  installed


How reproducible:

See attached SPEC file.

Additional info:

This might be related to https://bugzilla.redhat.com/show_bug.cgi?id=506194 (which is still open after approx. 2 years?).
However, it is non-obvious why this spec file causes duplicate file definitions.

Yes, we are aware that this spec file isn't really clean, but it should work anyhow.

Comment 9 errata-xmlrpc 2013-09-30 21:58:09 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.

http://rhn.redhat.com/errata/RHBA-2013-1297.html

Comment 10 Dax Kelson 2013-11-19 03:59:57 UTC
(In reply to errata-xmlrpc from comment #9)
> 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.
> 
> http://rhn.redhat.com/errata/RHBA-2013-1297.html

Well, this "bugfix" breaks RPM building that I had been doing successfully with packages right near the 2GB mark ever since RHEL5 came out. The src.rpm is over 2GB but all the built noarch RPMs are all well under 2GB.

Downgrading my rpm to rpm-4.4.2.3-32 and all is well again.

Comment 11 Patrik Kis 2013-11-22 08:01:52 UTC
(In reply to Dax Kelson from comment #10)
> (In reply to errata-xmlrpc from comment #9)
> > 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.
> > 
> > http://rhn.redhat.com/errata/RHBA-2013-1297.html
> 
> Well, this "bugfix" breaks RPM building that I had been doing successfully
> with packages right near the 2GB mark ever since RHEL5 came out. The src.rpm
> is over 2GB but all the built noarch RPMs are all well under 2GB.
> 
> Downgrading my rpm to rpm-4.4.2.3-32 and all is well again.

If there is a regression you should open a new bug.