On 05/18/2021 04:53 PM, Richard Purdie wrote:
On Tue, 2021-05-18 at 00:06 -0700, Chen Qi wrote:
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_64-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 <qi.c...@windriver.com>
---
  meta/classes/sanity.bbclass | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Given that the + has been in many of our SDKs for years, should we not fix
that individual recipe to handle this correctly, preferably upstream?

It doesn't sound like its a very common issue so may be worth fixing rather
than giving up upon...

Cheers,

Richard


Got it. I'll fix the individual recipe.

Best Regards,
Chen Qi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152021): 
https://lists.openembedded.org/g/openembedded-core/message/152021
Mute This Topic: https://lists.openembedded.org/mt/82906453/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to