Skip to contentSkip to conversation

Perl build failure

DISCUSSION Martyn Welch 1 participant 1 message Feb 17, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

I'm attempting to build the head of the master branch, targeting core-image-minimal on qemux86 with an up to date Ubuntu 10.04 32-bit system.

I am getting the following error from perl:

/home/welchma/Documents/linux/yocto/yocto_head/build/tmp/work/i586-poky-linux/perl-5.14.2-r2/perl-5.14.2/Cross/generate_config_sh config.sh-x86-linux > /home/welchma/Documents/linux/yocto/yocto_head/build/tmp/work/i586-poky-linux/perl-5.14.2-r2/perl-5.14.2/Cross/../config.sh Unable to open config.sh-x86-linux at /home/welchma/Documents/linux/yocto/yocto_head/build/tmp/work/i586-poky-linux/perl-5.14.2-r2/perl-5.14.2/Cross/generate_config_sh line 47.
make: *** [perl] Error 2

looking in the "Cross" folder there is no config.sh-x86-linux, there is however a config.sh-i586-linux.

Looking into the Makefile that seems to be run I see:

$(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh

where:

export SYS=$(ARCH)-$(OS)

The run.do_compile script has:

export ARCH="x86"

Which I guess explains why it's getting that value. Looking at the perl recipe, the do_configure stage creates a config file and I can see that this exists in build dir and that contains what I believe are the required values:

ARCH = i586
OS = linux

However this doesn't seem to be explicitly referenced by do_compile and doesn't seem to be referenced by generate_config_sh.

Any ideas?

Martyn

Signature · 4 lines
Martyn Welch (Lead Software Engineer)  | Registered in England and Wales
GE Intelligent Platforms               | (3828642) at 100 Barbirolli Square
T +44(0)1327322748                     | Manchester, M2 3AB
E [email protected]                  | VAT:GB 927559189