Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1291226

Bug#1134724: meson.get_compiler('vala') returns the wrong compiler

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Jussi Pakkanen <jpakkane@gmail.com>
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 <MOzvb-Rp1-5@gated-at.bofh.it> (permalink)
References <MN7AZ-hrWk-13@gated-at.bofh.it> <MN7AZ-hrWk-13@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Mon Apr 27 19:01:09 2026
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -0.547
Reply-To Jussi Pakkanen <jpakkane@gmail.com>, 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 <debian-bugs-dist@lists.debian.org> archive/latest/1966438
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
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

Show key headers only | View raw


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.

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar


Thread

Bug#1134724: meson.get_compiler('vala') returns the wrong compiler Jussi Pakkanen <jpakkane@gmail.com> - 2026-04-27 21:10 +0200
  Bug#1134724: meson.get_compiler('vala') returns the wrong compiler Helmut Grohne <helmut@subdivi.de> - 2026-04-27 21:40 +0200

csiph-web