Bug#1014025: haskell-blaze-textual FTBFS: error: Ambiguous occurrence ‘quotRemInteger’

Adrian Bunk bunk at debian.org
Tue Jun 28 21:59:21 BST 2022


Source: haskell-blaze-textual
Version: 0.2.1.0-9
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/package.php?p=haskell-blaze-textual&suite=sid

...
Blaze/Text/Int.hs:117:30: error:
    Ambiguous occurrence ‘quotRemInteger’
    It could refer to
       either ‘GHC.Num.quotRemInteger’,
              imported from ‘GHC.Num’ at Blaze/Text/Int.hs:26:17-30
           or ‘GHC.Integer.GMP.Internals.quotRemInteger’,
              imported from ‘GHC.Integer.GMP.Internals’ at Blaze/Text/Int.hs:30:1-32
              (and originally defined in ‘GHC.Integer’)
    |
117 |     splith p (n:ns) = case n `quotRemInteger` p of
    |                              ^^^^^^^^^^^^^^^^

Blaze/Text/Int.hs:122:30: error:
    Ambiguous occurrence ‘quotRemInteger’
    It could refer to
       either ‘GHC.Num.quotRemInteger’,
              imported from ‘GHC.Num’ at Blaze/Text/Int.hs:26:17-30
           or ‘GHC.Integer.GMP.Internals.quotRemInteger’,
              imported from ‘GHC.Integer.GMP.Internals’ at Blaze/Text/Int.hs:30:1-32
              (and originally defined in ‘GHC.Integer’)
    |
122 |     splitb p (n:ns) = case n `quotRemInteger` p of
    |                              ^^^^^^^^^^^^^^^^

Blaze/Text/Int.hs:138:22: error:
    Ambiguous occurrence ‘quotRemInteger’
    It could refer to
       either ‘GHC.Num.quotRemInteger’,
              imported from ‘GHC.Num’ at Blaze/Text/Int.hs:26:17-30
           or ‘GHC.Integer.GMP.Internals.quotRemInteger’,
              imported from ‘GHC.Integer.GMP.Internals’ at Blaze/Text/Int.hs:30:1-32
              (and originally defined in ‘GHC.Integer’)
    |
138 | putH (n:ns) = case n `quotRemInteger` maxInt of
    |                      ^^^^^^^^^^^^^^^^

Blaze/Text/Int.hs:147:22: error:
    Ambiguous occurrence ‘quotRemInteger’
    It could refer to
       either ‘GHC.Num.quotRemInteger’,
              imported from ‘GHC.Num’ at Blaze/Text/Int.hs:26:17-30
           or ‘GHC.Integer.GMP.Internals.quotRemInteger’,
              imported from ‘GHC.Integer.GMP.Internals’ at Blaze/Text/Int.hs:30:1-32
              (and originally defined in ‘GHC.Integer’)
    |
147 | putB (n:ns) = case n `quotRemInteger` maxInt of
    |                      ^^^^^^^^^^^^^^^^
 at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107.
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", "--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", "--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 707
	Debian::Debhelper::Buildsystem::Haskell::Recipes::haddock_recipe() called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: build-ghc-stamp] Error 25


More information about the Pkg-haskell-maintainers mailing list