Skip to content
This repository was archived by the owner on Jul 14, 2021. It is now read-only.
This repository was archived by the owner on Jul 14, 2021. It is now read-only.

npm install msgpack doesn't work on node v0.10.28 #55

@kiyoto

Description

@kiyoto

Here is my log running npm install msgpack

npm http GET https://registry.npmjs.org/msgpack
npm http 304 https://registry.npmjs.org/msgpack
> msgpack@0.2.3 install /data/mongolab/node_modules/msgpack
> node-gyp rebuild
make: Entering directory `/data/mongolab/node_modules/msgpack/build'
  CXX(target) Release/obj.target/libmsgpack/deps/msgpack/gcc_atomic.o
  CXX(target) Release/obj.target/libmsgpack/deps/msgpack/object.o
In file included from ../deps/msgpack/msgpack/type/fixint.hpp:22:0,
                 from ../deps/msgpack/msgpack/type.hpp:3,
                 from ../deps/msgpack/msgpack/object.hpp:418,
                 from ../deps/msgpack/object.cpp:18:
../deps/msgpack/msgpack/type/int.hpp: In static member function 'static void msgpack::type::detail::object_char_sign<true>::make(msgpack::object&, char)':
../deps/msgpack/msgpack/type/int.hpp:102:22: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
     : o.type = type::POSITIVE_INTEGER, o.via.u64 = v;
                      ^
../deps/msgpack/msgpack/type/int.hpp: In function 'void msgpack::operator<<(msgpack::object&, signed char)':
../deps/msgpack/msgpack/type/int.hpp:206:76: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
                                                                            ^
../deps/msgpack/msgpack/type/int.hpp: In function 'void msgpack::operator<<(msgpack::object&, short int)':
../deps/msgpack/msgpack/type/int.hpp:209:76: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
                                                                            ^
../deps/msgpack/msgpack/type/int.hpp: In function 'void msgpack::operator<<(msgpack::object&, int)':
../deps/msgpack/msgpack/type/int.hpp:212:76: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
                                                                            ^
../deps/msgpack/msgpack/type/int.hpp: In function 'void msgpack::operator<<(msgpack::object&, long int)':
../deps/msgpack/msgpack/type/int.hpp:215:76: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
                                                                            ^
../deps/msgpack/msgpack/type/int.hpp: In function 'void msgpack::operator<<(msgpack::object&, long long int)':
../deps/msgpack/msgpack/type/int.hpp:218:76: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
                                                                            ^
In file included from ../deps/msgpack/msgpack/type.hpp:3:0,
                 from ../deps/msgpack/msgpack/object.hpp:418,
                 from ../deps/msgpack/object.cpp:18:
../deps/msgpack/msgpack/type/fixint.hpp: In function 'void msgpack::operator<<(msgpack::object&, msgpack::type::fix_int8)':
../deps/msgpack/msgpack/type/fixint.hpp:118:88: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v.get() < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v.get() : o.type = type::POSITIVE_INTEGER, o.via.u64 = v.get(); }
                                                                                        ^
In file included from ../deps/msgpack/msgpack/type.hpp:3:0,
                 from ../deps/msgpack/msgpack/object.hpp:418,
                 from ../deps/msgpack/object.cpp:18:
../deps/msgpack/msgpack/type/fixint.hpp: In function 'void msgpack::operator<<(msgpack::object&, msgpack::type::fix_int16)':
../deps/msgpack/msgpack/type/fixint.hpp:121:88: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v.get() < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v.get() : o.type = type::POSITIVE_INTEGER, o.via.u64 = v.get(); }
                                                                                        ^
../deps/msgpack/msgpack/type/fixint.hpp: In function 'void msgpack::operator<<(msgpack::object&, msgpack::type::fix_int32)':
../deps/msgpack/msgpack/type/fixint.hpp:124:88: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v.get() < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v.get() : o.type = type::POSITIVE_INTEGER, o.via.u64 = v.get(); }
                                                                                        ^
../deps/msgpack/msgpack/type/fixint.hpp: In function 'void msgpack::operator<<(msgpack::object&, msgpack::type::fix_int64)':
../deps/msgpack/msgpack/type/fixint.hpp:127:88: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v.get() < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v.get() : o.type = type::POSITIVE_INTEGER, o.via.u64 = v.get(); }
                                                                                        ^
  CC(target) Release/obj.target/libmsgpack/deps/msgpack/objectc.o
  CC(target) Release/obj.target/libmsgpack/deps/msgpack/unpack.o
../deps/msgpack/unpack.c: In function 'template_callback_root':
../deps/msgpack/unpack.c:59:1: warning: missing initializer for field 'type' of 'msgpack_object' [-Wmissing-field-initializers]
 { msgpack_object o = {}; return o; }
 ^
In file included from ../deps/msgpack/msgpack/unpack.h:22:0,
                 from ../deps/msgpack/unpack.c:18:
../deps/msgpack/msgpack/object.h:76:22: note: 'type' declared here
  msgpack_object_type type;
                      ^
  CC(target) Release/obj.target/libmsgpack/deps/msgpack/vrefbuffer.o
  CC(target) Release/obj.target/libmsgpack/deps/msgpack/zone.o
  CC(target) Release/obj.target/libmsgpack/deps/msgpack/version.o
  AR(target) Release/obj.target/deps/msgpack/msgpack.a
  COPY Release/msgpack.a
  CXX(target) Release/obj.target/msgpackBinding/src/msgpack.o
  SOLINK_MODULE(target) Release/obj.target/msgpackBinding.node
  SOLINK_MODULE(target) Release/obj.target/msgpackBinding.node: Finished
  COPY Release/msgpackBinding.node
make: Leaving directory `/data/mongolab/node_modules/msgpack/build'
npm ERR! peerinvalid The package winston does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer winston-fluent@0.1.0 wants winston@>=0.5.0 <0.7.1
npm ERR! System Linux 3.2.0-23-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "msgpack"
npm ERR! cwd /data/mongolab
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /data/mongolab/npm-debug.log
npm ERR! not ok code 0
[ root@dd9e6a72fe6b:/data/mongolab ]$ vim /data/mongolab/npm-debug.log
[ root@dd9e6a72fe6b:/data/mongolab ]$ vim /data/mongolab/npm-debug.log ^C^C
[ root@dd9e6a72fe6b:/data/mongolab ]$ rm /data/mongolab/npm-debug.log
rm: remove regular file '/data/mongolab/npm-debug.log'? ^[OA^H^H^C
[ root@dd9e6a72fe6b:/data/mongolab ]$ rm /data/mongolab/npm-debug.log
rm: remove regular file '/data/mongolab/npm-debug.log'? y
[ root@dd9e6a72fe6b:/data/mongolab ]$ npm install msgpack
npm http GET https://registry.npmjs.org/msgpack
npm http 304 https://registry.npmjs.org/msgpack
> msgpack@0.2.3 install /data/mongolab/node_modules/msgpack
> node-gyp rebuild
make: Entering directory `/data/mongolab/node_modules/msgpack/build'
  CXX(target) Release/obj.target/libmsgpack/deps/msgpack/gcc_atomic.o
  CXX(target) Release/obj.target/libmsgpack/deps/msgpack/object.o
In file included from ../deps/msgpack/msgpack/type/fixint.hpp:22:0,
                 from ../deps/msgpack/msgpack/type.hpp:3,
                 from ../deps/msgpack/msgpack/object.hpp:418,
                 from ../deps/msgpack/object.cpp:18:
../deps/msgpack/msgpack/type/int.hpp: In static member function 'static void msgpack::type::detail::object_char_sign<true>::make(msgpack::object&, char)':
../deps/msgpack/msgpack/type/int.hpp:102:22: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
     : o.type = type::POSITIVE_INTEGER, o.via.u64 = v;
                      ^
../deps/msgpack/msgpack/type/int.hpp: In function 'void msgpack::operator<<(msgpack::object&, signed char)':
../deps/msgpack/msgpack/type/int.hpp:206:76: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
                                                                            ^
../deps/msgpack/msgpack/type/int.hpp: In function 'void msgpack::operator<<(msgpack::object&, short int)':
../deps/msgpack/msgpack/type/int.hpp:209:76: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
                                                                            ^
../deps/msgpack/msgpack/type/int.hpp: In function 'void msgpack::operator<<(msgpack::object&, int)':
../deps/msgpack/msgpack/type/int.hpp:212:76: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
                                                                            ^
../deps/msgpack/msgpack/type/int.hpp: In function 'void msgpack::operator<<(msgpack::object&, long int)':
../deps/msgpack/msgpack/type/int.hpp:215:76: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
                                                                            ^
../deps/msgpack/msgpack/type/int.hpp: In function 'void msgpack::operator<<(msgpack::object&, long long int)':
../deps/msgpack/msgpack/type/int.hpp:218:76: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v : o.type = type::POSITIVE_INTEGER, o.via.u64 = v; }
                                                                            ^
In file included from ../deps/msgpack/msgpack/type.hpp:3:0,
                 from ../deps/msgpack/msgpack/object.hpp:418,
                 from ../deps/msgpack/object.cpp:18:
../deps/msgpack/msgpack/type/fixint.hpp: In function 'void msgpack::operator<<(msgpack::object&, msgpack::type::fix_int8)':
../deps/msgpack/msgpack/type/fixint.hpp:118:88: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v.get() < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v.get() : o.type = type::POSITIVE_INTEGER, o.via.u64 = v.get(); }
                                                                                        ^
In file included from ../deps/msgpack/msgpack/type.hpp:3:0,
                 from ../deps/msgpack/msgpack/object.hpp:418,
                 from ../deps/msgpack/object.cpp:18:
../deps/msgpack/msgpack/type/fixint.hpp: In function 'void msgpack::operator<<(msgpack::object&, msgpack::type::fix_int16)':
../deps/msgpack/msgpack/type/fixint.hpp:121:88: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v.get() < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v.get() : o.type = type::POSITIVE_INTEGER, o.via.u64 = v.get(); }
                                                                                        ^
../deps/msgpack/msgpack/type/fixint.hpp: In function 'void msgpack::operator<<(msgpack::object&, msgpack::type::fix_int32)':
../deps/msgpack/msgpack/type/fixint.hpp:124:88: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v.get() < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v.get() : o.type = type::POSITIVE_INTEGER, o.via.u64 = v.get(); }
                                                                                        ^
../deps/msgpack/msgpack/type/fixint.hpp: In function 'void msgpack::operator<<(msgpack::object&, msgpack::type::fix_int64)':
../deps/msgpack/msgpack/type/fixint.hpp:127:88: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
  { v.get() < 0 ? o.type = type::NEGATIVE_INTEGER, o.via.i64 = v.get() : o.type = type::POSITIVE_INTEGER, o.via.u64 = v.get(); }
                                                                                        ^
  CC(target) Release/obj.target/libmsgpack/deps/msgpack/objectc.o
  CC(target) Release/obj.target/libmsgpack/deps/msgpack/unpack.o
../deps/msgpack/unpack.c: In function 'template_callback_root':
../deps/msgpack/unpack.c:59:1: warning: missing initializer for field 'type' of 'msgpack_object' [-Wmissing-field-initializers]
 { msgpack_object o = {}; return o; }
 ^
In file included from ../deps/msgpack/msgpack/unpack.h:22:0,
                 from ../deps/msgpack/unpack.c:18:
../deps/msgpack/msgpack/object.h:76:22: note: 'type' declared here
  msgpack_object_type type;
                      ^
  CC(target) Release/obj.target/libmsgpack/deps/msgpack/vrefbuffer.o
  CC(target) Release/obj.target/libmsgpack/deps/msgpack/zone.o
  CC(target) Release/obj.target/libmsgpack/deps/msgpack/version.o
  AR(target) Release/obj.target/deps/msgpack/msgpack.a
  COPY Release/msgpack.a
  CXX(target) Release/obj.target/msgpackBinding/src/msgpack.o
  SOLINK_MODULE(target) Release/obj.target/msgpackBinding.node
  SOLINK_MODULE(target) Release/obj.target/msgpackBinding.node: Finished
  COPY Release/msgpackBinding.node
make: Leaving directory `/data/mongolab/node_modules/msgpack/build'
npm ERR! peerinvalid The package winston does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer winston-fluent@0.1.0 wants winston@>=0.5.0 <0.7.1
npm ERR! System Linux 3.2.0-23-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "msgpack"
npm ERR! cwd /data/mongolab
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /data/mongolab/npm-debug.log
npm ERR! not ok code 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions