On Tue, 25 Oct 2016 at 12:28:26 -0200, Joao Eriberto Mota Filho wrote:
> Your package, recently uploaded to unstable, fails to build from source in
> several architectures[1].
>
> The fail is being caused by some tests (in dh_auto_test target).
I suspect this isn't helping:
env LANG=en_US.utf8
buildds don't typically have any locales except for C and C.UTF-8. If you
want a UTF-8 locale during build, please use LC_ALL=C.UTF-8, which all
Debian systems have available.
This also looks like a non-starter:
# somethign fishy in the environment of pbuilder
# Makes test fail. They succeed fine in normal debuild(1).
echo "build environment USER: $(USER)"
if [ "$(USER)" = pbuilder ]; then \
echo "SKIP tests under pbuilder"; \
else \
dh_auto_test; \
fi
If the tests fail in pbuilder, it's fairly likely that they will fail in
sbuild (as used by the official buildds) or in any other minimal
environment.
Again, I suspect that
$ENV{'LC_ALL'} = 'en_US.UTF-8';
in test/utf16.t might be the problem. The buildd doesn't have en_US.UTF-8,
but it does have C.UTF-8.
This is likely to have to be a downstream fix (a Debian patch), because
C.UTF-8 is not universally available on non-Debian.
Regards,
S