On Tue, May 31, 2011 at 07:58, Richard Purdie
richard.pur...@linuxfoundation.org wrote:
On Tue, 2011-05-31 at 01:51 +, Otavio Salvador wrote:
Any clue?
It sounds like something in your paths are messed up in chicken-cross.
What is happening during do_install? Where are the files ending up? What
paths do they have?
I am attaching the do_install log into this mail.
+EXTRA_OEMAKE += \
+ PROGRAM_PREFIX=${TARGET_PREFIX} \
+ TARGET_PREFIX=${STAGING_DIR_TARGET} \
This looks a little odd...
My guess is that things end up in the wrong place during do_install and
the system therefore fails to pick them up. The binaries should be in
${D}${bindir} for example.
Right but in theory it uses DESTDIR=${D} and does it, no?
--
Otavio Salvador O.S. Systems
E-mail: ota...@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
+ cd
/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/chicken-4.7.0
+ do_install
+ autotools_do_install
+ oe_runmake
DESTDIR=/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/image
install
+ '[' xmake = x ']'
+ bbnote make PLATFORM=linux
PREFIX=/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/x86_64-linux/usr
ARCH=x86 HOSTSYSTEM=i586-oe-linux PROGRAM_PREFIX=i586-oe-linux-
TARGET_PREFIX=/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/ossystems-x86
TARGETSYSTEM=i586-oe-linux
DESTDIR=/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/image
install
+ echo 'NOTE: make PLATFORM=linux
PREFIX=/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/x86_64-linux/usr
ARCH=x86 HOSTSYSTEM=i586-oe-linux PROGRAM_PREFIX=i586-oe-linux-
TARGET_PREFIX=/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/ossystems-x86
TARGETSYSTEM=i586-oe-linux
DESTDIR=/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/image
install'
NOTE: make PLATFORM=linux
PREFIX=/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/x86_64-linux/usr
ARCH=x86 HOSTSYSTEM=i586-oe-linux PROGRAM_PREFIX=i586-oe-linux-
TARGET_PREFIX=/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/ossystems-x86
TARGETSYSTEM=i586-oe-linux
DESTDIR=/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/image
install
+ make PLATFORM=linux
PREFIX=/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/x86_64-linux/usr
ARCH=x86 HOSTSYSTEM=i586-oe-linux PROGRAM_PREFIX=i586-oe-linux-
TARGET_PREFIX=/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/ossystems-x86
TARGETSYSTEM=i586-oe-linux
DESTDIR=/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/image
install
make -f ./Makefile.linux CONFIG= install
make[1]: Entering directory
`/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/chicken-4.7.0'
mkdir -p
/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/image/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/x86_64-linux/usr/lib
install -m755 libi586-oe-linux-chicken.so
/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/image/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/x86_64-linux/usr/lib/libi586-oe-linux-chicken.so
cd
/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/image/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/x86_64-linux/usr/lib
ln -sf libi586-oe-linux-chicken.so.6 libi586-oe-linux-chicken.so
rm -f i586-oe-linux-chicken
rm -f i586-oe-linux-csi
rm -f i586-oe-linux-chicken-profile
rm -f i586-oe-linux-csc
rm -f i586-oe-linux-chicken-bug
rm -f i586-oe-linux-chicken-status
rm -f i586-oe-linux-chicken-install
rm -f i586-oe-linux-chicken-uninstall
rm -f chicken.so lolevel.so srfi-1.so srfi-4.so data-structures.so ports.so
files.so posix.so srfi-13.so srfi-69.so extras.so srfi-14.so tcp.so foreign.so
scheme.so srfi-18.so utils.so csi.so irregex.so setup-api.so setup-download.so
rm -f chicken.import.so lolevel.import.so srfi-1.import.so srfi-4.import.so
data-structures.import.so ports.import.so files.import.so posix.import.so
srfi-13.import.so srfi-69.import.so extras.import.so srfi-14.import.so
tcp.import.so foreign.import.so scheme.import.so srfi-18.import.so
utils.import.so csi.import.so irregex.import.so setup-api.import.so
setup-download.import.so
rm -f libi586-oe-linux-chicken.so
make -f ./Makefile.linux CONFIG= NEEDS_RELINKING=no
RUNTIME_LINKER_PATH=/home/otavio/hacking/el/tmp-eglibc-eglibc/sysroots/x86_64-linux/usr/lib
SONAME_VERSION=.6 install-bin
make[2]: Entering directory
`/home/otavio/hacking/el/tmp-eglibc-eglibc/work/i586-oe-linux/chicken-cross-4.7.0-r0.0/chicken-4.7.0'
i586-oe-linux-gcc -shared -Wl,-soname,libi586-oe-linux-chicken.so.6 \
-o libi586-oe-linux-chicken.so library.o eval.o data-structures.o
ports.o files.o extras.o lolevel.o utils.o