2001-11-07 16:01:31

by Jeff Garzik

[permalink] [raw]
Subject: alpha and PPC broken by latest kernel RPM

Juan,

In the latest kernel RPM, you disable entries without even checking to
see if they exist on PPC or Alpha. This breaks the kernel build.

Of the following options, only -one- actually exists on alpha,
DEBUG_SLAB:

%if !%build_kdb
OptionDisable DEBUG_HIGHMEM
OptionDisable DEBUG_SLAB
OptionDisable KDB
OptionDisable KDB_MODULES
OptionDisable KALLSYMS
%endif


--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno


2001-11-07 16:06:10

by Jeff Garzik

[permalink] [raw]
Subject: Re: alpha and PPC broken by latest kernel RPM

Jeff Garzik wrote:
> Of the following options, only -one- actually exists on alpha,
> DEBUG_SLAB:

Correction, DEBUG_SLAB only exists in my private tree ;-) That entire
section should be covered with %ifarch %ix86.

+ grep -q DEBUG_SLAB arch/alpha/defconfig
+ echo 'no DEBUG_SLAB feature'
no DEBUG_SLAB feature
+ return 1
error: Bad exit status from /tmp/rpm/tmp/rpm-tmp.94164 (%build)

--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno

2001-11-07 16:13:20

by Jeff Garzik

[permalink] [raw]
Subject: Re: alpha and PPC broken by latest kernel RPM

Argh! Apologies, that should have gone to an internal list.
--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno