Helmut Grohne
2024-01-21 14:30:02 UTC
Reply
PermalinkVersion: 1.14.51-2
User: debian-***@lists.debian.org
Usertags: ftcbfs
libgsf fails to cross build from source, because the upstream
configure.ac detects pkg-config using AC_PATH_PROG and thus detects the
build architecture pkg-config which fails to find tons of packages. This
is easily fixed by using the recommended upstream macro
PKG_PROG_PKG_CONFIG instead. I'm attaching a patch for this.
Then libgsf goes a lot further, but fails building its documentation due
to the use of gtk-doc. We do not currently have any solution for gtk-doc
and hence libgsf will not be cross buildable. Would you consider
splitting the documentation from the -dev package into a dedicated -doc
package? Usually, such a -doc package would be Architecture: all and
therefore not participate in cross building. The arch-only build would
no longer build documentation and that would probably make libgsf cross
buildable. It would also fix #814502.
Either way, this bug is only about the pkg-config aspect, so please
close it once fixing that.
Helmut