All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ti][scarthgap][PATCH] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures
@ 2026-10-14 20:43 Thorsten Lannynd
  2026-10-14 20:51 ` PRC Automation
  2026-10-14 21:43 ` Denys Dmytriyenko
  0 siblings, 2 replies; 4+ messages in thread
From: Thorsten Lannynd @ 2026-10-14 20:43 UTC (permalink / raw)
  To: meta-ti, reatmon; +Cc: rs, detheridge, b-brnich

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}"
 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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-ti][scarthgap][PATCH] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures
  2026-10-14 20:43 [meta-ti][scarthgap][PATCH] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures Thorsten Lannynd
@ 2026-10-14 20:51 ` PRC Automation
  2026-10-14 21:43 ` Denys Dmytriyenko
  1 sibling, 0 replies; 4+ messages in thread
From: PRC Automation @ 2026-10-14 20:51 UTC (permalink / raw)
  To: Thorsten Lannynd; +Cc: meta-ti, reatmon, rs, detheridge, b-brnich

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-ti][scarthgap][PATCH] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures
  2026-10-14 20:43 [meta-ti][scarthgap][PATCH] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures Thorsten Lannynd
  2026-10-14 20:51 ` PRC Automation
@ 2026-10-14 21:43 ` Denys Dmytriyenko
  2026-10-15  2:11   ` Lannynd, Thorsten
  1 sibling, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2026-10-14 21:43 UTC (permalink / raw)
  To: t-lannynd; +Cc: meta-ti, reatmon, rs, detheridge, b-brnich

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [meta-ti][scarthgap][PATCH] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures
  2026-10-14 21:43 ` Denys Dmytriyenko
@ 2026-10-15  2:11   ` Lannynd, Thorsten
  0 siblings, 0 replies; 4+ messages in thread
From: Lannynd, Thorsten @ 2026-10-15  2:11 UTC (permalink / raw)
  To: Denys Dmytriyenko
  Cc: meta-ti@lists.yoctoproject.org, Eatmon, Ryan, Sapp, Randolph,
	Etheridge, Darren, Brnich, Brandon


 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-15  2:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14 20:43 [meta-ti][scarthgap][PATCH] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures Thorsten Lannynd
2026-10-14 20:51 ` PRC Automation
2026-10-14 21:43 ` Denys Dmytriyenko
2026-10-15  2:11   ` Lannynd, Thorsten

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.