[Shr-Devel] eglibc problems

captain.deadly at gmail.com captain.deadly at gmail.com
Tue Nov 23 13:16:13 CET 2010


Hello all,
    I'm still struggling with a build of eglibc-initial_2.12.bb in shr-
unstable. I've started from a clean build of shr-unstabe from the makefile. So 
entered a clean directory and executed "make setup" and proceeded as normal.

I can't find the issue which I'm having and have been on the IRC and got help 
but nobody out there seems to be having the probelm I'm having. I can 
understand that as I've been looking for the source of the problem and can't 
find a reason for the fail. The problem seems to be a bit of contamination 
between my target file system and my host file system. My build fails trying to 
remove a file from a directory, which I think might be trying to remove from my 
host's /usr instead of the target. In the included log file below:

linux/usr/bin/install: cannot remove `/usr/include/gnu/option-groups.h': 
Permission denied

I've been searching through the bb files in openembedded but can't see any 
do_install sections which would produce this problem. It's the do_install() 
which is failing. If anybody out there could offer me any advice or hints I'd 
be most gratefull. From the IRC I tried 

bitbake -c unpack -f -b eglibc_2.12.bb
bitbake  -c unpack -f -b eglibc-initial_2.12.bb

and then bitbake eglibc but that had no effect at all.

Thanks in advance for any help.

make  subdir=csu -C csu ..=../ install-headers
make[2]: Entering directory `/home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-initial-2.12-
r15.7+svnr11982/eglibc-2_12/libc/csu'
for inc in -I/home/john/programming/openmoko/shr/shr-unstable/tmp/work/armv4t-
oe-linux-gnueabi/eglibc-initial-2.12-r15.7+svnr11982/build-arm-oe-linux-
gnueabi -I../ports/sysdeps/arm/elf -
I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl -
I../ports/sysdeps/unix/sysv/linux/arm/eabi -
I../ports/sysdeps/unix/sysv/linux/arm/nptl -
I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux -
I../nptl/sysdeps/pthread -I../sysdeps/pthread -
I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -
I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -
I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv 
-I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -
I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -
I../ports/sysdeps/arm/eabi -I../ports/sysdeps/arm/fpu -
I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -
I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -
I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -nostdinc -
isystem /home/john/programming/openmoko/shr/shr-unstable/tmp/sysroots/x86_64-
linux/usr/armv4t/lib/gcc/arm-oe-linux-gnueabi/4.5.2/include -isystem 
/home/john/programming/openmoko/shr/shr-unstable/tmp/sysroots/x86_64-
linux/usr/armv4t/lib/gcc/arm-oe-linux-gnueabi/4.5.2/include-fixed -isystem 
/home/john/programming/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-
gnueabi/usr/include; do echo "$inc"; done \
  > /home/john/programming/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-linux-
gnueabi/eglibc-initial-2.12-r15.7+svnr11982/build-arm-oe-linux-
gnueabi/includesT
mv -f /home/john/programming/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-
linux-gnueabi/eglibc-initial-2.12-r15.7+svnr11982/build-arm-oe-linux-
gnueabi/includesT /home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-initial-2.12-
r15.7+svnr11982/build-arm-oe-linux-gnueabi/includes
echo 'saved-includes := -I/home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-initial-2.12-
r15.7+svnr11982/build-arm-oe-linux-gnueabi -I../ports/sysdeps/arm/elf -
I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl -
I../ports/sysdeps/unix/sysv/linux/arm/eabi -
I../ports/sysdeps/unix/sysv/linux/arm/nptl -
I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux -
I../nptl/sysdeps/pthread -I../sysdeps/pthread -
I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -
I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -
I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv 
-I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -
I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -
I../ports/sysdeps/arm/eabi -I../ports/sysdeps/arm/fpu -
I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -
I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -
I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -nostdinc -
isystem /home/john/programming/openmoko/shr/shr-unstable/tmp/sysroots/x86_64-
linux/usr/armv4t/lib/gcc/arm-oe-linux-gnueabi/4.5.2/include -isystem 
/home/john/programming/openmoko/shr/shr-unstable/tmp/sysroots/x86_64-
linux/usr/armv4t/lib/gcc/arm-oe-linux-gnueabi/4.5.2/include-fixed -isystem 
/home/john/programming/openmoko/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-
gnueabi/usr/include' > /home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-initial-2.12-
r15.7+svnr11982/build-arm-oe-linux-gnueabi/includes.mkT
mv -f /home/john/programming/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-
linux-gnueabi/eglibc-initial-2.12-r15.7+svnr11982/build-arm-oe-linux-
gnueabi/includes.mkT /home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-initial-2.12-
r15.7+svnr11982/build-arm-oe-linux-gnueabi/includes.mk
make[2]: Leaving directory `/home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-initial-2.12-
r15.7+svnr11982/eglibc-2_12/libc/csu'
make[2]: Entering directory `/home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-initial-2.12-
r15.7+svnr11982/eglibc-2_12/libc/csu'
/home/john/programming/openmoko/shr/shr-unstable/tmp/sysroots/x86_64-
linux/usr/bin/install -c -m 644 /home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-initial-2.12-
r15.7+svnr11982/build-arm-oe-linux-gnueabi/gnu/option-groups.h 
/usr/include/gnu/option-groups.h
/home/john/programming/openmoko/shr/shr-unstable/tmp/sysroots/x86_64-
linux/usr/bin/install: cannot remove `/usr/include/gnu/option-groups.h': 
Permission denied
make[2]: *** [/usr/include/gnu/option-groups.h] Error 1
make[2]: Leaving directory `/home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-initial-2.12-
r15.7+svnr11982/eglibc-2_12/libc/csu'
make[1]: *** [csu/install-headers] Error 2
make[1]: Leaving directory `/home/john/programming/openmoko/shr/shr-
unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-initial-2.12-
r15.7+svnr11982/eglibc-2_12/libc'
make: *** [install-headers] Error 2
FATAL: oe_runmake failed
ERROR: Function do_install failed


More information about the Shr-devel mailing list