Your message dated Tue, 07 Jul 2026 14:49:49 +0000
with message-id <[email protected]>
and subject line Bug#1134724: fixed in meson 1.12.0~rc1-1
has caused the Debian Bug report #1134724,
regarding meson.get_compiler('vala') returns the wrong compiler
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 [email protected]
immediately.)


-- 
1134724: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1134724
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: meson
Version: 1.11.0-1
Severity: important
Tags: patch
User: [email protected]
Usertags: ftcbfs
Control: affects -1 + src:gnome-nibbles

gnome-nibbles (and probably a lot more) fails to cross build from
source, because meson misdetects the vala compiler. Its meson.build goes
meson.get_compiler('vala') and while that should be returning a host
compiler, it ends up returning a native one. It should be looking up the
compiler from the crossfile, but it ignores an assignment there. This is
due to the detection method ignoring the given MachineChoice and
erroneously passing MachineChoice.BUILD to the environment lookup. Once
returning the correct vala compiler, gnome-nibbles cross builds
successfully.

I am attaching a patch that corrects this mistake. It is written in a
backwards-compatible way: If the environment does not mention a vala
binary, it falls back to the native tool.

Given the lack of feedback on other patches, I am considering to NMU
this and other patches. Please let me know if you prefer not having it
NMUed.

Helmut
--- meson-1.11.0.orig/mesonbuild/compilers/detect.py
+++ meson-1.11.0/mesonbuild/compilers/detect.py
@@ -1049,7 +1049,10 @@
 
 def detect_vala_compiler(env: 'Environment', for_machine: MachineChoice) -> Compiler:
     from .vala import ValaCompiler
-    exelist = env.lookup_binary_entry(MachineChoice.BUILD, 'vala')
+    exelist = env.lookup_binary_entry(for_machine, 'vala')
+    if exelist is None and for_machine != MachineChoice.BUILD:
+        # This is wrong, but backwards-compatible.
+        exelist = env.lookup_binary_entry(MachineChoice.BUILD, 'vala')
     if exelist is None:
         # TODO support fallback
         exelist = [defaults['vala'][0]]

--- End Message ---
--- Begin Message ---
Source: meson
Source-Version: 1.12.0~rc1-1
Done: Jussi Pakkanen <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jussi Pakkanen <[email protected]> (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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 07 Jul 2026 16:09:00 +0300
Source: meson
Architecture: source
Version: 1.12.0~rc1-1
Distribution: experimental
Urgency: medium
Maintainer: Jussi Pakkanen <[email protected]>
Changed-By: Jussi Pakkanen <[email protected]>
Closes: 1129857 1134724 1141440
Changes:
 meson (1.12.0~rc1-1) experimental; urgency=medium
 .
   * New upstream release. Closes: #1134724, #1141440, #1129857.
Checksums-Sha1:
 9776c8d43f43b116ae1af1f4fb2b3446765587b4 3558 meson_1.12.0~rc1-1.dsc
 041198968d2ea3cd314aa650de5ff600fc4a4222 2516312 meson_1.12.0~rc1.orig.tar.gz
 a9bbb6ace7fadf1297954338e4cfd00fcce16ff9 16652 meson_1.12.0~rc1-1.debian.tar.xz
 a7486ffec8deefa90219631e17c79298dd0b3768 29573 
meson_1.12.0~rc1-1_source.buildinfo
Checksums-Sha256:
 9a1787c46c690d17d22bcb06fa06c193b3688308f0c691e1719289e5c47d8439 3558 
meson_1.12.0~rc1-1.dsc
 23834584d070c020da7ab3ce816ec1f172999f62e83ba1ae9dab565859671c2e 2516312 
meson_1.12.0~rc1.orig.tar.gz
 5ac543bae4af43aaad59da9a817d07112e9dd911765de72d1bb6e8d1b3f11c58 16652 
meson_1.12.0~rc1-1.debian.tar.xz
 ce39f56553807e8b4040c2196024051feb7f5ce8e195d375e3f16e2e71d49565 29573 
meson_1.12.0~rc1-1_source.buildinfo
Files:
 b56fe8c0ebed79c2bd673787371dfbc6 3558 devel optional meson_1.12.0~rc1-1.dsc
 e93dee74abc4a9641fcdda7e865e5138 2516312 devel optional 
meson_1.12.0~rc1.orig.tar.gz
 2123a6efb40e18e8638bd642ef5e1b58 16652 devel optional 
meson_1.12.0~rc1-1.debian.tar.xz
 75f698daa92f72f50897111dea8c6166 29573 devel optional 
meson_1.12.0~rc1-1_source.buildinfo

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

iQJPBAEBCgA5FiEEGeLW2bRtjapiiPh3wk5jG6ux/nAFAmpM+vobHGp1c3NpLnBh
a2thbmVuQG1haWxib3gub3JnAAoJEMJOYxursf5w7moQAJt++hDUI2VHGa1c2fZE
1/hGXy5AbhsJi7AdEAH7LIYBsg1zBi7NwDl6uXgO3u93svmS50atprzigmgrJ5kl
v/2g4Bumx6bpEP/AuS9mD+5e8N0k8yIiunKVwXEUTV5fzV3ArB9NWJRST3igB68A
RXDHi9qQPJV5BjhIREdhiIahKg7UKeb9tIfJxQr6P7XkMhNItwtbio16Dn5TUZ9f
LdRIGG0ozMAJSt/Y+4E4iJMyQuWKPiYHSGWGqk7+h50viGbDbcHzNhdyy9H0SF75
QPVsFgROR6cDbPyW9bihZQLnyyR+lsKeYsqyYM0+7RpjsMyAZ7puiwLss1l4hEtx
DofsLQsb66TyGEF3cCyoDfiSsM5k6sdkIQwe0BSOANlKHvTrWg2/9z6o66TOVy+N
t3FWF00RstumB22vTRETUZOahaW14zJz/gpANlkfJbBtd1gP7OQhm7M27UtT6+Av
/ch0X3qdjTnCzJcYy97B95ccHnKQPy1VRttGcukhl4RzQotSVR3wKW/e0alS3XgG
bD4d7oVFYTTOWCee8Xh32n0hh1HXrFQ5zNFCn1megLvG7LbuILdqJSU9RitFCpyx
4jbD4q4WOuS2vpXzRNqv1v0FHI8nlLVV715qJfkAIicWDzAHgXj1MA0rqmM8ZfMX
Z6qnBb0qJXRgjUYaQDxasLAB
=vyxQ
-----END PGP SIGNATURE-----

Attachment: pgpfaA2kmAzGv.pgp
Description: PGP signature


--- End Message ---

Reply via email to