[MacPorts] #67833: calc build fails on PPC: make: [charbit.h] Error 127 (ignored), make: *** [longbits.h] Error 127

MacPorts noreply at macports.org
Fri Jul 28 15:39:38 UTC 2023


#67833: calc build fails on PPC: make: [charbit.h] Error 127 (ignored), make: ***
[longbits.h] Error 127
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  pmetzger
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  powerpc
      Port:  calc          |
---------------------------+----------------------

Comment (by ryandesign):

 Although the Portfile doesn't use the makefile portgroup, which would set
 the CC environment variable (which would be overridden by the Makefile,
 but the portgroup could be configured to override the Makefile instead),
 the Portfile does override CC manually. The Makefile does say:
 {{{
 LCC= clang
 CC= ${PURIFY} ${LCC} ${CCWERR}
 }}}
 So one assumes from reading that that the build will use CC and that
 overriding CC as we do would be sufficient. However the build actually
 seems to use LCC too. So the port should either override only LCC or
 should override both LCC and CC. (I haven't checked what this ${PURIFY}
 and ${CCWERR} are doing yet and whether we would want to keep them.)

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


More information about the macports-tickets mailing list