Comments (8)
Hey @winsvega. I'm getting a 404 error when I try to access the error log. Could you double check that's right?
from c-kzg-4844.
npm ERR! code 1
npm ERR! path /data/ethereumjs-monorepo/node_modules/c-kzg
npm ERR! command failed
npm ERR! command sh /tmp/install-c19fdffd.sh
npm ERR! make: Entering directory '/data/ethereumjs-monorepo/node_modules/c-kzg/build'
npm ERR! CC(target) Release/obj.target/nothing/node_modules/node-addon-api/nothing.o
npm ERR! rm -f Release/obj.target/node_modules/node-addon-api/nothing.a Release/obj.target/node_modules/node-addon-api/nothing.a.ar-file-list; mkdir -p `dirname Release/obj.target/node_modules/node-addon-api/nothing.a`
npm ERR! ar crs Release/obj.target/node_modules/node-addon-api/nothing.a @Release/obj.target/node_modules/node-addon-api/nothing.a.ar-file-list
npm ERR! COPY Release/nothing.a
npm ERR! ACTION binding_gyp_kzg_target_build_blst /data/ethereumjs-monorepo/node_modules/c-kzg/libblst.a
npm ERR! ACTION binding_gyp_kzg_target_build_ckzg /data/ethereumjs-monorepo/node_modules/c-kzg/c_kzg_4844.o
npm ERR! CXX(target) Release/obj.target/kzg/kzg.o
npm ERR! SOLINK_MODULE(target) Release/obj.target/kzg.node
npm ERR! kzg.target.mk:188: recipe for target 'Release/obj.target/kzg.node' failed
npm ERR! make: Leaving directory '/data/ethereumjs-monorepo/node_modules/c-kzg/build'
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] | linux | x64
npm ERR! gyp info find Python using Python version 3.6.9 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/ubuntu/.nvm/versions/node/v16.17.1/lib/node_modules/npm/node_modules/@npmcli/run-script/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 '/data/ethereumjs-monorepo/node_modules/c-kzg/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/ubuntu/.nvm/versions/node/v16.17.1/lib/node_modules/npm/node_modules/@npmcli/run-script/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/ubuntu/.cache/node-gyp/16.17.1/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/ubuntu/.cache/node-gyp/16.17.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/ubuntu/.nvm/versions/node/v16.17.1/lib/node_modules/npm/node_modules/@npmcli/run-script/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/ubuntu/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/data/ethereumjs-monorepo/node_modules/c-kzg',
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! + cc -O2 -fno-builtin -fPIC -Wall -Wextra -Werror -D__ADX__ -mno-avx -c /data/ethereumjs-monorepo/node_modules/c-kzg/dist/deps/blst/src/server.c
npm ERR! + cc -O2 -fno-builtin -fPIC -Wall -Wextra -Werror -D__ADX__ -mno-avx -c /data/ethereumjs-monorepo/node_modules/c-kzg/dist/deps/blst/build/assembly.S
npm ERR! + ar rc libblst.a assembly.o server.o
npm ERR! /data/ethereumjs-monorepo/node_modules/c-kzg/dist/deps/c-kzg/c_kzg_4844.c: In function ‘load_trusted_setup_file’:
npm ERR! /data/ethereumjs-monorepo/node_modules/c-kzg/dist/deps/c-kzg/c_kzg_4844.c:813:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
npm ERR! 813 | fscanf(in, "%" SCNu64, &i);
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /data/ethereumjs-monorepo/node_modules/c-kzg/dist/deps/c-kzg/c_kzg_4844.c:815:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
npm ERR! 815 | fscanf(in, "%" SCNu64, &i);
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /data/ethereumjs-monorepo/node_modules/c-kzg/dist/deps/c-kzg/c_kzg_4844.c:822:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
npm ERR! 822 | fscanf(in, "%2hhx", &g1_bytes[i]);
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /data/ethereumjs-monorepo/node_modules/c-kzg/dist/deps/c-kzg/c_kzg_4844.c:825:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
npm ERR! 825 | fscanf(in, "%2hhx", &g2_bytes[i]);
npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /usr/bin/ld: /data/ethereumjs-monorepo/node_modules/c-kzg/c_kzg_4844.o: relocation R_X86_64_PC32 against symbol `bytes_to_g1' can not be used when making a shared object; recompile with -fPIC
npm ERR! /usr/bin/ld: final link failed: Bad value
npm ERR! collect2: error: ld returned 1 exit status
npm ERR! make: *** [Release/obj.target/kzg.node] 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/ubuntu/.nvm/versions/node/v16.17.1/lib/node_modules/npm/node_modules/@npmcli/run-script/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 5.4.0-1092-aws
npm ERR! gyp ERR! command "/home/ubuntu/.nvm/versions/node/v16.17.1/bin/node" "/home/ubuntu/.nvm/versions/node/v16.17.1/lib/node_modules/npm/node_modules/@npmcli/run-script/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /data/ethereumjs-monorepo/node_modules/c-kzg
npm ERR! gyp ERR! node -v v16.17.1
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2023-02-09T12_02_37_585Z-debug-0.log
from c-kzg-4844.
Is this ticket still valid?
from c-kzg-4844.
Yes I was still seeing that last week and was originally hopeful to get it fixed with PR #160. I was able to clear the initial issue but it triggered others. This issue is the last remaining piece of that PR that was closed and is now ready to be attempted again.
from c-kzg-4844.
Hello. Is this something that still needs work?
from c-kzg-4844.
I just upgraded to g++ v11, ubuntu20 to resolve this. I guess no.
from c-kzg-4844.
@winsvega could you provide instructions on how to reproduce this issue?
from c-kzg-4844.
I was just trying to run npm i
for ethereumjs on ubuntu18
Also max node version there is 17
gcc/g++ 9
from c-kzg-4844.
Related Issues (20)
- Rust benchmarks are broken HOT 2
- Consider using a char buffer instead of FILE HOT 5
- Can I just compile as a lib in C? HOT 3
- Some ops seem exceedingly slow on Apple M2 HOT 11
- Crashes with SIGILL on Linux/amd64 i7 CPU HOT 3
- Add library prefix to all ckzg symbols HOT 7
- Broken CI in rust-windows because of rust-1.7.0 HOT 1
- Stack overflow in Rust benchmarks on Windows HOT 1
- Nodejs does not support browsers HOT 5
- Problems with cross-platform docker images HOT 6
- Release Rust bindings on crates.io HOT 3
- Support new function ckzg_load_trusted_setup_from_bytes HOT 3
- Should we make FIELD_ELEMENTS_PER_BLOB runtime-configurable? HOT 8
- Rust binding can't cross compile on Apple Silicon HOT 3
- Rust bindings lack flexibility with current structure of build script HOT 3
- Rust build.rs: Pass -D__BLST_NO_ASM__ on non-x86-64/non-aarch64 ISAs HOT 7
- Python bindings' load_trusted_setup() segfaults if file does not exist HOT 1
- Blob value in argument to context.VerifyBlobKZGProof HOT 1
- [rust] Add compute_* verify_* functionsfor KzgSettings HOT 3
- no pypi source packages HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c-kzg-4844.