Opened 9 years ago

Closed 7 years ago

#50480 closed defect (fixed)

GHC installation failed on El Capitan

Reported by: dan@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: larryv (Lawrence Velázquez)
Port: ghc

Description

This is the installation error:

Immanuel:opt danghica$ sudo port clean ghc
Password:
--->  Cleaning ghc
Immanuel:opt danghica$ sudo port install ghc
--->  Computing dependencies for ghc
--->  Fetching archive for ghc
--->  Attempting to fetch ghc-7.8.3_4.darwin_15.i386.tbz2 from http://packages.macports.org/ghc
--->  Attempting to fetch ghc-7.8.3_4.darwin_15.i386.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/ghc/ghc
--->  Attempting to fetch ghc-7.8.3_4.darwin_15.i386.tbz2 from http://jnb.za.packages.macports.org/packages/ghc
--->  Fetching distfiles for ghc
--->  Verifying checksums for ghc
--->  Extracting ghc
--->  Applying patches to ghc
--->  Configuring ghc
--->  Building ghc
Error: org.macports.build for port ghc returned: command execution failed
Please see the log file for port ghc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ghc failed

Log is attached. There are segmentation faults during the execution of ghc-cabal.

Attachments (1)

main.log (71.9 KB) - added by dan@… 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by dan@…

Attachment: main.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: cal@… added
Keywords: ghc elcapitan removed
Owner: changed from macports-tickets@… to kitchen.andy@…

In the future, please Cc the port maintainers (port info --maintainers ghc), if any.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Cc: cal@… removed
Owner: changed from kitchen.andy@… to cal@…

Assigning to current maintainer. See #51780.

comment:3 Changed 8 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added

Cc Me!

comment:4 Changed 7 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

In b6060617db664a7ca586df1d8894da2054f7db75/macports-ports:

ghc and ghc-bootstrap: specify compiler to clang-4.0

on older systems and on 10.11
and add a build and runtime dependency for clang-4.0
as this compiler needs to be present when ghc is used.
closes: #54363
closes: #53709
closes: #50962
closes: #50480

Note: See TracTickets for help on using tickets.