Source: meson
Version: 0.53.2-1
Severity: serious
Hello, looks like you have an autopkgtest failure left with the new version...
Can you please also consider the following patch to fix some autopkgtest and
include some more test that are now
not run because of rustc/valac not installed in the environment?
(skipifnot is a good workaround in the new release, but since we have tools,
better have a more comprehensive testsuite!)
diff -Nru meson-0.53.2/debian/changelog meson-0.53.2/debian/changelog
--- meson-0.53.2/debian/changelog 2020-02-25 17:02:37.0 +0100
+++ meson-0.53.2/debian/changelog 2020-02-26 12:42:13.0 +0100
@@ -1,3 +1,15 @@
+meson (0.53.2-1ubuntu1) focal; urgency=medium
+
+ [ Stefano Rivera ]
+ * debian/patches/use_python3_tests.patch:
+- Update use_python3_tests.patch to catch one more python binary use.
+
+ [ Rico Tzschichholz ]
+ * debian/tests/control:
+- Explicit depends on rustc and valac, so autopkgtests can pick it up
+
+ -- Rico Tzschichholz Wed, 26 Feb 2020 12:42:13 +0100
+
meson (0.53.2-1) unstable; urgency=medium
* New upstream release. Closes: #950020, #951487
diff -Nru meson-0.53.2/debian/patches/series meson-0.53.2/debian/patches/series
--- meson-0.53.2/debian/patches/series 2020-01-07 20:00:50.0 +0100
+++ meson-0.53.2/debian/patches/series 2020-02-26 12:41:49.0 +0100
@@ -1,2 +1,3 @@
1-disable-openmpi.patch
2-disable-rootdir-test.patch
+use_python3_tests.patch
diff -Nru meson-0.53.2/debian/patches/use_python3_tests.patch
meson-0.53.2/debian/patches/use_python3_tests.patch
--- meson-0.53.2/debian/patches/use_python3_tests.patch 1970-01-01
01:00:00.0 +0100
+++ meson-0.53.2/debian/patches/use_python3_tests.patch 2020-02-26
12:41:49.0 +0100
@@ -0,0 +1,11 @@
+--- a/run_unittests.py
b/run_unittests.py
+@@ -6587,7 +6587,7 @@
+ # remove the build dependency on python2-dev. Keep the tests
+ # but only run them if dev packages are available.
+ raise unittest.SkipTest('Not running Python 2 tests because
dev packages not installed.')
+-self._simple_test('python', 'python')
++self._simple_test('python', 'python2')
+
+ @unittest.skipIf(is_windows(), 'Setting up multiple compilers on windows
is hard')
+ @skip_if_env_set('CC')
diff -Nru meson-0.53.2/debian/tests/control meson-0.53.2/debian/tests/control
--- meson-0.53.2/debian/tests/control 2020-01-22 23:17:22.0 +0100
+++ meson-0.53.2/debian/tests/control 2020-02-26 12:41:49.0 +0100
@@ -5,7 +5,7 @@
Depends: meson, ninja-build, clang
Tests: exhaustive
-Depends: meson, @builddeps@
+Depends: meson, @builddeps@, rustc, valac
Tests: crossbuild
this is the left failure:
Remember to add the correct --libdir arg to Meson invocation.
The Meson build system
Version: 0.53.2
Source dir: /tmp/autopkgtest-lxc.ooct3ila/downtmp/autopkgtest_tmp/testproject
Build dir:
/tmp/autopkgtest-lxc.ooct3ila/downtmp/autopkgtest_tmp/testproject/build
Build type: cross build
Project name: tutorial
Project version: undefined
meson.build:1:0: ERROR: Unknown compiler(s): ['cc', 'gcc', 'clang', 'pgcc',
'icc']
The follow exceptions were encountered:
Running "cc --version" gave "[Errno 2] No such file or directory: 'cc': 'cc'"
Running "gcc --version" gave "[Errno 2] No such file or directory: 'gcc': 'gcc'"
Running "clang --version" gave "[Errno 2] No such file or directory: 'clang':
'clang'"
Running "pgcc --version" gave "[Errno 2] No such file or directory: 'pgcc':
'pgcc'"
Running "icc --version" gave "[Errno 2] No such file or directory: 'icc': 'icc'"
A full log can be found at
/tmp/autopkgtest-lxc.ooct3ila/downtmp/autopkgtest_tmp/testproject/build/meson-logs/meson-log.txt
autopkgtest [03:38:21]: test crossbuild: ---]
autopkgtest [03:38:21]: test crossbuild: - - - - - - - - - - results - - - - -
- - - - -
crossbuild FAIL non-zero exit status 1
autopkgtest [03:38:21]: summary
basicmeson PASS
clangmeson PASS
exhaustive PASS
crossbuild FAIL non-zero exit status 1
thanks
Gianfranco