Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #377894 > unrolled thread

Bug#1073400: gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c

Started bySimon McVittie <smcv@debian.org>
First post2024-12-08 14:40 +0100
Last post2024-12-08 14:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.rc

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1073400: gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c Simon McVittie <smcv@debian.org> - 2024-12-08 14:40 +0100
    Processed: Re: Bug#1073400: gtk-doc: FTBFS with libxml2 2.12.x:  XInclude error : could not load ../../examples/gobject.c "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-12-08 14:40 +0100

#377894 — Bug#1073400: gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c

FromSimon McVittie <smcv@debian.org>
Date2024-12-08 14:40 +0100
SubjectBug#1073400: gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c
Message-ID<JRpFT-eKKE-7@gated-at.bofh.it>
Control: retitle -1 gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c
Control: severity -1 important

On Sun, 08 Dec 2024 at 12:59:06 +0000, Rebecca N. Palmer wrote:
> 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.

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:
> warning: failed to load external entity "../../examples/gobject.c"
> ../xml/object.xml:139: element include: XInclude error : could not load ../../examples/gobject.c, and no fallback was found

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

[toc] | [next] | [standalone]


#377895 — Processed: Re: Bug#1073400: gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-12-08 14:40 +0100
SubjectProcessed: Re: Bug#1073400: gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c
Message-ID<JRpFU-eKKE-11@gated-at.bofh.it>
In reply to#377894
Processing control commands:

> retitle -1 gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c
Bug #1073400 [src:gtk-doc] 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
Changed Bug title to 'gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c' from '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'.
> severity -1 important
Bug #1073400 [src:gtk-doc] gtk-doc: FTBFS with libxml2 2.12.x: XInclude error : could not load ../../examples/gobject.c
Severity set to 'important' from 'serious'

-- 
1073400: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073400
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web