Description of problem: When spec file with %build has an empty %prep section, 'rpmbuild -bs' segfaults: ---- Name: x Version: 0 Release: 0 Summary: 0 Group: x License: x %description %prep %build %files ---- $ rpmbuild -bs --target x86_64 --nodeps xx.spec Building target platforms: x86_64 Building for target x86_64 Segmentation fault Version-Release number of selected component (if applicable): rpm-4.9.0-6.fc15 How reproducible: 100%
Yup, this was just recently noticed and fixed upstream. Will be fixed in next update.
*** Bug 704765 has been marked as a duplicate of this bug. ***
rpm-4.9.0-9.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/rpm-4.9.0-9.fc15
Package rpm-4.9.0-9.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rpm-4.9.0-9.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/rpm-4.9.0-9.fc15 then log in and leave karma (feedback).
rpm-4.9.0-9.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.