Opened 7 years ago

Closed 7 years ago

#9894 closed defect (fixed)

Fix gtk-doc

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 8.2
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

With gtk-doc-1.26, I get the following error after installing all dependencies (including 'six' which was in Runtime)

gtk-doc was configured with the following options:
==================================================
configure:    PDF support disabled, no dblatex or fop available
configure: ** Syntax highlighting of examples enabled, using /usr/bin/highlight
configure:    Skipping regression tests
configure:    Debug tracing disabled
configure: ** Documentation enabled
Making all in cmake
make[1]: Entering directory '/sources/gtk-doc-1.26/gtk-doc-1.26/cmake'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/sources/gtk-doc-1.26/gtk-doc-1.26/cmake'
Making all in help
make[1]: Entering directory '/sources/gtk-doc-1.26/gtk-doc-1.26/help'
Making all in manual
make[2]: Entering directory '/sources/gtk-doc-1.26/gtk-doc-1.26/help/manual'
  GEN      bn_IN/bn_IN.mo
  GEN    bn_IN/
  GEN      cs/cs.mo
  GEN    cs/
Error: Could not merge translations:
'NoneType' object has no attribute '__getitem__'
make[2]: *** [Makefile:523: cs/cs.stamp] Error 1
make[2]: Leaving directory '/sources/gtk-doc-1.26/gtk-doc-1.26/help/manual'
make[1]: *** [Makefile:370: all-recursive] Error 1
make[1]: Leaving directory '/sources/gtk-doc-1.26/gtk-doc-1.26/help'
make: *** [Makefile:733: all-recursive] Error 1
4.6 Elasped Time - gtk-doc-1.26
renodr [ /sources ]$

Creating this ticket to remind me to fix it.

Change History (5)

comment:1 by Douglas R. Reno, 7 years ago

Owner: changed from blfs-book@… to Douglas R. Reno
Status: newassigned

comment:2 by Armin K, 7 years ago

This is an issue in itstool, not gtk-doc, it seems.

in reply to:  2 comment:3 by bdubbs@…, 7 years ago

Replying to Krejzi:

This is an issue in itstool, not gtk-doc, it seems.

Yes, with itstool-2.0.4, I get:

/bin/sh: line 4:  3886 Segmentation fault itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/fdl-appendix.xml

Don't know if it is a problem with itstool or fdl-appendix.xml. In any case, it shouldn't seg fault on bad input, but produce an error.

Reverting to itstool-2.0.2 fixes the gtkdoc build problem for me.

comment:4 by Armin K, 7 years ago

It's a problem in 2.0.4 to be specific. The patch which was supposed to fix the perf issue I was talking about in other bug introduced this. Arch maintainer commented on the bug and said something similar happens when building rhythmbox.

Last edited 7 years ago by Armin K (previous) (diff)

comment:5 by Armin K, 7 years ago

Resolution: fixed
Status: assignedclosed

Should be fixed with patch added by Dj in r19378

Note: See TracTickets for help on using tickets.