From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux) Description of problem: building an RPM of my app failed on RH 8.0 with the above error. In 7.3 everything was ok. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. download kwifimanager-1.0.0.tar.gz from http://sourceforge.net/projects/kwifimanager 2. grab .spec and .xpm file from CVS 3. build as usual with rpmbuild -ba kwifimanager.spec Actual Results: the whole build went okay, except for finding-provides, which failed with getOutputFrom(): broken pipe. As a result, RPMs were not built. Expected Results: Expected a painless build of kwifimanager. Additional info:
Hmmm, this package does not have a build root. Adding a BuildRoot: to the package is strongly suggested. I can't reproduce an error with find-provides, only with check-files that takes a (undefined) %{buildroot} argument, perhaps that's what you are seeing? If it is in find-provides, then cat files.txt | /usr/lib/rpm/find-provides is all that rpm is doing. Adding %define __check_files %{nil} will disable the functionality.
Hi, I'm also getting a simular error as above. I've managed to narrow the posible cause to the length of the files list when building. So for whenI have less than 20 files in the list it moslty works but as more and more files are added it fails more and more often. The order doen't seem to matter but I have a supicion that the real memory/swap boundary might have an effect. i.e. as swap is used. ( I have a swap file rather than partition.) I'm buiding in a root env using an image of 8.0 which otherwise works fine. Here is an example -: snip----- cat ./foobar/tmp/files-bak | sort | head -n 20 > ./foobar/tmp/files su -c "/usr/sbin/chroot ./foobar /rpm.sh" ...... Checking for unpackaged file(s): /usr/local/lib/rpm/check-files %{buildroot} warning: Could not canonicalize hostname: sue Wrote: /usr/local/src/redhat/SRPMS/perl-5.8.0-1.src.rpm Wrote: /usr/local/src/redhat/RPMS/i386/perl-5.8.0-1.i386.rpm ... cat ./foobar/tmp/files-bak | sort | head -n 41 > ./foobar/tmp/files su -c "/usr/sbin/chroot ./foobar /rpm.sh" ... Checking for unpackaged file(s): /usr/local/lib/rpm/check-files %{buildroot} getOutputFrom(): Broken pipe snip-----
I get the same error from check-files: Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot} getOutputFrom(): Broken pipe -Elmo