[xml/sgml-pkgs] debmake-doc: Unreleased 1.15 FTBFS, needs triage

Boyuan Yang byang at debian.org
Wed Jun 24 03:10:30 BST 2020

Source: debmake-doc
Version: 1.14-1
Severity: important
X-Debbugs-CC: debian at helgefjell.de itstool at packages.debian.org

Hi all,

Currently the debmake-doc documentation fails to build from source due
to an exception when invoking itstool. The detailed exception looks
like this:

itstool -i xslt/docbook.its -m po/de.mo -o po/de/ debmake-doc.en.x02

Traceback (most recent call last):
  File "/usr/bin/itstool", line 1614, in <module>
    doc.merge_translations(translations, opts.lang, strict=opts.strict)
  File "/usr/bin/itstool", line 1000, in merge_translations
    lcpar = lcpar.parent
  File "/usr/lib/python3/dist-packages/libxml2.py", line 296, in
    return nodeWrap(ret)
  File "/usr/lib/python3/dist-packages/libxml2.py", line 580, in
    if name[0:8] == "document":
TypeError: 'NoneType' object is not subscriptable

In this case, I'm really not sure whether this is a bug in itstool or
libxml2. Any help would be highly appreciated.

I have prepared a tarball that contains the source files that can
reproduce this issue. If you cannot use the attachment, please consider
getting a source copy at 
https://salsa.debian.org/debian/debmake-doc/-/tree/devel and build this
package to reproduce this issue (-j1 is recommended). Thanks!

Boyuan Yang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itstool_bug.tar.xz
Type: application/x-xz-compressed-tar
Size: 116204 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-xml-sgml-pkgs/attachments/20200624/12f05b87/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 858 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-xml-sgml-pkgs/attachments/20200624/12f05b87/attachment.sig>

More information about the debian-xml-sgml-pkgs mailing list