[DRE-maint] Bug#735848: ruby-gettext: testsuite fails in the face of bogus/odd locales

Adam Conrad adconrad at debian.org
Fri Jan 17 22:15:25 UTC 2014


Package: ruby-gettext
Version: 3.0.3-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch



In Ubuntu, the attached patch was applied to achieve the following:

  * Unset LANG, LANGUAGE, and LC_ALL before running the testsuite.

This could use a bit of explanation.  On the Ubuntu buildds, we don't
currently unset all the same LANG/LC bits that the Debian buildds do,
which is itself a bug, and we're rolling out a fix for that soon.  That
said, I still consider it somewhat buggy when a package's testsuite is
too sensitive to the local environment, so I'd suggest this patch be
applied to cope with the idea that someone might build your package in
a suboptimal setup.

For the record, to reproduce the testsuite failures we were seeing, a
build done under "LANG=C LANGUAGE=en_GB: LC_ALL=C" would do the trick,
which was the broken env we had due to a sysadmin's LANGUAGE leaking
through.

... Adam


-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-2-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-gettext_3.0.3-2ubuntu2.debdiff
Type: text/x-diff
Size: 588 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20140117/b9b5be81/attachment.diff>


More information about the Pkg-ruby-extras-maintainers mailing list