Red Hat Bugzilla – Bug 110531
RPM Export fails
Last modified: 2007-04-18 12:59:38 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2)
Description of problem:
Cannot export source/binary RPM
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create CDT project (I used "pump")
2.Import srpm (I used pump-0.8.19-1.src.rpm from rpmfind.net)
3.Modify dhcp.c -- add comment and save.
4.Try to export as RPM:
Patch tag: superfluous
Date Stamp: <default>
Comment: "- superfluous change"
5. Click Finish.
Actual Results: Error dialog which says:
Open SRPM Errors
A problem occurred creating the rpmbuild shell script.
Please check the file permissions in /var/tmp
Expected Results: generate rpms
Created attachment 96093 [details]
rpmbuild log file from /var/tmp
Fixed. We were doing a "diff -uNr" command between the original
source RPM and the new project that was in Eclipse. "make" was being
run on the original source RPM and we were assuming "make" had been
run on the project in Eclipse, which was a bad assumption. We now
make sure "make" has been run on the Eclipse project befire doing the
"diff" command to create the patch.