On Apr 20, 2009, at 8:27 AM, Karanbir Singh wrote:
Karanbir Singh wrote:
In the mean time if someone wants to go ahead and work out why that with_headers got undefined, please go ahead and let us know whats going on.
A very brief look at the spec file seems to show that its a bit random, depending on which arch the package is being built for the with_headers can go either way.
Why a src.rpm should be affected by required binary output based on arch, is something that needs investigating - however instinct tells me its a bug in the spec itself. Ideally, a src.rpm should be identical generated on any arch with any given set of '--defines'.
SRPM's are produced on a machine with an arch, and so results can/will vary.
Your instinct is correct.
But the kernel.spec has always been hugely complicated.
73 de Jeff