Bug 59480

Summary: brp-compress fails when run twice
Product: [Retired] Red Hat Linux Reporter: jacob@ximian.com <jacob>
Component: rpm-buildAssignee: Jeff Johnson <jbj>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
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: 2005-09-29 21:43:10 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:
Attachments:
Description Flags
patch to pass -f to gzip none

Description jacob@ximian.com 2002-02-08 20:33:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.0.3 (X11; Linux i686; U;) Gecko/20020205

Description of problem:
brp-compress does not pass -f to gzip, so running the install stage twice will
yield errors.

gunzip: ./usr/share/info/sawfish.info already exists; do you wish to overwrite
(y or n)? Error: "rpm --rcfile
/usr/lib/rpm/rpmrc:/home/jacob/gnome2-snap/sawfish/bb_rpmrc --short-circuit -bi
sawfish.spec" attempted interactive I/O and interactive flag not set


Version-Release number of selected component (if applicable): rpm-build-4.0.3-1.03


How reproducible:
Always

Steps to Reproduce:
1.run rpm --short-circuit --bi
2.run rpm --short-circuit --bi again

	

Actual Results:  build fails

Expected Results:  it should succeed.

Additional info:

Comment 1 jacob@ximian.com 2002-02-08 20:33:32 UTC
Created attachment 44997 [details]
patch to pass -f to gzip

Comment 2 Jeff Johnson 2002-02-09 12:24:42 UTC
What version of rpm? I believe this problem is already
fixed in rpm-4.0.3.

Comment 3 jacob@ximian.com 2002-02-09 14:44:06 UTC
it is rpm-build-4.0.3-1.03.

Comment 4 jacob@ximian.com 2002-02-12 17:55:10 UTC
Looking at brp-compress again, it does call gzip with -f.

However, gzip still asks whether it should overwrite the files.

Any idea why this is happening?  Is this a gzip bug?

Comment 5 Bill Nottingham 2005-09-29 21:43:10 UTC
Closing bugs on older, no longer supported, releases. Apologies for any lack of
response.

For RPM issues, please try a current release such as Fedora Core 4; if bugs
persist, please open a new issue.