[MacPorts] #61222: ghc @8.10.1: testing fails because the symbol _iconv is not found

MacPorts noreply at macports.org
Thu Sep 24 15:11:14 UTC 2020


#61222: ghc @8.10.1: testing fails because the symbol _iconv is not found
-------------------------+-----------------------
  Reporter:  ryandesign  |      Owner:  essandess
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.3
Resolution:              |   Keywords:
      Port:  ghc         |
-------------------------+-----------------------

Comment (by kencu):

 Of the 1% of people who ever try to build {{{ghc}}} against a non-system-
 installed {{{libiconv}}}, probably 99% of those will be building it
 against a {{{libiconv}}} installed into {{{/usr/local}}} where the
 compiler and system find it automatically, and so they would never see
 this error.

 MacPorts building in {{{/opt/local}}}, and in particular this
 {{{libiconv}}} failure, which as Josh pointed out one time appears to have
 been specifically designed to flag this problem, are great at
 demonstrating tiny build issues even with very mature and advanced
 software projects like {{{ghc}}}.

 The {{{ghc}}} build system is quite complex, as I found building {{{ghc}}}
 for SnowLeopard. Some useful resources:

 <https://gitlab.haskell.org/ghc/ghc/-/wikis/building>

 <https://gitlab.haskell.org/ghc/ghc/-/wikis/building/using>

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


More information about the macports-tickets mailing list