Public bug reported:

The libsvn-web-perl package is currently FTBFS in raring-proposed. This
is a sync of the Debian package libsvn-web-perl version 0.63-1.

The FTBFS consists of three test failures in t/2basic.t, all receiving
this error from svn:

  Can't convert string from 'UTF-8' to native encoding...

Here's the full build log:

https://launchpadlibrarian.net/121688829/buildlog_ubuntu-raring-i386
.libsvn-web-perl_0.63-1_FAILEDTOBUILD.txt.gz

Those tests are intentionally trying to save unicode file names, but the
buildds apparently don't have UTF-8 encoding set in the environment, so
subversion refuses to handle the UTF-8 strings. There's a partial fix
for this in the Debian package for 0.63-1, debian/rules sets an override
for dh_auto_test, setting the LC_CTYPE environment variable, with:

override_dh_auto_test:
    dh_auto_test -- LC_CTYPE=C.UTF-8

Unfortunately, this is not sufficient (perhaps it is sufficient on the
Debian buildds, but not on the Ubuntu buildds). On Ubuntu, this needs to
be changed to:

override_dh_auto_test:
    dh_auto_test -- LC_ALL=C.UTF-8

With this change, all tests pass, and the package builds successfully on
Ubuntu raring i386 and amd64. I'll also submit this fix upstream to
Debian BTS.

(I'll submit a merge proposal for raring-proposed, but I'm open minded
about whether it's worth an Ubuntu-versioned package for a one-line
change to debian/rules.)

** Affects: libsvn-web-perl (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1106378

Title:
  FTBFS: encoding issue in manual override of dh_auto_test

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsvn-web-perl/+bug/1106378/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to