--- Begin Message ---
Subject: |
[core-updates-frozen] Gtk documentation generation fails. |
Date: |
Thu, 19 Aug 2021 16:14:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
The generation of the documentation of the Gnome projects is broken on
core-updates-frozen. Passing the "-Dgtk_doc=true" build option to evince
or libhandy packages results in the following error:
--8<---------------cut here---------------start------------->8---
Traceback (most recent call last):
File
"/gnu/store/6dk7w7g7kbr5cnp0kiym3f68l1g26xbx-python-3.9.6/lib/python3.9/shutil.py",
line 806, in move
os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory:
'/home/mathieu/libhandy/_build/doc/html/libhandy.devhelp2' ->
'/home/mathieu/libhandy/_build/doc/html/libhandy-1.devhelp2'
During handling of the above exception, another exception occurred:
--8<---------------cut here---------------end--------------->8---
According to strace, xsltproc is called to generate the
libhandy.devhelp2 document this way:
--8<---------------cut here---------------start------------->8---
/gnu/store/5fy04b79bmzajbgz21jibkgmn38frkrx-libxslt-1.1.34/bin/xsltproc --path
/home/mathieu/libhandy/doc:/home/mathieu/libhandy/_build/doc --nonet --xinclude
--stringparam gtkdoc.bookname libhandy --stringparam gtkdoc.version 1.33.1
/gnu/store/vh5gjvlbns7s26r8x6282165xqrk137l-gtk-doc-1.33.2/share/gtk-doc/data/gtk-doc.xsl
../handy-docs.xml
--8<---------------cut here---------------end--------------->8---
However the final document never shows up. The output log contains
several errors such as this one:
--8<---------------cut here---------------start------------->8---
Error: no ID for constraint linkend: "GtkDrawingArea".
--8<---------------cut here---------------end--------------->8---
that should be harmless.
Thanks,
Mathieu
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#50122: [core-updates-frozen] Gtk documentation generation fails. |
Date: |
Tue, 29 Aug 2023 16:06:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hello,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Hello,
>
> Mathieu Othacehe <othacehe@gnu.org> writes:
>
>> Hello,
>>
>> The generation of the documentation of the Gnome projects is broken on
>> core-updates-frozen. Passing the "-Dgtk_doc=true" build option to evince
>> or libhandy packages results in the following error:
>>
>> Traceback (most recent call last):
>> File
>> "/gnu/store/6dk7w7g7kbr5cnp0kiym3f68l1g26xbx-python-3.9.6/lib/python3.9/shutil.py",
>> line 806, in move
>> os.rename(src, real_dst)
>> FileNotFoundError: [Errno 2] No such file or directory:
>> '/home/mathieu/libhandy/_build/doc/html/libhandy.devhelp2' ->
>> '/home/mathieu/libhandy/_build/doc/html/libhandy-1.devhelp2'
>>
>> During handling of the above exception, another exception occurred:
>>
>>
>> According to strace, xsltproc is called to generate the
>> libhandy.devhelp2 document this way:
>>
>> /gnu/store/5fy04b79bmzajbgz21jibkgmn38frkrx-libxslt-1.1.34/bin/xsltproc
>> --path /home/mathieu/libhandy/doc:/home/mathieu/libhandy/_build/doc --nonet
>> --xinclude --stringparam gtkdoc.bookname libhandy --stringparam
>> gtkdoc.version 1.33.1
>> /gnu/store/vh5gjvlbns7s26r8x6282165xqrk137l-gtk-doc-1.33.2/share/gtk-doc/data/gtk-doc.xsl
>> ../handy-docs.xml
>>
>>
>> However the final document never shows up. The output log contains
>> several errors such as this one:
>>
>> Error: no ID for constraint linkend: "GtkDrawingArea".
I'm closing this old report as GNOME has moved to use gi-docgen for
building its doc, which currently works e.g. for evince.
--
Thanks,
Maxim
--- End Message ---