Bug 26041

Summary: ghc - haskell compiler, new RPM package request
Product: Mageia Reporter: Jybz <j.biernacki+mga>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: lovaren
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/ghc/ghc
Whiteboard:
Source RPM: CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 15325, 17321, 22177    

Description Jybz 2020-01-09 09:32:09 CET
Hello !

There are some software written in Haskell, and thus, need the Haskell compiler.
(e.g. : https://bugs.mageia.org/show_bug.cgi?id=22177
        https://bugs.mageia.org/show_bug.cgi?id=15325
      And most asked package :
        https://bugs.mageia.org/show_bug.cgi?id=17321 )

The tricky thing is : https://github.com/ghc/ghc#building--installing
> NB. In particular, you need GHC installed in order to build GHC, because the compiler is itself written in Haskell.

(a wiki joke page : https://wiki.mageia.org/en/Haskell_policy )

I didn't found any policy about "third binary" (not from Mageia.Org).

Is it possible, to create a package with the downloaded the binary, like private precompiled driver (nvidia) and placing it in a particular repository, using this package to compile the first mageia's haskell compiler, like a bootstrap ?

Is it enough to use a compiler compiled with precompiled compiler ? Or would it be better to compile a compiler compiled with mageia's compiler (it means, one round more) ?

Only after, it would be possible to honour other Haskell package request...
Jybz 2020-01-09 09:33:13 CET

Blocks: (none) => 22177, 15325, 17321

Comment 1 Jybz 2020-01-09 09:42:43 CET
(Found an old request : bug report 1984 )
Jybz 2020-01-09 09:53:09 CET

Summary: Package request : Haskell ; Mageia Policy => New RPM package request Haskell ; Mageia Policy
Version: 7 => Cauldron

Jybz 2020-01-09 09:55:04 CET

URL: (none) => https://github.com/ghc/ghc

Comment 2 David Walser 2020-01-09 13:02:06 CET
Technically it could probably be bootstrapped with the older version, as we used to have this package.  However, we already had to drop it due to it not being maintained.  So, we can't have someone just do a fire-and-forget import of it again.  Someone would have to commit to actually maintaining it going forward.

Summary: New RPM package request Haskell ; Mageia Policy => New RPM package request ghc - haskell compiler

Jani Välimaa 2020-01-09 13:36:50 CET

Component: RPM Packages => New RPM package request

Comment 3 Lewis Smith 2020-01-09 21:26:15 CET
History: bug 1984 2011, fixed 2014.

Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

You j.biernacki might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Summary: New RPM package request ghc - haskell compiler => ghc - haskell compiler, new RPM package request
Assignee: bugsquad => pkg-bugs
Severity: normal => enhancement

Comment 4 Kristoffer Grundström 2023-01-23 18:00:36 CET
(In reply to David Walser from comment #2)
> Technically it could probably be bootstrapped with the older version, as we
> used to have this package.

I'm already one step ahead of you there.

Check my bug https://bugs.mageia.org/show_bug.cgi?id=31446

CC: (none) => lovaren