← Back to team overview

documentation-packages team mailing list archive

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


Thanks Sebastien!

Or https://gitlab.gnome.org/GNOME/libxml2/issues/64 (which is not yet

@Boyuan: Well, it does scream loudly in the sense that the build fails.

I wouldn't blame the build system in this case. It has worked in a
sensible and robust way for many years. The segfault issue only happens
with python3-libxml2, not with python-libxml2. And I have the impression
(not yet confirmed) that the segfault only happens for XML syntax errors
in Chinese translations; for similar errors in non-Chinese translations
it only prints a warning and moves on (which is the desired behavior).

** Bug watch added: gitlab.gnome.org/GNOME/libxml2/issues #64

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: