Skip to contentSkip to conversation

TUNE_ARCH error #scarthgap

scarthgap Ganesh Mahajan 2 participants 2 messages Jan 21, 2025 – Jan 22, 2025

lore
Share & tools
lore
#0 lore raw

when tried to build image using command bitbake -k wac-core-image below error poped up.
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
TUNE_ARCH is unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.
Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS:tune-${DEFAULTTUNE}} wacin) for DEFAULTTUNE (None) does not contain TUNE_PKGARCH ().Toolchain tunings invalid:
No tuning found for default multilib.
I am upgrading from dunfell to scarthgap-5.0.5 (LTS), were dunfell had no TUNE_ARCH (tune-coretexA72.inc) but scarthgap has it.
or is it a good practice to disable the checker? Location for tune-coretexA72.inc should be /conf/machine/ ?

#1 lore raw
Quoted 11 lines · Ganesh Mahajan via lists.openembedded.org

when tried to build image using command bitbake -k wac-core-image below error poped up.
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker
(see sanity.conf).
    Following is the list of potential problems / advisories:
    TUNE_ARCH is unset. Please ensure your MACHINE configuration includes a
valid tune configuration file which will set this correctly.
Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS:tune-${DEFAULTTUNE}} wacin) for DEFAULTTUNE (None) does not contain TUNE_PKGARCH ().Toolchain tunings invalid:
No tuning found for default multilib.
I am upgrading from dunfell to scarthgap-5.0.5 (LTS), were dunfell had no TUNE_ARCH (tune-coretexA72.inc) but scarthgap has it.
or is it a good practice to disable the checker? Location for tune-coretexA72.inc should be /conf/machine/ ?

https://git.yoctoproject.org/poky/tree/meta/conf/machine/include/arm/armv8a?h=scarthgap

There is already a cortex a72 tune defined, use the files in that directory.

And yes, the filenames are case specific, 'a' is lowercase.

--Mark

Quoted 10 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#210096): https://lists.openembedded.org/g/openembedded-core/message/210096
Mute This Topic: https://lists.openembedded.org/mt/110734005/3616948
Mute #scarthgap:https://lists.openembedded.org/g/openembedded-core/mutehashtag/scarthgap Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-