Repository navigation
Closed
Description
Describe the bug
Using the 1.2.0 MSI, the module 'mesonbuild.dependencies.ui' is missing, while it seems to be available in 1.1.1
To Reproduce
Minimal meson.build (bug also appears if there is an actual executable() line):
project('bug', 'c')
dependency('sdl2')> md subprojects
> meson wrap install sdl2
> meson setup build
The Meson build system
Version: 1.2.0
Source dir: F:\bug
Build dir: F:\bug\build
Build type: native build
Project name: bug
Project version: undefined
C compiler for the host machine: cl (msvc 19.36.32537 "Microsoft (R) C/C++-Optimierungscompiler Version 19.36.32537 f�r x64")
C linker for the host machine: link link 14.36.32537.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Traceback (most recent call last):
File "mesonbuild\mesonmain.py", line 194, in run
File "mesonbuild\msetup.py", line 358, in run
File "mesonbuild\msetup.py", line 183, in generate
File "mesonbuild\msetup.py", line 228, in _generate
File "mesonbuild\interpreter\interpreter.py", line 2997, in run
File "mesonbuild\interpreterbase\interpreterbase.py", line 164, in run
File "mesonbuild\interpreterbase\interpreterbase.py", line 190, in evaluate_codeblock
File "mesonbuild\interpreterbase\interpreterbase.py", line 182, in evaluate_codeblock
File "mesonbuild\interpreterbase\interpreterbase.py", line 196, in evaluate_statement
File "mesonbuild\interpreterbase\interpreterbase.py", line 521, in function_call
File "mesonbuild\interpreterbase\decorators.py", line 826, in wrapped
File "mesonbuild\interpreterbase\decorators.py", line 826, in wrapped
File "mesonbuild\interpreterbase\decorators.py", line 826, in wrapped
[Previous line repeated 4 more times]
File "mesonbuild\interpreterbase\decorators.py", line 109, in wrapped
File "mesonbuild\interpreterbase\decorators.py", line 127, in wrapped
File "mesonbuild\interpreterbase\decorators.py", line 277, in wrapper
File "mesonbuild\interpreterbase\decorators.py", line 596, in wrapper
File "mesonbuild\interpreter\interpreter.py", line 1774, in func_dependency
File "mesonbuild\interpreter\dependencyfallbacks.py", line 355, in lookup
File "mesonbuild\interpreter\dependencyfallbacks.py", line 87, in _do_dependency
File "mesonbuild\dependencies\detect.py", line 115, in find_external_dependency
File "mesonbuild\dependencies\detect.py", line 193, in _build_external_dependency_list
File "collections\__init__.py", line 1123, in __getitem__
File "mesonbuild\dependencies\detect.py", line 39, in __missing__
File "importlib\__init__.py", line 126, in import_module
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'mesonbuild.dependencies.ui'
meson.build:3:0: ERROR: Unhandled python exception
This is a Meson bug and should be reported!Expected behavior
setup step should complete successfully, like it does with 1.1.1
system parameters
- Plain native build
- Windows 10
- System Python is 3.11.0,
- meson 1.2.0
- ninja 1.11.1
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]Regression: mesonbuild.dependencies.ui missing from Windows MSI version[/-][+]Regression: "No module named 'mesonbuild.dependencies.ui'" in Windows MSI version[/+]packaging: fix regression that prevented pyinstaller from getting cus…
eli-schwartz commentedon Jul 25, 2023
This silly error only affects the MSI packaging. I am not sure when @jpakkane will have time to upload fixed binaries, so this may just end up fixed in 1.2.1 instead.
packaging: fix regression that prevented pyinstaller from getting cus…
eli-schwartz commentedon Aug 8, 2023
The bugfix release is out now, please give the new
meson-1.2.1-64.msia try.brakhane commentedon Aug 9, 2023
Thanks. I can confirm it works now.
packaging: fix regression that prevented pyinstaller from getting cus…
packaging: fix regression that prevented pyinstaller from getting cus…