GNOME Bugzilla – Bug 116049
HIG and GDSG autogeneration broken
Last modified: 2006-09-30 21:34:16 UTC
The autogeneration feature is broken. When it is working, this automatically converts the HIG and GDSG to HTML, and updates them on the d.g.o/projects/gup and d.g.o/projects/gdp websites. Regarding the HIG, Calum said the following: "The autogenerated builds of the HIG and GNOME Accessibility for Developers (GAD) docs seem to have been failing on widget for the past week or so. They both use pretty much the same build script and they both build fine for me locally though, so I'm unable to diagnose the problem. Any experts care to investigate? Basically xsltproc is segfaulting: [calum@widget hig-build] $ xsltproc ../stylesheets/hig-stylesheet.xsl ../hig-book.xml Writing ln-id2810515.html for legalnotice runtime error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.61.0-1/html/chunker.xsl line 203 element document xsltDocumentElem: unable to save to ln-id2810515.html Writing intro.html for preface(intro) runtime error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.61.0-1/html/chunker.xsl line 203 element document xsltDocumentElem: unable to save to intro.html Writing usabilityprinciples.html for chapter(usabilityprinciples) runtime error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.61.0-1/html/chunker.xsl line 203 element document xsltDocumentElem: unable to save to usabilityprinciples.html Error xpath.c:8353: Undefined namespace prefix xmlXPathCompiledEval: evaluation failed Segmentation fault (I assume the 'unable to save to...' errors here are just because I don't have permission to write to files all over widget, but the ulog files indicate that the segfault is happening in the 'real' build too). Running xsltproc with the --verbose flag, the tail of the log file looks like this: . . . Lookup variable use.svg found variable use.svg xsltChoose: test evaluate to 0 xsltChoose: test $use.svg != 0 and $object/svg:* Lookup variable use.svg found variable use.svg Lookup variable object found variable object Error xpath.c:8353: Undefined namespace prefix xmlXPathCompiledEval: evaluation failed xsltChoose: test evaluate to 0 xsltChoose: test $graphic.format = '1' Lookup variable graphic.format found variable graphic.format xsltChoose: test evaluate to 1 call-template returned: name is.acceptable.mediaobject Object is an XSLT value tree : 1 Node is NULL ! call-template returned: name select.mediaobject.index Any clues welcome... Cheeri, Calum." http://mail.gnome.org/archives/gnome-doc-list/2003-May/msg00029.html See also the thread that begins here: http://mail.gnome.org/archives/gnome-doc-list/2003-June/msg00015.html I expect it is a similar problem for the GDSG. This has been going on for a few months now - the version of the GDSG in CVS is 1.2, the version on the website is 1.0.
This is probably in my court. I need to recompile the latest libxml2 and libxslt packages for the OS that's on widget. This bugmail should help nag me to do so.
Adding myself to the cc list so I can keep track of the resolution of this nagging problem.
Calum said it has been fixed, probably as part of the www.gnome.org redesign.
Murray, I am reopening the bug, as I still see V1.0 of the GDSG at http://developer.gnome.org/documents/style-guide/, and the version in CVS is V1.2.
Drat. I've got the new libxml/libxslt up there, and some things seem to be working now. I'll look into the style guide soon, I had hoped that once I got the HIG working, the styleguide would 'just work.'
What is the current status of this bug, please? Thank you.
HIG generation works fine ATM, but GDSG generation has been broken since Eugene filed the bug, AFAIK.
The policy now is to consider WONTFIX any developer.gnome.org bug unless someone (i.e. you) wants to go and fix it. The reason is that we rather invest our time rebirthing dgo - see http://live.gnome.org/GnomeWeb/DeveloperGnomeOrg We will need to find a proper way to handle HIG (and GDSG? other docs?) generation in the next releases, please share your thoughts either in that wiki page or in the gnome-web-list. Thank you.