#1073400 gtk-doc: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=8 meson test returned exit code 1 #1073400
- Package:
- src:gtk-doc
- Source:
- src:gtk-doc
- Submitter:
- Lucas Nussbaum
- Date:
- 2025-09-06 16:51:03 UTC
- Severity:
- normal
- Tags:
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): The full build log is available from: http://qa-logs.debian.net/2024/06/15/gtk-doc_1.34.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.
gtk-doc also FTBFS in reproducible-builds from approximately 2024-05-30 to 2024-09-24 in unstable (but not in trixie, meaning the bug was in something other than gtk-doc) but now builds successfully: https://tests.reproducible-builds.org/debian/history/gtk-doc.html The logs aren't kept, so there's no proof that this was specifically this bug, but it seems likely. Hence, I suggest closing this bug.
Control: retitle -1 gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c
Control: severity -1 important
Actually I'm going to downgrade this to non-RC but not close it, because
the combination of the error message and the timing strongly suggests
that this was triggered by the update of libxml2 from 2.9.x to 2.12.x on
2024-05-25, which was reverted on 2024-09-26.
To try to confirm or deny this, I'm now trying a gtk-doc build with
libxml2 2.13.x from experimental:
sbuild -dexperimental --add-depends='libxml2-utils (>= 2.13)' --add-depends='libxml2 (>= 2.13)' gtk-doc
The output of the one failing test, test-gobject-mkhtml, is:
I think this might be a behaviour change in libxml2, perhaps making it
more strict about the handling of missing resources with XInclude, or
perhaps changing the search path for those resources.
Because of the way gtk-doc is designed, this might trigger FTBFS in
packages that use gtk-doc for their documentation, not just a test
failure in gtk-doc itself. We'll need to take that into account (raising
the severity back to RC if not already fixed) when libxml2 gets upgraded
back to ≥ 2.12.x in future.
smcv
--add-depends={python3-libxml2,libxml2,libxml2-utils}' (>= 2.13)'
but with that change, yes I can reproduce this test failure with libxml2's
version from experimental. So this is not immediately RC, but will become
RC again when the libxml2 maintainers are ready to retry the upgrade.
smcv
Hello, Bug #1073400 in gtk-doc reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/gnome-team/gtk-doc/-/commit/47dcddbfae31e324165cd9e7072d9acd9d96f0e2 ------------------------------------------------------------------------ Add proposed patch from gtk-doc!74 upstream to fix FTBFS with libxml2 2.12.x Closes: #1073400 Thanks: Fedora ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1073400
We believe that the bug you reported is fixed in the latest version of
gtk-doc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1073400@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <smcv@debian.org> (supplier of updated gtk-doc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 06 Sep 2025 16:21:06 +0100
Source: gtk-doc
Architecture: source
Version: 1.34.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Simon McVittie <smcv@debian.org>
Closes: 1073400
Changes:
gtk-doc (1.34.0-3) unstable; urgency=medium
.
* Team upload
* d/p/Add-gobject-example-source-code-to-path-for-mkhtml-test.patch:
Add proposed patch from gtk-doc!74 upstream to fix FTBFS with
libxml2 2.12.x. Thanks to Fedora (Closes: #1073400)
* d/p/Update-CMake-minimum-version-from-3.2-to-3.12.patch:
Add proposed patch from gtk-doc!101 upstream to improve CMake 4.0
compatibility. Thanks to Fedora
Checksums-Sha1:
f3f3ff223fe2fd7399d02403692f7cc67c6c6c46 2533 gtk-doc_1.34.0-3.dsc
28cd33c8c44ea01117e5b88f317b565822c6bb52 14676 gtk-doc_1.34.0-3.debian.tar.xz
cd3ce006e0f1da64ccd1a91c8142994925c66241 1765892 gtk-doc_1.34.0-3.git.tar.xz
9903f369301b221385e49888ea3e8f8a0f1b8292 18058 gtk-doc_1.34.0-3_source.buildinfo
Checksums-Sha256:
ecd8461699f0e6600a2f6f95c63d851db976fbbbc2a8e56609732b7e1193516d 2533 gtk-doc_1.34.0-3.dsc
b7bf24ae563a67ad186431670782302bfcbe99674bea7c823924832e88cf9541 14676 gtk-doc_1.34.0-3.debian.tar.xz
46e2c19413e2b4c6e0754a9db774f9ecec2fc44cbbc3791f8d6de77101291afc 1765892 gtk-doc_1.34.0-3.git.tar.xz
5d9559f94204b3fb85ec7a6fc5fdae408c795e197a1f1146d4ec9ab4e175fa39 18058 gtk-doc_1.34.0-3_source.buildinfo
Files:
b49c711d9e087bfc4b8e460accecbf58 2533 gnome optional gtk-doc_1.34.0-3.dsc
b5f2188537b1165e21514d26df7d497a 14676 gnome optional gtk-doc_1.34.0-3.debian.tar.xz
14a8d5272aced1ca6f6fdbe8bd14f659 1765892 gnome optional gtk-doc_1.34.0-3.git.tar.xz
6757933f90b5ce3b0d78a66b7b7c5290 18058 gnome optional gtk-doc_1.34.0-3_source.buildinfo
Git-Tag-Info: tag=e5686c09e151d88ce937ce55d03bc3f33a230d20 fp=7a073ad1ae694fa25bff62e5235c099d3eb33076
Git-Tag-Tagger: Simon McVittie <smcv@debian.org>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmi8XZoACgkQYG0ITkaD
wHk9eBAAxOmigD/kiGTtZvLo61Sy5RW+etJaVUqGssVow4B68WcyE+b/zS+X9Df2
orogImG14UOYSp2UEpTVobaMT92M8mr3bZGGbeR54Cwq5xiSmP0SWvImBTZ1S8MF
xF+D0FfX+N82n2WsVtgrhqitKJ08D9EmhKEJNPInM/bPvRYmNhG6MC9psaKizb4J
8TJE9CHqjBuCrJgkJUIpCubz/6Py0zxImdD/u4lmqQ03U6seY9uh1ZqgGuvor9KI
uaq4rWD/hpJt/R8verlGu17vpD4jL1YCiJLOrboCjVXqWKVFp5M5dzlHBk6sQ0Kq
d3Iq1fxRB2GinCyLb2BeEwH8tkWYLE6y/3z9MNvf1UwD1n3+VI7dI5egBXFlVSe7
O/BKbobp5Xy2mv8/0UZvnVB0q+4VFFVCQmV9RorLydVrrp8F9XQ3ml2Uq1cuksCg
J0jDnnOjgq6TH4AAtS45efVfoNNbHJcxvobXEbN3GuXN9xfZTWo9J5m7vzSAwc2m
s55j4akssOv3yOHsfYeNnlURXoOzuUT5DNZ38YGsxxnzkfztH8LnCJ91clUWzKb6
GZpl8XVBh4D4VUlotDGEjv/dPbKMUVkKgdbXvtnMtlFRlj6tsZa1as6jNc3NjOjT
LRHyIDATmln0TRlURn+zpbDmYju5TGgHsk/TYw9k9oHhekHvfgg=
=ARdX
-----END PGP SIGNATURE-----