Giter VIP home page Giter VIP logo

node-ife's Introduction

IFE

IFE is (network) interface management for Node.js. It works on Linux, Illumos, FreeBSD, MacOS X.

var IFEdriver = require('ife'),
    ife = new IFEdriver();

API

var success =
ife.up({ name:      "eth0",
         ip:        "10.10.10.11",
         broadcast: "10.10.10.255",
         netmask:   "255.255.255.0",
         network:   "10.10.10.0"
});

ife.up({ name:      "e1000g0",
         ip:        "2607:f8b0:4002:c09::64',
         prefixlen: 64
});

Brings up the specified address on the interface "eth0".

var success =
ife.down('10.10.10.11');

Brings down the logical interface with the IP address 10.10.10.11.

var ifaces = ife.list()

List all the broadcast-capable interfaces on the server.

var ip2mac = ife.arpcache();

Returns an hash of IPs and their corresponding MAC addresses in the local server's ARP table.

var count = 2,
    do_ping = true;

var sent =
ife.gratarp({ name: "eth0", local_ip: "10.10.10.11",
              remote_ip: "10.10.10.1" }, count);

var sent =
ife.gratarp({ name: "eth0", local_ip: "10.10.10.11",
              remote_ip: "10.10.10.1", remote_mac: "7c:d1:c3:dc:dd:f7" },
            count, do_ping);

Send (two) gratuitous ARP responses to 10.10.10.1 advertising our 10.10.10.11. Second, send the same, but explicitly to the target MAC address. By specifying a MAC address, we may also ping, which we elect to do.

node-ife's People

Contributors

face avatar postwait avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-ife's Issues

doesn't build on osx

Lots of errors.

c++ '-DNODE_GYP_MODULE_NAME=IFEBinding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/Users/ak/.node-gyp/7.0.0/include/node -I/Users/ak/.node-gyp/7.0.0/src -I/Users/ak/.node-gyp/7.0.0/deps/uv/include -I/Users/ak/.node-gyp/7.0.0/deps/v8/include  -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++0x -stdlib=libc++ -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/IFEBinding/IFE.o.d.raw   -c -o Release/obj.target/IFEBinding/IFE.o ../IFE.cc
In file included from ../IFE.cc:12:
../IFEheader.h:29:44: error: no type named 'Arguments' in namespace 'v8'; did
      you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> New(const v8::Arguments& args);
                                           ^~~~~~~~~~~~~
                                           v8::internal::Arguments
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:148:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../IFE.cc:12:
../IFEheader.h:30:45: error: no type named 'Arguments' in namespace 'v8'; did
      you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> list(const v8::Arguments& args);
                                            ^~~~~~~~~~~~~
                                            v8::internal::Arguments
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:148:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../IFE.cc:12:
../IFEheader.h:31:43: error: no type named 'Arguments' in namespace 'v8'; did
      you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> up(const v8::Arguments& args);
                                          ^~~~~~~~~~~~~
                                          v8::internal::Arguments
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:148:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../IFE.cc:12:
../IFEheader.h:32:45: error: no type named 'Arguments' in namespace 'v8'; did
      you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> down(const v8::Arguments& args);
                                            ^~~~~~~~~~~~~
                                            v8::internal::Arguments
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:148:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../IFE.cc:12:
../IFEheader.h:33:48: error: no type named 'Arguments' in namespace 'v8'; did
      you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> gratarp(const v8::Arguments& args);
                                               ^~~~~~~~~~~~~
                                               v8::internal::Arguments
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:148:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../IFE.cc:12:
../IFEheader.h:34:49: error: no type named 'Arguments' in namespace 'v8'; did
      you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> arpcache(const v8::Arguments& args);
                                                ^~~~~~~~~~~~~
                                                v8::internal::Arguments
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:148:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
../IFE.cc:27:36: error: member reference type 'v8::Persistent<v8::Object>' is
      not a pointer; did you mean to use '.'?
      Local<Value> emit_v = handle_->Get(emit_symbol);
                            ~~~~~~~^~
                                   .
../IFE.cc:27:42: error: no viable conversion from 'Persistent<v8::String>' to
      'v8::Isolate *'
      Local<Value> emit_v = handle_->Get(emit_symbol);
                                         ^~~~~~~~~~~
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:505:35: note: passing argument to
      parameter 'isolate' here
  V8_INLINE Local<T> Get(Isolate* isolate) const {
                                  ^
../IFE.cc:27:29: error: 'handle_' is a private member of 'node::ObjectWrap'
      Local<Value> emit_v = handle_->Get(emit_symbol);
                            ^
/Users/ak/.node-gyp/7.0.0/include/node/node_object_wrap.h:106:30: note: 
      declared private here
  v8::Persistent<v8::Object> handle_;
                             ^
../IFE.cc:30:18: warning: 'TryCatch' is deprecated [-Wdeprecated-declarations]
        TryCatch tc;
                 ^
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:7015:40: note: 'TryCatch' has been
      explicitly marked deprecated here
  V8_DEPRECATED("Use isolate version", TryCatch());
                                       ^
../IFE.cc:31:20: error: 'handle_' is a private member of 'node::ObjectWrap'
        emit->Call(handle_, nargs, args);
                   ^
/Users/ak/.node-gyp/7.0.0/include/node/node_object_wrap.h:106:30: note: 
      declared private here
  v8::Persistent<v8::Object> handle_;
                             ^
../IFE.cc:31:15: error: no matching member function for call to 'Call'
        emit->Call(handle_, nargs, args);
        ~~~~~~^~~~
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:3299:34: note: candidate function
      not viable: no known conversion from 'v8::Persistent<v8::Object>' to
      'Local<v8::Value>' for 1st argument
                    Local<Value> Call(Local<Value> recv, int argc,
                                 ^
/Users/ak/.node-gyp/7.0.0/include/node/v8config.h:351:48: note: expanded from
      macro 'V8_DEPRECATE_SOON'
#define V8_DEPRECATE_SOON(message, declarator) declarator
                                               ^
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:3301:43: note: candidate function
      not viable: requires 4 arguments, but 3 were provided
  V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                          ^
../IFE.cc:40:17: error: calling a protected constructor of class
      'v8::HandleScope'
    HandleScope scope;
                ^
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:882:13: note: declared protected
      here
  V8_INLINE HandleScope() {}
            ^
../IFE.cc:42:55: error: cannot initialize a parameter of type 'v8::Isolate *'
      with an lvalue of type 'v8::Handle<v8::Value> (const
      v8::internal::Arguments &)' (aka 'v8::Local<v8::Value> (const
      v8::internal::Arguments &)')
    Local<FunctionTemplate> t = FunctionTemplate::New(IFE::New);
                                                      ^~~~~~~~
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:4511:16: note: passing argument to
      parameter 'isolate' here
      Isolate* isolate, FunctionCallback callback = 0,
               ^
../IFE.cc:43:58: error: 'New' is a private member of
      'v8::PersistentBase<v8::FunctionTemplate>'
    constructor_template = Persistent<FunctionTemplate>::New(t);
                                                         ^
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:635:23: note: declared private here
  V8_INLINE static T* New(Isolate* isolate, T* that);
                      ^
../IFE.cc:43:63: error: too few arguments to function call, expected 2, have 1
    constructor_template = Persistent<FunctionTemplate>::New(t);
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
/Users/ak/.node-gyp/7.0.0/include/node/v8.h:635:3: note: 'New' declared here
  V8_INLINE static T* New(Isolate* isolate, T* that);
  ^
/Users/ak/.node-gyp/7.0.0/include/node/v8config.h:293:20: note: expanded from
      macro 'V8_INLINE'
# define V8_INLINE inline __attribute__((always_inline))
                   ^
../IFE.cc:44:25: error: member reference type 'Persistent<v8::FunctionTemplate>'
      is not a pointer; did you mean to use '.'?
    constructor_template->InstanceTemplate()->SetInternalFieldCount(1);
    ~~~~~~~~~~~~~~~~~~~~^~
                        .
../IFE.cc:44:27: error: no member named 'InstanceTemplate' in
      'v8::Persistent<v8::FunctionTemplate,
      v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
    constructor_template->InstanceTemplate()->SetInternalFieldCount(1);
    ~~~~~~~~~~~~~~~~~~~~  ^
../IFE.cc:45:25: error: member reference type 'Persistent<v8::FunctionTemplate>'
      is not a pointer; did you mean to use '.'?
    constructor_template->SetClassName(String::NewSymbol("IFE"));
    ~~~~~~~~~~~~~~~~~~~~^~
                        .
../IFE.cc:45:27: error: no member named 'SetClassName' in
      'v8::Persistent<v8::FunctionTemplate,
      v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
    constructor_template->SetClassName(String::NewSymbol("IFE"));

Build issue on FreeBSD

I've had issues building on FreeBSD 10 (seems like an issue with g++ being replaced by clang on FreeBSD 10). So now I've tried FreeBSD 9.3 and that's failing too, see npm-debug.log below - what am I doing wrong? Any help would be appreciated!

root@testbed:/home/jbw # cat /usr/home/jbw/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'vippy' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of /usr/local/lib/package.json
5 verbose readDependencies loading dependencies from /usr/local/lib/package.json
6 silly cache add args [ 'vippy', null ]
7 verbose cache add spec vippy
8 silly cache add parsed spec { raw: 'vippy',
8 silly cache add   scope: null,
8 silly cache add   name: 'vippy',
8 silly cache add   rawSpec: '',
8 silly cache add   spec: '*',
8 silly cache add   type: 'range' }
9 silly addNamed vippy@*
10 verbose addNamed "*" is a valid semver range for vippy
11 silly addNameRange { name: 'vippy', range: '*', hasData: false }
12 silly mapToRegistry name vippy
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry uri https://registry.npmjs.org/vippy
16 verbose addNameRange registry:https://registry.npmjs.org/vippy not in flight; fetching
17 verbose request uri https://registry.npmjs.org/vippy
18 verbose request no auth needed
19 info attempt registry request try #1 at 12:35:57
20 verbose request id 9c8d3bfff9d2ae43
21 verbose etag "2GS47VWCQDTENROGIWLFGRHEC"
22 http request GET https://registry.npmjs.org/vippy
23 http 304 https://registry.npmjs.org/vippy
24 silly get cb [ 304,
24 silly get   { date: 'Fri, 22 May 2015 09:36:00 GMT',
24 silly get     via: '1.1 varnish',
24 silly get     'cache-control': 'max-age=60',
24 silly get     etag: '"2GS47VWCQDTENROGIWLFGRHEC"',
24 silly get     age: '0',
24 silly get     connection: 'keep-alive',
24 silly get     'x-served-by': 'cache-ams4123-AMS',
24 silly get     'x-cache': 'MISS',
24 silly get     'x-cache-hits': '0',
24 silly get     'x-timer': 'S1432287360.016183,VS0,VE184',
24 silly get     vary: 'Accept' } ]
25 verbose etag https://registry.npmjs.org/vippy from cache
26 verbose get saving vippy to /root/.npm/registry.npmjs.org/vippy/.cache.json
27 silly addNameRange number 2 { name: 'vippy', range: '*', hasData: true }
28 silly addNameRange versions [ 'vippy',
28 silly addNameRange   [ '0.0.1',
28 silly addNameRange     '0.0.2',
28 silly addNameRange     '0.0.3',
28 silly addNameRange     '0.0.4',
28 silly addNameRange     '0.0.5',
28 silly addNameRange     '0.0.6',
28 silly addNameRange     '0.0.7',
28 silly addNameRange     '0.0.8',
28 silly addNameRange     '0.0.9',
28 silly addNameRange     '0.0.10',
28 silly addNameRange     '0.0.11' ] ]
29 silly addNamed [email protected]
30 verbose addNamed "0.0.11" is a plain semver version for vippy
31 silly cache afterAdd [email protected]
32 verbose afterAdd /root/.npm/vippy/0.0.11/package/package.json not in flight; writing
33 verbose afterAdd /root/.npm/vippy/0.0.11/package/package.json written
34 silly install resolved [ { name: 'vippy',
34 silly install resolved     description: 'Virtual IP Management and Failover',
34 silly install resolved     keywords: [ 'vip', 'ha' ],
34 silly install resolved     version: '0.0.11',
34 silly install resolved     preferGlobal: true,
34 silly install resolved     author: { name: 'Theo Schlossnagle' },
34 silly install resolved     repository: { type: 'git', url: 'git://github.com/postwait/vippy.git' },
34 silly install resolved     bugs: { url: 'http://github.com/postwait/vippy/issues' },
34 silly install resolved     main: './index',
34 silly install resolved     bin: { vippyd: './vippyd.js', vippyctl: './ctl.js' },
34 silly install resolved     dependencies: { ife: '>=0.0.9', posix: '>=1.0.0' },
34 silly install resolved     engines: { node: '0.8 || 0.10' },
34 silly install resolved     licenses: [ [Object] ],
34 silly install resolved     homepage: 'https://github.com/postwait/vippy',
34 silly install resolved     _id: '[email protected]',
34 silly install resolved     dist:
34 silly install resolved      { shasum: '19f7c5fc4a377408608b9d6a4b0bfc5d4a677c38',
34 silly install resolved        tarball: 'http://registry.npmjs.org/vippy/-/vippy-0.0.11.tgz' },
34 silly install resolved     _from: 'vippy@*',
34 silly install resolved     _npmVersion: '1.4.3',
34 silly install resolved     _npmUser: { name: 'postwait', email: '[email protected]' },
34 silly install resolved     maintainers: [ [Object] ],
34 silly install resolved     directories: {},
34 silly install resolved     _shasum: '19f7c5fc4a377408608b9d6a4b0bfc5d4a677c38',
34 silly install resolved     _resolved: 'https://registry.npmjs.org/vippy/-/vippy-0.0.11.tgz',
34 silly install resolved     readme: 'ERROR: No README data found!' } ]
35 info install [email protected] into /usr/local/lib
36 info installOne [email protected]
37 verbose installOne of vippy to /usr/local/lib not in flight; installing
38 verbose lock using /root/.npm/_locks/vippy-2f6e209a1a735763.lock for /usr/local/lib/node_modules/vippy
39 warn engine [email protected]: wanted: {"node":"0.8 || 0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})
40 silly install write writing vippy 0.0.11 to /usr/local/lib/node_modules/vippy
41 verbose unbuild lib/node_modules/vippy
42 silly gentlyRm /usr/local/lib/node_modules/vippy is being purged from base /usr/local
43 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy
44 verbose tar unpack /root/.npm/vippy/0.0.11/package.tgz
45 verbose tar unpacking to /usr/local/lib/node_modules/vippy
46 silly gentlyRm /usr/local/lib/node_modules/vippy is being purged
47 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy
48 silly gunzTarPerm modes [ '755', '644' ]
49 silly gunzTarPerm extractEntry package.json
50 silly gunzTarPerm extractEntry README.md
51 silly gunzTarPerm extractEntry T.js
52 silly gunzTarPerm extractEntry ctl.js
53 silly gunzTarPerm extractEntry index.js
54 silly gunzTarPerm extractEntry vippyd.js
55 silly gunzTarPerm extractEntry lib/VippyConfig.js
56 silly gunzTarPerm extractEntry lib/VippyController.js
57 silly gunzTarPerm extractEntry lib/VippyManager.js
58 silly gunzTarPerm extractEntry lib/VippyNetwork.js
59 silly gunzTarPerm extractEntry lib/console-logger.js
60 silly gunzTarPerm extractEntry vippy.conf
61 verbose write writing to /usr/local/lib/node_modules/vippy/package.json
62 info preinstall [email protected]
63 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/package.json
64 silly prepareForInstallMany adding ife@>=0.0.9 from vippy dependencies
65 silly prepareForInstallMany adding posix@>=1.0.0 from vippy dependencies
66 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/package.json
67 silly cache add args [ 'posix@>=1.0.0', null ]
68 verbose cache add spec posix@>=1.0.0
69 silly cache add parsed spec { raw: 'posix@>=1.0.0',
69 silly cache add   scope: null,
69 silly cache add   name: 'posix',
69 silly cache add   rawSpec: '>=1.0.0',
69 silly cache add   spec: '>=1.0.0',
69 silly cache add   type: 'range' }
70 silly addNamed posix@>=1.0.0
71 verbose addNamed ">=1.0.0" is a valid semver range for posix
72 silly addNameRange { name: 'posix', range: '>=1.0.0', hasData: false }
73 silly mapToRegistry name posix
74 silly mapToRegistry using default registry
75 silly mapToRegistry registry https://registry.npmjs.org/
76 silly mapToRegistry uri https://registry.npmjs.org/posix
77 verbose addNameRange registry:https://registry.npmjs.org/posix not in flight; fetching
78 silly cache add args [ 'ife@>=0.0.9', null ]
79 verbose cache add spec ife@>=0.0.9
80 silly cache add parsed spec { raw: 'ife@>=0.0.9',
80 silly cache add   scope: null,
80 silly cache add   name: 'ife',
80 silly cache add   rawSpec: '>=0.0.9',
80 silly cache add   spec: '>=0.0.9',
80 silly cache add   type: 'range' }
81 silly addNamed ife@>=0.0.9
82 verbose addNamed ">=0.0.9" is a valid semver range for ife
83 silly addNameRange { name: 'ife', range: '>=0.0.9', hasData: false }
84 silly mapToRegistry name ife
85 silly mapToRegistry using default registry
86 silly mapToRegistry registry https://registry.npmjs.org/
87 silly mapToRegistry uri https://registry.npmjs.org/ife
88 verbose addNameRange registry:https://registry.npmjs.org/ife not in flight; fetching
89 verbose request uri https://registry.npmjs.org/posix
90 verbose request no auth needed
91 info attempt registry request try #1 at 12:35:58
92 verbose etag "9JH8D4QY9TRNOWT27JDA08O8H"
93 http request GET https://registry.npmjs.org/posix
94 verbose request uri https://registry.npmjs.org/ife
95 verbose request no auth needed
96 info attempt registry request try #1 at 12:35:58
97 verbose etag "CSI6U7CPXVNEEULFRESFBYL8T"
98 http request GET https://registry.npmjs.org/ife
99 http 304 https://registry.npmjs.org/ife
100 silly get cb [ 304,
100 silly get   { date: 'Fri, 22 May 2015 09:36:00 GMT',
100 silly get     via: '1.1 varnish',
100 silly get     'cache-control': 'max-age=60',
100 silly get     etag: '"CSI6U7CPXVNEEULFRESFBYL8T"',
100 silly get     age: '0',
100 silly get     connection: 'keep-alive',
100 silly get     'x-served-by': 'cache-ams4121-AMS',
100 silly get     'x-cache': 'MISS',
100 silly get     'x-cache-hits': '0',
100 silly get     'x-timer': 'S1432287360.816571,VS0,VE94',
100 silly get     vary: 'Accept' } ]
101 verbose etag https://registry.npmjs.org/ife from cache
102 verbose get saving ife to /root/.npm/registry.npmjs.org/ife/.cache.json
103 silly addNameRange number 2 { name: 'ife', range: '>=0.0.9', hasData: true }
104 silly addNameRange versions [ 'ife',
104 silly addNameRange   [ '0.0.1',
104 silly addNameRange     '0.0.2',
104 silly addNameRange     '0.0.3',
104 silly addNameRange     '0.0.4',
104 silly addNameRange     '0.0.5',
104 silly addNameRange     '0.0.6',
104 silly addNameRange     '0.0.7',
104 silly addNameRange     '0.0.8',
104 silly addNameRange     '0.0.9',
104 silly addNameRange     '0.0.10' ] ]
105 silly addNamed [email protected]
106 verbose addNamed "0.0.10" is a plain semver version for ife
107 silly cache afterAdd [email protected]
108 verbose afterAdd /root/.npm/ife/0.0.10/package/package.json not in flight; writing
109 verbose afterAdd /root/.npm/ife/0.0.10/package/package.json written
110 http 304 https://registry.npmjs.org/posix
111 silly get cb [ 304,
111 silly get   { date: 'Fri, 22 May 2015 09:36:00 GMT',
111 silly get     via: '1.1 varnish',
111 silly get     'cache-control': 'max-age=60',
111 silly get     etag: '"9JH8D4QY9TRNOWT27JDA08O8H"',
111 silly get     age: '0',
111 silly get     connection: 'keep-alive',
111 silly get     'x-served-by': 'cache-ams4132-AMS',
111 silly get     'x-cache': 'MISS',
111 silly get     'x-cache-hits': '0',
111 silly get     'x-timer': 'S1432287360.776678,VS0,VE382',
111 silly get     vary: 'Accept' } ]
112 verbose etag https://registry.npmjs.org/posix from cache
113 verbose get saving posix to /root/.npm/registry.npmjs.org/posix/.cache.json
114 silly addNameRange number 2 { name: 'posix', range: '>=1.0.0', hasData: true }
115 silly addNameRange versions [ 'posix',
115 silly addNameRange   [ '0.0.1',
115 silly addNameRange     '0.0.2',
115 silly addNameRange     '0.0.3',
115 silly addNameRange     '0.0.4',
115 silly addNameRange     '0.0.5',
115 silly addNameRange     '0.0.6',
115 silly addNameRange     '0.0.7',
115 silly addNameRange     '0.0.8',
115 silly addNameRange     '0.0.10',
115 silly addNameRange     '0.0.11',
115 silly addNameRange     '0.0.12',
115 silly addNameRange     '0.0.13',
115 silly addNameRange     '1.0.0',
115 silly addNameRange     '1.0.1',
115 silly addNameRange     '1.0.2',
115 silly addNameRange     '1.0.3',
115 silly addNameRange     '1.0.4',
115 silly addNameRange     '2.0.0',
115 silly addNameRange     '2.0.1' ] ]
116 silly addNamed [email protected]
117 verbose addNamed "2.0.1" is a plain semver version for posix
118 silly cache afterAdd [email protected]
119 verbose afterAdd /root/.npm/posix/2.0.1/package/package.json not in flight; writing
120 verbose afterAdd /root/.npm/posix/2.0.1/package/package.json written
121 silly install resolved [ { name: 'ife',
121 silly install resolved     description: 'Interface Management for Node.js',
121 silly install resolved     keywords: [ 'ife', 'ifconfig', 'ipconfig' ],
121 silly install resolved     version: '0.0.10',
121 silly install resolved     preferGlobal: true,
121 silly install resolved     author: { name: 'Theo Schlossnagle' },
121 silly install resolved     repository: { type: 'git', url: 'git://github.com/postwait/node-ife.git' },
121 silly install resolved     bugs: { url: 'http://github.com/postwait/node-ife/issues' },
121 silly install resolved     main: './index',
121 silly install resolved     engines: { node: '0.6 || 0.8 || 0.10' },
121 silly install resolved     licenses: [ [Object] ],
121 silly install resolved     scripts: { install: 'node-gyp rebuild' },
121 silly install resolved     gypfile: true,
121 silly install resolved     homepage: 'https://github.com/postwait/node-ife',
121 silly install resolved     _id: '[email protected]',
121 silly install resolved     dist:
121 silly install resolved      { shasum: '39b7ba35d159bf213e553f2a635a4350aebdf68b',
121 silly install resolved        tarball: 'http://registry.npmjs.org/ife/-/ife-0.0.10.tgz' },
121 silly install resolved     _from: 'ife@>=0.0.9',
121 silly install resolved     _npmVersion: '1.4.3',
121 silly install resolved     _npmUser: { name: 'postwait', email: '[email protected]' },
121 silly install resolved     maintainers: [ [Object] ],
121 silly install resolved     directories: {},
121 silly install resolved     _shasum: '39b7ba35d159bf213e553f2a635a4350aebdf68b',
121 silly install resolved     _resolved: 'https://registry.npmjs.org/ife/-/ife-0.0.10.tgz',
121 silly install resolved     readme: 'ERROR: No README data found!' },
121 silly install resolved   { name: 'posix',
121 silly install resolved     version: '2.0.1',
121 silly install resolved     description: 'The missing POSIX system calls',
121 silly install resolved     keywords:
121 silly install resolved      [ 'posix',
121 silly install resolved        'rlimit',
121 silly install resolved        'getrlimit',
121 silly install resolved        'setrlimit',
121 silly install resolved        'ulimit',
121 silly install resolved        'setuid',
121 silly install resolved        'setgid',
121 silly install resolved        'seteuid',
121 silly install resolved        'setegid',
121 silly install resolved        'chroot',
121 silly install resolved        'setreuid',
121 silly install resolved        'setregid',
121 silly install resolved        'getpgrp',
121 silly install resolved        'setsid',
121 silly install resolved        'setpgid',
121 silly install resolved        'getpwnam',
121 silly install resolved        'getgrnam',
121 silly install resolved        'uid',
121 silly install resolved        'gid',
121 silly install resolved        'initgroups',
121 silly install resolved        'syslog',
121 silly install resolved        'setlogmask',
121 silly install resolved        'gethostname',
121 silly install resolved        'sethostname' ],
121 silly install resolved     homepage: 'http://github.com/melor/node-posix',
121 silly install resolved     repository: { type: 'git', url: 'git://github.com/melor/node-posix.git' },
121 silly install resolved     author: { name: 'Mika Eloranta', email: '[email protected]' },
121 silly install resolved     main: './lib/posix',
121 silly install resolved     dependencies: { nan: '~1.8.4' },
121 silly install resolved     scripts: { test: 'make test', install: 'node-gyp rebuild' },
121 silly install resolved     engines: { node: '>= 0.8.0' },
121 silly install resolved     gypfile: true,
121 silly install resolved     gitHead: 'd042aaf050ff927ce7bd6d5ec2bf93a20dc795c7',
121 silly install resolved     bugs: { url: 'https://github.com/melor/node-posix/issues' },
121 silly install resolved     _id: '[email protected]',
121 silly install resolved     _shasum: 'aad1ae80ad108fe24274006ea1f251f0a73fc3e8',
121 silly install resolved     _from: 'posix@>=1.0.0',
121 silly install resolved     _npmVersion: '2.7.5',
121 silly install resolved     _nodeVersion: '0.12.2',
121 silly install resolved     _npmUser: { name: 'mel', email: '[email protected]' },
121 silly install resolved     maintainers: [ [Object] ],
121 silly install resolved     dist:
121 silly install resolved      { shasum: 'aad1ae80ad108fe24274006ea1f251f0a73fc3e8',
121 silly install resolved        tarball: 'http://registry.npmjs.org/posix/-/posix-2.0.1.tgz' },
121 silly install resolved     directories: {},
121 silly install resolved     _resolved: 'https://registry.npmjs.org/posix/-/posix-2.0.1.tgz',
121 silly install resolved     readme: 'ERROR: No README data found!' } ]
122 info install [email protected] into /usr/local/lib/node_modules/vippy
123 info install [email protected] into /usr/local/lib/node_modules/vippy
124 info installOne [email protected]
125 verbose installOne of ife to /usr/local/lib/node_modules/vippy not in flight; installing
126 info installOne [email protected]
127 verbose installOne of posix to /usr/local/lib/node_modules/vippy not in flight; installing
128 verbose lock using /root/.npm/_locks/ife-2abf9f55cdc6f7af.lock for /usr/local/lib/node_modules/vippy/node_modules/ife
129 warn engine [email protected]: wanted: {"node":"0.6 || 0.8 || 0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})
130 verbose lock using /root/.npm/_locks/posix-6e446c45d3378b7d.lock for /usr/local/lib/node_modules/vippy/node_modules/posix
131 silly install write writing ife 0.0.10 to /usr/local/lib/node_modules/vippy/node_modules/ife
132 silly install write writing posix 2.0.1 to /usr/local/lib/node_modules/vippy/node_modules/posix
133 verbose unbuild lib/node_modules/vippy/node_modules/ife
134 verbose unbuild lib/node_modules/vippy/node_modules/posix
135 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/ife is being purged from base /usr/local
136 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/ife
137 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/posix is being purged from base /usr/local
138 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/posix
139 verbose tar unpack /root/.npm/ife/0.0.10/package.tgz
140 verbose tar unpacking to /usr/local/lib/node_modules/vippy/node_modules/ife
141 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/ife is being purged
142 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/ife
143 verbose tar unpack /root/.npm/posix/2.0.1/package.tgz
144 verbose tar unpacking to /usr/local/lib/node_modules/vippy/node_modules/posix
145 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/posix is being purged
146 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/posix
147 silly gunzTarPerm modes [ '755', '644' ]
148 silly gunzTarPerm modes [ '755', '644' ]
149 silly gunzTarPerm extractEntry package.json
150 silly gunzTarPerm extractEntry package.json
151 silly gunzTarPerm extractEntry README.md
152 silly gunzTarPerm extractEntry index.js
153 silly gunzTarPerm extractEntry README.md
154 silly gunzTarPerm extractEntry LICENSE
155 silly gunzTarPerm extractEntry dlpifix
156 silly gunzTarPerm extractEntry IFE.cc
157 silly gunzTarPerm extractEntry binding.gyp
158 silly gunzTarPerm extractEntry arpcache-ctlnet.cc
159 silly gunzTarPerm extractEntry arpcache-dlpi.cc
160 silly gunzTarPerm extractEntry arpcache-none.cc
161 silly gunzTarPerm extractEntry arpcache-proc.cc
162 silly gunzTarPerm extractEntry binding.gyp
163 silly gunzTarPerm extractEntry lib/posix/index.js
164 silly gunzTarPerm extractEntry src/posix.cc
165 silly gunzTarPerm extractEntry test/unit/test-chroot.js
166 silly gunzTarPerm extractEntry test/unit/test-gethostname.js
167 silly gunzTarPerm extractEntry test/unit/test-getppid.js
168 silly gunzTarPerm extractEntry test/unit/test-getpwnam.js
169 silly gunzTarPerm extractEntry build/IFEBinding.target.mk
170 silly gunzTarPerm extractEntry build/IFEStub.target.mk
171 silly gunzTarPerm extractEntry test/unit/test-getrlimit.js
172 silly gunzTarPerm extractEntry test/unit/test-getgrnam.js
173 silly gunzTarPerm extractEntry test/unit/test-setegid.js
174 silly gunzTarPerm extractEntry build/Makefile
175 silly gunzTarPerm extractEntry build/Release/.deps/Release/IFEBinding.node.d
176 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/IFE.o.d
177 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/arpcache-ctlnet.o.d
178 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/ife-bpf.o.d
179 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/ife-icmp-support.o.d
180 silly gunzTarPerm extractEntry test/unit/test-seteuid.js
181 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEStub.stamp.d
182 silly gunzTarPerm extractEntry build/Release/IFEBinding.node
183 silly gunzTarPerm extractEntry test/unit/test-setregid.js
184 silly gunzTarPerm extractEntry test/unit/test-setreuid.js
185 silly gunzTarPerm extractEntry build/Release/linker.lock
186 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/IFE.o
187 silly gunzTarPerm extractEntry test/unit/test-setrlimit.js
188 silly gunzTarPerm extractEntry test/unit/test-geteuid.js
189 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/arpcache-ctlnet.o
190 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/ife-bpf.o
191 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/ife-icmp-support.o
192 silly gunzTarPerm extractEntry build/Release/obj.target/IFEStub.stamp
193 silly gunzTarPerm extractEntry build/binding.Makefile
194 silly gunzTarPerm extractEntry build/config.gypi
195 silly gunzTarPerm extractEntry build/gyp-mac-tool
196 silly gunzTarPerm extractEntry IFEheader.h
197 silly gunzTarPerm extractEntry ife-bpf.cc
198 silly gunzTarPerm extractEntry ife-dlpi.cc
199 silly gunzTarPerm extractEntry ife-icmp-support.cc
200 silly gunzTarPerm extractEntry ife-icmp-support.h
201 silly gunzTarPerm extractEntry ife-sockpacket.cc
202 silly gunzTarPerm extractEntry ife-win32.cc
203 silly gunzTarPerm extractEntry ife.h
204 silly gunzTarPerm extractEntry LICENSE-CDDL
205 silly gunzTarPerm extractEntry LICENSE-MIT
206 silly gunzTarPerm extractEntry wscript
207 silly gunzTarPerm extractEntry test/unit/test-setsid.js
208 silly gunzTarPerm extractEntry test/unit/test-getegid.js
209 silly gunzTarPerm extractEntry test/unit/test-syslog.js
210 silly gunzTarPerm extractEntry test/unit/test-initgroups.js
211 silly gunzTarPerm extractEntry wscript
212 verbose write writing to /usr/local/lib/node_modules/vippy/node_modules/posix/package.json
213 info preinstall [email protected]
214 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/posix/package.json
215 silly prepareForInstallMany adding nan@~1.8.4 from posix dependencies
216 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/posix/package.json
217 silly cache add args [ 'nan@~1.8.4', null ]
218 verbose cache add spec nan@~1.8.4
219 silly cache add parsed spec { raw: 'nan@~1.8.4',
219 silly cache add   scope: null,
219 silly cache add   name: 'nan',
219 silly cache add   rawSpec: '~1.8.4',
219 silly cache add   spec: '>=1.8.4 <1.9.0',
219 silly cache add   type: 'range' }
220 silly addNamed nan@>=1.8.4 <1.9.0
221 verbose addNamed ">=1.8.4 <1.9.0" is a valid semver range for nan
222 silly addNameRange { name: 'nan', range: '>=1.8.4 <1.9.0', hasData: false }
223 silly mapToRegistry name nan
224 silly mapToRegistry using default registry
225 silly mapToRegistry registry https://registry.npmjs.org/
226 silly mapToRegistry uri https://registry.npmjs.org/nan
227 verbose addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
228 verbose request uri https://registry.npmjs.org/nan
229 verbose request no auth needed
230 info attempt registry request try #1 at 12:35:59
231 verbose etag "560ZHVEP0DOKC8XVXCA3VTZHE"
232 http request GET https://registry.npmjs.org/nan
233 verbose write writing to /usr/local/lib/node_modules/vippy/node_modules/ife/package.json
234 info preinstall [email protected]
235 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/ife/package.json
236 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/ife/package.json
237 silly install resolved []
238 verbose about to build /usr/local/lib/node_modules/vippy/node_modules/ife
239 info build /usr/local/lib/node_modules/vippy/node_modules/ife
240 info linkStuff [email protected]
241 silly linkStuff [email protected] has /usr/local/lib/node_modules/vippy/node_modules as its parent node_modules
242 silly linkStuff [email protected] is part of a global install
243 silly linkStuff [email protected] is installed into a global node_modules
244 verbose linkBins [email protected]
245 verbose rebuildBundles [email protected]
246 info install [email protected]
247 verbose unsafe-perm in lifecycle false
248 http 304 https://registry.npmjs.org/nan
249 silly get cb [ 304,
249 silly get   { date: 'Fri, 22 May 2015 09:36:01 GMT',
249 silly get     via: '1.1 varnish',
249 silly get     'cache-control': 'max-age=60',
249 silly get     etag: '"560ZHVEP0DOKC8XVXCA3VTZHE"',
249 silly get     age: '10',
249 silly get     connection: 'keep-alive',
249 silly get     'x-served-by': 'cache-lcy1126-LCY',
249 silly get     'x-cache': 'HIT',
249 silly get     'x-cache-hits': '1',
249 silly get     'x-timer': 'S1432287361.821291,VS0,VE0',
249 silly get     vary: 'Accept' } ]
250 verbose etag https://registry.npmjs.org/nan from cache
251 verbose get saving nan to /root/.npm/registry.npmjs.org/nan/.cache.json
252 silly addNameRange number 2 { name: 'nan', range: '>=1.8.4 <1.9.0', hasData: true }
253 silly addNameRange versions [ 'nan',
253 silly addNameRange   [ '0.3.0-wip',
253 silly addNameRange     '0.3.0-wip2',
253 silly addNameRange     '0.3.0',
253 silly addNameRange     '0.3.1',
253 silly addNameRange     '0.3.2',
253 silly addNameRange     '0.4.0',
253 silly addNameRange     '0.4.1',
253 silly addNameRange     '0.4.2',
253 silly addNameRange     '0.4.3',
253 silly addNameRange     '0.4.4',
253 silly addNameRange     '0.5.0',
253 silly addNameRange     '0.5.1',
253 silly addNameRange     '0.5.2',
253 silly addNameRange     '0.6.0',
253 silly addNameRange     '0.7.0',
253 silly addNameRange     '0.7.1',
253 silly addNameRange     '0.8.0',
253 silly addNameRange     '1.0.0',
253 silly addNameRange     '1.1.0',
253 silly addNameRange     '1.1.1',
253 silly addNameRange     '1.1.2',
253 silly addNameRange     '1.2.0',
253 silly addNameRange     '1.3.0',
253 silly addNameRange     '1.4.0',
253 silly addNameRange     '1.4.1',
253 silly addNameRange     '1.5.0',
253 silly addNameRange     '1.4.2',
253 silly addNameRange     '1.4.3',
253 silly addNameRange     '1.5.1',
253 silly addNameRange     '1.5.2',
253 silly addNameRange     '1.6.0',
253 silly addNameRange     '1.5.3',
253 silly addNameRange     '1.6.1',
253 silly addNameRange     '1.6.2',
253 silly addNameRange     '1.7.0',
253 silly addNameRange     '1.8.0',
253 silly addNameRange     '1.8.1',
253 silly addNameRange     '1.8.2',
253 silly addNameRange     '1.8.3',
253 silly addNameRange     '1.8.4' ] ]
254 silly addNamed [email protected]
255 verbose addNamed "1.8.4" is a plain semver version for nan
256 silly cache afterAdd [email protected]
257 verbose afterAdd /root/.npm/nan/1.8.4/package/package.json not in flight; writing
258 verbose afterAdd /root/.npm/nan/1.8.4/package/package.json written
259 silly install resolved [ { name: 'nan',
259 silly install resolved     version: '1.8.4',
259 silly install resolved     description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
259 silly install resolved     main: 'include_dirs.js',
259 silly install resolved     repository: { type: 'git', url: 'git://github.com/iojs/nan.git' },
259 silly install resolved     scripts:
259 silly install resolved      { test: 'tap --gc test/js/*-test.js',
259 silly install resolved        'rebuild-tests': 'pangyp rebuild --directory test' },
259 silly install resolved     contributors:
259 silly install resolved      [ [Object],
259 silly install resolved        [Object],
259 silly install resolved        [Object],
259 silly install resolved        [Object],
259 silly install resolved        [Object],
259 silly install resolved        [Object],
259 silly install resolved        [Object] ],
259 silly install resolved     devDependencies:
259 silly install resolved      { bindings: '~1.2.1',
259 silly install resolved        'node-gyp': '~1.0.2',
259 silly install resolved        pangyp: '~2.0.1',
259 silly install resolved        tap: '~0.7.1',
259 silly install resolved        xtend: '~4.0.0' },
259 silly install resolved     license: 'MIT',
259 silly install resolved     gitHead: 'ed3bbf4ced0cf7937b4e4164766797f71aa97f3d',
259 silly install resolved     bugs: { url: 'https://github.com/iojs/nan/issues' },
259 silly install resolved     homepage: 'https://github.com/iojs/nan#readme',
259 silly install resolved     _id: '[email protected]',
259 silly install resolved     _shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
259 silly install resolved     _from: 'nan@>=1.8.4 <1.9.0',
259 silly install resolved     _npmVersion: '2.8.3',
259 silly install resolved     _nodeVersion: '0.12.2',
259 silly install resolved     _npmUser: { name: 'kkoopa', email: '[email protected]' },
259 silly install resolved     maintainers: [ [Object], [Object] ],
259 silly install resolved     dist:
259 silly install resolved      { shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
259 silly install resolved        tarball: 'http://registry.npmjs.org/nan/-/nan-1.8.4.tgz' },
259 silly install resolved     directories: {},
259 silly install resolved     _resolved: 'https://registry.npmjs.org/nan/-/nan-1.8.4.tgz',
259 silly install resolved     readme: 'ERROR: No README data found!' } ]
260 info install [email protected] into /usr/local/lib/node_modules/vippy/node_modules/posix
261 info installOne [email protected]
262 verbose installOne of nan to /usr/local/lib/node_modules/vippy/node_modules/posix not in flight; installing
263 verbose lock using /root/.npm/_locks/nan-bd325c07de779441.lock for /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
264 silly install write writing nan 1.8.4 to /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
265 verbose unbuild lib/node_modules/vippy/node_modules/posix/node_modules/nan
266 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan is being purged from base /usr/local
267 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
268 verbose tar unpack /root/.npm/nan/1.8.4/package.tgz
269 verbose tar unpacking to /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
270 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan is being purged
271 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
272 silly gunzTarPerm modes [ '755', '644' ]
273 silly gunzTarPerm extractEntry package.json
274 silly gunzTarPerm modified mode [ 'package.json', 436, 420 ]
275 silly gunzTarPerm extractEntry README.md
276 silly gunzTarPerm modified mode [ 'README.md', 436, 420 ]
277 silly gunzTarPerm extractEntry include_dirs.js
278 silly gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]
279 silly gunzTarPerm extractEntry LICENSE.md
280 silly gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]
281 silly gunzTarPerm extractEntry .dntrc
282 silly gunzTarPerm modified mode [ '.dntrc', 436, 420 ]
283 silly gunzTarPerm extractEntry appveyor.yml
284 silly gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]
285 silly gunzTarPerm extractEntry nan.h
286 silly gunzTarPerm modified mode [ 'nan.h', 436, 420 ]
287 silly gunzTarPerm extractEntry nan_implementation_12_inl.h
288 silly gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]
289 silly gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
290 silly gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]
291 silly gunzTarPerm extractEntry nan_new.h
292 silly gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]
293 silly gunzTarPerm extractEntry nan_string_bytes.h
294 silly gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]
295 silly gunzTarPerm extractEntry CHANGELOG.md
296 silly gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]
297 verbose write writing to /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan/package.json
298 info preinstall [email protected]
299 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan/package.json
300 verbose readDependencies loading dependencies from /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan/package.json
301 silly install resolved []
302 verbose about to build /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
303 info build /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
304 info linkStuff [email protected]
305 silly linkStuff [email protected] has /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules as its parent node_modules
306 silly linkStuff [email protected] is part of a global install
307 silly linkStuff [email protected] is installed into a global node_modules
308 verbose linkBins [email protected]
309 verbose rebuildBundles [email protected]
310 info install [email protected]
311 info postinstall [email protected]
312 verbose unlock done using /root/.npm/_locks/nan-bd325c07de779441.lock for /usr/local/lib/node_modules/vippy/node_modules/posix/node_modules/nan
313 verbose about to build /usr/local/lib/node_modules/vippy/node_modules/posix
314 info build /usr/local/lib/node_modules/vippy/node_modules/posix
315 info linkStuff [email protected]
316 silly linkStuff [email protected] has /usr/local/lib/node_modules/vippy/node_modules as its parent node_modules
317 silly linkStuff [email protected] is part of a global install
318 silly linkStuff [email protected] is installed into a global node_modules
319 verbose linkBins [email protected]
320 verbose rebuildBundles [email protected]
321 verbose rebuildBundles [ 'nan' ]
322 info install [email protected]
323 info [email protected] Failed to exec install script
324 verbose unsafe-perm in lifecycle false
325 verbose unlock done using /root/.npm/_locks/ife-2abf9f55cdc6f7af.lock for /usr/local/lib/node_modules/vippy/node_modules/ife
326 info postinstall [email protected]
327 verbose unlock done using /root/.npm/_locks/posix-6e446c45d3378b7d.lock for /usr/local/lib/node_modules/vippy/node_modules/posix
328 verbose about to build /usr/local/lib/node_modules/vippy
329 verbose unlock done using /root/.npm/_locks/vippy-2f6e209a1a735763.lock for /usr/local/lib/node_modules/vippy
330 verbose stack Error: [email protected] install: `node-gyp rebuild`
330 verbose stack Exit status 1
330 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
330 verbose stack     at EventEmitter.emit (events.js:110:17)
330 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
330 verbose stack     at ChildProcess.emit (events.js:110:17)
330 verbose stack     at maybeClose (child_process.js:1015:16)
330 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
331 verbose pkgid [email protected]
332 verbose cwd /usr/home/jbw
333 error FreeBSD 9.3-RELEASE
334 error argv "node" "/usr/local/bin/npm" "install" "-g" "vippy"
335 error node v0.12.2
336 error npm  v2.9.1
337 error code ELIFECYCLE
338 error [email protected] install: `node-gyp rebuild`
338 error Exit status 1
339 error Failed at the [email protected] install script 'node-gyp rebuild'.
339 error This is most likely a problem with the ife package,
339 error not with npm itself.
339 error Tell the author that this fails on your system:
339 error     node-gyp rebuild
339 error You can get their info via:
339 error     npm owner ls ife
339 error There is likely additional logging output above.
340 verbose exit [ 1, true ]
341 verbose unbuild lib/node_modules/vippy/node_modules/ife
342 info preuninstall [email protected]
343 info uninstall [email protected]
344 verbose unbuild rmStuff [email protected] from /usr/local/lib/node_modules
345 verbose unbuild rmStuff in /usr/local/lib/node_modules/vippy/node_modules
346 info postuninstall [email protected]
347 silly gentlyRm /usr/local/lib/node_modules/vippy/node_modules/ife is being purged from base /usr/local
348 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy/node_modules/ife
349 silly vacuum-fs purging /usr/local/lib/node_modules/vippy/node_modules/ife
350 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules/vippy/node_modules
351 verbose unbuild lib/node_modules/vippy
352 info preuninstall [email protected]
353 info uninstall [email protected]
354 verbose unbuild rmStuff [email protected] from /usr/local/lib/node_modules
355 silly gentlyRm /usr/local/bin/vippyd is being gently removed
356 silly gentlyRm verifying /usr/local is an npm working directory
357 silly gentlyRm /usr/local/bin/vippyctl is being gently removed
358 silly gentlyRm verifying /usr/local is an npm working directory
359 silly gentlyRm containing path /usr/local is under npm's control, in /usr/local
360 silly gentlyRm deletion target /usr/local/bin/vippyd is under /usr/local
361 verbose gentlyRm vacuuming from /usr/local/bin/vippyd up to /usr/local
362 silly gentlyRm containing path /usr/local is under npm's control, in /usr/local
363 silly gentlyRm deletion target /usr/local/bin/vippyctl is under /usr/local
364 verbose gentlyRm vacuuming from /usr/local/bin/vippyctl up to /usr/local
365 info postuninstall [email protected]
366 silly gentlyRm /usr/local/lib/node_modules/vippy is being purged from base /usr/local
367 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/vippy
368 silly vacuum-fs purging /usr/local/lib/node_modules/vippy
369 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules

This may also be of use:

root@testbed:/home/jbw # npm install ife
npm WARN engine [email protected]: wanted: {"node":"0.6 || 0.8 || 0.10"} (current: {"node":"0.12.2","npm":"2.9.1"})

> [email protected] install /usr/home/jbw/node_modules/ife
> node-gyp rebuild

gmake: Entering directory '/usr/home/jbw/node_modules/ife/build'
  CXX(target) Release/obj.target/IFEBinding/IFE.o
In file included from ../IFEheader.h:17,
                 from ../IFE.cc:12:
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"
In file included from ../IFE.cc:12:
../IFEheader.h:29: error: expected unqualified-id before '&' token
../IFEheader.h:29: error: expected ',' or '...' before '&' token
../IFEheader.h:30: error: expected unqualified-id before '&' token
../IFEheader.h:30: error: expected ',' or '...' before '&' token
../IFEheader.h:31: error: expected unqualified-id before '&' token
../IFEheader.h:31: error: expected ',' or '...' before '&' token
../IFEheader.h:32: error: expected unqualified-id before '&' token
../IFEheader.h:32: error: expected ',' or '...' before '&' token
../IFEheader.h:33: error: expected unqualified-id before '&' token
../IFEheader.h:33: error: expected ',' or '...' before '&' token
../IFEheader.h:34: error: expected unqualified-id before '&' token
../IFEheader.h:34: error: expected ',' or '...' before '&' token
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In member function 'void node::IFE::emit(v8::Local<v8::Value>*, int)':
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132: error: 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > node::ObjectWrap::handle_' is private
../IFE.cc:27: error: within this context
../IFE.cc:27: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
/root/.node-gyp/0.12.2/src/node_object_wrap.h:132: error: 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > node::ObjectWrap::handle_' is private
../IFE.cc:31: error: within this context
../IFE.cc:31: error: no matching function for call to 'v8::Function::Call(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >&, int&, v8::Local<v8::Value>*&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2557: note: candidates are: v8::Local<v8::Value> v8::Function::Call(v8::Handle<v8::Value>, int, v8::Handle<v8::Value>*)
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In static member function 'static void node::IFE::Initialize(v8::Handle<v8::Object>)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:40: error: within this context
../IFE.cc:42: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)())'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:3460: note: candidates are: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, void (*)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
../IFE.cc:43: error: no matching function for call to 'v8::PersistentBase<v8::FunctionTemplate>::New(v8::Local<v8::FunctionTemplate>&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:5809: note: candidates are: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::FunctionTemplate]
../IFE.cc:44: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc:45: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc:45: error: 'NewSymbol' is not a member of 'v8::String'
../IFE.cc:47: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:48: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:49: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:50: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:51: error: conversion from 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >' to non-scalar type 'v8::Handle<v8::FunctionTemplate>' requested
../IFE.cc:53: error: 'NODE_PSYMBOL' was not declared in this scope
../IFE.cc:54: error: 'NewSymbol' is not a member of 'v8::String'
../IFE.cc:54: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate, v8::NonCopyablePersistentTraits<v8::FunctionTemplate> >'
../IFE.cc: At global scope:
../IFE.cc:57: error: expected ',' or '...' before '&' token
../IFE.cc:57: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:57: error: prototype for 'v8::Handle<v8::Value> node::IFE::New(int)' does not match any in class 'node::IFE'
../IFEheader.h:29: error: candidate is: static v8::Handle<v8::Value> node::IFE::New()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::New(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:58: error: within this context
../IFE.cc:61: error: 'args' was not declared in this scope
../IFE.cc:62: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:62: error: at this point in file
../IFE.cc:65: error: 'New' is not a member of 'v8::String'
../IFE.cc:66: error: 'ThrowException' was not declared in this scope
../IFE.cc: At global scope:
../IFE.cc:72: error: expected ',' or '...' before '&' token
../IFE.cc:72: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:72: error: prototype for 'v8::Handle<v8::Value> node::IFE::arpcache(int)' does not match any in class 'node::IFE'
../IFEheader.h:34: error: candidate is: static v8::Handle<v8::Value> node::IFE::arpcache()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::arpcache(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:73: error: within this context
../IFE.cc:79: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:79: error: at this point in file
../IFE.cc:80: error: no matching function for call to 'v8::Object::New()'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
../IFE.cc:84: error: 'inet_ntop' was not declared in this scope
../IFE.cc:88: error: 'New' is not a member of 'v8::String'
../IFE.cc:88: error: 'New' is not a member of 'v8::String'
../IFE.cc:91: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc: At global scope:
../IFE.cc:94: error: expected ',' or '...' before '&' token
../IFE.cc:94: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:94: error: prototype for 'v8::Handle<v8::Value> node::IFE::list(int)' does not match any in class 'node::IFE'
../IFEheader.h:30: error: candidate is: static v8::Handle<v8::Value> node::IFE::list()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::list(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:97: error: within this context
../IFE.cc:101: error: invalid conversion from 'int' to 'v8::Isolate*'
../IFE.cc:101: error:   initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)'
../IFE.cc:104: error: no matching function for call to 'v8::Object::New()'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2388: note: candidates are: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
../IFE.cc:105: error: 'New' is not a member of 'v8::String'
../IFE.cc:105: error: 'New' is not a member of 'v8::String'
../IFE.cc:116: error: 'inet_ntop' was not declared in this scope
../IFE.cc:116: error: 'New' is not a member of 'v8::String'
../IFE.cc:116: error: 'New' is not a member of 'v8::String'
../IFE.cc:118: error: 'New' is not a member of 'v8::String'
../IFE.cc:118: error: no matching function for call to 'v8::Integer::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
../IFE.cc:120: error: 'inet_ntop' was not declared in this scope
../IFE.cc:120: error: 'New' is not a member of 'v8::String'
../IFE.cc:120: error: 'New' is not a member of 'v8::String'
../IFE.cc:121: error: 'inet_ntop' was not declared in this scope
../IFE.cc:121: error: 'New' is not a member of 'v8::String'
../IFE.cc:121: error: 'New' is not a member of 'v8::String'
../IFE.cc:122: error: 'inet_ntop' was not declared in this scope
../IFE.cc:122: error: 'New' is not a member of 'v8::String'
../IFE.cc:122: error: 'New' is not a member of 'v8::String'
../IFE.cc:127: error: 'New' is not a member of 'v8::String'
../IFE.cc:127: error: 'New' is not a member of 'v8::String'
../IFE.cc:128: error: no matching function for call to 'v8::Number::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:1999: note: candidates are: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
../IFE.cc:131: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc: At global scope:
../IFE.cc:134: error: expected ',' or '...' before '&' token
../IFE.cc:134: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:134: error: prototype for 'v8::Handle<v8::Value> node::IFE::up(int)' does not match any in class 'node::IFE'
../IFEheader.h:31: error: candidate is: static v8::Handle<v8::Value> node::IFE::up()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::up(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:135: error: within this context
../IFE.cc:138: error: 'args' was not declared in this scope
../IFE.cc:143: error: 'New' is not a member of 'v8::String'
../IFE.cc:145: error: 'New' is not a member of 'v8::String'
../IFE.cc:145: error: 'ThrowException' was not declared in this scope
../IFE.cc:146: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:166: error: 'New' is not a member of 'v8::String'
../IFE.cc:168: error: 'New' is not a member of 'v8::String'
../IFE.cc:168: error: 'ThrowException' was not declared in this scope
../IFE.cc:169: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:173: error: 'inet_pton' was not declared in this scope
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'ThrowException' was not declared in this scope
../IFE.cc:174: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:174: error: 'New' is not a member of 'v8::String'
../IFE.cc:174: error: 'ThrowException' was not declared in this scope
../IFE.cc:174: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'ThrowException' was not declared in this scope
../IFE.cc:175: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:175: error: 'New' is not a member of 'v8::String'
../IFE.cc:175: error: 'ThrowException' was not declared in this scope
../IFE.cc:175: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'ThrowException' was not declared in this scope
../IFE.cc:176: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:176: error: 'New' is not a member of 'v8::String'
../IFE.cc:176: error: 'ThrowException' was not declared in this scope
../IFE.cc:176: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:180: error: 'New' is not a member of 'v8::String'
../IFE.cc:186: error: 'New' is not a member of 'v8::String'
../IFE.cc:186: error: 'ThrowException' was not declared in this scope
../IFE.cc:187: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:191: error: 'New' is not a member of 'v8::String'
../IFE.cc:192: error: 'New' is not a member of 'v8::String'
../IFE.cc:194: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:196: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc: At global scope:
../IFE.cc:199: error: expected ',' or '...' before '&' token
../IFE.cc:199: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:199: error: prototype for 'v8::Handle<v8::Value> node::IFE::down(int)' does not match any in class 'node::IFE'
../IFEheader.h:32: error: candidate is: static v8::Handle<v8::Value> node::IFE::down()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::down(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:200: error: within this context
../IFE.cc:203: error: 'args' was not declared in this scope
../IFE.cc:208: error: 'New' is not a member of 'v8::String'
../IFE.cc:208: error: 'ThrowException' was not declared in this scope
../IFE.cc:208: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:208: error: at this point in file
../IFE.cc:213: error: 'inet_pton' was not declared in this scope
../IFE.cc:220: error: 'New' is not a member of 'v8::String'
../IFE.cc:220: error: 'ThrowException' was not declared in this scope
../IFE.cc:221: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:221: error: at this point in file
../IFE.cc:224: error: 'AsciiValue' is not a member of 'v8::String'
../IFE.cc:224: error: expected `;' before 'val'
../IFE.cc:233: error: 'New' is not a member of 'v8::String'
../IFE.cc:234: error: 'New' is not a member of 'v8::String'
../IFE.cc:236: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:238: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc: At global scope:
../IFE.cc:241: error: expected ',' or '...' before '&' token
../IFE.cc:241: error: ISO C++ forbids declaration of 'Arguments' with no type
../IFE.cc:241: error: prototype for 'v8::Handle<v8::Value> node::IFE::gratarp(int)' does not match any in class 'node::IFE'
../IFEheader.h:33: error: candidate is: static v8::Handle<v8::Value> node::IFE::gratarp()
/root/.node-gyp/0.12.2/deps/v8/include/v8.h: In member function 'v8::Handle<v8::Value> node::IFE::gratarp(int)':
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:816: error: 'v8::HandleScope::HandleScope()' is protected
../IFE.cc:247: error: within this context
../IFE.cc:249: error: 'args' was not declared in this scope
../IFE.cc:250: error: 'New' is not a member of 'v8::String'
../IFE.cc:252: error: 'New' is not a member of 'v8::String'
../IFE.cc:252: error: 'ThrowException' was not declared in this scope
../IFE.cc:253: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:259: error: 'New' is not a member of 'v8::String'
../IFE.cc:261: error: 'New' is not a member of 'v8::String'
../IFE.cc:261: error: 'ThrowException' was not declared in this scope
../IFE.cc:262: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:266: error: 'inet_pton' was not declared in this scope
../IFE.cc:267: error: 'New' is not a member of 'v8::String'
../IFE.cc:267: error: 'ThrowException' was not declared in this scope
../IFE.cc:268: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:271: error: 'New' is not a member of 'v8::String'
../IFE.cc:273: error: 'New' is not a member of 'v8::String'
../IFE.cc:273: error: 'ThrowException' was not declared in this scope
../IFE.cc:274: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:278: error: 'inet_pton' was not declared in this scope
../IFE.cc:279: error: 'New' is not a member of 'v8::String'
../IFE.cc:279: error: 'ThrowException' was not declared in this scope
../IFE.cc:280: error: no matching function for call to 'v8::Boolean::New(bool)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6194: note: candidates are: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
../IFE.cc:283: error: 'New' is not a member of 'v8::String'
../IFE.cc:301: error: 'New' is not a member of 'v8::String'
../IFE.cc:301: error: 'ThrowException' was not declared in this scope
../IFE.cc:302: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:302: error: at this point in file
../IFE.cc:308: error: 'New' is not a member of 'v8::String'
../IFE.cc:308: error: 'ThrowException' was not declared in this scope
../IFE.cc:309: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:309: error: at this point in file
../IFE.cc:316: error: 'New' is not a member of 'v8::String'
../IFE.cc:316: error: 'ThrowException' was not declared in this scope
../IFE.cc:317: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:317: error: at this point in file
../IFE.cc:321: error: 'New' is not a member of 'v8::String'
../IFE.cc:321: error: 'ThrowException' was not declared in this scope
../IFE.cc:322: error: 'class v8::HandleScope' has no member named 'Close'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:6606: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
../IFE.cc:322: error: at this point in file
../IFE.cc:327: error: 'class v8::HandleScope' has no member named 'Close'
../IFE.cc:327: error: no matching function for call to 'v8::Integer::New(int&)'
/root/.node-gyp/0.12.2/deps/v8/include/v8.h:2012: note: candidates are: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
/root/.node-gyp/0.12.2/src/node_object_wrap.h: In static member function 'static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::IFE]':
../IFE.cc:139:   instantiated from here
/root/.node-gyp/0.12.2/src/node_object_wrap.h:55: error: 'node::ObjectWrap' is an inaccessible base of 'node::IFE'
IFEBinding.target.mk:87: recipe for target 'Release/obj.target/IFEBinding/IFE.o' failed
gmake: *** [Release/obj.target/IFEBinding/IFE.o] Error 1
gmake: Leaving directory '/usr/home/jbw/node_modules/ife/build'
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System FreeBSD 9.3-RELEASE
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/home/jbw/node_modules/ife
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok 
npm ERR! FreeBSD 9.3-RELEASE
npm ERR! argv "node" "/usr/local/bin/npm" "install" "ife"
npm ERR! node v0.12.2
npm ERR! npm  v2.9.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ife 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 ife
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/home/jbw/npm-debug.log

(SIOCGIFCONF): Bad file descriptor

var IFEdriver = require('ife'),
    ife = new IFEdriver();
var ifaces = ife.list()

console.log(ifaces)

results in

╭─{ } kumavis in ~/Development/Node/mrsysadmin on (master✱)
╰─○ node test.js
ioctl (SIOCGIFCONF): Bad file descriptor
[]

Failed install on Debian

I was trying to test this module, but had some issues installing.

I enclose the following:

  1. Console output
    2.npm-debug.log

  1. Console output
    npm WARN engine [email protected]: wanted: {"node":"0.6 || 0.8 || 0.10"} (current: {"node":"0.12.0","npm":"2.5.1"})

[email protected] install /home/debian/sandbox/node_modules/ife
node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.12.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/debian/sandbox/node_modules/ife/.node-gyp"
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory /home/debian/sandbox/node_modules/ife/build' CXX(target) Release/obj.target/IFEBinding/IFE.o In file included from ../IFE.cc:12:0: ../IFEheader.h:29:44: error: ‘Arguments’ in namespace ‘v8’ does not name a type ../IFEheader.h:29:59: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] ../IFEheader.h:30:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type ../IFEheader.h:30:60: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] ../IFEheader.h:31:43: error: ‘Arguments’ in namespace ‘v8’ does not name a type ../IFEheader.h:31:58: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] ../IFEheader.h:32:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type ../IFEheader.h:32:60: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] ../IFEheader.h:33:48: error: ‘Arguments’ in namespace ‘v8’ does not name a type ../IFEheader.h:33:63: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] ../IFEheader.h:34:49: error: ‘Arguments’ in namespace ‘v8’ does not name a type ../IFEheader.h:34:64: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/src/node_object_wrap.h: In member function ‘void node::IFE::emit(v8::Local<v8::Value>*, int)’: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/src/node_object_wrap.h:132:30: error: ‘v8::Persistent<v8::Object> node::ObjectWrap::handle_’ is private ../IFE.cc:27:29: error: within this context ../IFE.cc:27:36: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’ /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/src/node_object_wrap.h:132:30: error: ‘v8::Persistent<v8::Object> node::ObjectWrap::handle_’ is private ../IFE.cc:31:20: error: within this context ../IFE.cc:31:40: error: no matching function for call to ‘v8::Function::Call(v8::Persistent<v8::Object>&, int&, v8::Local<v8::Value>*&)’ ../IFE.cc:31:40: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2557:16: note: v8::Local<v8::Value> v8::Function::Call(v8::Handle<v8::Value>, int, v8::Handle<v8::Value>*) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2557:16: note: no known conversion for argument 1 from ‘v8::Persistent<v8::Object>’ to ‘v8::Handle<v8::Value>’ /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static void node::IFE::Initialize(v8::Handle<v8::Object>)’: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../IFE.cc:40:17: error: within this context ../IFE.cc:42:63: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ ../IFE.cc:42:63: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../IFE.cc:43:63: error: no matching function for call to ‘v8::Persistent<v8::FunctionTemplate>::New(v8::Local<v8::FunctionTemplate>&)’ ../IFE.cc:43:63: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::FunctionTemplate] /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: candidate expects 2 arguments, 1 provided ../IFE.cc:44:25: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’ ../IFE.cc:45:25: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’ ../IFE.cc:45:40: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../IFE.cc:47:70: error: could not convert ‘node::IFE::constructor_template’ from ‘v8::Persistent<v8::FunctionTemplate>’ to ‘v8::Handle<v8::FunctionTemplate>’ ../IFE.cc:48:66: error: could not convert ‘node::IFE::constructor_template’ from ‘v8::Persistent<v8::FunctionTemplate>’ to ‘v8::Handle<v8::FunctionTemplate>’ ../IFE.cc:49:70: error: could not convert ‘node::IFE::constructor_template’ from ‘v8::Persistent<v8::FunctionTemplate>’ to ‘v8::Handle<v8::FunctionTemplate>’ ../IFE.cc:50:76: error: could not convert ‘node::IFE::constructor_template’ from ‘v8::Persistent<v8::FunctionTemplate>’ to ‘v8::Handle<v8::FunctionTemplate>’ ../IFE.cc:51:78: error: could not convert ‘node::IFE::constructor_template’ from ‘v8::Persistent<v8::FunctionTemplate>’ to ‘v8::Handle<v8::FunctionTemplate>’ ../IFE.cc:53:38: error: ‘NODE_PSYMBOL’ was not declared in this scope ../IFE.cc:54:17: error: ‘NewSymbol’ is not a member of ‘v8::String’ ../IFE.cc:54:63: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’ ../IFE.cc: At global scope: ../IFE.cc:57:32: error: ‘Arguments’ does not name a type ../IFE.cc:57:43: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> node::IFE::New(const int&)’: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../IFE.cc:58:17: error: within this context ../IFE.cc:61:18: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ ../IFE.cc:62:38: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc:62:54: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’ /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here ../IFE.cc:64:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ ../IFE.cc:65:46: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:66:35: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:69:17: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ ../IFE.cc: At global scope: ../IFE.cc:72:37: error: ‘Arguments’ does not name a type ../IFE.cc:72:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> node::IFE::arpcache(const int&)’: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../IFE.cc:73:17: error: within this context ../IFE.cc:79:20: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc:79:36: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’ /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here ../IFE.cc:80:38: error: no matching function for call to ‘v8::Object::New()’ ../IFE.cc:80:38: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided ../IFE.cc:84:69: error: ‘inet_ntop’ was not declared in this scope ../IFE.cc:88:18: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:88:38: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:91:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc: At global scope: ../IFE.cc:94:33: error: ‘Arguments’ does not name a type ../IFE.cc:94:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> node::IFE::list(const int&)’: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../IFE.cc:97:17: error: within this context ../IFE.cc:101:39: error: invalid conversion from ‘int’ to ‘v8::Isolate*’ [-fpermissive] /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2417:23: error: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’ [-fpermissive] ../IFE.cc:104:42: error: no matching function for call to ‘v8::Object::New()’ ../IFE.cc:104:42: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided ../IFE.cc:105:18: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:105:39: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:116:9: error: ‘inet_ntop’ was not declared in this scope ../IFE.cc:116:9: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:116:9: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:118:20: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:118:62: error: no matching function for call to ‘v8::Integer::New(int&)’ ../IFE.cc:118:62: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided ../IFE.cc:120:9: error: ‘inet_ntop’ was not declared in this scope ../IFE.cc:120:9: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:120:9: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:121:9: error: ‘inet_ntop’ was not declared in this scope ../IFE.cc:121:9: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:121:9: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:122:9: error: ‘inet_ntop’ was not declared in this scope ../IFE.cc:122:9: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:122:9: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:127:18: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:127:38: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:128:29: error: no matching function for call to ‘v8::Number::New(int&)’ ../IFE.cc:128:29: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided ../IFE.cc:131:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc: At global scope: ../IFE.cc:134:31: error: ‘Arguments’ does not name a type ../IFE.cc:134:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> node::IFE::up(const int&)’: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../IFE.cc:135:17: error: within this context ../IFE.cc:138:31: error: request for member ‘Holder’ in ‘args’, which is of non-class type ‘const int’ ../IFE.cc:142:29: error: invalid types ‘const int[int]’ for array subscript ../IFE.cc:143:33: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:145:43: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:145:74: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:146:36: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:146:36: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:166:31: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:168:43: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:168:72: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:169:36: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:169:36: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:173:50: error: ‘inet_pton’ was not declared in this scope ../IFE.cc:174:7: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:174:7: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:174:7: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:174:7: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:174:7: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:174:7: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:174:7: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:174:7: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:174:7: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:175:7: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:175:7: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:175:7: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:175:7: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:175:7: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:175:7: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:175:7: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:175:7: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:175:7: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:176:7: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:176:7: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:176:7: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:176:7: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:176:7: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:176:7: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:176:7: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:176:7: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:176:7: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:180:35: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:186:43: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:186:63: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:187:36: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:187:36: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:191:17: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:192:17: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:194:36: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:194:36: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:196:33: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:196:33: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc: At global scope: ../IFE.cc:199:33: error: ‘Arguments’ does not name a type ../IFE.cc:199:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> node::IFE::down(const int&)’: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../IFE.cc:200:17: error: within this context ../IFE.cc:203:31: error: request for member ‘Holder’ in ‘args’, which is of non-class type ‘const int’ ../IFE.cc:207:14: error: invalid types ‘const int[int]’ for array subscript ../IFE.cc:208:43: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:208:77: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:209:20: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc:209:36: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’ /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here ../IFE.cc:211:30: error: invalid types ‘const int[int]’ for array subscript ../IFE.cc:213:48: error: ‘inet_pton’ was not declared in this scope ../IFE.cc:220:43: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:220:61: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:221:20: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc:221:36: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’ /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here ../IFE.cc:223:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ ../IFE.cc:224:7: error: ‘AsciiValue’ is not a member of ‘v8::String’ ../IFE.cc:224:30: error: expected ‘;’ before ‘val’ ../IFE.cc:233:17: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:234:17: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:236:36: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:236:36: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:238:33: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:238:33: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc: At global scope: ../IFE.cc:241:36: error: ‘Arguments’ does not name a type ../IFE.cc:241:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> node::IFE::gratarp(const int&)’: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected ../IFE.cc:247:17: error: within this context ../IFE.cc:249:29: error: invalid types ‘const int[int]’ for array subscript ../IFE.cc:250:33: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:252:43: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:252:74: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:253:36: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:253:36: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:259:33: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:261:43: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:261:78: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:262:36: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:262:36: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:266:46: error: ‘inet_pton’ was not declared in this scope ../IFE.cc:267:43: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:267:66: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:268:36: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:268:36: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:271:32: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:273:43: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:273:79: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:274:36: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:274:36: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:278:44: error: ‘inet_pton’ was not declared in this scope ../IFE.cc:279:39: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:279:61: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:280:36: error: no matching function for call to ‘v8::Boolean::New(bool)’ ../IFE.cc:280:36: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided ../IFE.cc:283:33: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:301:41: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:301:72: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:302:22: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc:302:38: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’ /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here ../IFE.cc:306:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ ../IFE.cc:307:17: error: invalid types ‘const int[int]’ for array subscript ../IFE.cc:308:45: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:308:93: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:309:22: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc:309:38: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’ /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here ../IFE.cc:311:21: error: invalid types ‘const int[int]’ for array subscript ../IFE.cc:314:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ ../IFE.cc:315:17: error: invalid types ‘const int[int]’ for array subscript ../IFE.cc:316:45: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:316:93: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:317:22: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc:317:38: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’ /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here ../IFE.cc:319:23: error: invalid types ‘const int[int]’ for array subscript ../IFE.cc:321:41: error: ‘New’ is not a member of ‘v8::String’ ../IFE.cc:321:89: error: ‘ThrowException’ was not declared in this scope ../IFE.cc:322:22: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc:322:38: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’ /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here ../IFE.cc:327:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ ../IFE.cc:327:42: error: no matching function for call to ‘v8::Integer::New(int&)’ ../IFE.cc:327:42: note: candidate is: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided In file included from ../IFEheader.h:4:0, from ../IFE.cc:12: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/src/node_object_wrap.h: In static member function ‘static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::IFE]’: ../IFE.cc:139:43: instantiated from here /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/src/node_object_wrap.h:55:32: error: ‘node::ObjectWrap’ is an inaccessible base of ‘node::IFE’ ../IFE.cc: In static member function ‘static v8::Handle<v8::Value> node::IFE::gratarp(const int&)’: ../IFE.cc:328:3: warning: control reaches end of non-void function [-Wreturn-type] ../IFE.cc: In static member function ‘static v8::Handle<v8::Value> node::IFE::down(const int&)’: ../IFE.cc:239:3: warning: control reaches end of non-void function [-Wreturn-type] /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/src/node_object_wrap.h: In static member function ‘static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::IFE]’: /home/debian/sandbox/node_modules/ife/.node-gyp/0.12.0/src/node_object_wrap.h:56:3: warning: control reaches end of non-void function [-Wreturn-type] ../IFE.cc: In static member function ‘static v8::Handle<v8::Value> node::IFE::up(const int&)’: ../IFE.cc:197:3: warning: control reaches end of non-void function [-Wreturn-type] ../IFE.cc: In static member function ‘static v8::Handle<v8::Value> node::IFE::list(const int&)’: ../IFE.cc:132:3: warning: control reaches end of non-void function [-Wreturn-type] ../IFE.cc: In static member function ‘static v8::Handle<v8::Value> node::IFE::arpcache(const int&)’: ../IFE.cc:92:3: warning: control reaches end of non-void function [-Wreturn-type] ../IFE.cc: In static member function ‘static v8::Handle<v8::Value> node::IFE::New(const int&)’: ../IFE.cc:70:3: warning: control reaches end of non-void function [-Wreturn-type] make: *** [Release/obj.target/IFEBinding/IFE.o] Error 1 make: Leaving directory/home/debian/sandbox/node_modules/ife/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.14.1_006-trio2000
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/debian/sandbox/node_modules/ife
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.14.1_006-trio2000
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "ife"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ife 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 ife
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/debian/sandbox/npm-debug.log

  1. Content of the npm-debug.log file:
    0 info it worked if it ends with ok
    1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install', 'ife' ]
    2 info using [email protected]
    3 info using [email protected]
    4 silly cache add args [ 'ife', null ]
    5 verbose cache add spec ife
    6 silly cache add parsed spec { raw: 'ife',
    6 silly cache add scope: null,
    6 silly cache add name: 'ife',
    6 silly cache add rawSpec: '',
    6 silly cache add spec: '',
    6 silly cache add type: 'range' }
    7 verbose addNamed ife@

    8 silly addNamed semver.valid null
    9 silly addNamed semver.validRange *
    10 silly addNameRange { name: 'ife', range: '', hasData: false }
    11 silly mapToRegistry name ife
    12 silly mapToRegistry using default registry
    13 silly mapToRegistry registry https://registry.npmjs.org/
    14 silly mapToRegistry uri https://registry.npmjs.org/ife
    15 verbose addNameRange registry:https://registry.npmjs.org/ife not in flight; fetching
    16 verbose request uri https://registry.npmjs.org/ife
    17 verbose request no auth needed
    18 info attempt registry request try #1 at 22:27:39
    19 verbose request id bab6f08eef43988d
    20 http request GET https://registry.npmjs.org/ife
    21 http 200 https://registry.npmjs.org/ife
    22 silly get cb [ 200,
    22 silly get { server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',
    22 silly get etag: '"CSI6U7CPXVNEEULFRESFBYL8T"',
    22 silly get 'content-type': 'application/json',
    22 silly get 'cache-control': 'max-age=60',
    22 silly get 'content-length': '11219',
    22 silly get 'accept-ranges': 'bytes',
    22 silly get date: 'Mon, 20 Jul 2015 22:27:40 GMT',
    22 silly get via: '1.1 varnish',
    22 silly get age: '0',
    22 silly get connection: 'keep-alive',
    22 silly get 'x-served-by': 'cache-sjc3131-SJC',
    22 silly get 'x-cache': 'MISS',
    22 silly get 'x-cache-hits': '0',
    22 silly get 'x-timer': 'S1437431260.213488,VS0,VE90',
    22 silly get vary: 'Accept' } ]
    23 verbose get saving ife to /root/.npm/registry.npmjs.org/ife/.cache.json
    24 silly addNameRange number 2 { name: 'ife', range: '
    ', hasData: true }
    25 silly addNameRange versions [ 'ife',
    25 silly addNameRange [ '0.0.1',
    25 silly addNameRange '0.0.2',
    25 silly addNameRange '0.0.3',
    25 silly addNameRange '0.0.4',
    25 silly addNameRange '0.0.5',
    25 silly addNameRange '0.0.6',
    25 silly addNameRange '0.0.7',
    25 silly addNameRange '0.0.8',
    25 silly addNameRange '0.0.9',
    25 silly addNameRange '0.0.10' ] ]
    26 verbose addNamed [email protected]
    27 silly addNamed semver.valid 0.0.10
    28 silly addNamed semver.validRange 0.0.10
    29 silly mapToRegistry name ife
    30 silly mapToRegistry using default registry
    31 silly mapToRegistry registry https://registry.npmjs.org/
    32 silly mapToRegistry uri https://registry.npmjs.org/ife
    33 verbose addRemoteTarball https://registry.npmjs.org/ife/-/ife-0.0.10.tgz not in flight; adding
    34 verbose addRemoteTarball [ 'https://registry.npmjs.org/ife/-/ife-0.0.10.tgz',
    34 verbose addRemoteTarball '39b7ba35d159bf213e553f2a635a4350aebdf68b' ]
    35 info retry fetch attempt 1 at 22:27:40
    36 info attempt registry request try #1 at 22:27:40
    37 http fetch GET https://registry.npmjs.org/ife/-/ife-0.0.10.tgz
    38 http fetch 200 https://registry.npmjs.org/ife/-/ife-0.0.10.tgz
    39 silly fetchAndShaCheck shasum 39b7ba35d159bf213e553f2a635a4350aebdf68b
    40 verbose addTmpTarball /tmp/npm-2105-6d2e1bcf/registry.npmjs.org/ife/-/ife-0.0.10.tgz not in flight; adding
    41 verbose addTmpTarball already have metadata; skipping unpack for [email protected]
    42 silly cache afterAdd [email protected]
    43 verbose afterAdd /root/.npm/ife/0.0.10/package/package.json not in flight; writing
    44 verbose afterAdd /root/.npm/ife/0.0.10/package/package.json written
    45 silly install resolved [ { name: 'ife',
    45 silly install resolved description: 'Interface Management for Node.js',
    45 silly install resolved keywords: [ 'ife', 'ifconfig', 'ipconfig' ],
    45 silly install resolved version: '0.0.10',
    45 silly install resolved preferGlobal: true,
    45 silly install resolved author: { name: 'Theo Schlossnagle' },
    45 silly install resolved repository: { type: 'git', url: 'git://github.com/postwait/node-ife.git' },
    45 silly install resolved bugs: { url: 'http://github.com/postwait/node-ife/issues' },
    45 silly install resolved main: './index',
    45 silly install resolved engines: { node: '0.6 || 0.8 || 0.10' },
    45 silly install resolved licenses: [ [Object] ],
    45 silly install resolved scripts: { install: 'node-gyp rebuild' },
    45 silly install resolved gypfile: true,
    45 silly install resolved homepage: 'https://github.com/postwait/node-ife',
    45 silly install resolved _id: '[email protected]',
    45 silly install resolved dist:
    45 silly install resolved { shasum: '39b7ba35d159bf213e553f2a635a4350aebdf68b',
    45 silly install resolved tarball: 'http://registry.npmjs.org/ife/-/ife-0.0.10.tgz' },
    45 silly install resolved _from: 'ife@*',
    45 silly install resolved _npmVersion: '1.4.3',
    45 silly install resolved _npmUser: { name: 'postwait', email: '[email protected]' },
    45 silly install resolved maintainers: [ [Object] ],
    45 silly install resolved directories: {},
    45 silly install resolved _shasum: '39b7ba35d159bf213e553f2a635a4350aebdf68b',
    45 silly install resolved _resolved: 'https://registry.npmjs.org/ife/-/ife-0.0.10.tgz' } ]
    46 info install [email protected] into /home/debian/sandbox
    47 info installOne [email protected]
    48 verbose installOne of ife to /home/debian/sandbox not in flight; installing
    49 verbose lock using /root/.npm/_locks/ife-5f1619226d381faa.lock for /home/debian/sandbox/node_modules/ife
    50 warn engine [email protected]: wanted: {"node":"0.6 || 0.8 || 0.10"} (current: {"node":"0.12.0","npm":"2.5.1"})
    51 silly install write writing ife 0.0.10 to /home/debian/sandbox/node_modules/ife
    52 silly cache addNamed cb [email protected]
    53 verbose unbuild node_modules/ife
    54 verbose gentlyRm vacuuming /home/debian/sandbox/node_modules/ife
    55 verbose tar unpack /root/.npm/ife/0.0.10/package.tgz
    56 verbose tar unpacking to /home/debian/sandbox/node_modules/ife
    57 verbose gentlyRm vacuuming /home/debian/sandbox/node_modules/ife
    58 silly gunzTarPerm modes [ '755', '644' ]
    59 silly gunzTarPerm extractEntry package.json
    60 silly gunzTarPerm extractEntry README.md
    61 silly gunzTarPerm extractEntry index.js
    62 silly gunzTarPerm extractEntry dlpifix
    63 silly gunzTarPerm extractEntry IFE.cc
    64 silly gunzTarPerm extractEntry arpcache-ctlnet.cc
    65 silly gunzTarPerm extractEntry arpcache-dlpi.cc
    66 silly gunzTarPerm extractEntry arpcache-none.cc
    67 silly gunzTarPerm extractEntry arpcache-proc.cc
    68 silly gunzTarPerm extractEntry binding.gyp
    69 silly gunzTarPerm extractEntry build/IFEBinding.target.mk
    70 silly gunzTarPerm extractEntry build/IFEStub.target.mk
    71 silly gunzTarPerm extractEntry build/Makefile
    72 silly gunzTarPerm extractEntry build/Release/.deps/Release/IFEBinding.node.d
    73 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/IFE.o.d
    74 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/arpcache-ctlnet.o.d
    75 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/ife-bpf.o.d
    76 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEBinding/ife-icmp-support.o.d
    77 silly gunzTarPerm extractEntry build/Release/.deps/Release/obj.target/IFEStub.stamp.d
    78 silly gunzTarPerm extractEntry build/Release/IFEBinding.node
    79 silly gunzTarPerm extractEntry build/Release/linker.lock
    80 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/IFE.o
    81 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/arpcache-ctlnet.o
    82 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/ife-bpf.o
    83 silly gunzTarPerm extractEntry build/Release/obj.target/IFEBinding/ife-icmp-support.o
    84 silly gunzTarPerm extractEntry build/Release/obj.target/IFEStub.stamp
    85 silly gunzTarPerm extractEntry build/binding.Makefile
    86 silly gunzTarPerm extractEntry build/config.gypi
    87 silly gunzTarPerm extractEntry build/gyp-mac-tool
    88 silly gunzTarPerm extractEntry IFEheader.h
    89 silly gunzTarPerm extractEntry ife-bpf.cc
    90 silly gunzTarPerm extractEntry ife-dlpi.cc
    91 silly gunzTarPerm extractEntry ife-icmp-support.cc
    92 silly gunzTarPerm extractEntry ife-icmp-support.h
    93 silly gunzTarPerm extractEntry ife-sockpacket.cc
    94 silly gunzTarPerm extractEntry ife-win32.cc
    95 silly gunzTarPerm extractEntry ife.h
    96 silly gunzTarPerm extractEntry LICENSE-CDDL
    97 silly gunzTarPerm extractEntry LICENSE-MIT
    98 silly gunzTarPerm extractEntry wscript
    99 info preinstall [email protected]
    100 silly install resolved []
    101 verbose about to build /home/debian/sandbox/node_modules/ife
    102 info build /home/debian/sandbox/node_modules/ife
    103 verbose linkStuff [ false, false, false, '/home/debian/sandbox/node_modules' ]
    104 info linkStuff [email protected]
    105 verbose linkBins [email protected]
    106 verbose linkMans [email protected]
    107 verbose rebuildBundles [email protected]
    108 info install [email protected]
    109 verbose unsafe-perm in lifecycle false
    110 info [email protected] Failed to exec install script
    111 verbose unlock done using /root/.npm/_locks/ife-5f1619226d381faa.lock for /home/debian/sandbox/node_modules/ife
    112 verbose stack Error: [email protected] install: node-gyp rebuild
    112 verbose stack Exit status 1
    112 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
    112 verbose stack at EventEmitter.emit (events.js:110:17)
    112 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:14:12)
    112 verbose stack at ChildProcess.emit (events.js:110:17)
    112 verbose stack at maybeClose (child_process.js:1008:16)
    112 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
    113 verbose pkgid [email protected]
    114 verbose cwd /home/debian/sandbox
    115 error Linux 3.14.1_006-trio2000
    116 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "ife"
    117 error node v0.12.0
    118 error npm v2.5.1
    119 error code ELIFECYCLE
    120 error [email protected] install: node-gyp rebuild
    120 error Exit status 1
    121 error Failed at the [email protected] install script 'node-gyp rebuild'.
    121 error This is most likely a problem with the ife package,
    121 error not with npm itself.
    121 error Tell the author that this fails on your system:
    121 error node-gyp rebuild
    121 error You can get their info via:
    121 error npm owner ls ife
    121 error There is likely additional logging output above.
    122 verbose exit [ 1, true ]
    123 verbose unbuild node_modules/ife
    124 info preuninstall [email protected]
    125 info uninstall [email protected]
    126 verbose unbuild rmStuff [email protected] from /home/debian/sandbox/node_modules
    127 info postuninstall [email protected]
    128 verbose gentlyRm vacuuming /home/debian/sandbox/node_modules/ife
    129 silly gentlyRm purging /home/debian/sandbox/node_modules/ife
    130 silly gentlyRm removing /home/debian/sandbox/node_modules
    131 silly gentlyRm finished vacuuming up to /home/debian/sandbox

CDDL?

Hey there, I see the CDDL license in the project repository. What portion of the code is under CDDL? I'm don't believe it's legal to use CDDL code in an MIT licensed library so I wanted to make sure I understand what was going on.

Support later versions of node.js

Hi

I'm struggling to install node-ife on Debian (Jessie) running node 4.6.2. Node-gyp fails with compile errors. After some trouble (I'm new to the framework), I realised the module only supports versions 0.8 and 0.10 of node. Is there any plans to support later versions? I would happily send my npm-debug logs of the install if that will help, just don't have it with me now. thanks

regards,
Tertius

Segmentation fault with IPv6 loopback but no other IPv6 interface

We detected a strange behavior (segmentation fault) if an IPv4 and IPv6 loopback device is on an SmartOS zone. This will only happen if a IPv4 address is set but no IPv6 is configured and IPv6 loopback interface is present.

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000 
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 80.190.131.157 netmask ffffff80 broadcast 80.190.131.255
    ether 22:8:3:8c:c4:c4 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
    inet6 ::1/128 

It gets stuck in the loop https://github.com/postwait/node-ife/blob/master/arpcache-dlpi.cc#L128-L130 because ip->ipNetToMediaEntrySize is 0. The workaround is to setup a real IPv6 interface with an valid address (or unplumb the v6 loopback).

I'm not sure if it's a illumos bug, because req->level might be 0x104 for the IPv6 loopback.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.