Re: Hackage: "Build: PlanningFailed"

Tom Ellis <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <Zgk6pXlTey3d43bf@cloudinit-builder>
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
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.