<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Fri, 2006-09-29 at 17:48 -0400, David Malcolm wrote:<br>> On Fri, 2006-09-29 at 16:31 -0300, Marcio Oliveira wrote:
<br>> > Dave,<br>> ><br>> >    I tested your script in my FC5 and got the following results:<br>> ><br>> > Package tested: rpm-build-4.4.2-15.2 (FC5 original package)<br>> > Result: If RH bug 206841 is present, expect to see a series of error
<br>> > lines complaining about missing fields<br>> > **** Start of rpmbuild log ****<br>> > error: Name field must be present in package: (main package)<br>> > error: Version field must be present in package: (main package)
<br>> > error: Release field must be present in package: (main package)<br>> > error: Summary field must be present in package: (main package)<br>> > error: Group field must be present in package: (main package)
<br>> > error: License field must be present in package: (main package)<br>> ><br>> > Package tested: rpm-build-4.4.2-15.2 (patched)<br>> > Result: success<br>> > Wrote: /tmp/tmp.dZYmu16297/rpmbuild/SRPMS/foobarbaz-
1.0-1.src.rpm<br>> > Wrote: /tmp/tmp.dZYmu16297/rpmbuild/RPMS/noarch/foobarbaz-1.0-1.noarch.rpm<br>> ><br>> >   After patch the rpm-build I build lots of rpm packages from tarball<br>> > packages, and all of them are working fine in my system.
<br>><br>> Thanks for testing the script: looks like this is a good minimal<br>> reproducer case for the bug.<br>> ><br>> >   According to the tar command errors from FC5 original rpm-build<br>> > package, tar command expects to receive "--wildcards" as a parameter
<br>> > (to accept the "*" character in "file to stract" field), and "xOvf"<br>> > parameters plus a "-" (-xOvf) to extract the file. That is what I<br>> > added to 
rpm-4.2.2/build.c file.<br>> ><br>> >    Do you think this problem is a rpmbuild "wrong parameters problem"<br>> > or a tar "expected parameters problem"?<br>><br>> A bit of both?  IIRC a lot changed in the latest "tar", and it got
<br>> fussier; does it support --wildcards in an earlier incarnation?  If so,<br>> I'm inclined to suggest that rpm-build should supply the arg so it can<br>> work with old and new tar.</blockquote><div><br>I not sure about the --wildcards support in earlier tar versions, but I found a message at 
<a href="http://www.gnu.org/software/tar/">http://www.gnu.org/software/tar/</a>, talking about globbing changes in tar 1.15.91 (same version of FC5 tar pkg), named as "Incompatible changes". Take a look at the message I found :
<br><br><a href="http://lists.gnu.org/archive/html/bug-tar/2006-06/msg00001.html">http://lists.gnu.org/archive/html/bug-tar/2006-06/msg00001.html</a><br><br>It seems that --wildcards option became required for tar.  I will test the patched rpmbuild with earlier tar versions (in FC1, FC2, FC3, FC4 and FC5, maybe in RH9, RH8, 
RHEL2.1, RHEL3, RHEL4  and RHEL5 Beta too) to confirm if it supports --wildcards.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
><br>> I hope that regardless, FC6 would ship with an rpm-build/tar pair that<br>> work together - though I'm not the maintainer of either package, just<br>> another person who ran into the bug (hence the test)
</blockquote><div><br>Do you know who are the maintainers of this packages? <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">>
<br>> BTW, this is one of the tests I've written for testing Fedora in Will<br>> Wood's "beaker" lab.  We've set things up so that tests can be packaged<br>> as RPMs, and I've got a yum repo here:<br>> 
<a href="http://people.redhat.com/dmalcolm/rhts-test-repo/">http://people.redhat.com/dmalcolm/rhts-test-repo/</a><br>><br>> (the RPM containing the test is the rather verbosely-named<br>> rhts-testing108-sandbox-rpm-rpm-build-rpmbuild-of-tarball-smoketest-tests-1.1-102.noarch.rpm
<br>> - the build process takes the path of the test within our result<br>> namespace)<br>><br>> I'm gonna go and try the tests on a variety of boxes...<br>Fails on rawhide-20060929/i386:   <a href="http://tinyurl.com/n86xa">
http://tinyurl.com/n86xa</a><br>Fails on rawhide-20060929/x86_64: <a href="http://tinyurl.com/po83j">http://tinyurl.com/po83j</a><br><br>Passes on FC5-GOLD/i386:          <a href="http://tinyurl.com/qd48s">http://tinyurl.com/qd48s
</a><br>Passes on FC5-GOLD/x86_64:        <a href="http://tinyurl.com/rcvgp">http://tinyurl.com/rcvgp</a><br><br>Hope this helps<br>Dave<br><br>[snip]<br><br>--<br>fedora-devel-list mailing list<br><a href="mailto:fedora-devel-list@redhat.com">
fedora-devel-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br></blockquote></div><br>