Bug#1062783: libxfce4ui FTCBFS: fails running gtk-doc scanner
Hi,
On Mon, Feb 05, 2024 at 04:40:38PM +0100, Yves-Alexis Perez wrote:
> The patch looks small, and I don't know a lot about cross-building, but would
> it be better to use something like:
>
> ifneq (,$(filter cross,$(DEB_BUILD_PROFILES))
>
> inside override_dh_auto_configure to only add gtk-doc when not cross-building?
While that might technically work, such cross vs native differences are
fragile and in a lot of cases, I've had to fix them, so I strongly
prefer to not add cross vs native differences to the build unless
necessary.
Here, no part of an arch-only build needs gtk-doc. For this, it does not
matter whether the build is cross or native. It applies to any arch-only
build. In particular, disabling gtk-doc, also speeds up the build. I
actually performed an arch-only and a full build to verify that no
files go missing by this change using reproducible builds.
Is this line of reasoning convincing to you?
Helmut
Reply to: