Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Jussi Pakkanen Newsgroups: linux.debian.bugs.dist Subject: Bug#1134724: meson.get_compiler('vala') returns the wrong compiler Date: Mon, 27 Apr 2026 21:10:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Apr 27 19:01:09 2026 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -0.547 Reply-To: Jussi Pakkanen , 1134724@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: jpakkane@gmail.com X-Debian-Pr-Message: followup 1134724 X-Debian-Pr-Package: meson X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: meson X-Forwarded-Encrypted: i=1; AFNElJ8E1v/58Xeg8EFVqxUfDJ3KOw0R0PtLulR9u0XhtKix4oc7nANyAB2rZvv6AOW6YkT/2d9ldLUj@bugs.debian.org X-Gm-Message-State: AOJu0YyNm3vDPFTb4MsX7rLpskn1n/s/LkZ+5QmYMYu0gIy/HSPBeQLm mJOqu7PTivaxorvtiQCwD+wbXA2X2VPMrhNZq5Od+C+K2YU/UKalc3dQ X-Gm-Gg: AeBDievozhx8yGwp58goQYn1sr++xnF6WYBCjqMJdiVRkKJv5iipiMTaDWGSdyfV5E4 /YpR7BrAf4HGiSw/gfyz9H8tkSYDCwJ3LS0cplgAjCrueFJ9CI5/cWkLuahnHi+5gV+8/ThlkH8 VYicBJdBORwu+NMvS4+FOz5R/98JR5waj/nSF7GraGnX8lUYHhuXLfZbYnxR+5rTwB1GZxSMjjv yUM6dOu/LMroSC/j3VHn7LcM1Ha6VCQAhgdBKM9Mj4iClPrt92DKdlGRHfsebRS8KBCFAK+zyBF zyFgfMxOBoFjxqc3igjgNoVjwGcYBG/bawhSCWZcG2mEHttIRWMX2itsahfQn5pSQfgFKb3d+zy fmXXGjUHVYgoyz54oo/d/ERiN/jtpT04a03HQtiUft3uc1JB+4g9go/SZDEjJDPlvCDsobqCnMy r9CLiYKG2BRWgiQTFdyon/e2BpSAnIghIFpm3gZsxYD+SibInCo6VYBi8sm8OD5KpMgBSjYhWP1 i2Oevl46Io9nzPKjMMabahxmNOiUylUWgRVureryrKFJaA5V/HV7hwyAqTM+hdupzsebsNTtWij Ei+9 X-Received: by 2002:a05:6512:b83:b0:5a4:1365:5fe3 with SMTP id 2adb3069b0e04-5a74662aca6mr20187e87.37.1777316296660; Mon, 27 Apr 2026 11:58:16 -0700 (PDT) MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Debian-Message: from BTS X-Mailing-List: archive/latest/1966438 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 23 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 27 Apr 2026 21:58:13 +0300 X-Original-Message-ID: <25c3d9f2-5bdb-42c7-8080-a8170230afe7@gmail.com> X-Original-References: <20260423170555.GA3626635@subdivi.de> <20260423170555.GA3626635@subdivi.de> Xref: csiph.com linux.debian.bugs.dist:1291226 On 4/23/26 8:05 PM, Helmut Grohne wrote: > 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. I posted this up on Meson's PRs: https://github.com/mesonbuild/meson/pull/15736 There were several issues raised. First of all there was a person who said that according to certain Gnome devs Vala cross compiling is a ill-defined. Sadly I don't have a proper link upstream but it might be that it is not supported (though works in most cases). But the bigger issue is that in Meson valac is treated specifically as a regular compiler even in cross compilation contexts because it only produces C source code that is then compiled by the cross compiler. Changing that in the way this patch suggests changes pretty much the whole way Vala handling is done in Meson. This really should get a proper fix. Probably a way to get started on that is to get the actual error messages for a failed cross build.