<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>&gt; On Fri, 2006-09-29 at 16:31 -0300, Marcio Oliveira wrote:
<br>&gt; &gt; Dave,<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;I tested your script in my FC5 and got the following results:<br>&gt; &gt;<br>&gt; &gt; Package tested: rpm-build-4.4.2-15.2 (FC5 original package)<br>&gt; &gt; Result: If RH bug 206841 is present, expect to see a series of error
<br>&gt; &gt; lines complaining about missing fields<br>&gt; &gt; **** Start of rpmbuild log ****<br>&gt; &gt; error: Name field must be present in package: (main package)<br>&gt; &gt; error: Version field must be present in package: (main package)
<br>&gt; &gt; error: Release field must be present in package: (main package)<br>&gt; &gt; error: Summary field must be present in package: (main package)<br>&gt; &gt; error: Group field must be present in package: (main package)
<br>&gt; &gt; error: License field must be present in package: (main package)<br>&gt; &gt;<br>&gt; &gt; Package tested: rpm-build-4.4.2-15.2 (patched)<br>&gt; &gt; Result: success<br>&gt; &gt; Wrote: /tmp/tmp.dZYmu16297/rpmbuild/SRPMS/foobarbaz-
1.0-1.src.rpm<br>&gt; &gt; Wrote: /tmp/tmp.dZYmu16297/rpmbuild/RPMS/noarch/foobarbaz-1.0-1.noarch.rpm<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp; After patch the rpm-build I build lots of rpm packages from tarball<br>&gt; &gt; packages, and all of them are working fine in my system.
<br>&gt;<br>&gt; Thanks for testing the script: looks like this is a good minimal<br>&gt; reproducer case for the bug.<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp; According to the tar command errors from FC5 original rpm-build<br>&gt; &gt; package, tar command expects to receive &quot;--wildcards&quot; as a parameter
<br>&gt; &gt; (to accept the &quot;*&quot; character in &quot;file to stract&quot; field), and &quot;xOvf&quot;<br>&gt; &gt; parameters plus a &quot;-&quot; (-xOvf) to extract the file. That is what I<br>&gt; &gt; added to 
rpm-4.2.2/build.c file.<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;Do you think this problem is a rpmbuild &quot;wrong parameters problem&quot;<br>&gt; &gt; or a tar &quot;expected parameters problem&quot;?<br>&gt;<br>&gt; A bit of both?&nbsp;&nbsp;IIRC a lot changed in the latest &quot;tar&quot;, and it got
<br>&gt; fussier; does it support --wildcards in an earlier incarnation?&nbsp;&nbsp;If so,<br>&gt; I'm inclined to suggest that rpm-build should supply the arg so it can<br>&gt; 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 &quot;Incompatible changes&quot;. 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.&nbsp; 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&nbsp; 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;">
&gt;<br>&gt; I hope that regardless, FC6 would ship with an rpm-build/tar pair that<br>&gt; work together - though I'm not the maintainer of either package, just<br>&gt; 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;">&gt;
<br>&gt; BTW, this is one of the tests I've written for testing Fedora in Will<br>&gt; Wood's &quot;beaker&quot; lab.&nbsp;&nbsp;We've set things up so that tests can be packaged<br>&gt; as RPMs, and I've got a yum repo here:<br>&gt; 
<a href="http://people.redhat.com/dmalcolm/rhts-test-repo/">http://people.redhat.com/dmalcolm/rhts-test-repo/</a><br>&gt;<br>&gt; (the RPM containing the test is the rather verbosely-named<br>&gt; rhts-testing108-sandbox-rpm-rpm-build-rpmbuild-of-tarball-smoketest-tests-1.1-102.noarch.rpm
<br>&gt; - the build process takes the path of the test within our result<br>&gt; namespace)<br>&gt;<br>&gt; I'm gonna go and try the tests on a variety of boxes...<br>Fails on rawhide-20060929/i386:&nbsp;&nbsp; <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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://tinyurl.com/qd48s">http://tinyurl.com/qd48s
</a><br>Passes on FC5-GOLD/x86_64:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>