← Back to team overview

documentation-packages team mailing list archive

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


Hmm.. I saw in the buildlog from the successful build that it skipped
the Chinese translation of a particular string. The reason proved to be
a missing '<' character, i.e. the translated string contains an instance
of '/em>' instead of '</em>'. And that's the correct behavior; it should
check the Mallard syntax and skip translations with invalid syntax.

Anyway, I added the missing '<', and then ubuntu-docs built with the
itstool version in focal.

So the direct reason for the build failure is a syntactically incorrect
translation. OTOH, translators make mistakes, and a bad translation
*should not* make the whole package build to fail.

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:

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: