Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] test-sorcery and linux spell

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] test-sorcery and linux spell
  • Date: Tue, 19 Oct 2004 14:00:01 -0700

To my knowledge ARCH is not a sorcery variable, HOST, BUILD, and ARCHITECTURE
are though.

Looking at the linux spell in BUILD
if [[ -z $ARCH ]]; then
ARCH=$KERNEL_ARCH
fi
and your KERNEL_ARCH is "" so that makes sense...
PREPARE seems to set KERNEL_ARCH, so I would guess thats the problem

-Andrew


On Tue, Oct 19, 2004 at 10:36:40PM +0200, Treeve Jelbert wrote:
> using test sorcery, the linux spell fails to cast
> I get the same problem on two differnet machines,one of which is a clean
> install. The problem seems to be the ARCH variable, which I had originally
> set to i386
>
> # cat /etc/sorcery/local/depends/linux.p
> CONFIG_KERNEL=""
> KERNEL_ARCH=""
> OLD_CONFIG="y"
> USE_GUI="n"
> REUSE_SOURCE="n"
> -------------
>
> Building linux
> Building a new tree.
> gpg checking linux-2.6.9.tar.bz2 with linux-2.6.9.tar.bz2.sign.
> using public key ring file kernel.gpg.
> check passed.
> extracting linux-2.6.9.tar.bz2
> patching file scripts/kconfig/Makefile
> Using gcc version: 3.4.2
> Installing in dir: /usr/src/linux-2.6.9
> linux 2.6.9
> /usr/src/linux-2.6.9
> ARCH is '', CROSS_COMPILE is ''
> make[1]: Entering directory `/usr/src/linux-2.6.9'
> HOSTCC scripts/basic/fixdep
> HOSTCC scripts/basic/split-include
> HOSTCC scripts/basic/docproc
> SHIPPED scripts/kconfig/zconf.tab.h
> HOSTCC scripts/kconfig/conf.o
> HOSTCC scripts/kconfig/mconf.o
> SHIPPED scripts/kconfig/zconf.tab.c
> SHIPPED scripts/kconfig/lex.zconf.c
> HOSTCC -fPIC scripts/kconfig/zconf.tab.o
> HOSTLLD -shared scripts/kconfig/libkconfig.so
> HOSTLD scripts/kconfig/conf
> scripts/kconfig/conf -o arch//Kconfig
> can't find file arch//Kconfig
> make[2]: make[1]: Leaving directory `/usr/src/linux-2.6.9'
> *** [oldconfig] Error 1
> make[1]: *** [oldconfig] Error 2
> make[1]: Entering directory `/usr/src/linux-2.6.9'
> Makefile:500: /usr/src/linux-2.6.9/arch//Makefile: No such file or directory
> make[1]: *** No rule to make target `/usr/src/linux-2.6.9/arch//Makefile'.
> Stop.
> make[1]: Leaving directory `/usr/src/linux-2.6.9'
> make[1]: Entering directory `/usr/src/linux-2.6.9'
> Makefile:500: /usr/src/linux-2.6.9/arch//Makefile: No such file or directory
> make[1]: *** No rule to make target `/usr/src/linux-2.6.9/arch//Makefile'.
> Stop.
> make[1]: Leaving directory `/usr/src/linux-2.6.9'
>
>
>
> Regards, Treeve
>
> --
> PGP Key ID: AB929B24
> PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24



> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss


--
__________________________________________________________________________
|Andrew D. Stitt | astitt at sourcemage.org |
|irc: afrayedknot | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus | |
|Sorcery Team Lead, Porting Team Lead | |
|Grimoire Guru ham/smgl | ftp://t.armory.com |
|Author and Maintainer of Prometheus | |
--------------------------------------------------------------------------

Attachment: pgpnrN0Zcucqx.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page