-
-
Save jehy/cce9c2b7ef2c7ece06466b20a75e8a88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm i | |
> [email protected] install /web/my/gemini/node_modules/png-img | |
> node-gyp rebuild | |
make: Entering directory '/web/my/gemini/node_modules/png-img/build' | |
CC(target) Release/obj.target/libpng/third_party/libpng/png.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngerror.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngget.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngmem.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngpread.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngread.o | |
../third_party/libpng/pngread.c: In function 'png_create_colormap_entry': | |
../third_party/libpng/pngread.c:1905:38: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1905 | entry[afirst ? 0 : 3] = (png_byte)alpha; | |
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
../third_party/libpng/pngread.c:1906:13: note: here | |
1906 | case 3: | |
| ^~~~ | |
../third_party/libpng/pngread.c:1913:34: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1913 | entry[1 ^ afirst] = (png_byte)alpha; | |
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
../third_party/libpng/pngread.c:1914:13: note: here | |
1914 | case 1: | |
| ^~~~ | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngrio.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngrtran.o | |
../third_party/libpng/pngrtran.c: In function 'png_set_crc_action': | |
../third_party/libpng/pngrtran.c:50:10: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
50 | png_warning(png_ptr, | |
| ^~~~~~~~~~~~~~~~~~~~ | |
51 | "Can't discard critical data on CRC error"); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libpng/pngrtran.c:52:7: note: here | |
52 | case PNG_CRC_ERROR_QUIT: /* Error/quit */ | |
| ^~~~ | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngrutil.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngset.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngtest.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngtrans.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngwio.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngwrite.o | |
../third_party/libpng/pngwrite.c: In function 'png_set_filter': | |
../third_party/libpng/pngwrite.c:1010:18: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1010 | case 7: png_app_error(png_ptr, "Unknown row filter for method 0"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../third_party/libpng/pngwrite.c:1013:10: note: here | |
1013 | case PNG_FILTER_VALUE_NONE: | |
| ^~~~ | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngwtran.o | |
CC(target) Release/obj.target/libpng/third_party/libpng/pngwutil.o | |
AR(target) Release/obj.target/third_party/libpng/png.a | |
COPY Release/png.a | |
CC(target) Release/obj.target/zlib/third_party/zlib/adler32.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/compress.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/crc32.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/deflate.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/gzclose.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/gzlib.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/gzread.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/gzwrite.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/infback.o | |
../third_party/zlib/infback.c: In function 'inflateBack': | |
../third_party/zlib/infback.c:479:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
479 | state->mode = LEN; | |
| ~~~~~~~~~~~~^~~~~ | |
../third_party/zlib/infback.c:481:9: note: here | |
481 | case LEN: | |
| ^~~~ | |
CC(target) Release/obj.target/zlib/third_party/zlib/inffast.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/inflate.o | |
../third_party/zlib/inflate.c: In function 'inflateMark': | |
../third_party/zlib/inflate.c:1507:61: warning: left shift of negative value [-Wshift-negative-value] | |
1507 | if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16; | |
| ^~ | |
../third_party/zlib/inflate.c: In function 'inflate': | |
../third_party/zlib/inflate.c:720:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
720 | state->mode = EXLEN; | |
| ~~~~~~~~~~~~^~~~~~~ | |
../third_party/zlib/inflate.c:721:9: note: here | |
721 | case EXLEN: | |
| ^~~~ | |
../third_party/zlib/inflate.c:732:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
732 | state->mode = EXTRA; | |
| ~~~~~~~~~~~~^~~~~~~ | |
../third_party/zlib/inflate.c:733:9: note: here | |
733 | case EXTRA: | |
| ^~~~ | |
../third_party/zlib/inflate.c:754:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
754 | state->mode = NAME; | |
| ~~~~~~~~~~~~^~~~~~ | |
../third_party/zlib/inflate.c:755:9: note: here | |
755 | case NAME: | |
| ^~~~ | |
../third_party/zlib/inflate.c:775:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
775 | state->mode = COMMENT; | |
| ~~~~~~~~~~~~^~~~~~~~~ | |
../third_party/zlib/inflate.c:776:9: note: here | |
776 | case COMMENT: | |
| ^~~~ | |
../third_party/zlib/inflate.c:795:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
795 | state->mode = HCRC; | |
| ~~~~~~~~~~~~^~~~~~ | |
../third_party/zlib/inflate.c:796:9: note: here | |
796 | case HCRC: | |
| ^~~~ | |
../third_party/zlib/inflate.c:818:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
818 | state->mode = DICT; | |
| ~~~~~~~~~~~~^~~~~~ | |
../third_party/zlib/inflate.c:819:9: note: here | |
819 | case DICT: | |
| ^~~~ | |
../third_party/zlib/inflate.c:825:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
825 | state->mode = TYPE; | |
| ~~~~~~~~~~~~^~~~~~ | |
../third_party/zlib/inflate.c:826:9: note: here | |
826 | case TYPE: | |
| ^~~~ | |
../third_party/zlib/inflate.c:827:16: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
827 | if (flush == Z_BLOCK || flush == Z_TREES) goto inf_leave; | |
| ^ | |
../third_party/zlib/inflate.c:828:9: note: here | |
828 | case TYPEDO: | |
| ^~~~ | |
../third_party/zlib/inflate.c:877:16: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
877 | if (flush == Z_TREES) goto inf_leave; | |
| ^ | |
../third_party/zlib/inflate.c:878:9: note: here | |
878 | case COPY_: | |
| ^~~~ | |
../third_party/zlib/inflate.c:879:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
879 | state->mode = COPY; | |
| ~~~~~~~~~~~~^~~~~~ | |
../third_party/zlib/inflate.c:880:9: note: here | |
880 | case COPY: | |
| ^~~~ | |
../third_party/zlib/inflate.c:1018:16: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1018 | if (flush == Z_TREES) goto inf_leave; | |
| ^ | |
../third_party/zlib/inflate.c:1019:9: note: here | |
1019 | case LEN_: | |
| ^~~~ | |
../third_party/zlib/inflate.c:1020:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1020 | state->mode = LEN; | |
| ~~~~~~~~~~~~^~~~~ | |
../third_party/zlib/inflate.c:1021:9: note: here | |
1021 | case LEN: | |
| ^~~~ | |
../third_party/zlib/inflate.c:1069:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1069 | state->mode = LENEXT; | |
| ~~~~~~~~~~~~^~~~~~~~ | |
../third_party/zlib/inflate.c:1070:9: note: here | |
1070 | case LENEXT: | |
| ^~~~ | |
../third_party/zlib/inflate.c:1079:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1079 | state->mode = DIST; | |
| ~~~~~~~~~~~~^~~~~~ | |
../third_party/zlib/inflate.c:1080:9: note: here | |
1080 | case DIST: | |
| ^~~~ | |
../third_party/zlib/inflate.c:1106:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1106 | state->mode = DISTEXT; | |
| ~~~~~~~~~~~~^~~~~~~~~ | |
../third_party/zlib/inflate.c:1107:9: note: here | |
1107 | case DISTEXT: | |
| ^~~~ | |
../third_party/zlib/inflate.c:1122:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1122 | state->mode = MATCH; | |
| ~~~~~~~~~~~~^~~~~~~ | |
../third_party/zlib/inflate.c:1123:9: note: here | |
1123 | case MATCH: | |
| ^~~~ | |
../third_party/zlib/inflate.c:1197:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1197 | state->mode = LENGTH; | |
| ~~~~~~~~~~~~^~~~~~~~ | |
../third_party/zlib/inflate.c:1198:9: note: here | |
1198 | case LENGTH: | |
| ^~~~ | |
../third_party/zlib/inflate.c:1210:25: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
1210 | state->mode = DONE; | |
| ~~~~~~~~~~~~^~~~~~ | |
../third_party/zlib/inflate.c:1211:9: note: here | |
1211 | case DONE: | |
| ^~~~ | |
CC(target) Release/obj.target/zlib/third_party/zlib/inftrees.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/trees.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/uncompr.o | |
CC(target) Release/obj.target/zlib/third_party/zlib/zutil.o | |
AR(target) Release/obj.target/third_party/zlib/zlib.a | |
COPY Release/zlib.a | |
CXX(target) Release/obj.target/png_img/src/init.o | |
In file included from ../../nan/nan_converters.h:67, | |
from ../../nan/nan.h:222, | |
from ../src/init.cc:1: | |
../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)': | |
../../nan/nan_converters_43_inl.h:18:49: error: cannot convert 'v8::Local<v8::Context>' to 'v8::Isolate*' | |
18 | val->To ## TYPE(isolate->GetCurrentContext()) \ | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ | |
| | | |
| v8::Local<v8::Context> | |
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro 'X' | |
22 | X(Boolean) | |
| ^ | |
In file included from /home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/init.cc:1: | |
/home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/v8.h:2848:37: note: initializing argument 1 of 'v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const' | |
2848 | Local<Boolean> ToBoolean(Isolate* isolate) const; | |
| ~~~~~~~~~^~~~~~~ | |
In file included from ../../nan/nan_converters.h:67, | |
from ../../nan/nan.h:222, | |
from ../src/init.cc:1: | |
../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)': | |
../../nan/nan_converters_43_inl.h:37:55: error: cannot convert 'v8::Local<v8::Context>' to 'v8::Isolate*' | |
37 | return val->NAME ## Value(isolate->GetCurrentContext()); \ | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ | |
| | | |
| v8::Local<v8::Context> | |
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro 'X' | |
40 | X(bool, Boolean) | |
| ^ | |
In file included from /home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/init.cc:1: | |
/home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/v8.h:2858:30: note: initializing argument 1 of 'bool v8::Value::BooleanValue(v8::Isolate*) const' | |
2858 | bool BooleanValue(Isolate* isolate) const; | |
| ~~~~~~~~~^~~~~~~ | |
In file included from ../../nan/nan_new.h:189, | |
from ../../nan/nan.h:223, | |
from ../src/init.cc:1: | |
../../nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)': | |
../../nan/nan_implementation_12_inl.h:356:37: error: no matching function for call to 'v8::StringObject::New(v8::Local<v8::String>&)' | |
356 | return v8::StringObject::New(value).As<v8::StringObject>(); | |
| ^ | |
In file included from /home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/init.cc:1: | |
/home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/v8.h:5854:23: note: candidate: 'static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)' | |
5854 | static Local<Value> New(Isolate* isolate, Local<String> value); | |
| ^~~ | |
/home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/v8.h:5854:23: note: candidate expects 2 arguments, 1 provided | |
In file included from ../../nan/nan_new.h:189, | |
from ../../nan/nan.h:223, | |
from ../src/init.cc:1: | |
../../nan/nan_implementation_12_inl.h:356:58: error: expected primary-expression before '>' token | |
356 | return v8::StringObject::New(value).As<v8::StringObject>(); | |
| ^ | |
../../nan/nan_implementation_12_inl.h:356:60: error: expected primary-expression before ')' token | |
356 | return v8::StringObject::New(value).As<v8::StringObject>(); | |
| ^ | |
In file included from ../src/init.cc:1: | |
../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)': | |
../../nan/nan.h:2232:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type] | |
2232 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) | |
| ^ | |
In file included from /usr/include/c++/9/cassert:44, | |
from /home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/node_object_wrap.h:26, | |
from ../../nan/nan.h:55, | |
from ../src/init.cc:1: | |
../../nan/nan_object_wrap.h: In destructor 'virtual Nan::ObjectWrap::~ObjectWrap()': | |
../../nan/nan_object_wrap.h:24:25: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath' | |
24 | assert(persistent().IsNearDeath()); | |
| ^~~~~~~~~~~ | |
../../nan/nan_object_wrap.h: In static member function 'static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)': | |
../../nan/nan_object_wrap.h:127:26: error: 'class Nan::Persistent<v8::Object>' has no member named 'IsNearDeath' | |
127 | assert(wrap->handle_.IsNearDeath()); | |
| ^~~~~~~~~~~ | |
../src/init.cc: In function 'void InitAll(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)': | |
../src/init.cc:10:125: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' | |
10 | Nan::Set(target, New<String>("PngImg").ToLocalChecked(), New<FunctionTemplate>(PngImgAdapter::NewInstance)->GetFunction()); | |
| ^ | |
In file included from /home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/node.h:67, | |
from ../../nan/nan.h:53, | |
from ../src/init.cc:1: | |
/home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/v8.h:6482:46: note: candidate: 'v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)' | |
6482 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( | |
| ^~~~~~~~~~~ | |
/home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided | |
In file included from ../../nan/nan.h:53, | |
from ../src/init.cc:1: | |
../src/init.cc: At global scope: | |
/home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/node.h:758:43: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local<v8::Object>)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type] | |
758 | (node::addon_register_func) (regfunc), \ | |
| ^ | |
/home/evgeny-bond/.cache/node-gyp/14.17.0/include/node/node.h:792:3: note: in expansion of macro 'NODE_MODULE_X' | |
792 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | |
| ^~~~~~~~~~~~~ | |
../src/init.cc:13:1: note: in expansion of macro 'NODE_MODULE' | |
13 | NODE_MODULE(png_img, InitAll) | |
| ^~~~~~~~~~~ | |
make: *** [png_img.target.mk:120: Release/obj.target/png_img/src/init.o] Error 1 | |
make: Leaving directory '/web/my/gemini/node_modules/png-img/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/home/evgeny-bond/.nvm/versions/node/v14.17.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:376:20) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) | |
gyp ERR! System Linux 5.4.0-73-generic | |
gyp ERR! command "/home/evgeny-bond/.nvm/versions/node/v14.17.0/bin/node" "/home/evgeny-bond/.nvm/versions/node/v14.17.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /web/my/gemini/node_modules/png-img | |
gyp ERR! node -v v14.17.0 | |
gyp ERR! node-gyp -v v5.1.0 | |
gyp ERR! not ok | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] install: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] install script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/evgeny-bond/.npm/_logs/2021-05-20T15_28_44_463Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment