Unable to build over gentoo system
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
- [Y] I have tried with the newest version of editly:
npm i -g editlyornpm i editly@latest - [Y] I have tried ffmpeg newest stable version
- [Y] I have searched for existing issues
- Whenever i try to install(build) editly on my gentoo machine i am running in a make error code 2 error which doesn't really show a error in plain english or in a language i can understand
npm ERR! make: Leaving directory '/home/arnav/Documents/reddit-yt/node_modules/gl/build' npm ERR! prebuild-install warn install No prebuilt binaries found (target=17.6.0 runtime=node arch=x64 libc= platform=linux) npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.6.0 | linux | x64 npm ERR! gyp info find Python using Python version 3.9.11 found at "/usr/lib/python-exec/python3.9/python3" npm ERR! gyp info spawn /usr/lib/python-exec/python3.9/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/home/arnav/Documents/reddit-yt/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 '/home/arnav/Documents/reddit-yt/node_modules/gl/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/arnav/Documents/reddit-yt/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/arnav/.cache/node-gyp/17.6.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=/home/arnav/.cache/node-gyp/17.6.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/arnav/Documents/reddit-yt/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/arnav/.cache/node-gyp/17.6.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/arnav/Documents/reddit-yt/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/HandleAllocator.cpp: In constructor 'gl::HandleAllocator::HandleAllocator()': npm ERR! ../angle/src/libANGLE/HandleAllocator.cpp:29:52: error: 'numeric_limits' is not a member of 'std' npm ERR! 29 | mUnallocatedList.push_back(HandleRange(1, std::numeric_limits<GLuint>::max())); npm ERR! | ^~~~~~~~~~~~~~ npm ERR! ../angle/src/libANGLE/HandleAllocator.cpp:29:76: error: '::max' has not been declared; did you mean 'std::max'? npm ERR! 29 | mUnallocatedList.push_back(HandleRange(1, std::numeric_limits<GLuint>::max())); npm ERR! | ^~~ npm ERR! | std::max npm ERR! In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/algorithm:62, npm ERR! from ../angle/src/libANGLE/HandleAllocator.cpp:12: npm ERR! /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/stl_algo.h:3467:5: note: 'std::max' declared here npm ERR! 3467 | max(initializer_list<_Tp> __l, _Compare __comp) npm ERR! | ^~~ npm ERR! ../angle/src/libANGLE/HandleAllocator.cpp:29:43: error: expected primary-expression before '(' token npm ERR! 29 | mUnallocatedList.push_back(HandleRange(1, std::numeric_limits<GLuint>::max())); npm ERR! | ^ npm ERR! ../angle/src/libANGLE/HandleAllocator.cpp:29:52: error: 'numeric_limits' is not a member of 'std' npm ERR! 29 | mUnallocatedList.push_back(HandleRange(1, std::numeric_limits<GLuint>::max())); npm ERR! | ^~~~~~~~~~~~~~ npm ERR! ../angle/src/libANGLE/HandleAllocator.cpp:29:73: error: expected primary-expression before '>' token npm ERR! 29 | mUnallocatedList.push_back(HandleRange(1, std::numeric_limits<GLuint>::max())); npm ERR! | ^ npm ERR! ../angle/src/libANGLE/HandleAllocator.cpp:29:76: error: '::max' has not been declared; did you mean 'std::max'? npm ERR! 29 | mUnallocatedList.push_back(HandleRange(1, std::numeric_limits<GLuint>::max())); npm ERR! | ^~~ npm ERR! | std::max npm ERR! In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/algorithm:62, npm ERR! from ../angle/src/libANGLE/HandleAllocator.cpp:12: npm ERR! /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/stl_algo.h:3467:5: note: 'std::max' declared here npm ERR! 3467 | max(initializer_list<_Tp> __l, _Compare __comp) npm ERR! | ^~~ npm ERR! make: *** [angle/src/libANGLE.target.mk:241: Release/obj.target/libANGLE/angle/src/libANGLE/HandleAllocator.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 (/home/arnav/Documents/reddit-yt/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 5.15.25-gentoo-dist
npm ERR! gyp ERR! command "/home/arnav/.local/share/nvm/v17.6.0/bin/node" "/home/arnav/Documents/reddit-yt/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/arnav/Documents/reddit-yt/node_modules/gl
npm ERR! gyp ERR! node -v v17.6.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported npm/node-gyp build in node_modules/gl and the failing angle/src/libANGLE/HandleAllocator.cpp compilation on Gentoo with Node 17.6.0. Reproduce the installation and determine whether the failure is in editly or its gl dependency; done means a documented, verifiable installation path or a confirmed fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux, node.js
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100