[MacPorts] #64797: ghc: Error: Unable to open port: can't read "ghc_build_arch": no such variable

MacPorts noreply at macports.org
Thu Mar 10 13:01:00 UTC 2022


#64797: ghc: Error: Unable to open port: can't read "ghc_build_arch": no such
variable
------------------------+-----------------------
 Reporter:  ryandesign  |      Owner:  essandess
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  ghc
------------------------+-----------------------
 The ghc portfile fails to parse when `os.arch` is neither `arm` nor `i386`
 (for example: when it is `powerpc`):
 {{{
 $ port info ghc os.arch=powerpc
 Error: Unable to open port: can't read "ghc_build_arch": no such variable
 }}}
 Even if a port does not work on all platforms, the portfile should still
 parse on all platforms.

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


More information about the macports-tickets mailing list