Since the introduction of TI_COMMON_DEPLOY, we've been seeing frequent
Pseudo errors [1] breaking image build during development, in particular
with partial rebuilds due to the externalsrc bbclass.

The relevant part of the error log seems to be the following:

    ERROR: Task (/home/schifferm/Devel/src/ci-meta-tq-kirkstone/sources/meta
        -tq/meta-dumpling/recipes-images/images/tq-image-generic-debug.bb:do
        _rootfs) failed with exit code '1'
    Pseudo log:
    path mismatch [1 link]: ino 12215614 db '/home/schifferm/Devel/src/ci-me
        ta-tq-kirkstone/build-mba64xx/deploy-ti/images/tqma64xxl-mbax4xxl/tq
        -image-generic-debug-tqma64xxl-mbax4xxl-20231020091917.testdata.json
        ' req '/home/schifferm/Devel/src/ci-meta-tq-kirkstone/build-mba64xx/
        tmp/work/tqma64xxl_mbax4xxl-tq-linux/tq-image-generic-debug/1.0-r0/r
        ootfs/usr/share/stress-ng/example-jobs/device.job;65324e26'.

My understanding is that all deploy dirs should be ignored by Pseudo, as
openembedded-core/meta/bitbake.conf includes the whole of DEPLOY_DIR in
PSEUDO_IGNORE_PATHS. With the introduction of TI_COMMON_DEPLOY,
DEPLOY_DIR_IMAGE is not covered by that setting anymore, so we add it in
meta-ti to avoid the issue.

[1] https://wiki.yoctoproject.org/wiki/Pseudo_Abort

Signed-off-by: Matthias Schiffer <[email protected]>
---
 meta-ti-bsp/conf/layer.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-ti-bsp/conf/layer.conf b/meta-ti-bsp/conf/layer.conf
index 460be02a..ffa47ae6 100644
--- a/meta-ti-bsp/conf/layer.conf
+++ b/meta-ti-bsp/conf/layer.conf
@@ -31,3 +31,4 @@ HOSTTOOLS_NONFATAL += "truncate xxd comm"
 TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti"
 DEPLOY_DIR_IMAGE:ti-soc = "${TI_COMMON_DEPLOY}/images/${MACHINE}"
 SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk"
+PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}"
-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
https://www.tq-group.com/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17155): 
https://lists.yoctoproject.org/g/meta-ti/message/17155
Mute This Topic: https://lists.yoctoproject.org/mt/102079604/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to