Bug#1012113: FTBFS: UTF-8 support not enabled
Robert Greener
rob at robgreener.com
Mon May 30 12:17:42 BST 2022
Source: haskell-filestore
Version: 0.6.5-1
Severity: serious
Tags: ftbfs, bookworm, sid
Justification: FTBFS
haskell-filestore fails to build from source:
> Test suite test-filestore: RUNNING...
> Test suite test-filestore: FAIL
> Test suite logged to: dist-ghc/test/filestore-0.6.5-test-
> filestore.log
> 0 of 1 test suites (0 of 1 test cases) passed.
>
> Cases: 21 Tried: 0 Errors: 0 Failures: 0
> Cases: 21 Tried: 1 Errors: 0 Failures: 0
> Cases: 21 Tried: 2 Errors: 0 Failures: 0
> Cases: 21 Tried: 3 Errors: 0 Failures: 0
> Cases: 21 Tried: 4 Errors: 0 Failures: 0
>
> ### Error in: 4:Git (create resource with non-ascii name)
> git: recoverEncode: invalid argument (invalid character)
>
> Cases: 21 Tried: 5 Errors: 1 Failures: 0
>
> ### Error in: 5:Git (create resource with non-ascii subdirectory)
> git: recoverEncode: invalid argument (invalid character)
>
> Cases: 21 Tried: 6 Errors: 2 Failures: 0
> Cases: 21 Tried: 7 Errors: 2 Failures: 0
> Cases: 21 Tried: 8 Errors: 2 Failures: 0
>
> ### Failure in: 8:Git (directory)
> tests/Tests.hs:161
> result of directory on top-level
> expected: [FSFile "New resource.txt",FSFile
> "\945\946\947",FSDirectory "subdir",FSDirectory "\945"]
> but got: [FSFile "New resource.txt",FSDirectory "subdir"]
>
> Cases: 21 Tried: 9 Errors: 2 Failures: 1
> Cases: 21 Tried: 10 Errors: 2 Failures: 1
> Cases: 21 Tried: 11 Errors: 2 Failures: 1
>
> ### Error in: 11:Git (retrieve resource with non-ascii name)
> git: recoverEncode: invalid argument (invalid character)
>
> Cases: 21 Tried: 12 Errors: 3 Failures: 1
> Cases: 21 Tried: 13 Errors: 3 Failures: 1
> Cases: 21 Tried: 14 Errors: 3 Failures: 1
> Cases: 21 Tried: 15 Errors: 3 Failures: 1
> Cases: 21 Tried: 16 Errors: 3 Failures: 1
> Cases: 21 Tried: 17 Errors: 3 Failures: 1
> Cases: 21 Tried: 18 Errors: 3 Failures: 1
>
> ### Error in: 18:Git (history and revision)
> git: recoverEncode: invalid argument (invalid character)
>
> Cases: 21 Tried: 19 Errors: 4 Failures: 1
> Cases: 21 Tried: 20 Errors: 4 Failures: 1
>
> ### Error in: 20:Git (search)
> git: recoverEncode: invalid argument (invalid character)
> Cases: 21 Tried: 21 Errors: 5 Failures: 1
>
> Cases: 21 Tried: 0 Errors: 0 Failures: 0
> Cases: 21 Tried: 1 Errors: 0 Failures: 0
> Cases: 21 Tried: 2 Errors: 0 Failures: 0
> Cases: 21 Tried: 3 Errors: 0 Failures: 0
> Cases: 21 Tried: 4 Errors: 0 Failures: 0
>
> ### Error in: 4:Mercurial (create resource with non-ascii name)
> tmp/mercurialfs/test-filestore: <stderr>: hPutChar: invalid argument
> (invalid character)
> at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm
> line 107.
> Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet(
> "debian/hlibrary.setup", "test", "--builddir=dist-ghc", "--show-
> details=direct") called at
> /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line
> 131
> Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debia
> n/hlibrary.setup", "test", "--builddir=dist-ghc", "--show-
> details=direct") called at
> /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line
> 676
> Debian::Debhelper::Buildsystem::Haskell::Recipes::check_reci
> pe() called at -e line 1
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: build-ghc-stamp]
> Error 25
>
This is because the locale is not set to a UTF-8 locale.
--
Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20220530/57b07844/attachment.sig>
More information about the Pkg-haskell-maintainers
mailing list