← Back to team overview

documentation-packages team mailing list archive

[Bug 1869814] Re: ubuntu-docs build failure - possible solution


So in general, syntax errors in translations just cause a warning, and
the original text is used. itstool only errors on syntax if you pass
--strict, and yelp.m4 doesn't even give you a way to pass --strict.

There's a chance this is itstool's fault. You do still have to do memory
management with libxml2's Python bindings, so stuff like double frees in
application code is possible. But since this crash happens during error
reporting for a language with many-byte UTF-8 chars, and since it
weirdly only happens with Python 3, I suspect it's this libxml2 bug:


** Bug watch added: bugzilla.gnome.org/ #789714

You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.

  ubuntu-docs build failure - possible solution

Status in itstool package in Ubuntu:
Status in libxml2 package in Ubuntu:
Status in ubuntu-docs package in Ubuntu:
  Fix Committed

Bug description:
  ubuntu-docs failed to build during the second Focal Fossa test


  It was itstool which failed to generate the localized zh_CN pages. If
  dropping zh_CN from ubuntu-help/Makefile.am, ubuntu-docs builds. But
  excluding the Chinese pages is apparently not an acceptable solution.

  The itstool package in focal {build-,}depends on python3. I built
  itstool in a PPA with python2 instead, and in that PPA ubuntu-docs
  built fine without modifications:


  So the root cause seems to lie neither in ubuntu-docs nor itstool. I
  would suspect that python3-libxml2 is buggy, but since itstool was
  built against python2 in eoan, it's hard to tell if it's a regression.

  Would building itstool against python2 be an acceptable workaround in

To manage notifications about this bug go to: