Closed NobuoTsukamoto closed 2 years ago
The build of armv7 and armv6 fails with the following error.
$ bitbake python3-tensorflow-lite Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. Parsing recipes: 100% |######################################################################################################################################################################################################| Time: 0:00:38 Parsing of 2538 .bb files complete (0 cached, 2538 parsed). 3945 targets, 148 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.0.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "fedora-35" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi4" DISTRO = "poky" DISTRO_VERSION = "4.0" TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard" TARGET_FPU = "hard" meta meta-poky meta-yocto-bsp = "kirkstone:4ec7cb82024a6bb24165e1542ef6d6820750bec7" meta-oe meta-python meta-networking meta-multimedia = "kirkstone:bb2b5b31a80eb164e47649036878773614e4dbdf" meta-raspberrypi = "kirkstone:0135a02ea577bd39dd552236ead2c5894d89da1d" meta-tensorflow-lite = "kirkstone_candidate:cc079393e1c54c61ebb381d841f8072c1c20a3a7" Initialising tasks: 100% |###################################################################################################################################################################################################| Time: 0:00:02 Sstate summary: Wanted 326 Local 0 Mirrors 0 Missed 326 Current 0 (0% match, 0% complete) NOTE: Executing Tasks ERROR: python3-tensorflow-lite-2.8.0-r0 do_package_qa: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: *** 0002:do_package_qa(d) 0003: File: '/home//Data/yocto/test/poky/meta/classes/insane.bbclass', lineno: 1100, function: do_package_qa 1096: oe.qa.handle_error("pkgname", 1097: "%s doesn't match the [a-z0-9.+-]+ regex" % package, d) 1098: 1099: warn_checks, error_checks = parse_test_matrix("QAPATHTEST") *** 1100: package_qa_walk(warn_checks, error_checks, package, d) 1101: 1102: warn_checks, error_checks = parse_test_matrix("QAPKGTEST") 1103: package_qa_package(warn_checks, error_checks, package, d) 1104: File: '/home//Data/yocto/test/poky/meta/classes/insane.bbclass', lineno: 723, function: package_qa_walk 0719: elves[path].open() 0720: for func in warnfuncs: 0721: func(path, package, d, elves.get(path), warnings) 0722: for func in errorfuncs: *** 0723: func(path, package, d, elves.get(path), errors) 0724: if path in elves: 0725: elves[path].close() 0726: 0727: for w in warnings: File: '/home//Data/yocto/test/poky/meta/classes/insane.bbclass', lineno: 350, function: package_qa_check_arch 0346: return 0347: 0348: #if this will throw an exception, then fix the dict above 0349: (machine, osabi, abiversion, littleendian, bits) \ *** 0350: = oe.elf.machine_dict(d)[target_os][target_arch] 0351: 0352: # Check the architecture and endiannes of the binary 0353: is_32 = (("virtual/kernel" in provides) or bb.data.inherits_class("module", d)) and \ 0354: (target_os == "linux-gnux32" or target_os == "linux-muslx32" or \ Exception: KeyError: 'armv7' ERROR: Logfile of failure stored in: /home//Data/yocto/test/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/python3-tensorflow-lite/2.8.0-r0/temp/log.do_package_qa.3461203 ERROR: Task (/home//Data/yocto/test/meta-tensorflow-lite/recipes-framework/tensorflow-lite/python3-tensorflow-lite_2.8.0.bb:do_package_qa) failed with exit code '1' NOTE: Tasks Summary: Attempted 1238 tasks of which 0 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home//Data/yocto/test/meta-tensorflow-lite/recipes-framework/tensorflow-lite/python3-tensorflow-lite_2.8.0.bb:do_package_qa Summary: There was 1 ERROR message, returning a non-zero exit code.
Fixed 09b4d5ae6daff00ccdd34d1ae49f67936f827228
The build of armv7 and armv6 fails with the following error.