Fwd: ghc build dependencies

Alexey Luchko soulne4ny at gmail.com
Thu Dec 19 06:01:54 PST 2013


Hi everyone,

I was trying to install ghc and faced the same problem with
ghc-bootstrap 7.0.4_0 as others.
https://trac.macports.org/search?q=ghc-bootstrap&noquickjump=1&portsummarysearch=on

But I was trying to install a prebuilt package of ghc.  It is ghc
@7.6.3_4 +gcc48.
ghc-bootstrap is stated as build dependency.  But I don't build anything.
As far as I can imagine there is no need in ghc-bootstrap in this case.

So I wonder is ghc-bootstrap really required for installing prebuilt
ghc package?  (I don't mean port implementation details. :)

The cost of installing ghc-bootstrap is quite high
$ du -hs /opt/local/share/ghc-bootstrap
/opt/local/var/macports/software/ghc-bootstrap
647M /opt/local/share/ghc-bootstrap
 98M /opt/local/var/macports/software/ghc-bootstrap

It also costs 98Mb of traffic, not just disk space.
Imho, it is not worth to do all that extra stuff and use that much
extra disk until it is actually required.


By the way, ghc-bootstrap @7.0.4_1+gcc48 still fails
# port install ghc-bootstrap
--->  Computing dependencies for ghc-bootstrap
--->  Fetching archive for ghc-bootstrap
--->  Attempting to fetch
ghc-bootstrap-7.0.4_1+gcc48.darwin_11.x86_64.tbz2 from
http://lil.fr.packages.macports.org/ghc-bootstrap
--->  Attempting to fetch
ghc-bootstrap-7.0.4_1+gcc48.darwin_11.x86_64.tbz2.rmd160 from
http://lil.fr.packages.macports.org/ghc-bootstrap
--->  Installing ghc-bootstrap @7.0.4_1+gcc48
--->  Activating ghc-bootstrap @7.0.4_1+gcc48
--->  Cleaning ghc-bootstrap
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 98.6%
Warning: Error parsing file
/opt/local/share/ghc-bootstrap/lib/ghc-7.0.4/HSffi.o: Premature end of
data, possibly corrupt file
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

# uname -a
Darwin s.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23
16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386 i386

# port version
Version: 2.2.1

--
Regards
Alex


More information about the macports-users mailing list