Subject: bug#50122: closed (Re: bug#50122: [core-updates-frozen] Gtk documentation generation fails.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 29 Aug 2023 20:07:02 +0000

Your bug report

#50122: [core-updates-frozen] Gtk documentation generation fails.

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
50122: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50122
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#50122: [core-updates-frozen] Gtk documentation generation fails.
From: Maxim Cournoyer <[email-masked]>
To: Mathieu Othacehe <[email-masked]>
Cc: [email-masked]
Date: Tue, 29 Aug 2023 16:06:05 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Maxim Cournoyer <[email-masked]> writes:

> Hello,
>
> Mathieu Othacehe <[email-masked]> 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

Subject: [core-updates-frozen] Gtk documentation generation fails.
From: Mathieu Othacehe <[email-masked]>
To: [email-masked]
Date: Thu, 19 Aug 2021 16:14:29 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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