←  [EN] Third-Party Development

Forums

»

Cant get the codes from openpli

's foto littlesat 4 jan 2011

You have to download the coreutils-native_8.5 targz from the internet including the md5 file for it and but this in the source directory in the root of your build environment (one dir below the build-boxname dir). This made the fix for me.
Citeren

's foto yousif666 4 jan 2011

ok i will try again and see what happens.
Citeren

's foto pieterg 4 jan 2011

yes, looks like the problem occurs way after the fetch stage. Did you try a clean build already? (delete tmp, but keep sources)
Citeren

's foto yousif666 4 jan 2011

i will now and report back.
Citeren

's foto yousif666 4 jan 2011

I deleted tmp and started again and its the same, i kept sources folder.
i used make -f Makefile-2.0 image
i also tried bitbake openpli-enigma2-image
but i still get the same error.

NOTE: package coreutils-native-8.5-r0: task do_install: Started
NOTE: package coreutils-native-8.5-r0: task do_install: Succeeded
NOTE: Running task 20 of 3167 (ID: 141, /openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb, do_populate_sysroot)
ERROR: Error in executing python function in: /openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such file or directory
ERROR: Printing the environment of the function
ERROR: Function relocatable_binaries_preprocess failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb do_populate_sysroot failed
NOTE: package coreutils-native-8.5-r0: task do_populate_sysroot: Started
ERROR: Task 141 (/openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb, do_populate_sysroot) failed with 256
ERROR: '/openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb' failed
ERROR: Error in executing python function in: /openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such file or directory
ERROR: Printing the environment of the function
ERROR: Function relocatable_binaries_preprocess failed
NOTE: Task failed: ('function relocatable_binaries_preprocess failed', '/openpli/build-dm500hd/tmp/work/i686-linux/coreutils-native-8.5-r0/temp/log.relocatable_binaries_preprocess.14141')
ERROR: Logfile of failure stored in: /openpli/build-dm500hd/tmp/work/i686-linux/coreutils-native-8.5-r0/temp/log.relocatable_binaries_preprocess.14141
Log data follows:
| ERROR: Error in executing python function in: /openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb
| ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such file or directory
| ERROR: Printing the environment of the function
| ERROR: Function relocatable_binaries_preprocess failed
NOTE: package coreutils-native-8.5-r0: task do_populate_sysroot: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb do_populate_sysroot failed
ERROR: Task 141 (/openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb, do_populate_sysroot) failed with 256
ERROR: '/openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb' failed
ERROR: '/openpli/openembedded/recipes/coreutils/coreutils-native_8.5.bb' failed
make: *** [image] Error 1
Citeren

's foto pieterg 4 jan 2011

coreutils-native is not the first thing to be staged, by any chance?
Something seems wrong with your staging dir. Rights perhaps?
Citeren

's foto yousif666 4 jan 2011

rights?? i dont know because i tried downloading from opendreambox and it completed without problem but with openpli i get this error i dont know why i tried to rebuild more than 3 times but still i get the same error.
Citeren

's foto yousif666 5 jan 2011

so no solution for the problem guys?
Citeren

's foto pieterg 6 jan 2011

only difference there is that we use a newer bitbake.
You do not have bitbake installed in your distro?
(you should use the one installed by our wrapper makefile instead)
Citeren

's foto yousif666 6 jan 2011

it is installed and i use the one from your makefile

i tried to run make -f Makefile-2.0 image

also tried source ./env.source ; bitbake openpli-enigma2-image

and still having the problem.
Citeren

's foto pieterg 6 jan 2011

it should not be installed in your distro, or it might use the wrong version.
What do you get when you do 'bitbake --version' of 'which bitbake'?
Citeren

's foto yousif666 6 jan 2011

its not intalled, should i install it ? because i am using the one with the makefile that is downloaded from the makefile.
Citeren

's foto pieterg 6 jan 2011

it should not be installed

Citeren

's foto yousif666 6 jan 2011

yes its not installed in my distro but its downloaded from the makefile inside openpli folder i have bitbake folder.

I didn't install it in the distro
Citeren