Bug 90691 - rpmbuild: getOutputFrom(): Broken pipe
Summary: rpmbuild: getOutputFrom(): Broken pipe
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm-build
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-12 15:46 UTC by Nathalie Viollet
Modified: 2007-04-18 16:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-22 00:24:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Nathalie Viollet 2003-05-12 15:46:34 UTC
Description of problem:
When I try to build my software RPM, the build end by : (with rpmbuild -ba)

Processing files: CMU-MONITORING-3-0_12052003_15h46m51
Provides: libFileLockTools.so libReentrantTools.so libcmuclient.so libcmucomms.s
o libcmucomms_udp.so libcmudebug.so libcmufile.so libcmulineparser.so libcmuserv
er.so libcmutools.so libpthreadTools.so
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHave
Prefix) <= 4.0-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires: /bin/sh libFileLockTools.so libReentrantTools.so libc.so.6 libc.so.6(G
LIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.1.3) lib
c.so.6(GLIBC_2.3.2) libcmucomms.so libcmucomms_udp.so libcmudebug.so libcmufile.
so libcmulineparser.so libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.
0(GLIBC_2.1) libpthreadTools.so
Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}
getOutputFrom(): Broken pipe

The problem is note systematic: when running 100 times the command it works 
about 2 times ?????
The packages can be build fine on redhat 7.3, 7.2 and 8.0

Version-Release number of selected component (if applicable):
rpm-build-4.2-0.69

How reproducible:
98 times out of 100

Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info:

Comment 1 Jeff Johnson 2003-05-22 00:24:58 UTC
Yup.

Either add a BuildRoot: directive, or disable the check files
helper by adding to spec file
    %undefine __check_files


Comment 2 Paul Berger 2003-05-23 18:10:07 UTC
I have the same problem with RH9. The only solution that works is disabling the 
## %__check_files         /usr/lib/rpm/check-files %{buildroot}
in the /usr/lib/rpm/macros file or 
 %undefine __check_files 
in local ~/.rpmmacros.

Paul




Note You need to log in before you can comment on or make changes to this bug.