The invalid char check are now only for COREBASE and TMPDIR, however, the SDKPATH with special char could also cause problem.
e.g. bitbake nativesdk-xxhash And we get the following error message. Makefile:422: *** configured libdir (/opt/poky/3.3+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib) is outside of exec_prefix (/opt/poky/3.3+snapshot/sysroots/x86_6\ 4-pokysdk-linux/usr), can't generate pkg-config file. Stop. This is because we have '+' in SDKPATH. FOR SDKPATH, the valid char requirement should be the same with TMPDIR. Signed-off-by: Chen Qi <[email protected]> --- meta/classes/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index e907a3566f..727ff5a768 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -885,7 +885,7 @@ def check_sanity_everybuild(status, d): except: pass - for checkdir in ['COREBASE', 'TMPDIR']: + for checkdir in ['COREBASE', 'TMPDIR', 'SDKPATH']: val = d.getVar(checkdir) if val.find('..') != -1: status.addresult("Error, you have '..' in your %s directory path. Please ensure the variable contains an absolute path as this can break some recipe builds in obtuse ways." % checkdir) -- 2.30.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#152018): https://lists.openembedded.org/g/openembedded-core/message/152018 Mute This Topic: https://lists.openembedded.org/mt/82906453/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
