Set PACKAGE_ARCH before the inherit.

On Thu, Feb 12, 2026 at 5:42 PM Robert P. J. Day via
lists.openembedded.org <[email protected]>
wrote:
>
>
>   re-organizing an existing build into using packagegroups (walnascar
> OE/YP release), and i defined the following packagegroup to collect
> all the TPM/TSS stuff:
>
>   SUMMARY = "TPM, TSS stuff"
>
>   inherit packagegroup
>
>   PACKAGE_ARCH = "${MACHINE_ARCH}"
>
>   RDEPENDS:${PN} = " \
>     tpm2-tools \
>     tpm2-openssl \
>     libtss2 \
>     libtss2-tcti-device \
>     libtss2-tcti-mssim \
>     tpm2-abrmd \
>     tpm2-totp \
>     tpm2-tss \
>     tpm2-tss-engine \
>   "
>
> during the build:
>
>   ERROR: packagegroup-tpm-1.0-r0 do_package_write_deb: An allarch
>   packagegroup shouldn't depend on packages which are dynamically
>   renamed (libtss2-tcti-device to libtss2-tcti-device0)
>
>   ERROR: packagegroup-tpm-1.0-r0 do_package_write_deb: An allarch
>   packagegroup shouldn't depend on packages which are dynamically
>   renamed (libtss2-tcti-mssim to libtss2-tcti-mssim0)
>
> but as you can see, i don't define an "allarch" packagegroup and
> explicitly set:
>
>   PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> and yet, i get that error. nevertheless, the build finishes and
> creates an image.
>
>   i'm confused.
>
> rday
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#231049): 
https://lists.openembedded.org/g/openembedded-core/message/231049
Mute This Topic: https://lists.openembedded.org/mt/117777298/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to