Source: poppler Version: 22.12.0-2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
poppler fails to cross build from source, due to something related to gtk-doc. This is a little suprising given that poppler has split its documentation into an arch:all package and a cross build always being arch-only. Rather than looking into fixing this, I looked into disabling gtk-doc in arch-only builds. I compared a full build to an arch-only build and notice that build-ids change unfortunately. Other than that, this change seems to be good. And of course, it fixes the cross build as well as slightly speeding up the native arch-only build. Please consider applying the attached patch. Helmut
diff --minimal -Nru poppler-22.12.0/debian/changelog poppler-22.12.0/debian/changelog --- poppler-22.12.0/debian/changelog 2023-01-10 22:36:05.000000000 +0100 +++ poppler-22.12.0/debian/changelog 2024-01-15 20:37:17.000000000 +0100 @@ -1,3 +1,10 @@ +poppler (22.12.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Disable gtkdoc in arch-only build. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 15 Jan 2024 20:37:17 +0100 + poppler (22.12.0-2) unstable; urgency=medium * Team upload diff --minimal -Nru poppler-22.12.0/debian/rules poppler-22.12.0/debian/rules --- poppler-22.12.0/debian/rules 2023-01-10 22:36:05.000000000 +0100 +++ poppler-22.12.0/debian/rules 2024-01-15 20:37:14.000000000 +0100 @@ -20,7 +20,7 @@ -DENABLE_QT5=ON \ -DENABLE_QT6=ON \ -DENABLE_CPP=ON \ - -DENABLE_GTK_DOC=ON \ + -DENABLE_GTK_DOC=$(if $(filter libpoppler-glib-doc,$(shell dh_listpackages)),ON,OFF) \ -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ -DENABLE_CMS=lcms2 \ -DENABLE_LIBOPENJPEG=openjpeg2 \