Re: Hackage: "Build: PlanningFailed"

Volker Wysk <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <[email protected]>
Hi, Tom!

Am Sonntag, dem 31.03.2024 um 11:27 +0100 schrieb Tom Ellis:
> 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 

That's correct.

> but you're now trying to install the library with ghc 9.6 in your
> PATH.  

No, I'm just trying to upload it to Hackage properly. That's where I got
that error.

> The solution is most likely to change the base bound to < 4.20
> (so it works with every version of base released so far).

Why aren't all the base package versions available? I thought this was one
of the purposes of the Cabal system...

And wouldn't it be better to remove the upper bound entirely?

> 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.

Thanks!! I'm editing the package information next.

Cheers,
Volker
_______________________________________________
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.