GNU bug report logs - #50122
[core-updates-frozen] Gtk documentation generation fails.

Previous Next

Package: guix;

Reported by: Mathieu Othacehe <othacehe <at> gnu.org>

Date: Thu, 19 Aug 2021 14:15:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#50122: closed ([core-updates-frozen] Gtk documentation
 generation fails.)
Date: Tue, 29 Aug 2023 20:07:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 29 Aug 2023 16:06:05 -0400
with message-id <87r0nlaa1e.fsf <at> gmail.com>
and subject line Re: bug#50122: [core-updates-frozen] Gtk documentation generation fails.
has caused the debbugs.gnu.org bug report #50122,
regarding [core-updates-frozen] Gtk documentation generation fails.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
50122: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50122
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: [core-updates-frozen] Gtk documentation generation fails.
Date: Thu, 19 Aug 2021 16:14:29 +0200
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


[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 50122-done <at> debbugs.gnu.org
Subject: Re: bug#50122: [core-updates-frozen] Gtk documentation generation
 fails.
Date: Tue, 29 Aug 2023 16:06:05 -0400
Hello,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hello,
>
> Mathieu Othacehe <othacehe <at> 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


This bug report was last modified 1 year and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.