tq-systems / ci-meta-tq

CI testbed for meta-tq
Other
6 stars 6 forks source link

Extensible SDK build #7

Closed piotrbetlej closed 8 months ago

piotrbetlej commented 9 months ago

Hi all,

I am experiencing problems populating extensible SDK.

Tag:           kirkstone.TQMa8.BSP.SW.0092 Distro:        dumpling-wayland-nxp Machine:    tqma8mpxl-mba8mpxl Steps run:  bitbake tq-image-generic-debug; bitbake -c populate_sdk_ext tq-image-generic-debug

Result:

ERROR: tq-image-generic-debug-1.0-r0 do_populate_sdk_ext: Failed to generate filtered task list for extensible SDK:
### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-full-cmdline
    core-image-sato
    core-image-weston
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86-64'.

Other commonly useful commands are:
 - 'devtool' and 'recipetool' handle common recipe tasks
 - 'bitbake-layers' handles common layer tasks
 - 'oe-pkgdata-util' handles common target package tasks
ERROR: bitbake failed:
ERROR: Unable to parse /home/tq-yocto/ci-meta-tq/tqma8mpxl_build/tmp/work/tqma8mpxl_mba8mpxl-tq-linux/tq-image-generic-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py
Traceback (most recent call last):
  File "/home/tq-yocto/ci-meta-tq/tqma8mpxl_build/tmp/work/tqma8mpxl_mba8mpxl-tq-linux/tq-image-generic-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 94, 
  in include_single_file(parentfn='/home/tq-yocto/ci-meta-tq/tqma8mpxl_build/tmp/work/tqma8mpxl_mba8mpxl-tq-linux/tq-image-generic-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/conf/local.conf', 
  fn='common.inc', lineno=6, data=<bb.data_smart.DataSmart object at 0x7fe1f3597220>, error_out='include required'):
                 if error_out:
    >                raise ParseError("Could not %s file %s" % (error_out, fn), parentfn, lineno)
                 logger.debug2("CONF file '%s' not found", fn)
bb.parse.ParseError: ParseError at /home/tq-yocto/ci-meta-tq/tqma8mpxl_build/tmp/work/tqma8mpxl_mba8mpxl-tq-linux/tq-image-generic-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/conf/local.conf:6: 
Could not include required file common.inc
ERROR: Logfile of failure stored in: /home/tq-yocto/ci-meta-tq/tqma8mpxl_build/tmp/work/tqma8mpxl_mba8mpxl-tq-linux/tq-image-generic-debug/1.0-r0/temp/log.do_populate_sdk_ext.1612901
ERROR: Task (/home/tq-yocto/ci-meta-tq/sources/meta-tq/meta-dumpling/recipes-images/images/tq-image-generic-debug.bb:do_populate_sdk_ext) failed with exit code '1'
tq-niebelm commented 9 months ago

Sorry for the inconvinience. We use auto.conf for our CI and make use of include statements. This seems not to be supported with SDK export but works for bitbake.

Please remove the auto.conf file from your workspaces conf directory or copy the values from the files included by auto.conf into the autoconf for a fast workaround. We will fix this but need to keep our CI working in the meanwhile.

piotrbetlej commented 9 months ago

Thank You very much! That's what I did - it works as expected.

tq-niebelm commented 8 months ago

Should be fixed with kirkstone.TQ.ARM.BSP.0017 / a477e43

@embsupport

tq-niebelm commented 8 months ago

fixed with kirkstone.TQ.ARM.BSP.0017 / a477e43