[yocto] quilt-native do_populate_sysroot error

Neuer User auslands-kv at gmx.de
Thu May 1 03:19:37 PDT 2014


Hi

I needed to re-setup my yocto directory due to a fs error (was using
btrfs). Before I used master-next. Now I checked out daisy.

When I start bitbaking, I already get an error ["File not found"] when
building quilt-native. The error is in the step do_populate_sysroot. The
problem is pretty clear:

run.do_populate_sysroot:

def do_populate_sysroot(d):
    bb.build.exec_func("sysroot_stage_all", d)
    for f in (d.getVar('SYSROOT_PREPROCESS_FUNCS', True) or '').split():
        bb.build.exec_func(f, d)
    pn = d.getVar("PN", True)
    multiprov = d.getVar("MULTI_PROVIDER_WHITELIST", True).split()
    provdir =
d.expand("/home/ubuntu/yocto/build/tmp/work/x86_64-linux/quilt-native/0.61-r0/sysroot-destdir//home/ubuntu/yocto/build/tmp/sysroots/x86_64-linux/sysroot-providers/")
    bb.utils.mkdirhier(provdir)
    for p in d.getVar("PROVIDES", True).split():
        if p in multiprov:
            continue
        p = p.replace("/", "_")
        with open(provdir + p, "w") as f:
            f.write(pn)


do_populate_sysroot(d)


Well, the provdir variable is definitely wrong!

How should I fix this?

Thanks

Michael




More information about the yocto mailing list