[poky] error trying to use erlang openembedded recipe
Marc
mbalcells at gmail.com
Sat Mar 5 16:27:52 PST 2011
Hello, I'm trying to use a recipe from openembedded to get the erlang
package. Everything was fine with poky 3.2 but now I'm trying to do the same
thing with poky-laverne-4.0 and I'm getting an error in the
do_populate_sysroot task.
I'm reading the recipes and trying to understand what could be wrong but I
can't find any reference to this do_populate_sysroot task. The error looks
quite simple, a broken path but I'm totally lost with this.
Has anyone succeeded in compiling erlang for poky?
Here is the error output:
Log data follows:
| ERROR: Error in executing python function in:
/opt/poky/meta-urbiotica/packages/erlang/erlang-native_R13B01.bb
| ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such
file or directory:
'/opt/poky/build/tmp/work/x86_64-linux/erlang-native-R13B01-r1/sysroot-destdir///opt/poky/build/tmp/sysroots'
| ERROR: Traceback:
| ERROR: File "sstate_task_postfunc", line 8, in <module>
| ERROR:
| ERROR: File "sstate_task_postfunc", line 3, in sstate_task_postfunc
| ERROR:
| ERROR: File "sstate.bbclass", line 17, in sstate_install
| ERROR:
| ERROR: File "/home/marc/igep/poky/meta/lib/oe/path.py", line 56, in
copytree
| ERROR: names = os.listdir(src)
| ERROR:
| ERROR: The lines leading to this error were:
| ERROR: 0004: for intercept in shared_state['interceptfuncs']:
| ERROR: 0005: bb.build.exec_func(intercept, d)
| ERROR: 0006: sstate_package(shared_state, d)
| ERROR: 0007:
| ERROR: Task failed: ('Function sstate_task_postfunc failed',
'/opt/poky/build/tmp/work/x86_64-linux/erlang-native-R13B01-r1/temp/log.do_populate_sysroot.11886')
NOTE: package erlang-native-R13B01-r1: task do_populate_sysroot: Failed
Any hint's on what could be wrong?
P.D. The recipe has a python function which might be related to this issue:
def get_erlang_libs_R13B01(d):
import os, bb
install_root = bb.data.getVar('D', d, 1)
libdir = bb.data.getVar('libdir', d, 1)[1:]
libs = ["${bindir}/dialyzer", "${libdir}/erlang/bin/dialyzer"]
erlang_lib = os.path.join(install_root, libdir, "erlang/lib")
for fname in os.listdir(erlang_lib):
if not "-" in fname: continue
if fname.startswith("compiler-"): continue
if fname.startswith("kernel-"): continue
if fname.startswith("sasl-"): continue
if fname.startswith("stdlib-"): continue
if fname.startswith("tools-"): continue
libs.append(os.path.join("${libdir}", "erlang/lib", fname))
libs.sort()
return libs
--
Marc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110306/c6dbce3b/attachment.html>
More information about the poky
mailing list