GHC versions for 3.0?

12 views
Skip to first unread message

Iustin Pop

unread,
Jul 7, 2020, 5:20:54 PM7/7/20
to ganeti...@googlegroups.com
Hi all,

I made the mistake of attempting to build ganeti 3.0 beta on a sid box,
with GHC 8.8, which causes no end of fun…

To solve the fun and make this actually built, would be good to settle
which versions of GHC we support (if we didn't already and I missed the
email or simply forgot).

IMO, anything older than 8.0 will generate huge amounts of pain. Debian
oldstable is on 8.0.1, and stable is on 8.4. I would of course prefer as
new as possible, but what do other people think?

Fun things:

* cabal new-style vs. old-style builds
* cabal API removals as we're using unstable APIs
* MonadFail final move in GHC 8.8

and I still haven't finished to get it to compile :)

thanks,
iustin

Rudolph Bott

unread,
Jul 8, 2020, 2:22:35 AM7/8/20
to ganeti...@googlegroups.com
Hi Iustin,

I can not add anything directly to the topic, but it seems Apollon already did or is doing some work in this direction:


Cheers,
Rudi

--
You received this message because you are subscribed to the Google Groups "ganeti-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ganeti-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ganeti-devel/20200707212051.GB1450192%40teal.hq.k1024.org.


--
 Rudolph Bott - bo...@sipgate.de

 sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
 HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
 Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391

Iustin Pop

unread,
Jul 8, 2020, 4:19:03 AM7/8/20
to Rudolph Bott, ganeti...@googlegroups.com
On 2020-07-08 08:22:22, Rudolph Bott wrote:
> Hi Iustin,
>
> I can not add anything directly to the topic, but it seems Apollon already
> did or is doing some work in this direction:
>
> https://github.com/ganeti/ganeti/issues/1493
> https://github.com/ganeti/ganeti/issues/1492

Ouch, I missed those.

I have Ganeti now working with GHC 8.8, but cleaning up the patches
depends on what the minimum version will be.

Thanks, I'll reply on those bugs.

iustin
> To view this discussion on the web visit https://groups.google.com/d/msgid/ganeti-devel/CAPG4N%3DbqFSmds_bZ-0qWY%2B6uFhSj0dWfR%3Dyvdy9kDRzbzRTnmA%40mail.gmail.com.

Ansgar Jazdzewski

unread,
Jul 8, 2020, 9:21:44 AM7/8/20
to Rudolph Bott, ganeti...@googlegroups.com
Hi,

i just ask myself, if we try to cover GHC 8.8 do we still have an
upgrade path and can build ganeti 3.0 for ubuntu 18.04?

Thanks,
Ansgar
> To view this discussion on the web visit https://groups.google.com/d/msgid/ganeti-devel/20200708081859.GC1450192%40teal.hq.k1024.org.

Iustin Pop

unread,
Jul 8, 2020, 9:27:19 AM7/8/20
to Ansgar Jazdzewski, Rudolph Bott, ganeti...@googlegroups.com
On 2020-07-08 15:21:32, Ganeti Development List wrote:
> Hi,
>
> i just ask myself, if we try to cover GHC 8.8 do we still have an
> upgrade path and can build ganeti 3.0 for ubuntu 18.04?

Ah, good point. 18.04/bionic (which is not that old) ships with GHC
8.0.1, which means we should keep 8.0 compatibility.

It's doable, but not pleasant :)

I'll reply on bug too.

iustin
> To view this discussion on the web visit https://groups.google.com/d/msgid/ganeti-devel/CAEMVdVx-3CUqMV%2BbkZLiwXEW3V6ZRjUmZ7aRZjwYC6CNPZYYuw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages