Page 1 of 1

How can I make this work?

PostPosted: Nov 8th, '23, 19:25
by Umeaboy
As you know I'm not a complete noob/newbie/newstarter when Linux and Mageia is concerned.
I know that when Mageia forked from Mandriva the devs decided NOT to port GHC to Mageia which is understandable.
However, I've been starting to port GHC and its dependencies to Mageia 9 using GHCUP which according to the research I've done is the least difficult way.
So far I've managed to build ghc-bootstrap-helpers and ghc-bootstrap from OpenSuse, but that won't solve the problem of packaging GHC.
I wrote an email to the discuss mailinglist the steps that I've taken so far and my problem.

No matter what Cabal HLS and GHC version I use in GHCUP together with the same version of ghc source archive it fails to build.
I even git cloned the same version of GHC and tried to build it, but that also failed.
Is there anybody that can assist me so that we can package at least 9.4.7 of GHC?

Re: How can I make this work?

PostPosted: Nov 9th, '23, 18:15
by Germ
Have you tried a tarball directly from the GHC site?


Fedora 33
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was built on a Fedora 33 system and requires GMP 6.1.
ghc-9.8.1-x86_64-fedora33-linux.tar.xz (208.4 MB, sig)

https://www.haskell.org/ghc/download_gh ... nux_x86_64

Re: How can I make this work?

PostPosted: Nov 12th, '23, 17:43
by doktor5000
ghc has been imported to cauldron over 3 years ago. What's wrong with using that ?

Re: How can I make this work?

PostPosted: Nov 12th, '23, 20:20
by morgano

Re: How can I make this work?

PostPosted: Nov 12th, '23, 23:12
by doktor5000
Here's the spec: https://svnweb.mageia.org/packages/caul ... c?view=log
Also Kristoffer seems to have ignored the comments in his bugreport.

Re: How can I make this work?

PostPosted: Jan 24th, '24, 01:55
by Umeaboy
https://svnweb.mageia.org/packages/caul ... /releases/ is blank.

Is there a special reason for it being blank?

Re: How can I make this work?

PostPosted: Jan 24th, '24, 02:29
by Germ
package database shows no results for ghc

https://madb.mageia.org/package/list/ap ... search/ghc

Re: How can I make this work?

PostPosted: Jan 24th, '24, 08:10
by sturmvogel
Umeaboy wrote:https://svnweb.mageia.org/packages/cauldron/ghc/releases/ is blank.

Is there a special reason for it being blank?

Yes because the package is not build for Mageia. So no release. But as already shown by doktor, simply navigate up to „current“ and use the spec file to build the package on your machine.

Re: How can I make this work?

PostPosted: Jan 24th, '24, 11:50
by Umeaboy
What about the rest of the dependencies it needs to build? Where are they?

Re: How can I make this work?

PostPosted: Jan 24th, '24, 15:34
by sturmvogel
You need to take care about them yourself…