Error while upgrading to 0.7.0
-
@pichalite I get this error
\ > [email protected] install /root/nodebb/node_modules/mmmagic > node-gyp rebuild make: Entering directory '/root/nodebb/node_modules/mmmagic/build' CC(target) Release/obj.target/libmagic/deps/libmagic/src/apprentice.o CC(target) Release/obj.target/libmagic/deps/libmagic/src/apptype.o CC(target) Release/obj.target/libmagic/deps/libmagic/src/ascmagic.o CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf.o ../deps/libmagic/src/cdf.c: In function 'cdf_read': ../deps/libmagic/src/cdf.c:303:2: warning: implicit declaration of function 'pread' [-Wimplicit-function-declaration] CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf_time.o CC(target) Release/obj.target/libmagic/deps/libmagic/src/compress.o ../deps/libmagic/src/compress.c: In function 'file_zmagic': ../deps/libmagic/src/compress.c:108:2: error: unknown type name 'sig_t' ../deps/libmagic/src/compress.c:113:11: warning: assignment makes integer from pointer without a cast [enabled by default] ../deps/libmagic/src/compress.c:140:2: warning: passing argument 2 of 'signal' makes pointer from integer without a cast [enabled by default] In file included from /usr/include/signal.h:42:0, from ../deps/libmagic/src/compress.c:48: /usr/include/iso/signal_iso.h:63:15: note: expected 'void (*)(int)' but argument is of type 'int' deps/libmagic/libmagic.target.mk:117: recipe for target 'Release/obj.target/libmagic/deps/libmagic/src/compress.o' failed make: *** [Release/obj.target/libmagic/deps/libmagic/src/compress.o] Error 1 make: Leaving directory '/root/nodebb/node_modules/mmmagic/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/opt/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12) gyp ERR! System SunOS 5.11 gyp ERR! command "node" "/opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /root/nodebb/node_modules/mmmagic gyp ERR! node -v v0.10.32 gyp ERR! node-gyp -v v1.0.1 gyp ERR! not ok 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 most likely a problem with the mmmagic package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls mmmagic npm ERR! There is likely additional logging output above. npm ERR! System SunOS 5.11 npm ERR! command "/opt/local/bin/node" "/opt/local/bin/npm" "install" "mmmagic" npm ERR! cwd /root/nodebb npm ERR! node -v v0.10.32 npm ERR! npm -v 1.4.28 npm ERR! code ELIFECYCLE npm ERR! not ok code 0
Copyright © 2024 NodeBB | Contributors