Article View: linux.debian.bugs.dist
Article #3056Bug#1152879: muon-meson FTCBFS: muon cannot cross build itself
From: Helmut Grohne
Date: Mon, 02 Nov 2026 20:50
Date: Mon, 02 Nov 2026 20:50
112 lines
5218 bytes
5218 bytes
--vW3nfD4AmKdaM4uG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Source: muon-meson Version: 0.5.0-1.1 Tags: patch User: debian-cross@lists.debian.org Usertags: ftcbfs muon-meson cannot cross build itself. Even upstream uses Python meson for cross building muon-meson. I suggest doing the same in Debian until muon-meson gains this capability. Fundamentally, it would need a way to communicate a build architecture compiler, but presently it understands neither CC_FOR_BUILD nor --native-file. Please consider applying the attached patch as a stop-gap solution to be reverted once muon-meson advances. Helmut --vW3nfD4AmKdaM4uG Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="muon-meson_0.5.0-1.2.debdiff" diff -Nru muon-meson-0.5.0/debian/changelog muon-meson-0.5.0/debian/changelog --- muon-meson-0.5.0/debian/changelog 2026-02-23 02:17:55.000000000 +0100 +++ muon-meson-0.5.0/debian/changelog 2026-11-02 16:40:18.000000000 +0100 @@ -1,3 +1,10 @@ +muon-meson (0.5.0-1.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Cross build using meson. (Closes: #-1) + + -- Helmut Grohne <helmut@subdivi.de> Mon, 02 Nov 2026 16:40:18 +0100 + muon-meson (0.5.0-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru muon-meson-0.5.0/debian/control muon-meson-0.5.0/debian/control --- muon-meson-0.5.0/debian/control 2026-02-23 02:15:20.000000000 +0100 +++ muon-meson-0.5.0/debian/control 2026-11-02 16:40:18.000000000 +0100 @@ -13,6 +13,7 @@ libglib2.0-bin <!nocheck>, libglib2.0-dev-bin <!nocheck>, libpkgconf-dev (>= 1.9.0), + meson <cross>, ninja-build, pkg-config, python3-yaml:native <!nodoc>, diff -Nru muon-meson-0.5.0/debian/rules muon-meson-0.5.0/debian/rules --- muon-meson-0.5.0/debian/rules 2026-02-23 02:15:20.000000000 +0100 +++ muon-meson-0.5.0/debian/rules 2026-11-02 16:40:18.000000000 +0100 @@ -5,34 +5,46 @@ DPKG_EXPORT_BUILDFLAGS := 1 DPKG_EXPORT_BUILDTOOLS := 1 +include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/buildflags.mk include /usr/share/dpkg/buildtools.mk %: dh $@ --buildsystem=none --builddir=build +configure_flags = \ + -Dauto_features=enabled \ + -Dsamurai=disabled \ + -Dreadline=bestline \ + -Dtracy=disabled \ + -Dui=disabled \ + -Dwebsite=disabled + override_dh_auto_build: +ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) CC="$(CC_FOR_BUILD)" CFLAGS="$(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) -DBOOTSTRAP_NO_SAMU" LDFLAGS="$(LDFLAGS_FOR_BUILD)" ./bootstrap.sh build - build/muon-bootstrap setup \ - -Dprefix=/usr \ - -Dauto_features=enabled \ - -Dwrap_mode=nodownload \ - -Dsamurai=disabled \ - -Dreadline=bestline \ - -Dtracy=disabled \ - -Dui=disabled \ - -Dwebsite=disabled \ - build + build/muon-bootstrap setup -Dprefix=/usr -Dwrap_mode=nodownload $(configure_flags) build +else + dh_auto_configure --buildsystem=meson -- $(configure_flags) +endif ninja -C build --verbose # Meson's fs module tests require HOME to be a valid directory override_dh_auto_test: +ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) mkdir build/home HOME=$$(realpath build/home) build/muon -C build test -v rm -rf build/home +else + dh_auto_test --buildsystem=meson +endif override_dh_auto_install: +ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) DESTDIR=$(CURDIR)/debian/muon-meson build/muon -C build install +else + dh_auto_install --buildsystem=meson +endif execute_after_dh_auto_install: mv debian/muon-meson/usr/bin/muon debian/muon-meson/usr/bin/muon-meson --vW3nfD4AmKdaM4uG--
Technical Details
Message-ID:
<NV78B-9tbZ-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Helmut Grohne <helmut@subdivi.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152879: muon-meson FTCBFS: muon cannot cross build itself Date: Mon, 02 Nov 2026 21:50:01 +0100 Message-ID: <NV78B-9tbZ-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 2 20:45:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152879@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: tachi@debian.org X-Debian-Pr-Message: report 1152879 X-Debian-Pr-Package: src:muon-meson X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: muon-meson MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="vW3nfD4AmKdaM4uG" Content-Disposition: inline X-Reportbug-Version: 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000287 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 112 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 2 Nov 2026 18:58:30 +0100 X-Original-Message-ID: <20261102175830.GA61241@subdivi.de>