[Bug 196238] New: www/npm
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 23 20:18:50 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196238
Bug ID: 196238
Summary: www/npm
Product: Ports Tree
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: sunpoet at FreeBSD.org
Reporter: dmitry.grechka at gmail.com
Assignee: sunpoet at FreeBSD.org
Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
Created attachment 150921
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150921&action=edit
The log
Hi,
My system is FreeBSD 10.1-RELEASE-p2 FreeBSD 10.1-RELEASE-p2 #0 r275866M
node v0.10.33
npm v2.1.11
node-gyp v1.0.2
I'm trying to to install "npm -g install shiny-server" and get the following
error.
CXX(target) Release/obj.target/posix/src/posix.o
../src/posix.cc:105:11: error: no matching function for call to 'getgrouplist'
err = getgrouplist(*name, gid, groups, &ngrp);
^~~~~~~~~~~~
/usr/include/unistd.h:504:6: note: candidate function not viable: no known
conversion from 'result_t [ngrp]' to
'gid_t *' (aka 'unsigned int *') for 3rd argument
int getgrouplist(const char *, gid_t, gid_t *, int *);
^
1 error generated.
gmake: *** [Release/obj.target/posix/src/posix.o] Error 1
gmake: Leaving directory `/usr/local/lib/node_modules/shiny-server/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:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(child_process.js:810:12)
gyp ERR! System FreeBSD 10.1-RELEASE-p2
gyp ERR! command "node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/shiny-server
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! FreeBSD 10.1-RELEASE-p2
npm ERR! argv "node" "/usr/local/bin/npm" "-g" "install" "shiny-server"
npm ERR! node v0.10.33
npm ERR! npm v2.1.11
npm ERR! code ELIFECYCLE
npm ERR! shiny-server at 0.3.6 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the shiny-server at 0.3.6 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the shiny-server 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 shiny-server
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/ports/www/npm/npm-debug.log
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer sunpoet at FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list