Bug 59480 - brp-compress fails when run twice
Summary: brp-compress fails when run twice
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm-build   
(Show other bugs)
Version: 7.2
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-02-08 20:33 UTC by jacob@ximian.com
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-29 21:43:10 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to pass -f to gzip (275 bytes, patch)
2002-02-08 20:33 UTC, jacob@ximian.com
no flags Details | Diff

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:

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

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

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