Bug#1054869: elm-compiler: FTBFS: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25
Lucas Nussbaum
lucas at debian.org
Fri Oct 27 20:49:51 BST 2023
Source: elm-compiler
Version: 0.19.1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> test -x debian/rules
> mkdir -p "."
> CDBS WARNING: DEB_DH_STRIP_ARGS is deprecated since 0.4.85
> CDBS WARNING: DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85
> rm -f /<<PKGBUILDDIR>>/debian/elm-home/0.19.1/packages
> mkdir -p /<<PKGBUILDDIR>>/debian/elm-home/0.19.1
> ln -sf /<<PKGBUILDDIR>>/packages /<<PKGBUILDDIR>>/debian/elm-home/0.19.1/packages
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> -E 'make_setup_recipe'
> Running ghc --make /usr/share/haskell-devscripts/Setup-Simple.hs -o debian/hlibrary.setup -outputdir debian/tmp-setup-hs
> [1 of 2] Compiling Main ( /usr/share/haskell-devscripts/Setup-Simple.hs, debian/tmp-setup-hs/Main.o )
> [2 of 2] Linking debian/hlibrary.setup
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> -E 'configure_recipe'
> Running find . ! -newer /tmp/z4HYrcZ9u4 -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> elm-compiler
> Running dh_listpackages
> elm-compiler
> Running dpkg-buildflags --get LDFLAGS
> -Wl,-z,relro
> Running debian/hlibrary.setup configure --ghc -v2 --package-db=/var/lib/ghc/package.conf.d --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib --libexecdir=/usr/lib --builddir=dist-ghc --ghc-option=-optl-Wl,-z,relro --haddockdir=/usr/lib/ghc-doc/haddock/elm-0.19.1/ --datasubdir=elm --htmldir=/usr/share/doc/libghc-elm-doc/html/
> Using Parsec parser
> Configuring elm-0.19.1...
> Flags chosen: dev=False
> Dependency HTTP >=4000.2.5: using HTTP-4000.4.1
> Dependency SHA: using SHA-1.6.4.4
> Dependency ansi-terminal >=0.8: using ansi-terminal-0.11.5
> Dependency ansi-wl-pprint >=0.6.8: using ansi-wl-pprint-0.6.9
> Dependency base >=4.11: using base-4.17.2.0
> Dependency binary >=0.8: using binary-0.8.9.1
> Dependency bytestring >=0.9: using bytestring-0.11.5.2
> Dependency containers >=0.5.8.2: using containers-0.6.7
> Dependency directory >=1.2.3.0: using directory-1.3.7.1
> Dependency edit-distance >=0.2: using edit-distance-0.2.2.1
> Dependency file-embed: using file-embed-0.0.15.0
> Dependency filelock: using filelock-0.1.1.7
> Dependency filepath >=1: using filepath-1.4.2.2
> Dependency ghc-prim >=0.5.2: using ghc-prim-0.9.1
> Dependency haskeline: using haskeline-0.8.2
> Dependency http-client >=0.6: using http-client-0.7.14
> Dependency http-client-tls >=0.3: using http-client-tls-0.3.6.1
> Dependency http-types >=0.12: using http-types-0.12.3
> Dependency language-glsl >=0.3: using language-glsl-0.3.0
> Dependency mtl >=2.2.1: using mtl-2.2.2
> Dependency network >=2.4: using network-3.1.4.0
> Dependency parsec: using parsec-3.1.16.1
> Dependency process: using process-1.6.17.0
> Dependency raw-strings-qq: using raw-strings-qq-1.1
> Dependency scientific: using scientific-0.3.7.0
> Dependency snap-core: using snap-core-1.0.5.1
> Dependency snap-server: using snap-server-1.1.2.1
> Dependency template-haskell: using template-haskell-2.19.0.0
> Dependency time >=1.9.1: using time-1.12.2
> Dependency unordered-containers: using unordered-containers-0.2.19.1
> Dependency utf8-string: using utf8-string-1.0.2
> Dependency vector: using vector-0.13.1.0
> Dependency zip-archive: using zip-archive-0.4.3
> Source component graph: component exe:elm
> Configured component graph:
> component elm-0.19.1-CGk2y4HkGWpG67s7PZCJov-elm
> include HTTP-4000.4.1-9cAqPqiyRv5AXua6mmlBpY
> include SHA-1.6.4.4-D5IWrYyBuZm6w0YntFMafh
> include ansi-terminal-0.11.5-69CZC4XdNryJo9zHbgfvJ3
> include ansi-wl-pprint-0.6.9-Akll4C7DaaL4wD8pj4jz8a
> include base-4.17.2.0
> include binary-0.8.9.1
> include bytestring-0.11.5.2
> include containers-0.6.7
> include directory-1.3.7.1
> include edit-distance-0.2.2.1-9q7Cuucs89oKtYlcTE49iB
> include file-embed-0.0.15.0-nKR9MgocPdGIB9bpi1oiT
> include filelock-0.1.1.7-IBM3DYSFRrnLKc2RyczfCG
> include filepath-1.4.2.2
> include ghc-prim-0.9.1
> include haskeline-0.8.2
> include http-client-0.7.14-CSLgFyXjfrG1g6JsBLkVLh
> include http-client-tls-0.3.6.1-AXHUCkjAyUoDcnYlO0hPEg
> include http-types-0.12.3-CCPS1VVMu82KSVvKxDEY3G
> include language-glsl-0.3.0-IucWZ0yicMcI4D5VoPkwYG
> include mtl-2.2.2
> include network-3.1.4.0-FVhg5M70MvrGyjLWnK4Zpm
> include parsec-3.1.16.1
> include process-1.6.17.0
> include raw-strings-qq-1.1-KjQH41ROOLTH46C94lVigK
> include scientific-0.3.7.0-LXFgQdY5A8B7y0y38r2Jot
> include snap-core-1.0.5.1-74fDDttTiSk6eEgxTXrbu5
> include snap-server-1.1.2.1-Gf12dgb10ww1nMmKaJECs1
> include template-haskell-2.19.0.0
> include time-1.12.2
> include unordered-containers-0.2.19.1-1JM5FbIisAWD3XLC1Hup6J
> include utf8-string-1.0.2-KqazO8nUWrDMJ2shK7HoQ
> include vector-0.13.1.0-E4LTjcK991m18cbKZhUjhX
> include zip-archive-0.4.3-EZX0KTdQbQUJPDpQDU605z
> Linked component graph:
> unit elm-0.19.1-CGk2y4HkGWpG67s7PZCJov-elm
> include HTTP-4000.4.1-9cAqPqiyRv5AXua6mmlBpY
> include SHA-1.6.4.4-D5IWrYyBuZm6w0YntFMafh
> include ansi-terminal-0.11.5-69CZC4XdNryJo9zHbgfvJ3
> include ansi-wl-pprint-0.6.9-Akll4C7DaaL4wD8pj4jz8a
> include base-4.17.2.0
> include binary-0.8.9.1
> include bytestring-0.11.5.2
> include containers-0.6.7
> include directory-1.3.7.1
> include edit-distance-0.2.2.1-9q7Cuucs89oKtYlcTE49iB
> include file-embed-0.0.15.0-nKR9MgocPdGIB9bpi1oiT
> include filelock-0.1.1.7-IBM3DYSFRrnLKc2RyczfCG
> include filepath-1.4.2.2
> include ghc-prim-0.9.1
> include haskeline-0.8.2
> include http-client-0.7.14-CSLgFyXjfrG1g6JsBLkVLh
> include http-client-tls-0.3.6.1-AXHUCkjAyUoDcnYlO0hPEg
> include http-types-0.12.3-CCPS1VVMu82KSVvKxDEY3G
> include language-glsl-0.3.0-IucWZ0yicMcI4D5VoPkwYG
> include mtl-2.2.2
> include network-3.1.4.0-FVhg5M70MvrGyjLWnK4Zpm
> include parsec-3.1.16.1
> include process-1.6.17.0
> include raw-strings-qq-1.1-KjQH41ROOLTH46C94lVigK
> include scientific-0.3.7.0-LXFgQdY5A8B7y0y38r2Jot
> include snap-core-1.0.5.1-74fDDttTiSk6eEgxTXrbu5
> include snap-server-1.1.2.1-Gf12dgb10ww1nMmKaJECs1
> include template-haskell-2.19.0.0
> include time-1.12.2
> include unordered-containers-0.2.19.1-1JM5FbIisAWD3XLC1Hup6J
> include utf8-string-1.0.2-KqazO8nUWrDMJ2shK7HoQ
> include vector-0.13.1.0-E4LTjcK991m18cbKZhUjhX
> include zip-archive-0.4.3-EZX0KTdQbQUJPDpQDU605z
> Ready component graph:
> definite elm-0.19.1-CGk2y4HkGWpG67s7PZCJov-elm
> depends HTTP-4000.4.1-9cAqPqiyRv5AXua6mmlBpY
> depends SHA-1.6.4.4-D5IWrYyBuZm6w0YntFMafh
> depends ansi-terminal-0.11.5-69CZC4XdNryJo9zHbgfvJ3
> depends ansi-wl-pprint-0.6.9-Akll4C7DaaL4wD8pj4jz8a
> depends base-4.17.2.0
> depends binary-0.8.9.1
> depends bytestring-0.11.5.2
> depends containers-0.6.7
> depends directory-1.3.7.1
> depends edit-distance-0.2.2.1-9q7Cuucs89oKtYlcTE49iB
> depends file-embed-0.0.15.0-nKR9MgocPdGIB9bpi1oiT
> depends filelock-0.1.1.7-IBM3DYSFRrnLKc2RyczfCG
> depends filepath-1.4.2.2
> depends ghc-prim-0.9.1
> depends haskeline-0.8.2
> depends http-client-0.7.14-CSLgFyXjfrG1g6JsBLkVLh
> depends http-client-tls-0.3.6.1-AXHUCkjAyUoDcnYlO0hPEg
> depends http-types-0.12.3-CCPS1VVMu82KSVvKxDEY3G
> depends language-glsl-0.3.0-IucWZ0yicMcI4D5VoPkwYG
> depends mtl-2.2.2
> depends network-3.1.4.0-FVhg5M70MvrGyjLWnK4Zpm
> depends parsec-3.1.16.1
> depends process-1.6.17.0
> depends raw-strings-qq-1.1-KjQH41ROOLTH46C94lVigK
> depends scientific-0.3.7.0-LXFgQdY5A8B7y0y38r2Jot
> depends snap-core-1.0.5.1-74fDDttTiSk6eEgxTXrbu5
> depends snap-server-1.1.2.1-Gf12dgb10ww1nMmKaJECs1
> depends template-haskell-2.19.0.0
> depends time-1.12.2
> depends unordered-containers-0.2.19.1-1JM5FbIisAWD3XLC1Hup6J
> depends utf8-string-1.0.2-KqazO8nUWrDMJ2shK7HoQ
> depends vector-0.13.1.0-E4LTjcK991m18cbKZhUjhX
> depends zip-archive-0.4.3-EZX0KTdQbQUJPDpQDU605z
> Using Cabal-3.8.1.0 compiled by ghc-9.4
> Using compiler: ghc-9.4.7
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.4.7/elm-0.19.1
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.4.7
> Private executables installed in: /usr/lib/x86_64-linux-ghc-9.4.7/elm-0.19.1
> Data files installed in: /usr/share/elm
> Documentation installed in: /usr/share/doc/x86_64-linux-ghc-9.4.7/elm-0.19.1
> Configuration files installed in: /usr/etc
> No alex found
> Using ar found on system at: /usr/bin/x86_64-linux-gnu-ar
> No c2hs found
> No cpphs found
> No doctest found
> Using gcc version 13 found on system at: /usr/bin/x86_64-linux-gnu-gcc
> Using ghc version 9.4.7 found on system at: /usr/bin/ghc
> Using ghc-pkg version 9.4.7 found on system at: /usr/bin/ghc-pkg-9.4.7
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.27.0 found on system at: /usr/bin/haddock-ghc-9.4.7
> No happy found
> Using haskell-suite found on system at: haskell-suite-dummy-location
> Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
> No hmake found
> Using hpc version 0.68 found on system at: /usr/bin/hpc-ghc-9.4.7
> Using hsc2hs version 0.68.8 found on system at: /usr/bin/hsc2hs-ghc-9.4.7
> No hscolour found
> No jhc found
> Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld.gold
> No pkg-config found
> Using runghc version 9.4.7 found on system at: /usr/bin/runghc-9.4.7
> Using strip version 2.41 found on system at: /usr/bin/strip
> Using tar found on system at: /bin/tar
> No uhc found
> touch configure-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> -E 'build_recipe'
> Running dh_listpackages
> elm-compiler
> Preprocessing executable 'elm' for elm-0.19.1..
> Building executable 'elm' for elm-0.19.1..
> [ 1 of 132] Compiling AST.Utils.Binop ( compiler/src/AST/Utils/Binop.hs, dist-ghc/build/elm/elm-tmp/AST/Utils/Binop.o, dist-ghc/build/elm/elm-tmp/AST/Utils/Binop.dyn_o )
> [ 2 of 132] Compiling Data.Bag ( compiler/src/Data/Bag.hs, dist-ghc/build/elm/elm-tmp/Data/Bag.o, dist-ghc/build/elm/elm-tmp/Data/Bag.dyn_o )
> [ 3 of 132] Compiling Data.Index ( compiler/src/Data/Index.hs, dist-ghc/build/elm/elm-tmp/Data/Index.o, dist-ghc/build/elm/elm-tmp/Data/Index.dyn_o )
> [ 4 of 132] Compiling Data.Map.Utils ( compiler/src/Data/Map/Utils.hs, dist-ghc/build/elm/elm-tmp/Data/Map/Utils.o, dist-ghc/build/elm/elm-tmp/Data/Map/Utils.dyn_o )
> [ 5 of 132] Compiling Data.NonEmptyList ( compiler/src/Data/NonEmptyList.hs, dist-ghc/build/elm/elm-tmp/Data/NonEmptyList.o, dist-ghc/build/elm/elm-tmp/Data/NonEmptyList.dyn_o )
> [ 6 of 132] Compiling Data.OneOrMore ( compiler/src/Data/OneOrMore.hs, dist-ghc/build/elm/elm-tmp/Data/OneOrMore.o, dist-ghc/build/elm/elm-tmp/Data/OneOrMore.dyn_o )
> [ 7 of 132] Compiling Elm.Magnitude ( compiler/src/Elm/Magnitude.hs, dist-ghc/build/elm/elm-tmp/Elm/Magnitude.o, dist-ghc/build/elm/elm-tmp/Elm/Magnitude.dyn_o )
> [ 8 of 132] Compiling File ( builder/src/File.hs, dist-ghc/build/elm/elm-tmp/File.o, dist-ghc/build/elm/elm-tmp/File.dyn_o )
> [ 9 of 132] Compiling BackgroundWriter ( builder/src/BackgroundWriter.hs, dist-ghc/build/elm/elm-tmp/BackgroundWriter.o, dist-ghc/build/elm/elm-tmp/BackgroundWriter.dyn_o )
> [ 10 of 132] Compiling Generate.JavaScript.Functions ( compiler/src/Generate/JavaScript/Functions.hs, dist-ghc/build/elm/elm-tmp/Generate/JavaScript/Functions.o, dist-ghc/build/elm/elm-tmp/Generate/JavaScript/Functions.dyn_o )
> [ 11 of 132] Compiling Paths_elm ( dist-ghc/build/elm/autogen/Paths_elm.hs, dist-ghc/build/elm/elm-tmp/Paths_elm.o, dist-ghc/build/elm/elm-tmp/Paths_elm.dyn_o )
> [ 12 of 132] Compiling Reporting.Annotation ( compiler/src/Reporting/Annotation.hs, dist-ghc/build/elm/elm-tmp/Reporting/Annotation.o, dist-ghc/build/elm/elm-tmp/Reporting/Annotation.dyn_o )
> [ 13 of 132] Compiling Parse.Primitives ( compiler/src/Parse/Primitives.hs, dist-ghc/build/elm/elm-tmp/Parse/Primitives.o, dist-ghc/build/elm/elm-tmp/Parse/Primitives.dyn_o )
>
> compiler/src/Parse/Primitives.hs:85:3: warning: [-Wnoncanonical-monad-instances]
> Noncanonical ‘pure = return’ definition detected
> in the instance declaration for ‘Applicative (Parser x)’.
> Move definition from ‘return’ to ‘pure’
> See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
> |
> 85 | pure = return
> | ^^^^^^^^^^^^^
>
> compiler/src/Parse/Primitives.hs:181:3: warning: [-Wnoncanonical-monad-instances]
> Noncanonical ‘return’ definition detected
> in the instance declaration for ‘Monad (Parser x)’.
> ‘return’ will eventually be removed in favour of ‘pure’
> Either remove definition for ‘return’ (recommended) or define as ‘return = pure’
> See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return
> |
> 181 | return value =
> | ^^^^^^^^^^^^^^...
> [ 14 of 132] Compiling Data.Utf8 ( compiler/src/Data/Utf8.hs, dist-ghc/build/elm/elm-tmp/Data/Utf8.o, dist-ghc/build/elm/elm-tmp/Data/Utf8.dyn_o )
>
> compiler/src/Data/Utf8.hs:109:16: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘containsHelp’, namely ‘word#’
> In the expression: containsHelp word# ba# 0# (sizeofByteArray# ba#)
> In an equation for ‘contains’:
> contains (W8# word#) (Utf8 ba#)
> = containsHelp word# ba# 0# (sizeofByteArray# ba#)
> |
> 109 | containsHelp word# ba# 0# (sizeofByteArray# ba#)
> | ^^^^^
>
> compiler/src/Data/Utf8.hs:115:32: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the second argument of ‘eqWord#’, namely
> ‘(indexWord8Array# ba# offset#)’
> In the first argument of ‘isTrue#’, namely
> ‘(eqWord# word# (indexWord8Array# ba# offset#))’
> In the expression:
> isTrue# (eqWord# word# (indexWord8Array# ba# offset#))
> |
> 115 | if isTrue# (eqWord# word# (indexWord8Array# ba# offset#))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> compiler/src/Data/Utf8.hs:150:28: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘ltWord#’, namely ‘w#’
> In the first argument of ‘isTrue#’, namely ‘(ltWord# w# 0xC0##)’
> In the expression: isTrue# (ltWord# w# 0xC0##)
> |
> 150 | | isTrue# (ltWord# w# 0xC0##) = C# (chr# (word2Int# w#))
> | ^^
>
> compiler/src/Data/Utf8.hs:150:61: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘word2Int#’, namely ‘w#’
> In the first argument of ‘chr#’, namely ‘(word2Int# w#)’
> In the first argument of ‘C#’, namely ‘(chr# (word2Int# w#))’
> |
> 150 | | isTrue# (ltWord# w# 0xC0##) = C# (chr# (word2Int# w#))
> | ^^
>
> compiler/src/Data/Utf8.hs:151:28: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘ltWord#’, namely ‘w#’
> In the first argument of ‘isTrue#’, namely ‘(ltWord# w# 0xE0##)’
> In the expression: isTrue# (ltWord# w# 0xE0##)
> |
> 151 | | isTrue# (ltWord# w# 0xE0##) = chr2 ba# 0# w#
> | ^^
>
> compiler/src/Data/Utf8.hs:151:53: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the third argument of ‘chr2’, namely ‘w#’
> In the expression: chr2 ba# 0# w#
> In an equation for ‘char’:
> !char
> | isTrue# (ltWord# w# 0xC0##) = C# (chr# (word2Int# w#))
> | isTrue# (ltWord# w# 0xE0##) = chr2 ba# 0# w#
> | isTrue# (ltWord# w# 0xF0##) = chr3 ba# 0# w#
> | True = chr4 ba# 0# w#
> |
> 151 | | isTrue# (ltWord# w# 0xE0##) = chr2 ba# 0# w#
> | ^^
>
> compiler/src/Data/Utf8.hs:152:28: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘ltWord#’, namely ‘w#’
> In the first argument of ‘isTrue#’, namely ‘(ltWord# w# 0xF0##)’
> In the expression: isTrue# (ltWord# w# 0xF0##)
> |
> 152 | | isTrue# (ltWord# w# 0xF0##) = chr3 ba# 0# w#
> | ^^
>
> compiler/src/Data/Utf8.hs:152:53: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the third argument of ‘chr3’, namely ‘w#’
> In the expression: chr3 ba# 0# w#
> In an equation for ‘char’:
> !char
> | isTrue# (ltWord# w# 0xC0##) = C# (chr# (word2Int# w#))
> | isTrue# (ltWord# w# 0xE0##) = chr2 ba# 0# w#
> | isTrue# (ltWord# w# 0xF0##) = chr3 ba# 0# w#
> | True = chr4 ba# 0# w#
> |
> 152 | | isTrue# (ltWord# w# 0xF0##) = chr3 ba# 0# w#
> | ^^
>
> compiler/src/Data/Utf8.hs:153:53: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the third argument of ‘chr4’, namely ‘w#’
> In the expression: chr4 ba# 0# w#
> In an equation for ‘char’:
> !char
> | isTrue# (ltWord# w# 0xC0##) = C# (chr# (word2Int# w#))
> | isTrue# (ltWord# w# 0xE0##) = chr2 ba# 0# w#
> | isTrue# (ltWord# w# 0xF0##) = chr3 ba# 0# w#
> | True = chr4 ba# 0# w#
> |
> 153 | | True = chr4 ba# 0# w#
> | ^^
>
> compiler/src/Data/Utf8.hs:167:20: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘eqWord#’, namely ‘w#’
> In the first argument of ‘isTrue#’, namely
> ‘(eqWord# w# (indexWord8Array# ba# (len# -# 1#)))’
> In the second argument of ‘(&&)’, namely
> ‘isTrue# (eqWord# w# (indexWord8Array# ba# (len# -# 1#)))’
> |
> 167 | isTrue# (eqWord# w# (indexWord8Array# ba# (len# -# 1#)))
> | ^^
>
> compiler/src/Data/Utf8.hs:167:24: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the second argument of ‘eqWord#’, namely
> ‘(indexWord8Array# ba# (len# -# 1#))’
> In the first argument of ‘isTrue#’, namely
> ‘(eqWord# w# (indexWord8Array# ba# (len# -# 1#)))’
> In the second argument of ‘(&&)’, namely
> ‘isTrue# (eqWord# w# (indexWord8Array# ba# (len# -# 1#)))’
> |
> 167 | isTrue# (eqWord# w# (indexWord8Array# ba# (len# -# 1#)))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> compiler/src/Data/Utf8.hs:176:33: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘findDividers’, namely ‘divider#’
> In the third argument of ‘splitHelp’, namely
> ‘(findDividers divider# ba# 0# (sizeofByteArray# ba#) [])’
> In the expression:
> splitHelp
> str 0 (findDividers divider# ba# 0# (sizeofByteArray# ba#) [])
> |
> 176 | splitHelp str 0 (findDividers divider# ba# 0# (sizeofByteArray# ba#) [])
> | ^^^^^^^^
>
> compiler/src/Data/Utf8.hs:193:37: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the second argument of ‘eqWord#’, namely
> ‘(indexWord8Array# ba# offset#)’
> In the first argument of ‘isTrue#’, namely
> ‘(eqWord# divider# (indexWord8Array# ba# offset#))’
> In the expression:
> isTrue# (eqWord# divider# (indexWord8Array# ba# offset#))
> |
> 193 | if isTrue# (eqWord# divider# (indexWord8Array# ba# offset#))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> compiler/src/Data/Utf8.hs:356:28: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘ltWord#’, namely ‘w#’
> In the first argument of ‘isTrue#’, namely ‘(ltWord# w# 0xC0##)’
> In the expression: isTrue# (ltWord# w# 0xC0##)
> |
> 356 | | isTrue# (ltWord# w# 0xC0##) = (# C# (chr# (word2Int# w#)), 1# #)
> | ^^
>
> compiler/src/Data/Utf8.hs:356:64: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘word2Int#’, namely ‘w#’
> In the first argument of ‘chr#’, namely ‘(word2Int# w#)’
> In the first argument of ‘C#’, namely ‘(chr# (word2Int# w#))’
> |
> 356 | | isTrue# (ltWord# w# 0xC0##) = (# C# (chr# (word2Int# w#)), 1# #)
> | ^^
>
> compiler/src/Data/Utf8.hs:357:28: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘ltWord#’, namely ‘w#’
> In the first argument of ‘isTrue#’, namely ‘(ltWord# w# 0xE0##)’
> In the expression: isTrue# (ltWord# w# 0xE0##)
> |
> 357 | | isTrue# (ltWord# w# 0xE0##) = (# chr2 ba# offset# w#, 2# #)
> | ^^
>
> compiler/src/Data/Utf8.hs:357:61: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the third argument of ‘chr2’, namely ‘w#’
> In the expression: chr2 ba# offset# w#
> In the expression: (# chr2 ba# offset# w#, 2# #)
> |
> 357 | | isTrue# (ltWord# w# 0xE0##) = (# chr2 ba# offset# w#, 2# #)
> | ^^
>
> compiler/src/Data/Utf8.hs:358:28: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘ltWord#’, namely ‘w#’
> In the first argument of ‘isTrue#’, namely ‘(ltWord# w# 0xF0##)’
> In the expression: isTrue# (ltWord# w# 0xF0##)
> |
> 358 | | isTrue# (ltWord# w# 0xF0##) = (# chr3 ba# offset# w#, 3# #)
> | ^^
>
> compiler/src/Data/Utf8.hs:358:61: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the third argument of ‘chr3’, namely ‘w#’
> In the expression: chr3 ba# offset# w#
> In the expression: (# chr3 ba# offset# w#, 3# #)
> |
> 358 | | isTrue# (ltWord# w# 0xF0##) = (# chr3 ba# offset# w#, 3# #)
> | ^^
>
> compiler/src/Data/Utf8.hs:359:61: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the third argument of ‘chr4’, namely ‘w#’
> In the expression: chr4 ba# offset# w#
> In the expression: (# chr4 ba# offset# w#, 4# #)
> |
> 359 | | True = (# chr4 ba# offset# w#, 4# #)
> | ^^
>
> compiler/src/Data/Utf8.hs:371:23: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘word2Int#’, namely
> ‘(indexWord8Array# ba# (offset# +# 1#))’
> In the expression: word2Int# (indexWord8Array# ba# (offset# +# 1#))
> In an equation for ‘i2#’:
> !i2# = word2Int# (indexWord8Array# ba# (offset# +# 1#))
> |
> 371 | !i2# = word2Int# (indexWord8Array# ba# (offset# +# 1#))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> compiler/src/Data/Utf8.hs:383:23: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘word2Int#’, namely
> ‘(indexWord8Array# ba# (offset# +# 1#))’
> In the expression: word2Int# (indexWord8Array# ba# (offset# +# 1#))
> In an equation for ‘i2#’:
> !i2# = word2Int# (indexWord8Array# ba# (offset# +# 1#))
> |
> 383 | !i2# = word2Int# (indexWord8Array# ba# (offset# +# 1#))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> compiler/src/Data/Utf8.hs:384:23: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘word2Int#’, namely
> ‘(indexWord8Array# ba# (offset# +# 2#))’
> In the expression: word2Int# (indexWord8Array# ba# (offset# +# 2#))
> In an equation for ‘i3#’:
> !i3# = word2Int# (indexWord8Array# ba# (offset# +# 2#))
> |
> 384 | !i3# = word2Int# (indexWord8Array# ba# (offset# +# 2#))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> compiler/src/Data/Utf8.hs:397:23: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘word2Int#’, namely
> ‘(indexWord8Array# ba# (offset# +# 1#))’
> In the expression: word2Int# (indexWord8Array# ba# (offset# +# 1#))
> In an equation for ‘i2#’:
> !i2# = word2Int# (indexWord8Array# ba# (offset# +# 1#))
> |
> 397 | !i2# = word2Int# (indexWord8Array# ba# (offset# +# 1#))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> compiler/src/Data/Utf8.hs:398:23: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘word2Int#’, namely
> ‘(indexWord8Array# ba# (offset# +# 2#))’
> In the expression: word2Int# (indexWord8Array# ba# (offset# +# 2#))
> In an equation for ‘i3#’:
> !i3# = word2Int# (indexWord8Array# ba# (offset# +# 2#))
> |
> 398 | !i3# = word2Int# (indexWord8Array# ba# (offset# +# 2#))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> compiler/src/Data/Utf8.hs:399:23: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘word2Int#’, namely
> ‘(indexWord8Array# ba# (offset# +# 3#))’
> In the expression: word2Int# (indexWord8Array# ba# (offset# +# 3#))
> In an equation for ‘i4#’:
> !i4# = word2Int# (indexWord8Array# ba# (offset# +# 3#))
> |
> 399 | !i4# = word2Int# (indexWord8Array# ba# (offset# +# 3#))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> compiler/src/Data/Utf8.hs:474:25: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the first argument of ‘eqWord#’, namely ‘before#’
> In the first argument of ‘isTrue#’, namely
> ‘(eqWord# before# (indexWord8Array# ba# (offset# +# i#)))’
> In the expression:
> isTrue# (eqWord# before# (indexWord8Array# ba# (offset# +# i#)))
> |
> 474 | if isTrue# (eqWord# before# (indexWord8Array# ba# (offset# +# i#)))
> | ^^^^^^^
>
> compiler/src/Data/Utf8.hs:474:34: error:
> • Couldn't match expected type ‘Word#’ with actual type ‘Word8#’
> • In the second argument of ‘eqWord#’, namely
> ‘(indexWord8Array# ba# (offset# +# i#))’
> In the first argument of ‘isTrue#’, namely
> ‘(eqWord# before# (indexWord8Array# ba# (offset# +# i#)))’
> In the expression:
> isTrue# (eqWord# before# (indexWord8Array# ba# (offset# +# i#)))
> |
> 474 | if isTrue# (eqWord# before# (indexWord8Array# ba# (offset# +# i#)))
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ 31 of 132] Compiling Reporting.Suggest ( compiler/src/Reporting/Suggest.hs, dist-ghc/build/elm/elm-tmp/Reporting/Suggest.o, dist-ghc/build/elm/elm-tmp/Reporting/Suggest.dyn_o )
> [ 76 of 132] Compiling Reporting.Task ( builder/src/Reporting/Task.hs, dist-ghc/build/elm/elm-tmp/Reporting/Task.o, dist-ghc/build/elm/elm-tmp/Reporting/Task.dyn_o )
> [ 91 of 132] Compiling Terminal.Internal ( terminal/impl/Terminal/Internal.hs, dist-ghc/build/elm/elm-tmp/Terminal/Internal.o, dist-ghc/build/elm/elm-tmp/Terminal/Internal.dyn_o )
> [ 92 of 132] Compiling Terminal.Error ( terminal/impl/Terminal/Error.hs, dist-ghc/build/elm/elm-tmp/Terminal/Error.o, dist-ghc/build/elm/elm-tmp/Terminal/Error.dyn_o )
> [ 93 of 132] Compiling Terminal.Chomp ( terminal/impl/Terminal/Chomp.hs, dist-ghc/build/elm/elm-tmp/Terminal/Chomp.o, dist-ghc/build/elm/elm-tmp/Terminal/Chomp.dyn_o )
> [109 of 132] Compiling Type.UnionFind ( compiler/src/Type/UnionFind.hs, dist-ghc/build/elm/elm-tmp/Type/UnionFind.o, dist-ghc/build/elm/elm-tmp/Type/UnionFind.dyn_o )
> -e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1
> at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 880.
> Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup build --builddir=dist-ghc returned exit"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 610
> Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup build --builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 473
> Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 656
> Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/10/27/elm-compiler_0.19.1-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-haskell-maintainers
mailing list