Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 78862 - rpmbuild segfaults on (erroneous) --rebuild <specfile>
Summary: rpmbuild segfaults on (erroneous) --rebuild <specfile>
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm-build
Version: 1.0
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-12-02 12:42 UTC by Luca Barbieri
Modified: 2008-08-01 16:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2002-12-02 14:26:29 UTC

Attachments (Terms of Use)

Description Luca Barbieri 2002-12-02 12:42:00 UTC
Description of Problem:
If rpmbuild --rebuild is incorrectly called on a specfile, it segfaults.

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

How Reproducible:
Every time.

Steps to Reproduce:
1. rpmbuild --rebuild <specfile>

Actual Results:
Segmentation fault

Expected Results:
An error message notifying the user that the file is not an SRPMS should be printed.

Additional Information:

Comment 1 Michael Lee Yohe 2002-12-02 14:26:23 UTC
This behavior does not affect the Red Hat Linux 8 release of RPM (rpm-4.1-1.06):

$ rpmbuild --rebuild xscreensaver.spec 
Installing xscreensaver.spec
error: xscreensaver.spec cannot be installed

Comment 2 Jeff Johnson 2002-12-02 14:56:14 UTC
Yup. Fixed in rpm-4.2-0.17.

Comment 3 Michael Lee Yohe 2002-12-02 14:59:35 UTC
Resolution == Rawhide?

Comment 4 Jeff Johnson 2002-12-02 15:02:52 UTC
Yup, our paths crossed while adding comments.

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