[MacPorts] #57032: mozjs52 @52.6.0, mozjs60 @60.1.0: Target C compiler target CPU (unknown) does not match --target CPU (powerpc)

MacPorts noreply at macports.org
Fri Sep 10 11:22:21 UTC 2021


#57032: mozjs52 @52.6.0, mozjs60 @60.1.0: Target C compiler target CPU (unknown)
does not match --target CPU (powerpc)
-------------------------------+----------------------
  Reporter:  ballapete         |      Owner:  (none)
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.5.3
Resolution:                    |   Keywords:  powerpc
      Port:  mozjs52, mozjs60  |
-------------------------------+----------------------

Comment (by evanmiller):

 Some progress to report - I tracked down the Tiger issues to ICU failing
 to initialize ({{{u_init()}}} failing) on that platform. I didn't dig any
 further into it, but configuring {{{--without-intl-api}}} solved it, and I
 finally get a usable shell on Tiger/PPC:

 {{{
 $ js60
 js> 1+1
 2
 }}}

 Basic tests are looking good, but the full suite may take a while to run.
 Will open a PR later this morning if everything looks OK.

 Bigger picture: It looks like the only MP consumers of mozjs are {{{gjs}}}
 (mozjs52) and {{{policykit}}} (mozjs60). It looks like their latest
 versions both require mozjs78. So rather than backport this work to
 mozjs52, the time is likely better spent forward-porting to mozjs78 and
 then updating the relevant packages.

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


More information about the macports-tickets mailing list