Comments (6)
No success either as normal user:
$ npm install yencode
> [email protected] install /home/sander/node_modules/yencode
> node-gyp rebuild
make: Entering directory '/home/sander/node_modules/yencode/build'
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/crc32c_sse4.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/multiword_64_64_cl_i386_mmx.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/multiword_64_64_gcc_amd64_asm.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/multiword_64_64_gcc_i386_mmx.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/multiword_64_64_intrinsic_i386_mmx.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/multiword_128_64_gcc_amd64_sse2.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/examples/interface.o
AR(target) Release/obj.target/crcutil.a
COPY Release/crcutil.a
CXX(target) Release/obj.target/yencode_sse2/src/encoder_sse2.o
CXX(target) Release/obj.target/yencode_sse2/src/decoder_sse2.o
AR(target) Release/obj.target/yencode_sse2.a
COPY Release/yencode_sse2.a
CXX(target) Release/obj.target/yencode_ssse3/src/encoder_ssse3.o
CXX(target) Release/obj.target/yencode_ssse3/src/decoder_ssse3.o
AR(target) Release/obj.target/yencode_ssse3.a
COPY Release/yencode_ssse3.a
CC(target) Release/obj.target/yencode_clmul/src/crc_folding.o
AR(target) Release/obj.target/yencode_clmul.a
COPY Release/yencode_clmul.a
CXX(target) Release/obj.target/yencode_avx/src/encoder_avx.o
CXX(target) Release/obj.target/yencode_avx/src/decoder_avx.o
AR(target) Release/obj.target/yencode_avx.a
COPY Release/yencode_avx.a
CXX(target) Release/obj.target/yencode_avx2/src/decoder_avx2.o
CXX(target) Release/obj.target/yencode_avx2/src/encoder_avx2.o
AR(target) Release/obj.target/yencode_avx2.a
COPY Release/yencode_avx2.a
CXX(target) Release/obj.target/yencode_neon/src/encoder_neon.o
CXX(target) Release/obj.target/yencode_neon/src/decoder_neon.o
AR(target) Release/obj.target/yencode_neon.a
COPY Release/yencode_neon.a
CXX(target) Release/obj.target/yencode_armcrc/src/crc_arm.o
AR(target) Release/obj.target/yencode_armcrc.a
COPY Release/yencode_armcrc.a
CXX(target) Release/obj.target/yencode/src/yencode.o
In file included from ../src/yencode.cc:2:
/home/sander/.cache/node-gyp/10.19.0/include/node/node.h:593:51: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)’ to ‘node::addon_context_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)’} [-Wcast-function-type]
593 | (node::addon_context_register_func) (regfunc), \
| ^
/home/sander/.cache/node-gyp/10.19.0/include/node/node.h:611:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE_X’
611 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sander/.cache/node-gyp/10.19.0/include/node/node.h:634:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE’
634 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../src/yencode.cc:428:1: note: in expansion of macro ‘NODE_MODULE_INIT’
428 | NODE_MODULE_INIT(/* exports, module, context */)
| ^~~~~~~~~~~~~~~~
CXX(target) Release/obj.target/yencode/src/platform.o
CXX(target) Release/obj.target/yencode/src/encoder.o
CXX(target) Release/obj.target/yencode/src/decoder.o
CXX(target) Release/obj.target/yencode/src/crc.o
SOLINK_MODULE(target) Release/obj.target/yencode.node
COPY Release/yencode.node
make: Leaving directory '/home/sander/node_modules/yencode/build'
npm WARN saveError ENOENT: no such file or directory, open '/home/sander/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/sander/package.json'
npm WARN sander No description
npm WARN sander No repository field.
npm WARN sander No README data
npm WARN sander No license field.
+ [email protected]
updated 1 package and audited 1 package in 25.088s
found 0 vulnerabilities
from node-yencode.
I also tried:
$ sudo npm install @animetosho/yencode
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@animetosho%2fyencode - Not found
npm ERR! 404
npm ERR! 404 '@animetosho/yencode@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-07-22T13_39_28_860Z-debug.log
from node-yencode.
FWIW: ... there seems stuff to be installed ...
$ locate yencode.node
/home/sander/node_modules/yencode/build/Release/.deps/Release/obj.target/yencode.node.d
/home/sander/node_modules/yencode/build/Release/.deps/Release/yencode.node.d
/home/sander/node_modules/yencode/build/Release/obj.target/yencode.node
/home/sander/node_modules/yencode/build/Release/yencode.node
/usr/local/lib/node_modules/@animetosho/parpar/node_modules/yencode/build/Release/.deps/Release/obj.target/yencode.node.d
/usr/local/lib/node_modules/@animetosho/parpar/node_modules/yencode/build/Release/.deps/Release/yencode.node.d
/usr/local/lib/node_modules/@animetosho/parpar/node_modules/yencode/build/Release/obj.target/yencode.node
/usr/local/lib/node_modules/@animetosho/parpar/node_modules/yencode/build/Release/yencode.node
/usr/local/lib/node_modules/yencode/build/Release/.deps/Release/obj.target/yencode.node.d
/usr/local/lib/node_modules/yencode/build/Release/.deps/Release/yencode.node.d
/usr/local/lib/node_modules/yencode/build/Release/obj.target/yencode.node
/usr/local/lib/node_modules/yencode/build/Release/yencode.node
I don't know if that should be runnable, but it's not:
sander@brixit:~$ /usr/local/lib/node_modules/yencode/build/Release/yencode.node
Segmentation fault (core dumped)
sander@brixit:~$ /home/sander/node_modules/yencode/build/Release/yencode.node
Segmentation fault (core dumped)
sander@brixit:~$ /usr/local/lib/node_modules/@animetosho/parpar/node_modules/yencode/build/Release/yencode.node
Segmentation fault (core dumped)
sander@brixit:~$
$ file /usr/local/lib/node_modules/yencode/build/Release/yencode.node
/usr/local/lib/node_modules/yencode/build/Release/yencode.node: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=1560219efcd5f295cb8485e0eeb2735c6336c9df, not stripped
from node-yencode.
To be sure it's not just me, I started a fresh Ubuntu 20.04 guest, and
apt-get update
apt-get install npm
and then same problems (see below).
So ... fresh, clean Ubuntu ... and problems ... :-(
# npm install yencode
> [email protected] install /node_modules/yencode
> node-gyp rebuild
make: Entering directory '/node_modules/yencode/build'
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/crc32c_sse4.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/multiword_64_64_cl_i386_mmx.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/multiword_64_64_gcc_amd64_asm.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/multiword_64_64_gcc_i386_mmx.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/multiword_64_64_intrinsic_i386_mmx.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/code/multiword_128_64_gcc_amd64_sse2.o
CXX(target) Release/obj.target/crcutil/crcutil-1.0/examples/interface.o
AR(target) Release/obj.target/crcutil.a
COPY Release/crcutil.a
CXX(target) Release/obj.target/yencode_sse2/src/encoder_sse2.o
CXX(target) Release/obj.target/yencode_sse2/src/decoder_sse2.o
AR(target) Release/obj.target/yencode_sse2.a
COPY Release/yencode_sse2.a
CXX(target) Release/obj.target/yencode_ssse3/src/encoder_ssse3.o
CXX(target) Release/obj.target/yencode_ssse3/src/decoder_ssse3.o
AR(target) Release/obj.target/yencode_ssse3.a
COPY Release/yencode_ssse3.a
CC(target) Release/obj.target/yencode_clmul/src/crc_folding.o
AR(target) Release/obj.target/yencode_clmul.a
COPY Release/yencode_clmul.a
CXX(target) Release/obj.target/yencode_avx/src/encoder_avx.o
CXX(target) Release/obj.target/yencode_avx/src/decoder_avx.o
AR(target) Release/obj.target/yencode_avx.a
COPY Release/yencode_avx.a
CXX(target) Release/obj.target/yencode_avx2/src/decoder_avx2.o
CXX(target) Release/obj.target/yencode_avx2/src/encoder_avx2.o
AR(target) Release/obj.target/yencode_avx2.a
COPY Release/yencode_avx2.a
CXX(target) Release/obj.target/yencode_neon/src/encoder_neon.o
CXX(target) Release/obj.target/yencode_neon/src/decoder_neon.o
AR(target) Release/obj.target/yencode_neon.a
COPY Release/yencode_neon.a
CXX(target) Release/obj.target/yencode_armcrc/src/crc_arm.o
AR(target) Release/obj.target/yencode_armcrc.a
COPY Release/yencode_armcrc.a
CXX(target) Release/obj.target/yencode/src/yencode.o
In file included from ../src/yencode.cc:2:
/usr/include/nodejs/src/node.h:593:51: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)'} [-Wcast-function-type]
593 | (node::addon_context_register_func) (regfunc), \
| ^
/usr/include/nodejs/src/node.h:611:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X'
611 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nodejs/src/node.h:634:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE'
634 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../src/yencode.cc:428:1: note: in expansion of macro 'NODE_MODULE_INIT'
428 | NODE_MODULE_INIT(/* exports, module, context */)
| ^~~~~~~~~~~~~~~~
CXX(target) Release/obj.target/yencode/src/platform.o
CXX(target) Release/obj.target/yencode/src/encoder.o
CXX(target) Release/obj.target/yencode/src/decoder.o
CXX(target) Release/obj.target/yencode/src/crc.o
SOLINK_MODULE(target) Release/obj.target/yencode.node
COPY Release/yencode.node
make: Leaving directory '/node_modules/yencode/build'
npm WARN saveError ENOENT: no such file or directory, open '/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
+ [email protected]
added 1 package from 1 contributor and audited 1 package in 27.533s
found 0 vulnerabilities
and
root@654dc52a628c:/# yencode
bash: yencode: command not found
root@654dc52a628c:/#
from node-yencode.
Thanks for all the detailed information.
This module doesn't provide any executable, it's just an API, so there's nothing 'runnable'.
If you just wanted Nyuu, you shouldn't need to install this manually, if you're using NPM - it'll automatically pull the dependency across. If you're trying to install Nyuu more manually, yencode just needs to be findable by Nyuu (either installed globally, or installed into the node_modules folder in the Nyuu root directory).
from node-yencode.
Yes, indeed I'm trying to install nyuu. As the problem occurs there, I have made an issue animetosho/Nyuu#77
from node-yencode.
Related Issues (12)
- Please Create CRC checksum's HOT 2
- CLI options? HOT 3
- Python bindings HOT 25
- Building for Go HOT 7
- Clarification on `column_offset` parameter for `encode` and `encodeTo` HOT 2
- Critical characters not escaped when they are the last character of the segment HOT 1
- yEnc SSE decode ideas HOT 54
- Build fails with node.js 12.7.0 HOT 3
- Unable to build or install HOT 2
- Errors trying to install yencode HOT 1
- macOS: llvm: yencode 1.1.0: build error: use of undeclared identifier 'aligned_alloc' HOT 5
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 node-yencode.