Hide Forgot
Description of problem: rpm is not able to build packages bigger than 4GB. Version-Release number of selected component (if applicable): rpm-4.11.1-9.el7 How reproducible: Always Steps to Reproduce: 1. create a spec file, create big files (use "dd" for example) 2. rpmbuild --clean -bb specfile.spec Actual results: Processing files: 4GBpluspkg-1.0-1.noarch Provides: 4GBpluspkg = 1.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/4GBpluspkg-1.0-1.x86_64 error: create archive failed on file /root/rpmbuild/BUILDROOT/4GBpluspkg-1.0-1.x86_64/usr/local/4GBpluspkg.tar: cpio: File too large for archive RPM build errors: create archive failed on file /root/rpmbuild/BUILDROOT/4GBpluspkg-1.0-1.x86_64/usr/local/4GBpluspkg.tar: cpio: File too large for archive End time: Thu Nov 28 09:03:14 EST 2013 Expected results: build successful Additional info: spec file: # cat 4GBpluspkg.spec Summary: 4GBpluspkg Package Name: 4GBpluspkg Version: 1.0 Release: 1 Group: System Environment/Base License: GPL BuildArch: noarch %description This is 4GBpluspkg test package %build # more-than-4G-file more-than-2G-file more-than-1G-file 10M-file 1M-file tar -cf 4GBpluspkg.tar more-than-4G-file more-than-2G-file more-than-1G-file 10M-file 1M-file %install mkdir -p %{buildroot}/usr/local/ mv 4GBpluspkg.tar %{buildroot}/usr/local/ %files /usr/local/4GBpluspkg.tar
Note that full support of 4G+ rpms is well known limitation of rpm and it's not one that is simple to fix. We have been working on this for past several months and IIRC the full support is not even in stable upstream release yet. I won't close this bug as wontfix but I certainly don't recommend providing this extension in RHEL7.0.
The support for large files is not something we can ever backport to rpm 4.11 (and thus rhel-7) within reason, the related changes are way, way too intrusive. CLOSED DEFERRED, this is rhel-8 material.