Skip to contentSkip to conversation

current xen unstable x86 pae doesn't compile install: cannot create regular file `//boot/xen-3.0-unstable.gz': Permission denied

DISCUSSION Hans-Christian Armingeon 1 participant 2 messages Aug 10, 2006 – Aug 12, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

current hg unstable pae doesn't build.

I think, that this has to do somethin with uninitialized variables.

# XEN_TARGET_X86_PAE=y make xen tools
[...]

            boot/x86_32.o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/common/built_in.o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/drivers/built_in.o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/arch/x86/built_in.o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms.o -o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms

nm -n /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms | /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/tools/symbols >/usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms.S
make -f /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/Rules.mk /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms.o
make[4]: Entering directory `/usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/arch/x86'
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/include -I/usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/include/asm-x86/mach-generic -I/usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/include/asm-x86/mach-default -msoft-float -DCONFIG_X86_PAE=1 -g -D__XEN__ -D__ASSEMBLY__ -c /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms.S -o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms.o make[4]: Leaving directory `/usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/arch/x86'

ld   -m elf_i386 -T xen.lds -N \
            boot/x86_32.o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/common/built_in.o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/drivers/built_in.o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/arch/x86/built_in.o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms.o -o /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms
rm -f /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms.S /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms.o
gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -Wdeclaration-after-statement -o boot/mkelf32 boot/mkelf32.c
./boot/mkelf32 /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen 0x100000 \
        `nm /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen-syms | sort | tail -n 1 | sed -e 's/^\([^ ]*\).*/0x\1/'`

make[3]: Leaving directory `/usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/arch/x86'
gzip -f -9 < /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen > /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen.gz.new mv /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen.gz.new /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen.gz [ -d //boot ] || install -d -m0755 //boot
install -m0644 /usr/src/xen/xen-unstable.hg-20060810-1-pae/xen/xen.gz //boot/xen-3.0-unstable.gz
install: cannot create regular file `//boot/xen-3.0-unstable.gz': Permission denied
make[2]: *** [_install] Error 1
make[2]: Leaving directory `/usr/src/xen/xen-unstable.hg-20060810-1-pae/xen'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/xen/xen-unstable.hg-20060810-1-pae/xen'
make: *** [install-xen] Error 2

Any ideas?

Johnny

#1 lore raw

Am Donnerstag, 10. August 2006 17:44 schrieb Hans-Christian Armingeon:

Quoted 4 lines

Hi,

current hg unstable pae doesn't build.

Well, I narrowed it down a bit. xen unstable pae builds fine on sarge, but not on ubuntu dapper i386.

on dapper I have

# make --version
GNU Make 3.81beta4
Copyright (C) 2003  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i486-pc-linux-gnu

On sarge I have:

# make --version
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Has something changed in the way, make evaluates variables? Or do I have to look at configure/autotools?

Quoted 1 line

[...]

Johnny