the source file can be bigger than 4 gb in rpmbuild

Joachim Sauer comment did answer the question that the possibility of adding a source file bigger than 4 GB is possible only starting with version 4.12 of rpm. Unfortunately due to compatible limitation with other rpm I could not use that solution.

Aaron D. Marasco comment link to another post that suggest the you could go around the issue by using ‘tar’ instead of cpio, by specifying ‘cpiobin’ in rpmrc. I didn’t go for this solution.

The easy solution for my specific case was to divide the source file in two source files of less than 4 GB and that did the trick.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top