[MacPorts] #69566: ghc @9.6.4: configure error compiling test program for c++ stdlib flavor

MacPorts noreply at macports.org
Wed May 1 16:08:13 UTC 2024


#69566: ghc @9.6.4: configure error compiling test program for c++ stdlib flavor
----------------------+-----------------------
  Reporter:  kippesp  |      Owner:  essandess
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.9.1
Resolution:           |   Keywords:
      Port:  ghc      |
----------------------+-----------------------

Comment (by mfacorcoran):

 I'm having this same problem building ghc when trying to upgrade
 py312-jupyterlab:

 {{{
 :info:configure checking whether /usr/bin/clang supports --target... yes
 :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_github
 .com_macports_macports-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
 }}}

 any workaround?

-- 
Ticket URL: <https://trac.macports.org/ticket/69566#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list