Bug#1084129: haskell-web-routes: FTBFS: Could not find module ‘Control.Monad.Error’

Sebastian Ramacher sramacher at debian.org
Sat Oct 5 14:10:45 BST 2024


Source: haskell-web-routes
Version: 0.27.15-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=haskell-web-routes&arch=amd64&ver=0.27.15-1%2Bb2&stamp=1728050799&raw=0

[2 of 6] Compiling Web.Routes.RouteT ( Web/Routes/RouteT.hs, dist-ghc/build/Web/Routes/RouteT.o, dist-ghc/build/Web/Routes/RouteT.dyn_o )

Web/Routes/RouteT.hs:20:1: error:
    Could not find module ‘Control.Monad.Error’
    Perhaps you meant
      Control.Monad.Trans (from mtl-2.3.1)
      Control.Monad.Writer (from mtl-2.3.1)
      Control.Monad.ST (from base-4.18.2.1)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
20 | import Control.Monad.Error (MonadError(throwError, catchError))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[3 of 6] Compiling Web.Routes.Site  ( Web/Routes/Site.hs, dist-ghc/build/Web/Routes/Site.o, dist-ghc/build/Web/Routes/Site.dyn_o )
[4 of 6] Compiling Web.Routes.PathInfo ( Web/Routes/PathInfo.hs, dist-ghc/build/Web/Routes/PathInfo.o, dist-ghc/build/Web/Routes/PathInfo.dyn_o )
[5 of 6] Compiling Web.Routes.QuickCheck ( Web/Routes/QuickCheck.hs, dist-ghc/build/Web/Routes/QuickCheck.o, dist-ghc/build/Web/Routes/QuickCheck.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 877.
	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 616
	Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup build --builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 479
	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

Cheers
-- 
Sebastian Ramacher



More information about the Pkg-haskell-maintainers mailing list