Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS node 20.10.0 build failing #922

Open
BlobTheKat opened this issue Jan 12, 2024 · 5 comments
Open

MacOS node 20.10.0 build failing #922

BlobTheKat opened this issue Jan 12, 2024 · 5 comments
Labels

Comments

@BlobTheKat
Copy link

I have no clue how half of this stuff works but here's a dump of the logs
Note that I had to manually install python 2.7.18 to get this far

npm ERR! code 1
npm ERR! path /Users/blob/Desktop/cbot/node_modules/gl
npm ERR! command failed
npm ERR! command sh -c prebuild-install || node-gyp rebuild
npm ERR! CXX(target) Release/obj.target/angle_common/angle/src/common/Float16ToFloat32.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/MemoryBuffer.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/angleutils.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/debug.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/mathutil.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/string_utils.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/tls.o
npm ERR!   CXX(target) Release/obj.target/angle_common/angle/src/common/utilities.o
npm ERR!   LIBTOOL-STATIC Release/angle_common.a
npm ERR!   COPY Release/obj/gen/angle/id/commit.h
npm ERR!   TOUCH Release/obj.target/angle/src/commit_id.stamp
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/common/event_tracer.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/AttributeMap.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Buffer.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Caps.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Compiler.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Config.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Context.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Data.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Debug.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Device.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Display.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Error.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Fence.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Framebuffer.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/FramebufferAttachment.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/HandleAllocator.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Image.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/ImageIndex.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/IndexRangeCache.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Platform.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Program.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Query.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Renderbuffer.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/ResourceManager.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Sampler.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Shader.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/State.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Stream.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Surface.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Texture.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/TransformFeedback.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Uniform.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/VertexArray.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/VertexAttribute.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/angletypes.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/formatutils.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/queryconversions.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/DeviceImpl.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/DisplayImpl.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/Renderer.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/SurfaceImpl.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationEGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES2.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES3.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/third_party/murmurhash/MurmurHash3.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/BlitGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/BufferGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/CompilerGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/DisplayGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FenceNVGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FenceSyncGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FramebufferGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FunctionsGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/ProgramGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/QueryGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/RenderbufferGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/RendererGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/SamplerGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/ShaderGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/StateManagerGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/SurfaceGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/TextureGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/TransformFeedbackGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/VertexArrayGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/formatutilsgl.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/renderergl_utils.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/cgl/DisplayCGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/cgl/PbufferSurfaceCGL.o
npm ERR!   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.o
npm ERR!   LIBTOOL-STATIC Release/ANGLE.a
npm ERR!   CXX(target) Release/obj.target/libEGL/angle/src/libEGL/libEGL.o
npm ERR!   LIBTOOL-STATIC Release/EGL.a
npm ERR!   CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_egl.o
npm ERR!   CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_egl_ext.o
npm ERR!   CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_gles_2_0.o
npm ERR!   CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_gles_2_0_ext.o
npm ERR!   CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_gles_3_0.o
npm ERR!   CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/global_state.o
npm ERR!   CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/libGLESv2.o
npm ERR!   LIBTOOL-STATIC Release/GLESv2.a
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/DiagnosticsBase.o
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/DirectiveHandlerBase.o
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/DirectiveParser.o
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/ExpressionParser.o
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Input.o
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Lexer.o
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Macro.o
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/MacroExpander.o
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Preprocessor.o
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Token.o
npm ERR!   CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Tokenizer.o
npm ERR!   LIBTOOL-STATIC Release/preprocessor.a
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/BuiltInFunctionEmulator.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Cache.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/CallDAG.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/CodeGen.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Compiler.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Diagnostics.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/DirectiveHandler.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/EmulatePrecision.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/FlagStd140Structs.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ForLoopUnroll.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InfoSink.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Initialize.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InitializeDll.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InitializeParseContext.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InitializeVariables.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/IntermNode.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/IntermTraverse.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Intermediate.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/LoopInfo.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Operator.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ParseContext.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/PoolAlloc.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/PruneEmptyDeclarations.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RecordConstantPrecision.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RegenerateStructNames.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RemovePow.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RewriteDoWhile.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ScalarizeVecAndMatConstructorArgs.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/SearchSymbol.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/SymbolTable.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Types.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/UnfoldShortCircuitAST.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateGlobalInitializer.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateLimitations.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateMaxParameters.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateOutputs.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateSwitch.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/VariableInfo.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/VariablePacker.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/blocklayout.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraph.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraphBuilder.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraphOutput.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraphTraverse.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/glslang_lex.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/glslang_tab.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/intermOut.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/timing/RestrictFragmentShaderTiming.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/timing/RestrictVertexShaderTiming.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/util.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/third_party/compiler/ArrayBoundsClamper.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/OutputESSL.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/TranslatorESSL.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/BuiltInFunctionEmulatorGLSL.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ExtensionGLSL.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/OutputGLSL.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/OutputGLSLBase.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/TranslatorGLSL.o
npm ERR!   CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/VersionGLSL.o
npm ERR!   LIBTOOL-STATIC Release/translator_lib.a
npm ERR!   CXX(target) Release/obj.target/translator_static/angle/src/compiler/translator/ShaderLang.o
npm ERR!   CXX(target) Release/obj.target/translator_static/angle/src/compiler/translator/ShaderVars.o
npm ERR!   LIBTOOL-STATIC Release/translator_static.a
npm ERR!   CXX(target) Release/obj.target/webgl/src/native/bindings.o
npm ERR! prebuild-install warn install No prebuilt binaries found (target=20.10.0 runtime=node arch=arm64 libc= platform=darwin)
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | arm64
npm ERR! gyp info find Python using Python version 3.11.7 found at "/opt/homebrew/opt/[email protected]/bin/python3.11"
npm ERR! gyp info spawn /opt/homebrew/opt/[email protected]/bin/python3.11
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/Users/blob/Desktop/cbot/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/blob/Desktop/cbot/node_modules/gl/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/blob/Desktop/cbot/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/blob/Library/Caches/node-gyp/20.10.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/blob/Library/Caches/node-gyp/20.10.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/Users/blob/Desktop/cbot/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/blob/Library/Caches/node-gyp/20.10.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/blob/Desktop/cbot/node_modules/gl',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../angle/src/libANGLE/Program.cpp:2505:49: warning: instantiation of variable 'gl::GLTypeToGLenum<float>::value' required here, but no definition is available [-Wundefined-var-template]
npm ERR!     if (componentType == GLTypeToGLenum<DestT>::value)
npm ERR!                                                 ^
npm ERR! ../angle/src/libANGLE/Program.cpp:1263:5: note: in instantiation of function template specialization 'gl::Program::getUniformInternal<float>' requested here
npm ERR!     getUniformInternal(location, v);
npm ERR!     ^
npm ERR! ../angle/src/libANGLE/queryconversions.h:26:19: note: forward declaration of template entity is here
npm ERR!     static GLenum value;
npm ERR!                   ^
npm ERR! ../angle/src/libANGLE/Program.cpp:2505:49: note: add an explicit instantiation declaration to suppress this warning if 'gl::GLTypeToGLenum<float>::value' is explicitly instantiated in another translation unit
npm ERR!     if (componentType == GLTypeToGLenum<DestT>::value)
npm ERR!                                                 ^
npm ERR! ../angle/src/libANGLE/Program.cpp:2505:49: warning: instantiation of variable 'gl::GLTypeToGLenum<int>::value' required here, but no definition is available [-Wundefined-var-template]
npm ERR!     if (componentType == GLTypeToGLenum<DestT>::value)
npm ERR!                                                 ^
npm ERR! ../angle/src/libANGLE/Program.cpp:1268:5: note: in instantiation of function template specialization 'gl::Program::getUniformInternal<int>' requested here
npm ERR!     getUniformInternal(location, v);
npm ERR!     ^
npm ERR! ../angle/src/libANGLE/queryconversions.h:26:19: note: forward declaration of template entity is here
npm ERR!     static GLenum value;
npm ERR!                   ^
npm ERR! ../angle/src/libANGLE/Program.cpp:2505:49: note: add an explicit instantiation declaration to suppress this warning if 'gl::GLTypeToGLenum<int>::value' is explicitly instantiated in another translation unit
npm ERR!     if (componentType == GLTypeToGLenum<DestT>::value)
npm ERR!                                                 ^
npm ERR! ../angle/src/libANGLE/Program.cpp:2505:49: warning: instantiation of variable 'gl::GLTypeToGLenum<unsigned int>::value' required here, but no definition is available [-Wundefined-var-template]
npm ERR!     if (componentType == GLTypeToGLenum<DestT>::value)
npm ERR!                                                 ^
npm ERR! ../angle/src/libANGLE/Program.cpp:1273:5: note: in instantiation of function template specialization 'gl::Program::getUniformInternal<unsigned int>' requested here
npm ERR!     getUniformInternal(location, v);
npm ERR!     ^
npm ERR! ../angle/src/libANGLE/queryconversions.h:26:19: note: forward declaration of template entity is here
npm ERR!     static GLenum value;
npm ERR!                   ^
npm ERR! ../angle/src/libANGLE/Program.cpp:2505:49: note: add an explicit instantiation declaration to suppress this warning if 'gl::GLTypeToGLenum<unsigned int>::value' is explicitly instantiated in another translation unit
npm ERR!     if (componentType == GLTypeToGLenum<DestT>::value)
npm ERR!                                                 ^
npm ERR! 3 warnings generated.
npm ERR! In file included from ../angle/src/compiler/preprocessor/DirectiveParser.cpp:17:
npm ERR! ../angle/src/compiler/preprocessor/MacroExpander.h:86:10: warning: 'auto_ptr<pp::Token>' is deprecated [-Wdeprecated-declarations]
npm ERR!     std::auto_ptr<Token> mReserveToken;
npm ERR!          ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/auto_ptr.h:30:28: note: 'auto_ptr<pp::Token>' has been explicitly marked deprecated here
npm ERR! class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
npm ERR!                            ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:825:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
npm ERR! #    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
npm ERR!                                         ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:810:49: note: expanded from macro '_LIBCPP_DEPRECATED'
npm ERR! #      define _LIBCPP_DEPRECATED __attribute__((deprecated))
npm ERR!                                                 ^
npm ERR! 1 warning generated.
npm ERR! ../angle/src/compiler/preprocessor/ExpressionParser.cpp:1100:9: warning: variable 'ppnerrs' set but not used [-Wunused-but-set-variable]
npm ERR!     int yynerrs;
npm ERR!         ^
npm ERR! ../angle/src/compiler/preprocessor/ExpressionParser.cpp:67:25: note: expanded from macro 'yynerrs'
npm ERR! #define yynerrs         ppnerrs
npm ERR!                         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../angle/src/compiler/preprocessor/MacroExpander.cpp:7:
npm ERR! ../angle/src/compiler/preprocessor/MacroExpander.h:86:10: warning: 'auto_ptr<pp::Token>' is deprecated [-Wdeprecated-declarations]
npm ERR!     std::auto_ptr<Token> mReserveToken;
npm ERR!          ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/auto_ptr.h:30:28: note: 'auto_ptr<pp::Token>' has been explicitly marked deprecated here
npm ERR! class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
npm ERR!                            ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:825:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
npm ERR! #    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
npm ERR!                                         ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:810:49: note: expanded from macro '_LIBCPP_DEPRECATED'
npm ERR! #      define _LIBCPP_DEPRECATED __attribute__((deprecated))
npm ERR!                                                 ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../angle/src/compiler/preprocessor/Preprocessor.cpp:14:
npm ERR! ../angle/src/compiler/preprocessor/MacroExpander.h:86:10: warning: 'auto_ptr<pp::Token>' is deprecated [-Wdeprecated-declarations]
npm ERR!     std::auto_ptr<Token> mReserveToken;
npm ERR!          ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/auto_ptr.h:30:28: note: 'auto_ptr<pp::Token>' has been explicitly marked deprecated here
npm ERR! class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
npm ERR!                            ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:825:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
npm ERR! #    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
npm ERR!                                         ^
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:810:49: note: expanded from macro '_LIBCPP_DEPRECATED'
npm ERR! #      define _LIBCPP_DEPRECATED __attribute__((deprecated))
npm ERR!                                                 ^
npm ERR! 1 warning generated.
npm ERR! ./Tokenizer.cpp:1531:16: warning: function 'yyinput' is not needed and will not be emitted [-Wunneeded-internal-declaration]
npm ERR!     static int yyinput (yyscan_t yyscanner)
npm ERR!                ^
npm ERR! 1 warning generated.
npm ERR! ../angle/src/compiler/translator/CallDAG.cpp:29:13: warning: variable 'skipped' set but not used [-Wunused-but-set-variable]
npm ERR!         int skipped = 0;
npm ERR!             ^
npm ERR! 1 warning generated.
npm ERR! ../angle/src/compiler/translator/glslang_tab.cpp:2103:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable]
npm ERR!     int yynerrs;
npm ERR!         ^
npm ERR! 1 warning generated.
npm ERR! In file included from ../src/native/bindings.cc:9:
npm ERR! In file included from ../src/native/webgl.h:9:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/node.h:73:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8.h:24:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-array-buffer.h:12:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-local-handle.h:12:
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:465:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! SHARED_EXTERNAL_POINTER_TAGS(CHECK_SHARED_EXTERNAL_POINTER_TAGS)
npm ERR!                              ^
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:465:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:465:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:465:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:465:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! PER_ISOLATE_EXTERNAL_POINTER_TAGS(CHECK_NON_SHARED_EXTERNAL_POINTER_TAGS)
npm ERR!                                   ^
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:693:61: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR!     static_assert(kJSObjectType + 1 == kFirstJSApiObjectType);
npm ERR!                                                             ^
npm ERR!                                                             , ""
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:694:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR!     static_assert(kJSObjectType < kLastJSApiObjectType);
npm ERR!                                                       ^
npm ERR!                                                       , ""
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-internal.h:695:63: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR!     static_assert(kFirstJSApiObjectType < kLastJSApiObjectType);
npm ERR!                                                               ^
npm ERR!                                                               , ""
npm ERR! In file included from ../src/native/bindings.cc:9:
npm ERR! In file included from ../src/native/webgl.h:9:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/node.h:73:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8.h:24:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-array-buffer.h:13:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-object.h:9:
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-maybe.h:106:45: error: no template named 'is_lvalue_reference_v' in namespace 'std'; did you mean 'is_lvalue_reference'?
npm ERR!   template <class U, std::enable_if_t<!std::is_lvalue_reference_v<U>>*>
npm ERR!                                        ~~~~~^~~~~~~~~~~~~~~~~~~~~
npm ERR!                                             is_lvalue_reference
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_reference.h:26:29: note: 'is_lvalue_reference' declared here
npm ERR! struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : _BoolConstant<__is_lvalue_reference(_Tp)> { };
npm ERR!                             ^
npm ERR! In file included from ../src/native/bindings.cc:9:
npm ERR! In file included from ../src/native/webgl.h:9:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/node.h:73:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8.h:24:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-array-buffer.h:13:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-object.h:9:
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-maybe.h:106:69: error: expected '(' for function-style cast or type construction
npm ERR!   template <class U, std::enable_if_t<!std::is_lvalue_reference_v<U>>*>
npm ERR!                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-maybe.h:123:43: error: no template named 'is_lvalue_reference_v' in namespace 'std'; did you mean 'is_lvalue_reference'?
npm ERR! template <class T, std::enable_if_t<!std::is_lvalue_reference_v<T>>* = nullptr>
npm ERR!                                      ~~~~~^~~~~~~~~~~~~~~~~~~~~
npm ERR!                                           is_lvalue_reference
npm ERR! /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_reference.h:26:29: note: 'is_lvalue_reference' declared here
npm ERR! struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : _BoolConstant<__is_lvalue_reference(_Tp)> { };
npm ERR!                             ^
npm ERR! In file included from ../src/native/bindings.cc:9:
npm ERR! In file included from ../src/native/webgl.h:9:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/node.h:73:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8.h:24:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-array-buffer.h:13:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-object.h:9:
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-maybe.h:123:67: error: expected '(' for function-style cast or type construction
npm ERR! template <class T, std::enable_if_t<!std::is_lvalue_reference_v<T>>* = nullptr>
npm ERR!                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
npm ERR! In file included from ../src/native/bindings.cc:9:
npm ERR! In file included from ../src/native/webgl.h:9:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/node.h:73:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8.h:33:
npm ERR! In file included from /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-function.h:11:
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-function-callback.h:151:66: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR!                 kReturnValueDefaultValueIndex - kReturnValueIndex);
npm ERR!                                                                  ^
npm ERR!                                                                  , ""
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-function-callback.h:153:50: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
npm ERR!                 kIsolateIndex - kReturnValueIndex);
npm ERR!                                                  ^
npm ERR!                                                  , ""
npm ERR! In file included from ../src/native/bindings.cc:9:
npm ERR! In file included from ../src/native/webgl.h:10:
npm ERR! ../../nan/nan.h:688:39: warning: 'IdleNotificationDeadline' is deprecated: Use MemoryPressureNotification() to influence the GC schedule. [-Wdeprecated-declarations]
npm ERR!     return v8::Isolate::GetCurrent()->IdleNotificationDeadline(
npm ERR!                                       ^
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8-isolate.h:1291:3: note: 'IdleNotificationDeadline' has been explicitly marked deprecated here
npm ERR!   V8_DEPRECATE_SOON(
npm ERR!   ^
npm ERR! /Users/blob/Library/Caches/node-gyp/20.10.0/include/node/v8config.h:550:39: note: expanded from macro 'V8_DEPRECATE_SOON'
npm ERR! # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
npm ERR!                                       ^
npm ERR! 23 warnings and 4 errors generated.
npm ERR! make: *** [Release/obj.target/webgl/src/native/bindings.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/Users/blob/Desktop/cbot/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:514:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm ERR! gyp ERR! System Darwin 22.1.0
npm ERR! gyp ERR! command "/Users/blob/.nvm/versions/node/v20.10.0/bin/node" "/Users/blob/Desktop/cbot/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /Users/blob/Desktop/cbot/node_modules/gl
npm ERR! gyp ERR! node -v v20.10.0
npm ERR! gyp ERR! node-gyp -v v9.4.1
npm ERR! gyp ERR! not ok
@BlobTheKat BlobTheKat added the bug label Jan 12, 2024
@yurist38
Copy link

yurist38 commented Feb 6, 2024

Any updates?

@BlobTheKat
Copy link
Author

Any updates?

nope

@IvanMMM
Copy link

IvanMMM commented Jun 12, 2024

How about now? Still same issue

@maurocasas
Copy link

Hey everyone, wondering if anyone was able to fix this?

@cclauss
Copy link
Contributor

cclauss commented Oct 16, 2024

This fails in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants