Package: libapache2-mod-perl2 Version: 2.0.9-1 User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs locales X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
This package fails to build from source with LC_ALL=fr_CH.UTF-8 due to test failures in t/apache/util.t. I see we already set LANG=C in override_dh_auto_test, so the fix is probably just s/LANG/LC_ALL/ as the latter overrides the former. Found by the reproducible builds test setup, see https://reproducible.debian.net/logs/unstable/amd64/libapache2-mod-perl2_2.0.9-1.build2.log.gz t/apache/util.t ......................... 1..8 # Running under perl version 5.020002 for linux # Current time local: Sun Aug 16 12:51:11 2015 # Current time GMT: Sun Aug 16 12:51:11 2015 # Using Test.pm version 1.26 # Using Apache/Test.pm version 1.39 # testing : Apache2::Util::ht_time($pool) # expected: qr/^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d/l # received: 'dim, 16 aoû 2015 12:51:32 GMT' not ok 1 # testing : Apache2::Util::ht_time($pool, $time) # expected: qr/^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d/l # received: 'dim, 16 aoû 2015 12:51:32 GMT' not ok 2 # testing : Apache2::Util::ht_time($pool, $time, $fmt) # expected: qr/^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d/l # received: 'dim, 16 aoû 2015 12:51:32 GMT' not ok 3 # testing : Apache2::Util::ht_time($pool, $time, $fmt, $gmt) # expected: qr/^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d/l # received: 'dim, 16 aoû 2015 12:51:32 UTC' not ok 4 # testing : Apache2::Util::escape_path / partial=1 / default # expected: 'a%20\'long\'%20file%3f.html' # received: 'a%20\'long\'%20file%3f.html' ok 5 # testing : Apache2::Util::escape_path / partial=1 / explicit # expected: 'a%20\'long\'%20file%3f.html' # received: 'a%20\'long\'%20file%3f.html' ok 6 # testing : Apache2::Util::escape_path / partial=0 # expected: 'a%20\'long\'%20file%3f.html' # received: 'a%20\'long\'%20file%3f.html' ok 7 # testing : Apache2::Util::escape_path / partial=0 / ./ prefix # expected: './a%20\'long\'%20file%3f.html:' # received: './a%20\'long\'%20file%3f.html:' ok 8 Failed 4/8 subtests -- Niko Tyni nt...@debian.org