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

Iustin Pop iustin at k1024.org
Mon Apr 1 11:29:26 UTC 2024


On 2024-04-01 13:20:37, Volker Wysk wrote:
> Am Sonntag, dem 31.03.2024 um 18:22 +0100 schrieb Andrew Lelechenko:
> > If triggering rebuild does not work immediately, remove documentation
> > first and trigger rebuild afterwards. 
> > 
> > There are 4 build reports
> > now: https://hackage.haskell.org/package/hsshellscript-3.6.2/reports/4,
> > but the latest one fails because, as it seems, your package does not
> > actually support GHC 9.6 and newer dependencies.
> 
> Yes, that's what it looks like. It's good that you noticed it.
> 
> I'm a Linux user (with Ubuntu 22.04 LTS). My GHC (8.8.4) comes with the
> haskell-platform metapackage. GHC 9.8.2 should be included in Ubuntu 24.04
> LTS. I see no easy way to get a running GHC 9.6. now, so I can fix it. 
> 
> According to https://wiki.haskell.org/Base_package , my GHC version, 8.8.4,
> should have been released between Jul 2019 and Mar 2020. That's way before
> my Ubuntu 22.04 distribution. I don't get it, why such an old version is
> being shipped. The ghc version in the newest Ubuntu (23.10) is old too...

Because the way entire toolchains and the associated libraries are built
and transitioned, you can't simply upgrade the compiler. A GHC or Perl
of Python transition in Debian (and thus Ubuntu) takes 1-2 months to
fully roll out, and more so probably for compiled things such as
Haskell. Plus, the entire distribution is stabilised before the final
released.

So you should count at least 6 months, if not a year, before the
distribution release date. Debian's Haskell group could always use more
hands as well ;-)

Just use ghcup or a more recent distribution within a VM to debug and
test.

regards,
iustin


More information about the Haskell-Cafe mailing list