You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/02/07 14:10:46 UTC

[GitHub] [couchdb-pkg] kocolosk commented on pull request #87: Add JS68 rpmspec and aarch64 RPM builds

kocolosk commented on pull request #87:
URL: https://github.com/apache/couchdb-pkg/pull/87#issuecomment-1031508885


   @diannasoreil FYI I tried building the SpiderMonkey packages inside the CentOS 7 containers that we use in Jenkins CI. I ran into several missing dependencies, notably GCC >= 6.1. I installed GCC 10 from SCL and got the amd64 build to complete, but `jstests.py` crashed pretty much straight away:
   
   ```
   + /usr/bin/python3 tests/jstests.py -d -s -t 1800 --no-progress --wpt=disabled ../../js/src/dist/bin/js68
   Traceback (most recent call last):
     File "tests/jstests.py", line 584, in <module>
       sys.exit(main())
     File "tests/jstests.py", line 572, in main
       for out in run_all_tests(test_gen, prefix, results.pb, options):
     File "/home/jenkins/rpmbuild/BUILD/firefox-68.12.0/js/src/tests/lib/tasks_unix.py", line 218, in run_all_tests
       tests = list(tests)
     File "tests/jstests.py", line 528, in <genexpr>
       test_gen = (test for test in test_gen for i in range(options.repeat))
     File "tests/jstests.py", line 525, in <genexpr>
       test_gen = (_ for _ in test_gen if not _.slow)
     File "tests/jstests.py", line 518, in <genexpr>
       test_gen = (_ for _ in test_gen if not _.random)
     File "/home/jenkins/rpmbuild/BUILD/firefox-68.12.0/js/src/tests/lib/manifest.py", line 453, in load_reftests
       _parse_test_header(fullpath, testcase, xul_tester)
     File "/home/jenkins/rpmbuild/BUILD/firefox-68.12.0/js/src/tests/lib/manifest.py", line 308, in _parse_test_header
       buf = fp.read(512)
     File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
       return codecs.ascii_decode(input, self.errors)[0]
   UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1474: ordinal not in range(128)
   error: Bad exit status from /var/tmp/rpm-tmp.ZaMk8L (%check)
   ```
   
   Do you have any pointers for ensuring a valid build environment for this SM68 package?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org