[MacPorts] #69896: ghc does not build (macos 11.7.10, macports 2.9.3)

MacPorts noreply at macports.org
Fri May 3 16:33:39 UTC 2024


#69896: ghc does not build (macos 11.7.10, macports 2.9.3)
----------------------+--------------------
 Reporter:  stevehav  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:
----------------------+--------------------
 Installing ghc gives the following error:


 {{{
 --->  Computing dependencies for ghc
 --->  Fetching archive for ghc
 --->  Attempting to fetch ghc-9.6.4_0.darwin_20.arm64.tbz2 from
 https://packages.macports.org/ghc
 --->  Attempting to fetch ghc-9.6.4_0.darwin_20.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/ghc
 --->  Attempting to fetch ghc-9.6.4_0.darwin_20.arm64.tbz2 from
 http://mirror.fcix.net/macports/packages/ghc
 --->  Configuring ghc
 Error: Failed to configure ghc: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ghc/ghc/work/ghc-9.6.4/config.log
 Error: Failed to configure ghc: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ghc/ghc/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port ghc failed
 }}}

 The log displays:

 {{{
 :info:configure checking C++ standard library flavour... ./configure: line
 12534: /usr/bin/clang++ -std=gnu++11: No such file or directory
 :info:configure configure: error: Failed to compile test program
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ghc/ghc/work/ghc-9.6.4"
 && ./configure --prefix=/opt/local --with-gmp-includes=/opt/local/include
 --with-gmp-libraries=/opt/local/lib --with-iconv-
 includes=/opt/local/include --with-iconv-libraries=/opt/local/lib
 :info:configure Exit code: 1
 :error:configure Failed to configure ghc: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ghc/ghc/work/ghc-9.6.4/config.log
 :error:configure Failed to configure ghc: configure failure: command
 execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
 :debug:configure     while executing
 :debug:configure "$procedure $targetname"
 :error:configure See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_ghc/ghc/main.log
 for details.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69896>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list