There's an issues that I've run into. Haven't been able to solve on my own.
Does anyone have any pointers that they can give me?

May be python version related. So, far downgrading meson version hasn't worked 
out for me.
Manually checking if version string is empty in universal.py then setting it to 
some value
by passes bellow issue, but still leads to meson configure failure.

# meson configure fails when gallium-llvm is contained PACKAGECONFIG .
# This is because python finditer() function errors out
# with bellow. For some reason an empty version string is being passed to
# in the finditer() function causing the build to fail.

*Error Message*
***********************************************************************************************************************************************************************************
File 
"/../../../mesa/2_22.2.2-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/mesonlib/universal.py",
 line 852, in version_compare
return cmpop(Version(vstr1), Version(vstr2))
^^^^^^^^^^^^^^
File 
"/../../../mesa/2_22.2.2-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/mesonbuild/mesonlib/universal.py",
 line 759, in __init__
sequences1 = re.finditer(r'(\d+|[a-zA-Z]+|[^a-zA-Z\d]+)', s)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"/../../../mesa/2_22.2.2-r0/recipe-sysroot-native/usr/lib/python3.11/re/__init__.py",
 line 223, in finditer
return _compile(pattern, flags).finditer(string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'

../mesa-22.2.2/meson.build:1783:2: ERROR: Unhandled python exception
***********************************************************************************************************************************************************************************
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172951): 
https://lists.openembedded.org/g/openembedded-core/message/172951
Mute This Topic: https://lists.openembedded.org/mt/94884113/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