[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
Thu Jul 15 01:38:12 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):

 The main test suite doesn't complete on Tiger/PPC:

 {{{
 $ /opt/local/bin/python2.7 js/src/tests/jstests.py js/src/obj/js/src/js
 Traceback (most recent call last):
   File "js/src/tests/jstests.py", line 393, in <module>
     sys.exit(main())
   File "js/src/tests/jstests.py", line 382, in main
     for out in run_all_tests(test_gen, prefix, results.pb, options):
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_mozjs60/mozjs60/work/mozjs-60.8.0/js/src/tests/lib/tasks_unix.py",
 line 200, in run_all_tests
     tests = list(tests)
   File "js/src/tests/jstests.py", line 338, in <genexpr>
     test_gen = (test for test in test_gen for i in range(options.repeat))
   File "js/src/tests/jstests.py", line 335, in <genexpr>
     test_gen = (_ for _ in test_gen if not _.slow)
   File "js/src/tests/jstests.py", line 328, in <genexpr>
     test_gen = (_ for _ in test_gen if not _.random)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_mozjs60/mozjs60/work/mozjs-60.8.0/js/src/tests/lib/manifest.py",
 line 443, in load_reftests
     _parse_test_header(fullpath, testcase, xul_tester)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_mozjs60/mozjs60/work/mozjs-60.8.0/js/src/tests/lib/manifest.py",
 line 304, in _parse_test_header
     _parse_one(testcase, matches.group(2), xul_tester)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_mozjs60/mozjs60/work/mozjs-60.8.0/js/src/tests/lib/manifest.py",
 line 144, in _parse_one
     if xul_tester.test(cond):
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_mozjs60/mozjs60/work/mozjs-60.8.0/js/src/tests/lib/manifest.py",
 line 111, in test
     cond, out, err))
 Exception: Failed to test XUL condition 'Android'; output was '', stderr
 was ''
 }}}

 The JIT tests run, but all appear to fail:

 {{{
 $ /opt/local/bin/python2.7 js/src/jit-test/jit_test.py
 js/src/obj/js/src/js
 Exit code: 1
 FAIL - backup-point-bug1315634.js
 [   0|   1|   0|   0]   0% >                                           |
 0.3s
 Exit code: 1
 FAIL - bug1213574.js
 [   0|   2|   0|   0]   0% >                                           |
 0.4s
 Exit code: 1
 FAIL - bug1323854-2.js
 [   0|   3|   0|   0]   0% >                                           |
 0.8s
 Exit code: 1
 FAIL - bug1366925.js
 [   0|   4|   0|   0]   0% >                                           |
 0.9s
 Exit code: 1
 FAIL - bug765479.js
 [   0|   5|   0|   0]   0% >                                           |
 1.1s
 Exit code: 1
 FAIL - bug793385.js
 [   0|   6|   0|   0]   0% >                                           |
 1.7s
 Exit code: 1
 FAIL - bug825379.js
 [   0|   7|   0|   0]   0% >                                           |
 1.7s

 ....
 }}}

 I haven't debugged at all.

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


More information about the macports-tickets mailing list