[Bug 911725] New: ghc-ghc-devel not required?

bugzilla at redhat.com bugzilla at redhat.com
Fri Feb 15 19:14:04 UTC 2013


Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=911725

            Bug ID: 911725
           Summary: ghc-ghc-devel not required?
           Product: Fedora
           Version: 18
         Component: ghc
          Severity: high
          Priority: unspecified
          Reporter: vadie.developer at gmail.com

Created attachment 697959
  --> https://bugzilla.redhat.com/attachment.cgi?id=697959&action=edit
script used to measure size of the package installed,although one could see it
through packagekit

Description of problem:
I am the culprit for this bloat problem 
https://bugzilla.redhat.com/show_bug.cgi?id=750317

ghc-ghc-devel is for hacking on ghc, it is the entir ghc platform(compiler,RTS
etc as a library). This pacakge should not be part of base install 

Version-Release number of selected component (if applicable):
ghc-7.4.1

this package takes up too much space (~ 240 MB installed) 
and 34 MB

puts considerable strain on bandwidth and diskspace (OK not so much on
diskspace,but would be nice to get rid of it)

How reproducible:
just install ghc, 'yum install ghc'

Steps to Reproduce:
1.yum install ghc
2.say yes
3.

Actual results:
installs static library of entire ghc, which is not required for those

Expected results:
should not install ghc-ghc-devel package as part of base install.

Additional info:
This bug, is due to another request by me regarding quickCheck. Bug 750317
https://bugzilla.redhat.com/show_bug.cgi?id=750317

*note the title changed*

This is what Jens wrote : "
> Maybe we really want the ghc base package to be a meta package
> that pulls in "everything" to make the initial install friendlier
> for newcomers.

Ok, ghc-7.0.4-36.fc17 should provide a base metapackage
which installs all of ghc (ghc-compiler and ghc-devel).
So in future if you install ghc you will have a working
QuickCheck, etc out of the box.  
"

I should have said no to it at that time itself, but i was not very
well-informed (not that I am now, just less ignorant),by adding ghc-ghc-devel,
we have internals/implementation of ghc as static library not static/devel
packages of quickCheck,parsec etc. {I am pretty sure about this} 


I think it is correct and OK (infact necessary) to provide, -devel packages by
default for libraries of haskell, like ghc-parsec and ghc-parsec-devel, ghc-xml
and ghc-xml-devl,ghc-pango and ghc-pango-devel etc.

but ghc-ghc-devel is going too far. Only those who hack on ghc need this
(specifically who want to hack on this particular version others will track and
program for latest git/darcs version). 

I think, it is possible to make this change. no ghc-ghc-devel in base
install,but whenever one installs any other library corresponding -devel
packages should also be installed  

I didn't realize about this space problem, untill I ran out of space on my old
Fedora 16 on my root partition, found out that ghc installation took ~530 MB
installed space.

I am not sure about ghc-compiler package though, anyone more experienced in
haskell packaging can chime in.

I think this thing, needs better testing and some discussion so no need to
hurry out the changes, so that we make sure we do the right thing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=m5osKIWdlf&a=cc_unsubscribe


More information about the haskell-devel mailing list