Bug#1015251: haskell-formatting FTBFS: Ambiguous occurrence ‘quotRemInteger’
Adrian Bunk
bunk at debian.org
Mon Jul 18 12:45:30 BST 2022
Source: haskell-formatting
Version: 6.3.7-2
Severity: serious
Tags: ftbfs bookworm sid
https://buildd.debian.org/status/package.php?p=haskell-formatting&suite=sid
...
src/Data/Text/Format/Int.hs:121:30: error:
Ambiguous occurrence ‘quotRemInteger’
It could refer to
either ‘GHC.Num.quotRemInteger’,
imported from ‘GHC.Num’ at src/Data/Text/Format/Int.hs:27:17-30
or ‘GHC.Integer.GMP.Internals.quotRemInteger’,
imported from ‘GHC.Integer.GMP.Internals’ at src/Data/Text/Format/Int.hs:34:1-32
(and originally defined in ‘GHC.Integer’)
|
121 | splith p (n:ns) = case n `quotRemInteger` p of
| ^^^^^^^^^^^^^^^^
src/Data/Text/Format/Int.hs:126:30: error:
Ambiguous occurrence ‘quotRemInteger’
It could refer to
either ‘GHC.Num.quotRemInteger’,
imported from ‘GHC.Num’ at src/Data/Text/Format/Int.hs:27:17-30
or ‘GHC.Integer.GMP.Internals.quotRemInteger’,
imported from ‘GHC.Integer.GMP.Internals’ at src/Data/Text/Format/Int.hs:34:1-32
(and originally defined in ‘GHC.Integer’)
|
126 | splitb p (n:ns) = case n `quotRemInteger` p of
| ^^^^^^^^^^^^^^^^
src/Data/Text/Format/Int.hs:144:26: error:
Ambiguous occurrence ‘quotRemInteger’
It could refer to
either ‘GHC.Num.quotRemInteger’,
imported from ‘GHC.Num’ at src/Data/Text/Format/Int.hs:27:17-30
or ‘GHC.Integer.GMP.Internals.quotRemInteger’,
imported from ‘GHC.Integer.GMP.Internals’ at src/Data/Text/Format/Int.hs:34:1-32
(and originally defined in ‘GHC.Integer’)
|
144 | putH (n:ns) = case n `quotRemInteger` maxInt of
| ^^^^^^^^^^^^^^^^
src/Data/Text/Format/Int.hs:152:26: error:
Ambiguous occurrence ‘quotRemInteger’
It could refer to
either ‘GHC.Num.quotRemInteger’,
imported from ‘GHC.Num’ at src/Data/Text/Format/Int.hs:27:17-30
or ‘GHC.Integer.GMP.Internals.quotRemInteger’,
imported from ‘GHC.Integer.GMP.Internals’ at src/Data/Text/Format/Int.hs:34:1-32
(and originally defined in ‘GHC.Integer’)
|
152 | 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 709
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