🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3086

Bug#1152880: librsvg FTCBFS: multiple reasons

#3086
From: Simon McVittie
Date: Mon, 02 Nov 2026 23:50
30 lines
3107 bytes
On Mon, 02 Nov 2026 at 16:38:31 +0100, Helmut Grohne wrote:
>At this point, Build-Depends can be installed. Unfortunately, meson
>refuses to configure. It objects to enabling the introspection and vala
>features as we cannot run host binaries.

Actually we can, if `meson env2mfile` is used to generate a cross-file 
that sets exe_wrapper to the Debian-specific 
MULTIARCH-cross-exe-wrapper. This is a long-standing feature request for 
debhelper, which currently uses the deprecated debcrossgen tool, which 
the meson maintainer doesn't want to improve any further (see also 
#1111001, https://salsa.debian.org/debian/debhelper/-/merge_requests/127) 
but `export MESON_USE_NEW_CROSSGEN=1` in debian/rules should be enough 
to make this work.

I think using `meson env2mfile` would be preferable to patching the 
upstream build system to pretend that introspection can work without the 
ability to run host binaries.

>Then, the build proceeds quite far until meson launches the wrong
>vapigen. This is not a bug in librsvg but in meson itself and it is
>reported as #1126007.

If the build uses `meson env2mfile`, then recent Meson should resolve 
this without necessarily needing to look up vapigen via pkg-config, 
because https://github.com/mesonbuild/meson/pull/15056 was merged.

(Or the cross-file
/usr/share/meson/cross/${DEB_HOST_GNU_TYPE}-vala.ini is also available.)

     smcv
Technical Details
Message-ID: <NV9WN-9uNT-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NV78C-9tbZ-35@gated-at.bofh.it> <NV78C-9tbZ-35@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Simon McVittie <smcv@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152880: librsvg FTCBFS: multiple reasons
Date: Tue, 03 Nov 2026 00:50:01 +0100
Message-ID: <NV9WN-9uNT-1@gated-at.bofh.it>
References: <NV78C-9tbZ-35@gated-at.bofh.it> <NV78C-9tbZ-35@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov  2 23:47:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Simon McVittie <smcv@debian.org>, 1152880@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-gnome-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1152880
X-Debian-Pr-Package: src:librsvg
X-Debian-Pr-Keywords: pending patch
X-Debian-Pr-Source: librsvg
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
X-Debian-User: smcv
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000326
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 30
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 2 Nov 2026 23:45:46 +0000
X-Original-Message-ID: <aukgqibmgoFPSb6v@definition.pseudorandom.co.uk>
X-Original-References: <20261102153831.GA2538939@subdivi.de> <20261102153831.GA2538939@subdivi.de>