All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: t-lannynd@ti.com
Cc: "meta-ti@lists.yoctoproject.org" <meta-ti@lists.yoctoproject.org>,
	"Eatmon, Ryan" <reatmon@ti.com>, "Sapp, Randolph" <rs@ti.com>,
	"Etheridge, Darren" <detheridge@ti.com>,
	"Brnich, Brandon" <b-brnich@ti.com>
Subject: Re: [meta-ti][scarthgap][PATCH] meta-ti-bsp: flutter: fix nativesdk-flutter-engine-sdk build failures
Date: Thu, 15 Oct 2026 15:24:07 -0400	[thread overview]
Message-ID: <20261015192407.GT4190@denix.org> (raw)
In-Reply-To: <ea8180fd3680489091a6fefda501327c@ti.com>

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


      reply	other threads:[~2026-10-15 19:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
2026-10-15 19:24     ` Denys Dmytriyenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261015192407.GT4190@denix.org \
    --to=denis@denix.org \
    --cc=b-brnich@ti.com \
    --cc=detheridge@ti.com \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=reatmon@ti.com \
    --cc=rs@ti.com \
    --cc=t-lannynd@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.