FC5 "rpmbuild -ta" problems

Marcio Oliveira oliveiram at gmail.com
Fri Sep 29 19:31:36 UTC 2006


Dave,

   I tested your script in my FC5 and got the following results:

Package tested: rpm-build-4.4.2-15.2 (FC5 original package)
Result: If RH bug 206841 is present, expect to see a series of error lines
complaining about missing fields
**** Start of rpmbuild log ****
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)

Package tested: rpm-build-4.4.2-15.2 (patched)
Result: success
Wrote: /tmp/tmp.dZYmu16297/rpmbuild/SRPMS/foobarbaz-1.0-1.src.rpm
Wrote: /tmp/tmp.dZYmu16297/rpmbuild/RPMS/noarch/foobarbaz-1.0-1.noarch.rpm

  After patch the rpm-build I build lots of rpm packages from tarball
packages, and all of them are working fine in my system.

  According to the tar command errors from FC5 original rpm-build package,
tar command expects to receive "--wildcards" as a parameter (to accept the
"*" character in "file to stract" field), and "xOvf" parameters plus a "-"
(-xOvf) to extract the file. That is what I added to rpm-4.2.2/build.c file.


   Do you think this problem is a rpmbuild "wrong parameters problem" or a
tar "expected parameters problem"?

Thanks for the info.
Márcio

On 9/29/06, David Malcolm <dmalcolm at redhat.com> wrote:
>
> On Fri, 2006-09-29 at 12:01 -0300, Marcio Oliveira wrote:
> >
> >
> >         >> Hi there,
> >         >>
> >         >> I got many error messages on FC5 fully updated trying to
> >         compile tar
> >         >> packages using "rpmbuild -ta tar_package.tar.gz" command.
> >
> >         >This is already filed:
> >         >https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206841
> >
> > thank you...
>
> >
> Thanks also.
>
> I've written a test case for this here, if anyone wants to try it out:
>
>
> https://testing.108.redhat.com/source/browse/*checkout*/testing/trunk/rhts/tests/sandbox/rpm/rpm-build/rpmbuild-of-tarball-smoketest/run-rpmbuild-on-tarball.sh?content-type=text%2Fplain&rev=95
>
> Dave
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20060929/67826f03/attachment.htm>


More information about the fedora-devel-list mailing list