documentation-packages team mailing list archive
-
documentation-packages team
-
Mailing list archive
-
Message #03098
[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:
https://bugzilla.gnome.org/show_bug.cgi?id=789714
** Bug watch added: bugzilla.gnome.org/ #789714
https://bugzilla.gnome.org/show_bug.cgi?id=789714
--
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.
https://bugs.launchpad.net/bugs/1869814
Title:
ubuntu-docs build failure - possible solution
Status in itstool package in Ubuntu:
Invalid
Status in libxml2 package in Ubuntu:
New
Status in ubuntu-docs package in Ubuntu:
Fix Committed
Bug description:
ubuntu-docs failed to build during the second Focal Fossa test
rebuild:
https://launchpad.net/ubuntu/+archive/test-
rebuild-20200327-focal/+build/18982738
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:
https://launchpad.net/~gunnarhj/+archive/ubuntu/ubuntu-docs/+packages
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
focal?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/itstool/+bug/1869814/+subscriptions
References