Bug 716853 - rpmbuild 2GB check chokes on big files (around 1GB)
Summary: rpmbuild 2GB check chokes on big files (around 1GB)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rpm
Version: 5.8
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: Aleš Mareček
URL:
Whiteboard:
Depends On:
Blocks: 928849
TreeView+ depends on / blocked
 
Reported: 2011-06-27 09:13 UTC by Sven Mueller
Modified: 2013-11-22 08:01 UTC (History)
5 users (show)

Fixed In Version: rpm-4.4.2.3-33.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-30 21:58:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
test spec file (1.20 KB, application/octet-stream)
2011-06-27 09:13 UTC, Sven Mueller
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1297 0 normal SHIPPED_LIVE rpm bug fix update 2013-09-30 21:13:47 UTC

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.


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