Bug 89152 - brp-compress needs user interaction
Summary: brp-compress needs user interaction
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm-build
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-04-18 14:43 UTC by Han-Wen Nienhuys
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-04-21 16:04:40 UTC
Embargoed:


Attachments (Terms of Use)

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. 


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