Bug#836377: reproducible-builds: Locale C.UTF-8 not inherited by build terminal

Ben Finney bignose at debian.org
Fri Sep 2 11:53:07 UTC 2016


Package: qa.debian.org
Severity: normal

The package ‘dput’ explicitly sets the ‘LC_ALL’ environment variable
to “C.UTF-8”, and exports that value to sub-processes
<URL:https://sources.debian.net/src/dput/0.10.1/debian/rules/>.

Yet the latest reproducible-build attempt reports failure
<URL:https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/dput.html>.

Specifically, the build system does not detect a UTF-8 locale:

=====
Traceback (most recent call last):
  […]
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2009' in position 186: ordinal not in range(128)
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: python2.7 setup.py test 
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:24: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
=====

This happens only on the reproducible build server; when running on a
system that actually has a UTF-8 terminal locale, the build succeeds.

-- 
 \     “Nothing worth saying is inoffensive to everyone. Nothing worth |
  `\    saying will fail to make you enemies. And nothing worth saying |
_o__)            will not produce a confrontation.” —Johann Hari, 2011 |
Ben Finney <bignose at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160902/2856d75c/attachment.sig>


More information about the Reproducible-builds mailing list