RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Specfile query outputs error messages for "missing" patches

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 26 Nov 2009 - 19:13:37 CET
Message-id: <66E96041-145D-4325-AA29-7A63EA75711A@mac.com>

On Nov 26, 2009, at 11:42 AM, Matthew Dawkins wrote:

>
>
> Ohh sorry, I thought that was clear. I would prefer to not have it  
> show the errors. The query is handy to list what packages are to be  
> built from a specfile, but I not sure that was it's original  
> intention.
>

Thanks.

> If it is, then the other strange behavior would be that it lists the  
> rpm for Name: even if the orignal Name may not have a %files list to  
> be built.

RPM has lots of quirks, basically because the code has been tortured  
beyond belief.

The fundamental design problem is that the spec file parser is not
side-effect free. In this case there are error messages, there's all
the whining about adding --nodeps with -bs, and your other request
is basically RPM is supposed to know what happens with a build
before the build completes.

I'll rearrange the build state machine next week to remove the
parsing side effects.

Prepare for a new set of complaints. There's no pleasing anybody imho.

73 de Jeff
Received on Thu Nov 26 19:14:38 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.