[Debian-handbook-translators] Translation build error (ca-ES/html nb-NO/html pt-BR/html)
Petter Reinholdtsen
pere at hungry.com
Tue Sep 27 08:40:18 BST 2022
Hi
I just did a test build of the weblate translations of the Debian
handbook, and three of the translations fail to build:
ERROR: Some languages/formats failed to build:
ca-ES/html nb-NO/html pt-BR/html
I'll fix the nb-NO one, but would love help fixing the other two. To
test this yourself, the instructions in README.maintainers can be
useful. For example you can check out the weblate commits using
git clone \
https://hosted.weblate.org/git/debian-handbook/12_advanced-administration \
debian-handbook
cd debian-handbook
git checkout bullseye/main
Next, apply the following patch to avoid building PDFs and reducing the
disk footprint during testing, and run 'bin/build-all --lang=nb-NO' or
similar for your language.
diff --git a/bin/build-all b/bin/build-all
index 4acffa2e..637c0669 100755
--- a/bin/build-all
+++ b/bin/build-all
@@ -22,9 +22,10 @@ for lang in $OPT_lang; do
if ! bin/build-html --lang=$lang; then
fail_build $lang html
fi
- if ! bin/build-epub --skip --lang=$lang; then
- fail_build $lang epub
- fi
+ publican clean
+# if ! bin/build-epub --skip --lang=$lang; then
+# fail_build $lang epub
+# fi
done
if [ -n "$failures" ]; then
--
Happy hacking
Petter Reinholdtsen
More information about the Debian-handbook-translators
mailing list