[yocto] Cannot build the extensible sdk

Kristupas Savickas kristupas.savickas at teltonika.lt
Sun Feb 10 23:00:00 PST 2019


Hello,

I get the following error on thud branch when trying to build the 
extensible sdk for an image:

ERROR: meta-extsdk-toolchain-1.0-r0 do_locked_sigs: Error executing a 
python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
      0001:
  *** 0002:do_locked_sigs(d)
      0003:
File: 
'/home/kristupas/projects/yocto-tlt/openembedded-core/meta/recipes-core/meta/meta-extsdk-toolchain.bb', 
lineno: 25, function: do_locked_sigs
      0021:    import oe.copy_buildsystem
      0022:    outdir = os.path.join(d.getVar('LOCKED_SIGS_INDIR'))
      0023:    bb.utils.mkdirhier(outdir)
      0024:    sigfile = os.path.join(outdir, 
'locked-sigs-extsdk-toolchain.inc')
  *** 0025:    oe.copy_buildsystem.generate_locked_sigs(sigfile, d)
      0026:}
File: 
'/home/kristupas/projects/yocto-tlt/openembedded-core/meta/lib/oe/copy_buildsystem.py', 
lineno: 169, function: generate_locked_sigs
      0165:def generate_locked_sigs(sigfile, d):
      0166:    bb.utils.mkdirhier(os.path.dirname(sigfile))
      0167:    depd = d.getVar('BB_TASKDEPDATA', False)
      0168:    tasks = ['%s.%s' % (v[2], v[1]) for v in depd.values()]
  *** 0169:    bb.parse.siggen.dump_lockedsigs(sigfile, tasks)
      0170:
      0171:def prune_lockedsigs(excluded_tasks, excluded_targets, 
lockedsigs, pruned_output):
      0172:    with open(lockedsigs, 'r') as infile:
      0173: bb.utils.mkdirhier(os.path.dirname(pruned_output))
Exception: AttributeError: 'SignatureGenerator' object has no attribute 
'dump_lockedsigs'

ERROR: meta-extsdk-toolchain-1.0-r0 do_locked_sigs: Function failed: 
do_locked_sigs
ERROR: Logfile of failure stored in: 
/home/kristupas/projects/yocto-tlt/build/tmp-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/meta-extsdk-toolchain/1.0-r0/temp/log.do_locked_sigs.25058
ERROR: Task 
(/home/kristupas/projects/yocto-tlt/openembedded-core/meta/recipes-core/meta/meta-extsdk-toolchain.bb:do_locked_sigs) 
failed with exit code '1'

Is this a bug or am I missing something?

-- 
Pagarbiai,
Linux programuotojas
Kristupas Savickas
+370 633 36795

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190211/cfe51d5b/attachment.html>


More information about the yocto mailing list