]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/package_build_fails_in_non-English_environment.mdwn
web commit by http://smcv.pseudorandom.co.uk/: I think I know what's wrong here too
[git.ikiwiki.info.git] / doc / bugs / package_build_fails_in_non-English_environment.mdwn
index 1e5c72fd80cc6fcbc0ddbc615ad6bc1167ef0453..fbe76538f73377eb53d21fde16145b288e8dc5f0 100644 (file)
@@ -1,3 +1,11 @@
-basewiki_brokenlinks.t fails when running dpkg-buildpackage in non-English environment : it greps for an (non-)error message that is i18n'd.
+basewiki_brokenlinks.t fails when running dpkg-buildpackage in non-English environment : it greps for an (non-)error message that is i18n'd. This of course does not happen when building in a proper chroot environment... which happens to fail as well, for other reasons, but this will be for another bug.
 
 The `LANG=` on line 9 does not seem to do what it's supposed to, go figure.
+
+I've never had to understand the Unix locales, so I randomly tried to replace `LANG=` in basewiki_brokenlinks.t with :
+
+- `LANG=C` : fails
+- `LANGUAGE=` : fails
+- `LANGUAGE=C` : works!
+
+> For maximum precedence it should have been LC_ALL=C. Patch coming soon to http://git.debian.org/?p=users/smcv/ikiwiki.git --[[smcv]]