Hi.
I think this is a Debian bug, which adds "meson-docs" to
the build but without extra dependencies:
override_dh_auto_build:
---> ln -s ../meson-docs subprojects/
CC="$(CC_FOR_BUILD)" CFLAGS="$(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)"
LDFLAGS="$(LDFLAGS_FOR_BUILD)" ./bootstrap.sh build
build/muon setup -Dprefix=/usr -Dsamurai=disabled -Dreadline=bestline
build
ninja -C build --verbose
I would fix this by building the project without "meson-docs" first,
and then building meson-docs separately, as in the attached patch.
I withdraw my previous patch, I think this one is better, but it may
need some adjustments (not sure how many of those -Doption in the
build line would be also relevant for meson-docs line).
Thanks.
commit 220b6d3699485e6a24d062a8cd5182eafe39b93b
Author: Santiago Vila <sanv...@debian.org>
Date: Thu Oct 24 12:12:18 2024 +0200
Build meson-docs separately, after muon has been built. Closes: #1085124.
diff --git a/debian/rules b/debian/rules
index 7ed621f..346d4c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,10 +13,11 @@ include /usr/share/dpkg/buildtools.mk
dh $@ --buildsystem=none --builddir=build
override_dh_auto_build:
- ln -s ../meson-docs subprojects/
CC="$(CC_FOR_BUILD)" CFLAGS="$(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)"
LDFLAGS="$(LDFLAGS_FOR_BUILD)" ./bootstrap.sh build
build/muon setup -Dprefix=/usr -Dsamurai=disabled -Dreadline=bestline
build
ninja -C build --verbose
+ build/muon setup meson-docs
+ ninja -C meson-docs --verbose
# Meson's fs module tests require HOME to be a valid directory
override_dh_auto_test: