Bug#952610: meson: autopkgtests regressions

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#952610: meson: autopkgtests regressions

Gianfranco Costamagna via nm
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.000000000 +0100
+++ meson-0.53.2/debian/changelog       2020-02-26 12:42:13.000000000 +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 <[hidden email]>  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.000000000 +0100
+++ meson-0.53.2/debian/patches/series  2020-02-26 12:41:49.000000000 +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.000000000 +0100
+++ meson-0.53.2/debian/patches/use_python3_tests.patch 2020-02-26 12:41:49.000000000 +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.000000000 +0100
+++ meson-0.53.2/debian/tests/control   2020-02-26 12:41:49.000000000 +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

Reply | Threaded
Open this post in threaded view
|

Bug#952610: marked as done (meson: autopkgtests regressions)

Debian Bug Tracking System
Your message dated Mon, 02 Mar 2020 07:49:51 +0000
with message-id <[hidden email]>
and subject line Bug#952610: fixed in meson 0.53.2-2
has caused the Debian Bug report #952610,
regarding meson: autopkgtests regressions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [hidden email]
immediately.)


--
952610: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952610
Debian Bug Tracking System
Contact [hidden email] with problems

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.000000000 +0100
+++ meson-0.53.2/debian/changelog       2020-02-26 12:42:13.000000000 +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 <[hidden email]>  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.000000000 +0100
+++ meson-0.53.2/debian/patches/series  2020-02-26 12:41:49.000000000 +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.000000000 +0100
+++ meson-0.53.2/debian/patches/use_python3_tests.patch 2020-02-26 12:41:49.000000000 +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.000000000 +0100
+++ meson-0.53.2/debian/tests/control   2020-02-26 12:41:49.000000000 +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

Source: meson
Source-Version: 0.53.2-2
Done: Jussi Pakkanen <[hidden email]>

We believe that the bug you reported is fixed in the latest version of
meson, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jussi Pakkanen <[hidden email]> (supplier of updated meson package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 29 Feb 2020 00:20:11 +0200
Source: meson
Architecture: source
Version: 0.53.2-2
Distribution: unstable
Urgency: medium
Maintainer: Jussi Pakkanen <[hidden email]>
Changed-By: Jussi Pakkanen <[hidden email]>
Closes: 952610
Changes:
 meson (0.53.2-2) unstable; urgency=medium
 .
   * Fix autopkgtest dependencies. Closes: #952610
Checksums-Sha1:
 1d24fa0a016a19c8c0d29c52e4322c035d858d09 3383 meson_0.53.2-2.dsc
 1335fbd6b01aad4e37fd075b43dc9bca56a9ac26 13244 meson_0.53.2-2.debian.tar.xz
 8a3198247ea41395674c48dfaffe19646d2e1107 35145 meson_0.53.2-2_source.buildinfo
Checksums-Sha256:
 f4b6fe16c7d5992a916e827e26c9409674f82a5746512689de9180bcc29328ee 3383 meson_0.53.2-2.dsc
 3fa130a48a8c6573c4479289a4fab33a7bb3901d364a323a6834c02c7c380fa5 13244 meson_0.53.2-2.debian.tar.xz
 a53b64af3edb0be9763e1b1844a8e747d9e0b67b52c917d97926dc132a1ac5fa 35145 meson_0.53.2-2_source.buildinfo
Files:
 032a1487a16a344d7bcc16a982275bee 3383 devel optional meson_0.53.2-2.dsc
 151e1bd87c138943eb9927dbfc6a8b84 13244 devel optional meson_0.53.2-2.debian.tar.xz
 ca1ed51ba502751ca667d7d701d54abb 35145 devel optional meson_0.53.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPbRrVe+lnUDmIyFI0U7xXa/hE0cFAl5ctrgACgkQ0U7xXa/h
E0eaMA/8CrVmwQw8a9rXaczb1x4qJLXQ7/lGqeJ4wKKRLS4/tl6OzvUuJI4tIbHY
l1330OLT5L5c6Ac/muzpQQOXcQ4JWpttnI3jGokRU9/0FrHBvaNJo7KK3dbX7kO0
9G4jHcYrFlher2bbdNUWbCZfLVAiI1I9EMPSgOXTlwhzUDlO6rpjfHUHU0kbbEbw
LFVSZnNQUkqE+8o77A/Bj8332ITUu0WiHlN3B/ot4c90pVxeUdasMYuQzoI4F6q7
y5Fv5957Q0t4UNYXd+SatstgClkx7/oHr0ux+jl/zKYOC2PTbfo1vrM1RzPnDq0y
vAJoiS1jl69RIbmfJp/QQAjbVPmLs8yr/RZ2CZrMSwx93obkoHHY6QhtMznNs9+F
wuuojFxGqaeSJwHFuVufm624P6D92jl0OAFn7Z6DJURljD1+ydbAvPYF+t9QPic8
jUp279vwaICkmmxP/k64sqpSPPAEXqhEOjma4hxS3xma7sQoXQhSHNKqe7zmhOvO
DkI/d1h7lIo5od+mW362G3651NXqkUD06n1dNV7gzfH6jIeyZTjbg6rLOLiocaPw
z0PctNLBCk2OBgQJHRtqTh2WJhGAJAGYha3PsTde8hEzyLuwgjWa2FN6k1aAhAmF
vO9/sb+GKRhj2RekSjqL2R+EFzlq36sVEhtL/375FoCUQlpjoMk=
=wggK
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Processed: Re: Bug#952610: fixed in meson 0.53.2-2

Debian Bug Tracking System
In reply to this post by Gianfranco Costamagna via nm
Processing control commands:

> reopen -1
Bug #952610 {Done: Jussi Pakkanen <[hidden email]>} [src:meson] meson: autopkgtests regressions
'reopen' may be inappropriate when a bug has been closed with a version;
all fixed versions will be cleared, and you may need to re-add them.
Bug reopened
No longer marked as fixed in versions meson/0.53.2-2.
> notfixed -1 0.53.2-2
Bug #952610 [src:meson] meson: autopkgtests regressions
Ignoring request to alter fixed versions of bug #952610 to the same values previously set
> tags -1 patch
Bug #952610 [src:meson] meson: autopkgtests regressions
Added tag(s) patch.

--
952610: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952610
Debian Bug Tracking System
Contact [hidden email] with problems

Reply | Threaded
Open this post in threaded view
|

Bug#952610: fixed in meson 0.53.2-2

Gianfranco Costamagna via nm
In reply to this post by Gianfranco Costamagna via nm
Hello!

On Mon, 2 Mar 2020 13:45:31 +0200 Jussi Pakkanen <[hidden email]> wrote:

> On Mon, Mar 2, 2020 at 1:15 PM Gianfranco Costamagna
> <[hidden email]> wrote:
>
> > The following patch is not enough, because of something printed on stderr.
> >
> > I'm attaching a "fix" (better would be do not throw stuff on stderr)
> > crossbuild           FAIL stderr: dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable
>
> I hate, hate, hate, hate this feature. It is the stupidest policy
> choice and for some reason many test frameworks do that, sometimes
> even silently. The only thing this accomplishes is that people will
> run their tests with a wrapper script that does ./realcommand 2>&1,
> because if you call any external program then you have lost control of
> what gets printed to stderr. Some of those programs are chatty. The
> proper way of detecting failures is the exit code.
this breaks with newer compilers, newer pythons and newer glibc, and newer foo, so I feel your pain and frustration there...
>
> That being said, does this happen on all platforms or only a subset of them?
>


lets see the sum of the issues without the stderr change

amd64:
crossbuild           FAIL stderr: dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type powerpc64le-linux-gnu, try setting a correct CC environment variable

arm64:
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/tmp/autopkgtest.LjDpNW/build.Q9G/src/mesonbuild/build.py", line 2485, in load
    obj = pickle.load(f)
AttributeError: Can't get attribute 'GnuBFDDynamicLinker' on <module 'mesonbuild.linkers' from '/tmp/autopkgtest.LjDpNW/build.Q9G/src/mesonbuild/linkers.py'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/concurrent/futures/process.py", line 239, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "run_project_tests.py", line 358, in run_test
    return _run_test(testdir, build_dir, install_dir, extra_args, compiler, backend, flags, commands, should_fail)
  File "run_project_tests.py", line 420, in _run_test
    builddata = build.load(test_build_dir)
  File "/tmp/autopkgtest.LjDpNW/build.Q9G/src/mesonbuild/build.py", line 2491, in load
    raise MesonException(
mesonbuild.mesonlib.MesonException: Build data file '/tmp/autopkgtest.LjDpNW/build.Q9G/src/b e364311df7/meson-private/build.dat' references functions or classes that don't exist. This probably means that it was generated with an old version of meson. Try running from the source directory meson /tmp/autopkgtest.LjDpNW/build.Q9G/src/b e364311df7 --wipe
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "run_project_tests.py", line 969, in <module>
    (passing_tests, failing_tests, skipped_tests) = run_tests(all_tests, 'meson-test-run', options.failfast, options.extra_args)
  File "run_project_tests.py", line 699, in run_tests
    return _run_tests(all_tests, log_name_base, failfast, extra_args)
  File "run_project_tests.py", line 759, in _run_tests
    result = result.result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 439, in result
    return self.__get_result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
    raise self._exception
mesonbuild.mesonlib.MesonException: Build data file '/tmp/autopkgtest.LjDpNW/build.Q9G/src/b e364311df7/meson-private/build.dat' references functions or classes that don't exist. This probably means that it was generated with an old version of meson. Try running from the source directory meson /tmp/autopkgtest.LjDpNW/build.Q9G/src/b e364311df7 --wipe



armhf: no issues no stderr

ppc64el: dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type powerpc64le-linux-gnu, try setting a correct CC environment variable


s390x: Package g++-arm-linux-gnueabihf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'g++-arm-linux-gnueabihf' has no installation candidate
crossbuild           FAIL badpkg
blame: meson
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
autopkgtest [08:34:34]: @@@@@@@@@@@@@@@@@@@@ summary



you can see results here:
http://autopkgtest.ubuntu.com/packages/meson

note: version 0.53.2-2ubuntu1 is the version from sid + the patch attached to this email

while version 0.53.2-1ubuntu3 is the version 0.53.2-1ubuntu3 is the version 0.53.2-1 from sid with the patch, except for the allow-stderr keyword



> > I also cherry-picked an upstream test failure when python is removed and changed to python2 (a change that is retro-compatible, and will break also Debian on the next few days)
>
> Please file this as a pull request upstream. All big changes like
> these should go in master first.

ehm it is already on master (I had to rebase it because it doesn't apply cleanly)
the patch name is exactly the merged pull request
https://github.com/mesonbuild/meson/pull/6703



>
> > Also, please depend on rustc and valac on autopkgtests, so on
> > each new rustc and valac upstream releases, meson autopkgtests will be triggered for regressions!
>
> That should already be happening. AFAIUI the exhaustive test has a
> dependency on all build deps of Meson, which includes valac and rustc.
>

nack on this. Fortunately there is a valac in unstable but not in testing, and you can see there is no mention of meson autopkgtest against it.
https://tracker.debian.org/pkg/vala



G.

Reply | Threaded
Open this post in threaded view
|

Bug#952610: fixed in meson 0.53.2-2

Jussi Pakkanen
On Mon, Mar 2, 2020 at 4:27 PM Gianfranco Costamagna
<[hidden email]> wrote:

> lets see the sum of the issues without the stderr change
>
> amd64:
> crossbuild           FAIL stderr: dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type powerpc64le-linux-gnu, try setting a correct CC environment variable

Can you test if the issue is fixed fro you if you add
stderr=subprocess.DEVNULL to debcrossgen line 38?

> > That should already be happening. AFAIUI the exhaustive test has a
> > dependency on all build deps of Meson, which includes valac and rustc.
> >
>
> nack on this. Fortunately there is a valac in unstable but not in testing, and you can see there is no mention of meson autopkgtest against it.

That is strange, because if you look at the install log for Ubuntu tests:

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/armhf/m/meson/20200303_171925_00939@/log.gz

both valac and rustc are installed. Maybe the autopkg dependency
lookup code gets confused by @builddeps@ somehow?

Reply | Threaded
Open this post in threaded view
|

Bug#952610: fixed in meson 0.53.2-2

Sebastien Bacher-2
In reply to this post by Gianfranco Costamagna via nm
> Maybe the autopkg dependency lookup code gets confused by @builddeps@
somehow?

Right, that's an known limitation of the autopkgtest infrastructure at
the moment, builddepds resolve fine for installing packages in the test
environement but fail to register triggers. You can workaround by adding
manually the packages though which the patch is doing

Reply | Threaded
Open this post in threaded view
|

Bug#952610: marked as done (meson: autopkgtests regressions)

Debian Bug Tracking System
In reply to this post by Gianfranco Costamagna via nm
Your message dated Thu, 26 Mar 2020 07:19:23 +0000
with message-id <[hidden email]>
and subject line Bug#952610: fixed in meson 0.54.0~rc1-1
has caused the Debian Bug report #952610,
regarding meson: autopkgtests regressions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [hidden email]
immediately.)


--
952610: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952610
Debian Bug Tracking System
Contact [hidden email] with problems

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.000000000 +0100
+++ meson-0.53.2/debian/changelog       2020-02-26 12:42:13.000000000 +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 <[hidden email]>  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.000000000 +0100
+++ meson-0.53.2/debian/patches/series  2020-02-26 12:41:49.000000000 +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.000000000 +0100
+++ meson-0.53.2/debian/patches/use_python3_tests.patch 2020-02-26 12:41:49.000000000 +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.000000000 +0100
+++ meson-0.53.2/debian/tests/control   2020-02-26 12:41:49.000000000 +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

Source: meson
Source-Version: 0.54.0~rc1-1
Done: Jussi Pakkanen <[hidden email]>

We believe that the bug you reported is fixed in the latest version of
meson, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jussi Pakkanen <[hidden email]> (supplier of updated meson package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 24 Mar 2020 11:32:25 +0200
Source: meson
Architecture: source
Version: 0.54.0~rc1-1
Distribution: experimental
Urgency: medium
Maintainer: Jussi Pakkanen <[hidden email]>
Changed-By: Jussi Pakkanen <[hidden email]>
Closes: 952610
Changes:
 meson (0.54.0~rc1-1) experimental; urgency=medium
 .
   * New upstream rc release.
   * Updated debcrossgen to not write to stderr. Closes: #952610.
Checksums-Sha1:
 e1780414462ede6ba2ee0ab1b016e65fd75e5452 3442 meson_0.54.0~rc1-1.dsc
 1828078879907746e5783110d2f4911f4e77dc7e 1684097 meson_0.54.0~rc1.orig.tar.gz
 10a287bfcea05b3129a55e1034f87db8524b0ce2 13520 meson_0.54.0~rc1-1.debian.tar.xz
 4d1308d01857534f252db6f350004ba4cfb49331 6334 meson_0.54.0~rc1-1_source.buildinfo
Checksums-Sha256:
 044a41d99ced912123362897b478ff5cd596faedb81c09020c6766eb6fb80144 3442 meson_0.54.0~rc1-1.dsc
 45889d827c3b2d19c6426b47f4a08e0a67c0b248373e42ad987097f37c30fbbe 1684097 meson_0.54.0~rc1.orig.tar.gz
 2f7cf5bae900cd41d301063f5b64a17f889658dc9a4392f7df83865f2668a9dd 13520 meson_0.54.0~rc1-1.debian.tar.xz
 f49ab303085147f2b1d1d7ff89d85ebc78e54b2f6941c224ea01f4afc5db9c13 6334 meson_0.54.0~rc1-1_source.buildinfo
Files:
 06d34930e8ff9ec8339557e6cddd1f25 3442 devel optional meson_0.54.0~rc1-1.dsc
 0ee2ef3a72ff767adc93527998ed8c19 1684097 devel optional meson_0.54.0~rc1.orig.tar.gz
 4a4d264d4df23fb3c079819bd3ab6353 13520 devel optional meson_0.54.0~rc1-1.debian.tar.xz
 bb4e8033a07196608531b0ba408d2478 6334 devel optional meson_0.54.0~rc1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPbRrVe+lnUDmIyFI0U7xXa/hE0cFAl58TuIACgkQ0U7xXa/h
E0fI2A/+IGklRv6WG8Abl+4b82Dd5dga4CBQ//pMB8yh7I8pMBv0QLx2Ldx/wiPU
ZOL1AT9cngDsS9HoDT/arkUXeSlHgA6cpV3upD/buxsVfgRj7aTx6Mx3bVibHtx/
IhlPV39tP/Iz/eKv+CkQPZzBGQVfHypyWRD5aY7PaoczTNVXg4CCNtK87DHbTZEM
VkAkz7UDyb9Av19CdE2nkNMXWpyT1h8nWfcv7u7Hc8q3Ol4dvU1g+OTm4jbn8z2/
Ea2EzJAEI591YWAd9FFpiNDzCknfp/+goQGckMOT9tmbjgQ4hwI22dYMO+llV2UM
QkxHiMhLQoydMvXsjFfv4gdIX/Z/o50tkGsfv9hpfUsFPeL7xfUzaNroOowxsC8J
lrb5jqE7noBmqOP1vbLKGWtaeyvCrNYPGoSOQ1fZUFkZrfMXiW3JC2HxHdxPyrgU
XO/aEEt5UBTMtKieFAHrwyDDSRsjFZx80EUpvx8ZRsF1yVZBglNKAvBVfy8T7g++
3wLENV75SGSAe3jS6AFSzDt+ZKU2LJpD3C1mPP1YGML5rhC7nN1rWbetY5kQZXlM
K3pZ99No0ZFv9ozHPDq/LutIV6BXvjZUXhrrbKZmpFSPfjpW7n7iIu/cZ1TtE4xS
duu7DJXYnGuD/rhj82PeqKkta2rjuN1GKTV8fbIzhVEB+RCQWWw=
=zaGc
-----END PGP SIGNATURE-----