[Haskell-cafe] Hackage: "Build: PlanningFailed"

Tom Ellis tom-lists-haskell-cafe-2023 at jaguarpaw.co.uk
Sun Mar 31 10:27:49 UTC 2024


On Sun, Mar 31, 2024 at 12:16:45PM +0200, Volker Wysk wrote:
> Why does it reject the base library? The versions conflict, but why does it
> think the version should be base-4.18.1.0? The library compiles okay on my
> machine (using "cabal build"). I have this in the hsshellscript.cabal file,
> under "build-depends:": base >= 4.13.0 && < 4.14
>
> I've got this version information from calling "cabal gen-bounds".                                                                    
4.13 was shipped with GHC 8.8 and 4.18 was shipped with 9.6.  See
https://wiki.haskell.org/Base_package

I guess you called "cabal gen-bounds" with ghc version 8.8 in your
PATH but you're now trying to install the library with ghc 9.6 in your
PATH.  The solution is most likely to change the base bound to < 4.20
(so it works with every version of base released so far).

You can avoid uploading a new version of your package by making a
package revision to do this, accessed via the link "edit package
information" under your package's Hackage page.

Tom


More information about the Haskell-Cafe mailing list