[Bug 272519] New: rpmbuild can't find spec file in source archive
https://bugzilla.novell.com/show_bug.cgi?id=272519 Summary: rpmbuild can't find spec file in source archive Product: openSUSE 10.3 Version: Alpha 3 Platform: Other OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: dbolt.abiryy@davjam.org QAContact: qa@suse.de Trying to build an RPM from a source archive that contains a spec file fails as rpmbuild appears to not find the spec file. As an example, when using rpmbuild -ta source-archive-0.0.tar.gz the results are: error: Name field must be present in package: (main package) error: Version field must be present in package: (main package) error: Release field must be present in package: (main package) error: Summary field must be present in package: (main package) error: Group field must be present in package: (main package) error: License field must be present in package: (main package) whereas unpacking the archive and using rpmbuild -ba source-archive-0.0/source-archive.spec results in rpmbuild building the archive. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272519 ------- Comment #1 from dbolt.abiryy@davjam.org 2007-05-08 19:04 MST ------- Created an attachment (id=138400) --> (https://bugzilla.novell.com/attachment.cgi?id=138400&action=view) console log showing results using a minimal spec file This was actually produces using the alpha1 CD release, but the same bug exists in alpha3 CD release, and probably alpha2 as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272519 mls@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #2 from mls@novell.com 2007-05-09 05:07 MST ------- I seem to remember that this is actually caused by a change in tar. I'll investigate... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272519 ------- Comment #3 from mls@novell.com 2007-05-09 07:48 MST ------- Yep, tar now needs the '--wildcards' option to expand wildcards... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272519 ------- Comment #4 from dbolt.abiryy@davjam.org 2007-05-14 06:49 MST ------- Created an attachment (id=139750) --> (https://bugzilla.novell.com/attachment.cgi?id=139750&action=view) patch that adds the --wildcards switch to build.c I've patched my copy of rpm-4.4.2-106 with this patch, built and installed it as -107, and performed a simple test. Using the same spec file shown in attachment 138400, rpmbuild will build using the -ta option. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272519 ------- Comment #5 from dbolt.abiryy@davjam.org 2007-05-14 06:54 MST ------- Created an attachment (id=139751) --> (https://bugzilla.novell.com/attachment.cgi?id=139751&action=view) console log showing pathed rpmbuild building an rpm from source archive The build process appears to work properly but there may still be a problem. Specifically, the part where the requires: are generated returns the following: WARNING: MONO RPM REQUIRES WERE NOT GENERATED FOR THIS BUILD!! Finding Requires: /usr/lib/rpm/find-requires traceroute-dummy sed: can't read /usr/src/packages/SOURCES/traceroute-dummy.spec: No such file or directory Finding Supplements: /usr/lib/rpm/find-supplements traceroute-dummy Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: traceroute -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272519 mls@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #6 from mls@novell.com 2007-06-12 14:46 MST ------- Fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com