Hi Robert,
Thank you very much, adding the lines require conf/distro/include/yocto-uninative.inc INHERIT += "uninative" to the distro configuration enables the build to succeed. Br, Martin ________________________________ From: Robert Yang <[email protected]> Sent: Thursday, January 11, 2018 6:45:29 AM To: Martin Siegumfeldt; [email protected] Subject: Re: [yocto] Issues building Extensible SDK Hi Martin, Try: $ bitbake -e | grep '^INHERIT=.*uninative' If there is nothing, then add the following line to conf/local.conf: INHERIT += "uninative" // Robert On 01/10/2018 03:46 PM, Martin Siegumfeldt wrote: > Hi, > > We have a custom piece of (Zynq based) HW that we render a custom distro > using Yocto. I am trying to build the extensible SDK but run into the below > error: > > pokyuser@03c19f8798ba:/workdir/krogoth/build$ bitbake core-image-minimal -c > populate_sdk_ext > Loading cache: 100% > |################################################################################################################################################################################################################################################| > Time: 0:00:00 > Loaded 2675 entries from dependency cache. > Parsing recipes: 100% > |##############################################################################################################################################################################################################################################| > Time: 0:00:01 > Parsing of 1915 .bb files complete (1913 cached, 2 parsed). 2677 targets, 377 > skipped, 0 masked, 0 errors. > NOTE: Resolving any missing task queue dependencies > > Build Configuration: > BB_VERSION = "1.34.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "ubuntu-16.04" > TARGET_SYS = "arm-oe-linux-gnueabi" > MACHINE = "zynq-soft-z7000-mb-v2" > DISTRO = "gomspace" > DISTRO_VERSION = "2.0" > TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9" > TARGET_FPU = "hard" > meta = "pyro:9c75151116aa293dc8567c237d7e4da5bdec90e3" > meta-xilinx = "pyro:18097af3120a394a8e6933b7abc85e73e508c7e3" > meta-oe > meta-filesystems > meta-networking > meta-python = "pyro:dfbdd28d206a74bf264c2f7ee0f7b3e5af587796" > meta-z7000 = "pyro:b255ea4575b40d77a2f5dc9200de0718f979f175" > > Initialising tasks: 100% > |###########################################################################################################################################################################################################################################| > Time: 0:00:03 > NOTE: Executing SetScene Tasks > NOTE: Executing RunQueue Tasks > ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: 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:copy_buildsystem(d) > 0003: > File: > '/workdir/krogoth/openembedded-core/meta/classes/populate_sdk_ext.bbclass', > lineno: 298, function: copy_buildsystem > 0294: f.write('TCLIBCAPPEND = ""\n') > 0295: f.write('DL_DIR = "${TOPDIR}/downloads"\n') > 0296: > 0297: f.write('INHERIT += "%s"\n' % 'uninative') > *** 0298: f.write('UNINATIVE_CHECKSUM[%s] = "%s"\n\n' % > (d.getVar('BUILD_ARCH'), uninative_checksum)) > 0299: f.write('CONF_VERSION = "%s"\n\n' % > d.getVar('CONF_VERSION', False)) > 0300: > 0301: # Some classes are not suitable for SDK, remove them > from INHERIT > 0302: f.write('INHERIT_remove = "%s"\n' % > d.getVar('SDK_INHERIT_BLACKLIST', False)) > Exception: UnboundLocalError: local variable 'uninative_checksum' referenced > before assignment > > ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Function failed: > copy_buildsystem > ERROR: Logfile of failure stored in: > /workdir/krogoth/build/tmp-glibc/work/zynq_soft_z7000_mb_v2-oe-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_populate_sdk_ext.8408 > ERROR: Task > (/workdir/krogoth/openembedded-core/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk_ext) > failed with exit code '1' > NOTE: Tasks Summary: Attempted 2214 tasks of which 2210 didn't need to be > rerun and 1 failed. > > Summary: 1 task failed: > > /workdir/krogoth/openembedded-core/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk_ext > Summary: There were 2 ERROR messages shown, returning a non-zero exit code. > > > The standard SDK builds successfully all the way back from Fido throughout > Rocko, however we would now like to build the Extensible SDK. Krogoth version > builds it successfully, but Pyro and Rocko throws the above error (haven't > tested Morty). > > I am unable to reproduce using Poky and thus assume it to be related to the > configuration of our distro/image. Any suggestions are highly appreciated. > > Thanks, > Martin > > >
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
