[PATCH v2] build: automatically report minimum meson version
Patrick Robb
probb at iol.unh.edu
Thu May 15 14:28:01 CEST 2025
On Thu, May 15, 2025 at 1:40 PM David Marchand <david.marchand at redhat.com>
wrote:
>
>
> Retests show the same error, so I think we are hitting the issue fixed
> with dbcd72f3fba0.
>
> Bumping the minimal version to 0.57.2 seems fine.
> I looked and can't find a distrib that ships meson 0.57.
> So either a user relies on the distrib version (with a version >=
> 0.58, from my quick search) or the distrib provided version is too old
> and then the user relies on pip.
>
>
FYI here's the stacktrace below which is not making it to the testlog on
the dashboard (something for UNH people to look at). But yes it's the same
issue fixed with dbcd72f3fba0babd2d801c2c63ee537df459df66
---------
Exception in callback TestHarness._run_tests.<locals>.test_done(<Task
finishe...explicitly.')>) at
/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py:1806
handle: <Handle TestHarness._run_tests.<locals>.test_done(<Task
finishe...explicitly.')>) at
/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py:1806>
Traceback (most recent call last):
File "/usr/lib64/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1808, in test_done
f.result()
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1803, in run_test
res = await test.run(self)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1349, in run
await self._run_cmd(harness, cmd)
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1415, in _run_cmd
returncode, result, additional_error = await
p.wait(self.runobj.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1241, in wait
await try_wait_one(p.wait(), timeout=timeout)
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1132, in try_wait_one
await asyncio.wait(awaitables,
File "/usr/lib64/python3.12/asyncio/tasks.py", line 461, in wait
raise TypeError("Passing coroutines is forbidden, use tasks
explicitly.")
TypeError: Passing coroutines is forbidden, use tasks explicitly.
/usr/lib64/python3.12/asyncio/events.py:88: RuntimeWarning: coroutine
'Process.wait' was never awaited
self._context.run(self._callback, *self._args)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mesonmain.py",
line 132, in run
return options.run_func(options)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1953, in run
return th.doit()
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1641, in doit
self.run_tests(runners)
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1780, in run_tests
loop.run_until_complete(self._run_tests(runners))
File "/usr/lib64/python3.12/asyncio/base_events.py", line 687, in
run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1871, in _run_tests
await complete(future)
File "/usr/local/lib/python3.12/site-packages/mesonbuild/mtest.py", line
1148, in complete
await future
TypeError: Passing coroutines is forbidden, use tasks explicitly.
Ok: 0
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20250515/3cf97e4a/attachment.htm>
More information about the dev
mailing list