set TCLIBC = "glibc" bitbake phoronix-test-suite TCLIBC = "musl" bitbake phoronix-test-suite -cconfigure results in ERROR: phoronix-test-suite-9.2.1-r0 do_prepare_recipe_sysroot: 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:extend_recipe_sysroot(d) 0003: File: '/mnt/b/yoe/sources/openembedded-core/meta/classes/staging.bbclass', lineno: 570, function: extend_recipe_sysroot 0566: if "/bin/" in l or "/sbin/" in l: 0567: # defer /*bin/* files until last in case they need libs 0568: binfiles[l] = (targetdir, dest) 0569: else: *** 0570: staging_copyfile(l, targetdir, dest, postinsts, seendirs) 0571: 0572: # Handle deferred binfiles 0573: for l in binfiles: 0574: (targetdir, dest) = binfiles[l] File: '/mnt/b/yoe/sources/openembedded-core/meta/classes/staging.bbclass', lineno: 152, function: staging_copyfile 0148: os.symlink(linkto, dest) 0149: #bb.warn(c) 0150: else: 0151: try: *** 0152: os.link(c, dest) 0153: except OSError as err: 0154: if err.errno == errno.EXDEV: 0155: bb.utils.copyfile(c, dest) 0156: else: Exception: FileExistsError: [Errno 17] File exists: '/mnt/b/yoe/build/tmp/sysroots-components/core2-32/bsd-headers/usr/include/sys/cdefs.h' -> '/mnt/b/yoe/build/tmp/work/all-yoe-linux/phoronix-test-suite/9.2.1-r0/recipe-sysroot/usr/include/sys/cdefs.h' ERROR: Logfile of failure stored in: /mnt/b/yoe/build/tmp/work/all-yoe-linux/phoronix-test-suite/9.2.1-r0/temp/log.do_prepare_recipe_sysroot.129 ERROR: Task (/mnt/b/yoe/sources/meta-openembedded/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_9.2.1.bb:do_prepare_recipe_sysroot) failed with exit code '1'
With master? There were some fixes in this area after zeus...
yes master, the reason seesm to to latest changes to mime.bbclass and mime-xdg.bbclass which now depend on desktop-file-utils and shared-mime-info so if a recipe inherits any one of these classes along with allarch then we get into this problem. Perhaps started after oe-core/6467b7b98c9a55e27d1ab9f253ec48da2a722e77 errors are also caught by sstate test http://jenkins.nas-admin.org/view/OE/job/oe_world_workspace-compare-signatures/954/console
patch is on ml
Fixed in meta-oe/be2cf1984951b7d74f275fa470260bc5cf8ee574 meta-oe/f4ef3feef26588e9e80e8c7845031fb0eedf9687