This is in relation to commit: 5fbb4ca8da4f4f1ea426275c45634802dcb5a575

Which included the following change:


 def is_work_shared(d):
-    pn = d.getVar('PN')
-    return pn.startswith('gcc-source') or \
-        bb.data.inherits_class('kernel', d) or \
-        (bb.data.inherits_class('kernelsrc', d) and 
d.expand("${TMPDIR}/work-shared") in d.getVar('S'))
+    sharedworkdir = os.path.join(d.getVar('TMPDIR'), 'work-shared')
+    return d.getVar('S').startswith(sharedworkdir)
and the following commit: 9191aa685418af32f003e067ef7c5737a271e3a5
 def is_work_shared(d):
     sharedworkdir = os.path.join(d.getVar('TMPDIR'), 'work-shared')
-    return d.getVar('S').startswith(sharedworkdir)
+    sourcedir = os.path.realpath(d.getVar('S'))
+    return sourcedir.startswith(sharedworkdir)
# Run do_unpack and do_patch
 python do_unpack_and_patch() {



This changes the logic somewhere for is_work_shared
Recipes that inherit gcc-source / kernel are no longer considered work_shared.

It was something like:
  inherits(gcc-source) or inherits(kernel) or (inherits(kernelsrc) and 
srcin(work-shared))

It now just
  srcin(work-shared)


This change is breaking the follow kernel recipe build,
which doesn't put the source in work-shared, it ends up in work
There's some more detail in previous email: [OE-core] scarthgap: kernel build 
failure

=========================
KBRANCH ?= "v6.6/standard/base"

require recipes-kernel/linux/linux-yocto.inc

# CVE exclusions
include recipes-kernel/linux/cve-exclusion.inc
include recipes-kernel/linux/cve-exclusion_6.6.inc

# board specific branches
SRCREV_machine ?= "561bbd55f91a8e94576ca3fbf35a0c99ff70d4b2"

SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH};protocol=https"

LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
LINUX_VERSION ?= "6.6.52"

PV = "${LINUX_VERSION}+git"

KCONF_BSP_AUDIT_LEVEL = "1"

COMPATIBLE_MACHINE = "^(qemux86-64|cyclone5)$"

# Functionality flags
KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}"

KERNEL_PACKAGE_NAME          = "kernel-tst"

KBUILD_DEFCONFIG:qemux86-64  = "x86_64_defconfig"
KCONFIG_MODE:qemux86-64      = "--alldefconfig"

KBUILD_DEFCONFIG:cyclone5    = "socfpga_defconfig"
KCONFIG_MODE:cyclone5        = "--alldefconfig"

=========================

Should this still be supported???



--
Regards
Phil Reid
ElectroMagnetic Imaging Technology Pty Ltd
Development of Geophysical Instrumentation & Software
www.electromag.com.au
23 Junction Parade, Midland WA 6056, AUSTRALIA
Ph: +61 8 9250 8100
Fax: +61 8 9250 7100

Email: [email protected]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#205092): 
https://lists.openembedded.org/g/openembedded-core/message/205092
Mute This Topic: https://lists.openembedded.org/mt/108730559/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to