TUNE_ARCH error #scarthgap
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/ ?
TUNE_ARCH has been present since a long time (always?) - it was present in Dunfell too. It should to be set automatically, based on other variables.
tune-cortexa72.inc is in conf/machine/include/arm/armv8a folder - it supposed to take care of these values. This path might have been different in Dunfell though, so you should definitely check if you are including an existing .inc in your machine config, and not have an outdated path there.
(Tangentially related: If you are using "include" keyword in your config/recipes for non-optional includes, consider changing it to "require" - it will fail with better error messages in case of incorrect paths)
Quoted 19 lines · Ganesh Mahajan via lists.yoctoproject.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_ARCHis unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.
Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS:tune-${DEFAULTTUNE}} wacin) for DEFAULTTUNE (None) does not containTUNE_PKGARCH().Toolchain tunings invalid:
No tuning found for default multilib.
I am upgrading from dunfell to scarthgap-5.0.5 (LTS), were dunfell had noTUNE_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/ ?-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64600): https://lists.yoctoproject.org/g/yocto/message/64600
Mute This Topic: https://lists.yoctoproject.org/mt/110732051/6084445
Mute #scarthgap:https://lists.yoctoproject.org/g/yocto/mutehashtag/scarthgap Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Thank you Gyorgy
Dunfell: require conf/machine/include/tune-cortexa72.inc Scarthgap : require conf/machine/include/arm/armv8a/tune-cortexa72.inc
I am using scarthgap and was pointing to dunfell tune-cortexa72.inc which was incorrect.
Thank you for your guidance.
If you are using meta-ti, they recently added a new layer: meta-beagle
https://git.yoctoproject.org/meta-ti/commit/meta-beagle?h=scarthgap&id=9d913fce5b064ecfbd14333c4de806d6ae6b5088 ( https://git.yoctoproject.org/meta-ti/commit/meta-beagle?h=scarthgap&id=9d913fce5b064ecfbd14333c4de806d6ae6b5088) )
This needs to be added to BBLAYERS
https://docs.yoctoproject.org/5.0.6/ref-manual/variables.html#term-BBLAYERS
Thank you for your input Clayton,
I don't have meta-ti layer issue is resolved.