On Sat, Aug 16, 2003, Matthias Kurz wrote:

Matthias,

> I found that one can suppress the "Broken Pipe" warnings from

The 'Broken Pipe' comes from reading source rpms partially. On some
systems this will be reported by the shell although the error condition
is ignored otherwise.

openpkg-tool-20030816 makes the shell ignore the error condition
completely.


> still spits out:
> 
> WARNING: unknown token '"10"':
> < #if "%{V_minor}" == "0"
> > #if "10" == "0"
> WARNING: unknown token '==':
> < #if "%{V_minor}" == "0"
> > #if "10" == "0"
> WARNING: unknown token '"0"':
> < #if "%{V_minor}" == "0"
> > #if "10" == "0"

RPM specfiles don't have a well-defined grammar. The index parser
is therefore rather simple and it does not understand all constructs
used in our specfiles. In particular, it only understands conditional
sections that depend on macros that are defined outside the specfile,
e.g. options. In this case, the conditional section depends on a
macro that is %define'd in the specfile itself. Since that condition
does not affect the generated index, we currently ignore the deficiency
of the parser, and so should you :)

Greetings,
-- 
    ,eM""=.            a"-.                         Michael van Elst
   dWWMWM" -          :GM==;                        [EMAIL PROTECTED]
  :WWMWMw=--.          "W='  cable & wireless
   9WWMm==-.
    "-Wmw-"  CABLE & WIRELESS
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to