| Message ID | 20261014204330.2837679-1-t-lannynd@ti.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-ti,scarthgap] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures | expand |
meta-ti / na / 20261014204330.2837679-1-t-lannynd
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-ti][scarthgap][PATCH] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures
WARN: Commit message does not include file/recipe name: meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures. (COMMIT-MESSAGE-2)
patch
WARN: Commit message should not include directory path to recipe: meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures.
meta-ti-bsp (COMMIT-MESSAGE-3)
patch
For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
=========================================================
apply-yocto-patch: PASS
=========================================================
scarthgap
=====================
Summary:
- Patch Series: [meta-ti][scarthgap][PATCH] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures
- Submitter: From: Thorsten Lannynd <t-lannynd@ti.com>
- Date: Date: Wed, 14 Oct 2026 15:43:30 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: e982506005ed161ad0ba14ada3fc825f30e66a39
Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: scarthgap-wip
- Commit Author: LCPD Automation Script <lcpdbld@list.ti.com>
- Commit Subject: CI/CD Auto-Merger: cicd.scarthgap.202608190946
- Commit SHA: ef43a90c91d5a9754b2f28f09debd553fbc6a2d5
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: FAIL
=========================================================
scarthgap
=====================
FAIL
WARN: .bbappend files might need a guard to make them check-layer compliant. (GUARD-1)
meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter-engine-sdk_git.bbappend
For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
On Wed, Oct 14, 2026 at 03:43:30PM -0500, Thorsten Lannynd via lists.yoctoproject.org wrote: > Without BB_DEFER_BBCLASSES, :ti-soc is missing from OVERRIDES from a > nativesdk context so DEPLOY_DIR_IMAGE results in an incorrect path. > > Add :class-nativesdk to layer.conf and a flutter dynamic layer bbappend to > skip file-rdeps on the bundled host binaries. > > Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com> > --- > meta-ti-bsp/conf/layer.conf | 2 ++ > .../flutter-engine/flutter-engine-sdk_git.bbappend | 3 +++ > 2 files changed, 5 insertions(+) > create mode 100644 meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter-engine-sdk_git.bbappend > > diff --git a/meta-ti-bsp/conf/layer.conf b/meta-ti-bsp/conf/layer.conf > index d87d040b..ef4d233f 100644 > --- a/meta-ti-bsp/conf/layer.conf > +++ b/meta-ti-bsp/conf/layer.conf > @@ -24,6 +24,7 @@ LAYERRECOMMENDS_meta-ti-bsp = " \ > > BBFILES_DYNAMIC += " \ > openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes*/*/*.bbappend \ > + flutter-layer:${LAYERDIR}/dynamic-layers/flutter-layer/recipes*/*/*.bbappend \ > " > > SIGGEN_EXCLUDERECIPES_ABISAFE += " \ > @@ -34,6 +35,7 @@ HOSTTOOLS_NONFATAL += "truncate xxd comm" > > TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti" > DEPLOY_DIR_IMAGE:ti-soc = "${TI_COMMON_DEPLOY}/images/${MACHINE}" > +DEPLOY_DIR_IMAGE:class-nativesdk = "${TI_COMMON_DEPLOY}/images/${MACHINE}" I don't think this is correct. What nativesdk package are you trying to deploy to the target image deploy area? > SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk" > PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}" > > diff --git a/meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter-engine-sdk_git.bbappend b/meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter-engine-sdk_git.bbappend > new file mode 100644 > index 00000000..92e38f1e > --- /dev/null > +++ b/meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter-engine-sdk_git.bbappend > @@ -0,0 +1,3 @@ > +# Pre-built x86-64 host binaries that link against libc/libm from the build > +# host, not a packaged nativesdk dep. > +INSANE_SKIP:class-nativesdk:append = " file-rdeps" > -- > 2.34.1
On Wed, Oct 14, 2026 at 04:44 PM, Denys Dmytriyenko wrote: > On Wed, Oct 14, 2026 at 03:43:30PM -0500, Thorsten Lannynd via > lists.yoctoproject.org wrote: > > Without BB_DEFER_BBCLASSES, :ti-soc is missing from OVERRIDES from a > > nativesdk context so DEPLOY_DIR_IMAGE results in an incorrect path. > > > > Add :class-nativesdk to layer.conf and a flutter dynamic layer > > bbappend to skip file-rdeps on the bundled host binaries. > > > > Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com> > > --- > > meta-ti-bsp/conf/layer.conf | 2 ++ > > .../flutter-engine/flutter-engine-sdk_git.bbappend | 3 +++ > > 2 files changed, 5 insertions(+) > > create mode 100644 > > meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engi > > ne/flutter-engine-sdk_git.bbappend > > > > diff --git a/meta-ti-bsp/conf/layer.conf b/meta-ti-bsp/conf/layer.conf > > index d87d040b..ef4d233f 100644 > > --- a/meta-ti-bsp/conf/layer.conf > > +++ b/meta-ti-bsp/conf/layer.conf > > @@ -24,6 +24,7 @@ LAYERRECOMMENDS_meta-ti-bsp = " \ > > > > BBFILES_DYNAMIC += " \ > > > > openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded- > layer/recip > > es*/*/*.bbappend \ > > + > > + flutter-layer:${LAYERDIR}/dynamic-layers/flutter-layer/recipes*/*/*. > > + bbappend \ > > " > > > > SIGGEN_EXCLUDERECIPES_ABISAFE += " \ > > @@ -34,6 +35,7 @@ HOSTTOOLS_NONFATAL += "truncate xxd comm" > > > > TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti" > > DEPLOY_DIR_IMAGE:ti-soc = > "${TI_COMMON_DEPLOY}/images/${MACHINE}" > > +DEPLOY_DIR_IMAGE:class-nativesdk = > "${TI_COMMON_DEPLOY}/images/${MACHINE}" > > I don't think this is correct. > What nativesdk package are you trying to deploy to the target image deploy > area? Hi Denys, No package is being deployed to the target image deploy area. The nativesdk-flutter-engine-sdk needs to know where to find the files from the target recipe. I believe an alternative is to add this to the bbappend file instead: DEPLOY_DIR_IMAGE:pn-nativesdk-flutter-engine-sdk = "${TI_COMMON_DEPLOY}/images/${MACHINE}" The error I was previously seeing in the flutter automated build: ERROR: flutter-engine-sdk-native-3.47.5-r0 do_install: flutter-engine deployed no host tools at /scratch/chromium_build/chromium_flutter_yocto/build/arago-tmp-default-glibc/deploy/images/am62pxx-evm/flutter-engine-sdk/3.47.5 Thanks, Thorsten Lannynd > > > > SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk" > > PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}" > > > > diff --git a/meta-ti-bsp/dynamic-layers/flutter-layer/recipes- > graphics/flutter-engine/flutter-engine-sdk_git.bbappend b/meta-ti- > bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter- > engine-sdk_git.bbappend > > new file mode 100644 > > index 00000000..92e38f1e > > --- /dev/null > > +++ b/meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter- > engine/flutter-engine-sdk_git.bbappend > > @@ -0,0 +1,3 @@ > > +# Pre-built x86-64 host binaries that link against libc/libm from the build > > +# host, not a packaged nativesdk dep. > > +INSANE_SKIP:class-nativesdk:append = " file-rdeps" > > -- > > 2.34.1
On Thu, Oct 15, 2026 at 02:11:02AM +0000, Thorsten Lannynd via lists.yoctoproject.org wrote: > > On Wed, Oct 14, 2026 at 04:44 PM, Denys Dmytriyenko wrote: > > On Wed, Oct 14, 2026 at 03:43:30PM -0500, Thorsten Lannynd via > > lists.yoctoproject.org wrote: > > > Without BB_DEFER_BBCLASSES, :ti-soc is missing from OVERRIDES from a > > > nativesdk context so DEPLOY_DIR_IMAGE results in an incorrect path. > > > > > > Add :class-nativesdk to layer.conf and a flutter dynamic layer > > > bbappend to skip file-rdeps on the bundled host binaries. > > > > > > Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com> > > > --- > > > meta-ti-bsp/conf/layer.conf | 2 ++ > > > .../flutter-engine/flutter-engine-sdk_git.bbappend | 3 +++ > > > 2 files changed, 5 insertions(+) > > > create mode 100644 > > > meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engi > > > ne/flutter-engine-sdk_git.bbappend > > > > > > diff --git a/meta-ti-bsp/conf/layer.conf b/meta-ti-bsp/conf/layer.conf > > > index d87d040b..ef4d233f 100644 > > > --- a/meta-ti-bsp/conf/layer.conf > > > +++ b/meta-ti-bsp/conf/layer.conf > > > @@ -24,6 +24,7 @@ LAYERRECOMMENDS_meta-ti-bsp = " \ > > > > > > BBFILES_DYNAMIC += " \ > > > > > > openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded- > > layer/recip > > > es*/*/*.bbappend \ > > > + > > > + flutter-layer:${LAYERDIR}/dynamic-layers/flutter-layer/recipes*/*/*. > > > + bbappend \ > > > " > > > > > > SIGGEN_EXCLUDERECIPES_ABISAFE += " \ > > > @@ -34,6 +35,7 @@ HOSTTOOLS_NONFATAL += "truncate xxd comm" > > > > > > TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti" > > > DEPLOY_DIR_IMAGE:ti-soc = > > "${TI_COMMON_DEPLOY}/images/${MACHINE}" > > > +DEPLOY_DIR_IMAGE:class-nativesdk = > > "${TI_COMMON_DEPLOY}/images/${MACHINE}" > > > > I don't think this is correct. > > What nativesdk package are you trying to deploy to the target image deploy > > area? > > Hi Denys, > > No package is being deployed to the target image deploy area. The > nativesdk-flutter-engine-sdk needs to know where to find the files > from the target recipe. > > I believe an alternative is to add this to the bbappend file instead: > DEPLOY_DIR_IMAGE:pn-nativesdk-flutter-engine-sdk = "${TI_COMMON_DEPLOY}/images/${MACHINE}" > > The error I was previously seeing in the flutter automated build: > ERROR: flutter-engine-sdk-native-3.47.5-r0 do_install: flutter-engine deployed no host tools at /scratch/chromium_build/chromium_flutter_yocto/build/arago-tmp-default-glibc/deploy/images/am62pxx-evm/flutter-engine-sdk/3.47.5 Something weird is going on here with flutter, specifically why is flutter-engine-sdk-native expecting nativesdk-flutter-engine-sdk "host" tools to be deployed to the "target"-specific DEPLOY_DIR_IMAGE and not the SDK_DEPLOY... But since both native.bbclass and nativesdk.bbclass remove MACHINEOVERRIDES, they should still point to the same default DEPLOY_DIR_IMAGE anyway... > Thanks, > Thorsten Lannynd > > > > > > > > SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk" > > > PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}" > > > > > > diff --git a/meta-ti-bsp/dynamic-layers/flutter-layer/recipes- > > graphics/flutter-engine/flutter-engine-sdk_git.bbappend b/meta-ti- > > bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter- > > engine-sdk_git.bbappend > > > new file mode 100644 > > > index 00000000..92e38f1e > > > --- /dev/null > > > +++ b/meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter- > > engine/flutter-engine-sdk_git.bbappend > > > @@ -0,0 +1,3 @@ > > > +# Pre-built x86-64 host binaries that link against libc/libm from the build > > > +# host, not a packaged nativesdk dep. > > > +INSANE_SKIP:class-nativesdk:append = " file-rdeps" > > > -- > > > 2.34.1
diff --git a/meta-ti-bsp/conf/layer.conf b/meta-ti-bsp/conf/layer.conf index d87d040b..ef4d233f 100644 --- a/meta-ti-bsp/conf/layer.conf +++ b/meta-ti-bsp/conf/layer.conf @@ -24,6 +24,7 @@ LAYERRECOMMENDS_meta-ti-bsp = " \ BBFILES_DYNAMIC += " \ openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes*/*/*.bbappend \ + flutter-layer:${LAYERDIR}/dynamic-layers/flutter-layer/recipes*/*/*.bbappend \ " SIGGEN_EXCLUDERECIPES_ABISAFE += " \ @@ -34,6 +35,7 @@ HOSTTOOLS_NONFATAL += "truncate xxd comm" TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti" DEPLOY_DIR_IMAGE:ti-soc = "${TI_COMMON_DEPLOY}/images/${MACHINE}" +DEPLOY_DIR_IMAGE:class-nativesdk = "${TI_COMMON_DEPLOY}/images/${MACHINE}" SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk" PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}" diff --git a/meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter-engine-sdk_git.bbappend b/meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter-engine-sdk_git.bbappend new file mode 100644 index 00000000..92e38f1e --- /dev/null +++ b/meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter-engine-sdk_git.bbappend @@ -0,0 +1,3 @@ +# Pre-built x86-64 host binaries that link against libc/libm from the build +# host, not a packaged nativesdk dep. +INSANE_SKIP:class-nativesdk:append = " file-rdeps"
Without BB_DEFER_BBCLASSES, :ti-soc is missing from OVERRIDES from a nativesdk context so DEPLOY_DIR_IMAGE results in an incorrect path. Add :class-nativesdk to layer.conf and a flutter dynamic layer bbappend to skip file-rdeps on the bundled host binaries. Signed-off-by: Thorsten Lannynd <t-lannynd@ti.com> --- meta-ti-bsp/conf/layer.conf | 2 ++ .../flutter-engine/flutter-engine-sdk_git.bbappend | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 meta-ti-bsp/dynamic-layers/flutter-layer/recipes-graphics/flutter-engine/flutter-engine-sdk_git.bbappend