Bug#1012112: FTBFS: <stdout>: commitBuffer: invalid argument (invalid character)

Robert Greener rob at robgreener.com
Mon May 30 12:15:49 BST 2022


Source: haskell-hslua
Version: 1.0.3.2-1
Severity: serious
Tags: ftbfs, experimental
Justification: FTBFS

haskell-hslua fails to build from source:

> Non-zero exit code 1.
> /usr/bin/ghc --abi-hash -fbuilding-cabal-package -O -outputdir dist-
> ghc/build -odir dist-ghc/build -hidir dist-ghc/build -stubdir dist-
> ghc/build -i -idist-ghc/build -isrc -idist-ghc/build/autogen -idist-
> ghc/build/global-autogen -Idist-ghc/build/autogen -Idist-
> ghc/build/global-autogen -Idist-ghc/build -Icbits/error-conversion -
> Icbits/lua-5.3.5 -Idist-ghc/build/cbits/error-conversion -Idist-
> ghc/build/cbits/lua-5.3.5 -optP-DALLOW_UNSAFE_GC -optP-include -
> optPdist-ghc/build/autogen/cabal_macros.h -this-unit-id hslua-
> 1.0.3.2-1rNAq5opTyE8C0t4pf60eS -hide-all-packages -Wmissing-home-
> modules -no-user-package-db -XHaskell2010 -XCApiFFI -
> XForeignFunctionInterface -XLambdaCase Foreign.Lua Foreign.Lua.Core
> Foreign.Lua.Core.Constants Foreign.Lua.Core.Error
> Foreign.Lua.Core.RawBindings Foreign.Lua.Core.Types
> Foreign.Lua.FunctionCalling Foreign.Lua.Module Foreign.Lua.Types
> Foreign.Lua.Types.Peekable Foreign.Lua.Types.Pushable
> Foreign.Lua.Userdata Foreign.Lua.Util -Wall -optl-Wl,-z,relro
> name:                 hslua
> version:              1.0.3.2
> visibility:           public
> id:                   hslua-1.0.3.2-1rNAq5opTyE8C0t4pf60eS
> key:                  hslua-1.0.3.2-1rNAq5opTyE8C0t4pf60eS
> license:              MIT
> copyright:
>     <stdout>: commitBuffer: invalid argument (invalid character)
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:172: install/libghc-
> hslua-dev] 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/d6928a08/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list