RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm-4.4.8 selects a wrong build target

From: Robert Scheck <robert@rpm5.org>
Date: Wed 25 Jul 2007 - 21:29:25 CEST
Message-ID: <20070725192925.GA7844@hurricane.linuxnetz.de>
On Wed, 25 Jul 2007, Jeff Johnson wrote:
> What does "... 386-linux is favoured over the i386-redhat-linux-gnu ..."
> mean precisely? Some macro being loaded from i386-linux/macros
> rather than i386-redhat-linux-gnu/macros?

yes, but when having a look to --showrc output, I saw, that I were simply
wrong. Only i386-linux/macros is in macros per default.

> Macro file loading epends on the macrofiles path, a colon separated list of 
> files to --macros
> will take the mystery out of what rpm reads (so will strace spew 
> examination).
>
> Any desired behavior can be achieved by defaulting the compiled in value
> of macrofiles to read to Something Else Instead.

Where are the macro files defined? Is this a build time thing? Yes I know,
there is --macros, but how to overwrite the defaults?


Robert
Received on Wed Jul 25 21:29:29 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.