After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 116049 - HIG and GDSG autogeneration broken
HIG and GDSG autogeneration broken
Status: RESOLVED WONTFIX
Product: website
Classification: Infrastructure
Component: developer.gnome.org
current
Other Solaris
: Normal normal
: ---
Assigned To: Gregory Leblanc
Gregory Leblanc
Depends on:
Blocks:
 
 
Reported: 2003-06-26 19:23 UTC by Eugene O'Connor
Modified: 2006-09-30 21:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eugene O'Connor 2003-06-26 19:23:28 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.
Comment 1 Gregory Leblanc 2003-06-27 06:50:15 UTC
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.
Comment 2 John Fleck 2003-07-11 01:26:56 UTC
Adding myself to the cc list so I can keep track of the resolution of
this nagging problem.
Comment 3 Murray Cumming 2003-07-25 09:02:11 UTC
Calum said it has been fixed, probably as part of the www.gnome.org
redesign.
Comment 4 Eugene O'Connor 2003-07-25 14:50:50 UTC
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.
Comment 5 Gregory Leblanc 2003-07-27 06:28:07 UTC
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.'
Comment 6 Quim Gil 2006-01-06 01:16:17 UTC
What is the current status of this bug, please? Thank you.
Comment 7 Calum Benson 2006-01-18 16:38:05 UTC
HIG generation works fine ATM, but GDSG generation has been broken since Eugene filed the bug, AFAIK.
Comment 8 Quim Gil 2006-09-30 21:34:16 UTC
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.