tags 676109 + patch thanks Hi,
In Ruby 1.9, when you open a file, it is expected that the contents if in the encoding of the current locale. Since in build daemons (and in sbuild/pbuilder builds) the build happens under the C locale, Ruby assumes the US-ASCII encoding, while most of the data (and most actual user locales) is UTF-8. The attached patch makes Ruby assume UTF-8 encoding during the build, and fixes this FTBFS. -- Antonio Terceiro <terce...@debian.org>
--- zonecheck-3.0.3.orig/debian/rules 2012-06-09 20:52:22.693598934 -0300 +++ zonecheck-3.0.3/debian/rules 2012-06-09 22:36:54.721352370 -0300 @@ -5,6 +5,7 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export RUBYOPT=--encoding UTF-8 RUBY=/usr/bin/ruby build: build-stamp
signature.asc
Description: Digital signature