Opened 7 years ago

Last modified 7 years ago

#9660 closed defect

gtk-doc-1.26 does not play well with glib and other packages — at Version 1

Reported by: Wayne Blaszczyk Owned by: blfs-book@…
Priority: normal Milestone: 8.1
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description (last modified by Wayne Blaszczyk)

After installing gtk-doc-1.26 (on a clean build), I'm having issues building glib and other packages with --enable-gtk-doc parameter.

make[4]: Entering directory '/opt/sources/glib-2.52.3/docs/reference/glib'
  DOC   Building HTML

          In gtk-doc.xsl: For acronym (shadows) no value found!
        
  DOC   Fixing cross-references
Traceback (most recent call last):
  File "/usr/bin/gtkdoc-fixxref", line 57, in <module>
    fixxref.Run(options)
  File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 114, in Run
    FixCrossReferences(options)
  File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 217, in FixCrossReferences
    FixHTMLFile(options, full_entry)
  File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 236, in FixHTMLFile
    repl_func, content, flags=re.DOTALL)
  File "/usr/lib/python2.7/re.py", line 155, in sub
    return _compile(pattern, flags).sub(repl, string, count)
  File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 233, in repl_func
    return HighlightSourceVim(options, m.group(1), m.group(2))
  File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 382, in HighlightSourceVim
    subprocess.check_call([script], shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '["echo 'let html_number_lines=0|let html_use_css=1|let html_use_xhtml=1|e /tmp/tmpeyNfCq.h|syn on|set syntax=c|run! syntax/2html.vim|w! /tmp/tmpeyNfCq.h.html|qa!' | /usr/bin/vim -n -e -u NONE -T xterm >/dev/null"]' returned non-zero exit status 1
make[4]: *** [Makefile:946: html-build.stamp] Error 1
make[4]: Leaving directory '/opt/sources/glib-2.52.3/docs/reference/glib'
make[3]: *** [Makefile:487: all-recursive] Error 1
make[3]: Leaving directory '/opt/sources/glib-2.52.3/docs/reference'
make[2]: *** [Makefile:487: all-recursive] Error 1
make[2]: Leaving directory '/opt/sources/glib-2.52.3/docs'
make[1]: *** [Makefile:1239: all-recursive] Error 1
make[1]: Leaving directory '/opt/sources/glib-2.52.3'
make: *** [Makefile:860: all] Error 2

Building libtasn1 has the following error:

make[3]: Entering directory '/opt/sources/libtasn1-4.12/doc/reference'
  DOC   Rebuilding template files
make[3]: gtkdoc-mktmpl: Command not found
make[3]: *** [Makefile:1240: tmpl-build.stamp] Error 127
make[3]: Leaving directory '/opt/sources/libtasn1-4.12/doc/reference'
make[2]: *** [Makefile:1346: all-recursive] Error 1
make[2]: Leaving directory '/opt/sources/libtasn1-4.12/doc'
make[1]: *** [Makefile:1024: all-recursive] Error 1
make[1]: Leaving directory '/opt/sources/libtasn1-4.12'
make: *** [Makefile:956: all] Error 2

gtkdoc-mktmpl is not installed during gtk-doc build.

Change History (1)

comment:1 by Wayne Blaszczyk, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.