Opened 6 months ago
Closed 6 months ago
#69896 closed defect (duplicate)
ghc @9.6.4: ./configure: line 12534: /usr/bin/clang++ -std=gnu++11: No such file or directory
Reported by: | stevehav (Steve Havelka) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | bigsur | Cc: | |
Port: | ghc |
Description
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.
Change History (1)
comment:1 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | bigsur added |
---|---|
Port: | ghc added |
Resolution: | → duplicate |
Status: | new → closed |
Summary: | ghc does not build (macos 11.7.10, macports 2.9.3) → ghc @9.6.4: ./configure: line 12534: /usr/bin/clang++ -std=gnu++11: No such file or directory |
Version: | → 2.9.3 |
Note: See
TracTickets for help on using
tickets.
Duplicate of #69566.