Bug 76163
Summary: | getOutputFrom(): broken pipe while finding provides | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <mail> |
Component: | rpm-build | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | emrecio |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-10-17 18:19:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2002-10-17 18:18:58 UTC
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 |