=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/spidermonkey185", "all", "PYTHON_VERSION_REQD=27", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for spidermonkey185-1.8.5nb8 /opt/pkg/bin/gmake export gmake[1]: Entering directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src' /opt/pkg/bin/gmake -C config/ nsinstall gmake[2]: Entering directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/config' pathsub.c nsinstall.c exec sh ../build/unix/print-failed-commands.sh clang -o host_pathsub.o -c -I/opt/pkg/include -I/opt/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -W -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -DXP_MACOSX -DNO_X11 -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/opt/pkg/include/nspr -I/opt/pkg/include/nspr pathsub.c exec sh ../build/unix/print-failed-commands.sh clang -o host_nsinstall.o -c -I/opt/pkg/include -I/opt/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -W -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -DXP_MACOSX -DNO_X11 -O3 -DUNICODE -D_UNICODE -I. -I. -I../dist/include -I../dist/include/nsprpub -I/opt/pkg/include/nspr -I/opt/pkg/include/nspr nsinstall.c pathsub.c:131:27: warning: unused parameter 'dir' [-Wunused-parameter] 131 | ino2name(ino_t ino, char *dir) | ^ 1 warning generated. clang -o nsinstall -I/opt/pkg/include -I/opt/pkg/include/nspr -Wall -W -Wno-unused -Wpointer-arith -W -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -DXP_UNIX -DXP_MACOSX -DNO_X11 -O3 -DUNICODE -D_UNICODE -L/opt/pkg/lib -L/opt/pkg/lib/nspr -framework Cocoa -lobjc -Wl,-executable_path,/bin -Wl,-dead_strip host_nsinstall.o host_pathsub.o ld: warning: -executable_path is obsolete gmake[2]: Leaving directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/config' Creating /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/.deps gmake[2]: Entering directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/config' rm -f nfspwd cp nfspwd.pl nfspwd chmod +x nfspwd /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -L /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/config nsinstall ../dist/bin gmake[2]: Leaving directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/config' gmake[2]: Entering directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/editline' Creating /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/editline/.deps gmake[2]: Leaving directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/editline' gmake[2]: Entering directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/shell' Creating /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/shell/.deps gmake[2]: Leaving directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/shell' gmake[2]: Entering directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' Creating /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests/.deps gmake[2]: Leaving directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsapi-tests' gmake[2]: Entering directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/tests' gmake[2]: Nothing to be done for 'export'. gmake[2]: Leaving directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/tests' clang++ -DMDCPUCFG=\"md/_darwin.cfg\" -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DOSTYPE=\"Darwin27.0.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I/opt/pkg/include/nspr -o jscpucfg jscpucfg.cpp jskwgen.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -DMDCPUCFG=\"md/_darwin.cfg\" -o host_jskwgen.o -c -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -I/opt/pkg/include/nspr jskwgen.cpp clang++ -DMDCPUCFG=\"md/_darwin.cfg\" -o host_jskwgen -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr host_jskwgen.o ./jscpucfg > jsautocfg.tmp mv jsautocfg.tmp jsautocfg.h ./host_jskwgen /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsautokw.h /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/config/nsinstall -L /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src -m 644 js-config.h jsautocfg.h /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsautokw.h js.msg jsanalyze.h jsapi.h jsarray.h jsarena.h jsatom.h jsbit.h jsbool.h jsclist.h jsclone.h jscntxt.h jscompat.h jsdate.h jsdbgapi.h jsdhash.h jsdtoa.h jsemit.h jsfun.h jsfriendapi.h jsgc.h jscell.h jsgcchunk.h jsgcstats.h jscompartment.h jshash.h jsinterp.h jsinttypes.h jsiter.h jslock.h jslong.h jsmath.h jsobj.h jsobjinlines.h json.h jsopcode.tbl jsopcode.h jsopcodeinlines.h jsotypes.h jsparse.h jsproxy.h jsprf.h jsprobes.h jspropertycache.h jspropertycacheinlines.h jspropertytree.h jsproto.tbl jsprvtd.h jspubtd.h jsreflect.h jsregexp.h jsscan.h jsscope.h jsscript.h jsscriptinlines.h jsstaticcheck.h jsstdint.h jsstr.h jstracer.h jshotloop.h jstypedarray.h jstypes.h jsutil.h jsvector.h jstl.h jshashtable.h jsversion.h jswrapper.h jsxdrapi.h jsxml.h jsval.h jsvalue.h prmjtime.h ./perf/jsperf.h ./dist/include mkdir -p nanojit gmake[1]: Leaving directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src' /opt/pkg/bin/gmake libs gmake[1]: Entering directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src' jsoplengen.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -DMDCPUCFG=\"md/_darwin.cfg\" -o host_jsoplengen.o -c -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -I/opt/pkg/include/nspr jsoplengen.cpp clang++ -DMDCPUCFG=\"md/_darwin.cfg\" -o host_jsoplengen -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr host_jsoplengen.o ./host_jsoplengen /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src/jsautooplen.h jsanalyze.cpp jsapi.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsanalyze.o -c -fvisibility=hidden -DOSTYPE=\"Darwin27.0.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp jsanalyze.cpp exec sh ./build/unix/print-failed-commands.sh clang++ -o jsapi.o -c -fvisibility=hidden -DOSTYPE=\"Darwin27.0.0\" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:55: In file included from ./jsprvtd.h:57: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 176 | typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; | ^ ./jspubtd.h:175:22: note: previous use is here 175 | struct JS_FRIEND_API(JSCrossCompartmentWrapper); | ^ In file included from jsapi.cpp:56: In file included from ./jsapi.h:49: ./jspubtd.h:176:9: warning: class 'JSCrossCompartmentWrapper' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 176 | typedef class JSCrossCompartmentWrapper JSCrossCompartmentWrapper; | ^ ./jspubtd.h:175:22: note: previous use is here 175 | struct JS_FRIEND_API(JSCrossCompartmentWrapper); | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jsgc.h:926:5: note: in instantiation of member function 'js::Vector::Vector' requested here 926 | GCHelperThread() | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here 3236 | : AutoGCRooter(cx, tag), vector(cx) | ^ ./jscntxt.h:3294:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here 3294 | : AutoVectorRooter(cx, VALVECTOR) | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here 3236 | : AutoGCRooter(cx, tag), vector(cx) | ^ ./jscntxt.h:3313:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here 3313 | : AutoVectorRooter(cx, IDVECTOR) | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here 3236 | : AutoGCRooter(cx, tag), vector(cx) | ^ ./jscntxt.h:3326:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here 3326 | : AutoVectorRooter(cx, SHAPEVECTOR) | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:737:9: warning: unused typedef 'js_static_assert6' [-Wunused-local-typedef] 737 | JS_STATIC_ASSERT(sizeof(JSValueType) == 1); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :52:1: note: expanded from here 52 | js_static_assert6 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:738:9: warning: unused typedef 'js_static_assert7' [-Wunused-local-typedef] 738 | JS_STATIC_ASSERT(sizeof(JSValueTag) == 4);In file included from jsapi.cpp :| 73 ^: ./jsnum.h:104:./jsutil.h12: error: use of undeclared identifier 'finite'; did you mean 'isfinite'? :120 :10421 | : retnote: uexpanded from macro 'JS_STATIC_ASSERT'rn finite(d); | ^~~~~~ | isfinite /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/math.h120 | typed:419:20: note: 'isfinite' declared here 419 | using ef int JS_STATIC_AsSSEtRT_GLUE(js_staticd_a::__math::isfiniste; | ^ sert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :54:1: note: expanded from here 54 | js_static_assert7 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:739:9: warning: unused typedef 'js_static_assert8' [-Wunused-local-typedef] 739 | JS_STATIC_ASSERT(sizeof(JSBool) == 4); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :56:1: note: expanded from here 56 | js_static_assert8 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:740:9: warning: unused typedef 'js_static_assert9' [-Wunused-local-typedef] 740 | JS_STATIC_ASSERT(sizeof(JSWhyMagic) <= 4); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :58:1: note: expanded from here 58 | js_static_assert9 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:64: ./jsvalue.h:741:9: warning: unused typedef 'js_static_assert10' [-Wunused-local-typedef] 741 | JS_STATIC_ASSERT(sizeof(jsval) == 8); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :60:1: note: expanded from here 60 | js_static_assert10 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:487:9: warning: unused typedef 'js_static_assert39' [-Wunused-local-typedef] 487 | JS_STATIC_ASSERT(((JSString::MAX_LENGTH << JSString::LENGTH_SHIFT) >> | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :118:1: note: expanded from here 118 | js_static_assert39 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:596:9: warning: unused typedef 'js_static_assert43' [-Wunused-local-typedef] 596 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) == | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :126:1: note: expanded from here 126 | js_static_assert43 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:599:9: warning: unused typedef 'js_static_assert45' [-Wunused-local-typedef] 599 | JS_STATIC_ASSERT(offsetof(JSString, inlineStorage) + | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :130:1: note: expanded from here 130 | js_static_assert45 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:59: In file included from ./jsatom.h:52: ./jsstr.h:598:9: warning: unused typedef 'js_static_assert44' [-Wunused-local-typedef] 598 | JS_STATIC_ASSERT(offsetof(JSShortString, mDummy) == sizeof(JSString)); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :128:1: note: expanded from here 128 | js_static_assert44 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:84:9: warning: unused typedef 'js_static_assert48' [-Wunused-local-typedef] 84 | JS_STATIC_ASSERT(UPVAR_LEVEL_LIMIT < FREE_LEVEL); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :224:1: note: expanded from here 224 | js_static_assert48 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:62: In file included from ./jsfun.h:49: ./jsscript.h:83:9: warning: unused typedef 'js_static_assert47' [-Wunused-local-typedef] 83 | JS_STATIC_ASSERT(sizeof(UpvarCookie) == sizeof(uint32)); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :222:1: note: expanded from here 222 | js_static_assert47 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:62: ./jsfun.h:228:9: warning: unused typedef 'js_static_assert49' [-Wunused-local-typedef] 228 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, i.script)); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :226:1: note: expanded from here 226 | js_static_assert49 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:62: ./jsfun.h:229:9: warning: unused typedef 'js_static_assert50' [-Wunused-local-typedef] 229 | JS_STATIC_ASSERT(offsetof(U, n.native) == offsetof(U, nativeOrScript)); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :228:1: note: expanded from here 228 | js_static_assert50 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:63: ./jsgc.h:514:5: warning: unused typedef 'js_static_assert58' [-Wunused-local-typedef] 514 | JS_STATIC_ASSERT(JSExternalString::TYPE_LIMIT == 8); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :244:1: note: expanded from here 244 | js_static_assert58 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:63: ./jsgc.h:550:5: warning: unused typedef 'js_static_assert59' [-Wunused-local-typedef] 550 | JS_STATIC_ASSERT(FINALIZE_STRING + 1 == FINALIZE_EXTERNAL_STRING); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :246:1: note: expanded from here 246 | js_static_assert59 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:66: ./jsinterp.h:778:9: warning: unused typedef 'js_static_assert61' [-Wunused-local-typedef] 778 | JS_STATIC_ASSERT(offsetof(JSStackFrame, rval_) % sizeof(js::Value) == 0); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :250:1: note: expanded from here 250 | js_static_assert61 | ^ In file included from jsanalyze.cpp:40: In file included from ./jsanalyze.h:45: In file included from ./jscntxt.h:66: ./jsinterp.h:779:9: warning: unused typedef 'js_static_assert62' [-Wunused-local-typedef] 779 | JS_STATIC_ASSERT(sizeof(JSStackFrame) % sizeof(js::Value) == 0); | ^ ./jsutil.h:120:21: note: expanded from macro 'JS_STATIC_ASSERT' 120 | typedef int JS_STATIC_ASSERT_GLUE(js_static_assert, __COUNTER__)[(cond) ? 1 : -1] | ^ ./jsutil.h:118:40: note: expanded from macro 'JS_STATIC_ASSERT_GLUE' 118 | #define JS_STATIC_ASSERT_GLUE(x,y) JS_STATIC_ASSERT_GLUE1(x,y) | ^ ./jsutil.h:117:41: note: expanded from macro 'JS_STATIC_ASSERT_GLUE1' 117 | #define JS_STATIC_ASSERT_GLUE1(x,y) x##y | ^ :252:1: note: expanded from here 252 | js_static_assert62 | ^ In file included from jsapi.cpp:88: ./jswrapper.h:120:1: warning: 'JSCrossCompartmentWrapper' defined as a class here but previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 120 | class JS_FRIEND_API(JSCrossCompartmentWrapper) : public JSWrapper { | ^ ./jspubtd.h:175:1: note: did you mean class here? 175 | struct JS_FRIEND_API(JSCrossCompartmentWrapper); | ^~~~~~ | class In file included from jsapi.cpp:94: ./jsobjinlines.h:302:20: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 301 | return sizeof(js::Value) * (ndslots + nfslots) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 302 | + isFun ? sizeof(JSFunction) : sizeof(JSObject); | ~~~~~~~ ^ ./jsobjinlines.h:302:20: note: place parentheses around the '+' expression to silence this warning 301 | return sizeof(js::Value) * (ndslots + nfslots) | ( 302 | + isFun ? sizeof(JSFunction) : sizeof(JSObject); | ^ | ) ./jsobjinlines.h:302:20: note: place parentheses around the '?:' expression to evaluate it first 302 | + isFun ? sizeof(JSFunction) : sizeof(JSObject); | ^ | ( ) ./jsobjinlines.h:316:16: warning: cast to 'void *' from smaller integer type 'uint32' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 316 | setPrivate((void*) length); | ^~~~~~~~~~~~~~ jsapi.cpp:3988:16: warning: initialization of pointer of type 'JSIdArray *' to null from a constant boolean expression [-Wbool-conversion] 3988 | return false; | ^~~~~ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jsgc.h:926:5: note: in instantiation of member function 'js::Vector::Vector' requested here 926 | GCHelperThread() | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here 3236 | : AutoGCRooter(cx, tag), vector(cx) | ^ ./jscntxt.h:3294:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here 3294 | : AutoVectorRooter(cx, VALVECTOR) | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here 3236 | : AutoGCRooter(cx, tag), vector(cx) | ^ ./jscntxt.h:3313:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here 3313 | : AutoVectorRooter(cx, IDVECTOR) | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jscntxt.h:3236:34: note: in instantiation of member function 'js::Vector::Vector' requested here 3236 | : AutoGCRooter(cx, tag), vector(cx) | ^ ./jscntxt.h:3326:11: note: in instantiation of member function 'js::AutoVectorRooter::AutoVectorRooter' requested here 3326 | : AutoVectorRooter(cx, SHAPEVECTOR) | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jsclone.h:147:42: note: in instantiation of member function 'js::Vector::Vector' requested here 147 | : out(out), objs(out.context()), counts(out.context()), ids(out.context()), | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jsparse.h:308:39: note: in instantiation of member function 'js::Vector::Vector' requested here 308 | : globalObj(globalObj), cg(cg), defs(ContextAllocPolicy(cx)) | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jsemit.h:550:36: note: in instantiation of member function 'js::Vector::Vector' requested here 550 | JSGCConstList(JSContext *cx) : list(cx) {} | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jsregexp.h:167:14: note: in instantiation of member function 'js::Vector::Vector' requested here 167 | explicit RegExpStatics(InitBuffer) : bufferLink(NULL), copied(false) {} | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jsstrinlines.h:114:5: note: in instantiation of member function 'js::Vector::Vector' requested here 114 | : cb(cx) | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jsstrinlines.h:418:9: note: in instantiation of member function 'js::Vector::Vector' requested here 418 | : stack(cx), cur(NULL) | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ ./jsobjinlines.h:829:40: note: in instantiation of member function 'js::Vector::Vector' requested here 829 | : AutoGCRooter(cx, DESCRIPTORS), descriptors(cx) | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: In file included from ./jsstr.h:56: In file included from ./jsobj.h:65: ./jsvector.h:394:34: warning: field 'storage' is uninitialized when used here [-Wuninitialized] 394 | : AllocPolicy(ap), mBegin((T *)storage.addr()), mLength(0), | ^ jsapi.cpp:614:12: note: in instantiation of member function 'js::Vector::Vector' requested here 614 | JSRuntime::JSRuntime() | ^ In file included from jsapi.cpp:57: In file included from ./jsarray.h:47: In file included from ./jsatom.h:52: ./jsstr.h:553:14: warning: private field 'mDummy' is not used [-Wunused-private-field] 553 | JSString mDummy; | ^ 18 warnings and 1 error generated. In the directory /var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src The following command failed to execute properly: clang++ -o jsapi.o -c -fvisibility=hidden -DOSTYPE="Darwin27.0.0" -DOSARCH=Darwin -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub -I/opt/pkg/include/nspr -I. -I./assembler -I./yarr -fPIC -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -fno-strict-aliasing -fpascal-strings -fno-common -pthread -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -I/opt/pkg/include -I/opt/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsapi.pp jsapi.cpp gmake[1]: *** [config/rules.mk:1477: jsapi.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... 22 warnings generated. gmake[1]: Leaving directory '/var/tmp/work/lang/spidermonkey185/work/js-1.8.5/js/src' gmake: *** [config/rules.mk:754: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/spidermonkey185 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/spidermonkey185