Package: ruby-gettext
Version: 3.0.3-2
Severity: normal
Tags: patch
User: [email protected]
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
diff -Nru ruby-gettext-3.0.3/debian/changelog ruby-gettext-3.0.3/debian/changelog
diff -Nru ruby-gettext-3.0.3/debian/rules ruby-gettext-3.0.3/debian/rules
--- ruby-gettext-3.0.3/debian/rules 2013-10-18 16:13:02.000000000 -0600
+++ ruby-gettext-3.0.3/debian/rules 2014-01-17 15:03:42.000000000 -0700
@@ -9,7 +9,7 @@
# avoid rebuilding samples/**/*.mo though
find samples/ -name '*.mo' -exec touch '{}' ';'
# do the usual thing
- dh_auto_install
+ LANG= LANGUAGE= LC_ALL= dh_auto_install
override_dh_installchangelogs:
dh_installchangelogs doc/text/news.md -O--buildsystem=ruby
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers