Bug#1015777: haskell-shake FTBFS: error: Ambiguous occurrence ‘readFile'’

Adrian Bunk bunk at debian.org
Thu Jul 21 02:31:09 BST 2022


Source: haskell-shake
Version: 0.19.1-2
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/fetch.php?pkg=haskell-shake&arch=arm64&ver=0.19.1-2%2Bb1&stamp=1658366930&raw=0

...
src/Development/Shake/Internal/Derived.hs:131:30: error:
    Ambiguous occurrence ‘readFile'’
    It could refer to
       either ‘System.IO.readFile'’,
              imported from ‘System.IO’ at src/Development/Shake/Internal/Derived.hs:20:1-16
           or ‘Development.Shake.Internal.Derived.readFile'’,
              defined at src/Development/Shake/Internal/Derived.hs:118:1
    |
131 | readFileLines = fmap lines . readFile'
    |                              ^^^^^^^^^
 at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107.
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 642
	Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:160: build-ghc-stamp] Error 25


More information about the Pkg-haskell-maintainers mailing list