Bug 89152

Summary: brp-compress needs user interaction
Product: [Retired] Red Hat Linux Reporter: Han-Wen Nienhuys <hanwen>
Component: rpm-buildAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-21 16:04:40 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 Han-Wen Nienhuys 2003-04-18 14:43:03 UTC
Description of problem:

brp-compress runs gunzip without -f ; in some cases, this causes rpmbuild to hang,
waiting for the user eg.

gunzip: ./usr/share/info/R-intro.info already exists; do you wish to overwrite
(y or n)? y



Version-Release number of selected component (if applicable):

4.2-0.69

Comment 1 Jeff Johnson 2003-04-21 16:04:40 UTC
Yup, but there's no easy and reliable fix here except
to remove precompressed manpages in the %install scriptlet,
there's too many versions of brp-compress already released.

Comment 2 Han-Wen Nienhuys 2003-04-21 20:12:01 UTC
I'm not suggesting that there is a real fix, but I merely that it should fail 
with some error message, in stead of user interaction -- if user interaction is
acceptable, then -f is, too, and for a batch program like rpmbuild, -f is more
appropriate than a prompt.