Bug 78862 - rpmbuild segfaults on (erroneous) --rebuild <specfile>
rpmbuild segfaults on (erroneous) --rebuild <specfile>
Status: CLOSED CURRENTRELEASE
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm-build (Show other bugs)
1.0
i686 Linux
low Severity low
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-02 07:42 EST by Luca Barbieri
Modified: 2008-08-01 12:22 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-12-02 09:26:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Luca Barbieri 2002-12-02 07:42:00 EST
Description of Problem:
If rpmbuild --rebuild is incorrectly called on a specfile, it segfaults.

Version-Release number of selected component (if applicable):
rpm-build-4.2-0.12

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 09:26:23 EST
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 09:56:14 EST
Yup. Fixed in rpm-4.2-0.17.
Comment 3 Michael Lee Yohe 2002-12-02 09:59:35 EST
Resolution == Rawhide?
Comment 4 Jeff Johnson 2002-12-02 10:02:52 EST
Yup, our paths crossed while adding comments.

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