Re: Maximum file limit for rpmbuild

Jeff Johnson <[email protected]> Thu, 31 Jul 2008 16:51:41 -0400
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
On Jul 30, 2008, at 4:38 PM, Marty Ridgeway wrote:

> I tried the modification in your note and now I get this error:
>
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1  
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Checking for unpackaged file(s): /bin/true
> D:      execv(/bin/true) pid 14448
> getOutputFrom(): Broken pipe
>

getOutputFrom() is racy, /bin/true is exiting before rpmbuild
can manage to send info to the pipe.

Instead of /bin/true, write a short wrapper script that
cat's stdin to /dev/null, and then does exit 0.

That should work around the getOutputFrom() raciness.

FWIW, the raciness is a design flaw in rpm, been there forever.

73 de Jeff