Red Hat Bugzilla – Bug 103867
scripts/check-files may break build if no BuildRoot is used
Last modified: 2007-04-18 12:57:24 EDT
check-files gets a list of files to check via a pipe to stdin. if
no buildroot is set the current implementation just does exit 1, which
may lead to a broken pipe signal as the input doesn't get discarded.
Fix: cat filelist to /dev/null in that case.
Created attachment 94264 [details]
Right fix is to make BuildRoot: mandatory and phase out of
spec files. There are important reasosn for always building
with BuildRoot: everything else is hysterical legacy.
BTW, thanks very much for the patches, it's very, very helpful
in identifying rpm problems and getting a fix in place even if we
disagree on details. I want these rpm bits fixed no matter what.
Added to CVS, should be in rpm-4.2.2-0.8 and later.
Thanks for patch.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.