How can I make this work?

This forum is dedicated to packaging and translating :

On those activities rely the making of Mageia Linux Distribution.

Post all questions and information about packaging and translating : feedbacks, discussion about guidelines, packaging practices...

How can I make this work?

Postby Umeaboy » Nov 8th, '23, 19:25

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?
Umeaboy
 
Posts: 45
Joined: Nov 23rd, '11, 18:28

Re: How can I make this work?

Postby Germ » Nov 9th, '23, 18:15

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
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 712
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA

Re: How can I make this work?

Postby doktor5000 » Nov 12th, '23, 17:43

ghc has been imported to cauldron over 3 years ago. What's wrong with using that ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18039
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How can I make this work?

Postby morgano » Nov 12th, '23, 20:20

At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1484
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: How can I make this work?

Postby doktor5000 » Nov 12th, '23, 23:12

Here's the spec: https://svnweb.mageia.org/packages/caul ... c?view=log
Also Kristoffer seems to have ignored the comments in his bugreport.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18039
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How can I make this work?

Postby Umeaboy » Jan 24th, '24, 01:55

https://svnweb.mageia.org/packages/caul ... /releases/ is blank.

Is there a special reason for it being blank?
Umeaboy
 
Posts: 45
Joined: Nov 23rd, '11, 18:28

Re: How can I make this work?

Postby Germ » Jan 24th, '24, 02:29

package database shows no results for ghc

https://madb.mageia.org/package/list/ap ... search/ghc
Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 712
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA

Re: How can I make this work?

Postby sturmvogel » Jan 24th, '24, 08:10

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.
sturmvogel
 
Posts: 738
Joined: Jul 30th, '12, 00:39

Re: How can I make this work?

Postby Umeaboy » Jan 24th, '24, 11:50

What about the rest of the dependencies it needs to build? Where are they?
Umeaboy
 
Posts: 45
Joined: Nov 23rd, '11, 18:28

Re: How can I make this work?

Postby sturmvogel » Jan 24th, '24, 15:34

You need to take care about them yourself…
sturmvogel
 
Posts: 738
Joined: Jul 30th, '12, 00:39


Return to Packaging and translating for Mageia

Who is online

Users browsing this forum: No registered users and 1 guest

cron