[Pkg-javascript-devel] Bug#735617: depends on /usr/bin/node against policy

Ximin Luo infinity0 at gmx.com
Thu Jan 16 23:52:07 UTC 2014


Package: node-gyp
Version: 0.10.10-2
Severity: serious

node-gyp depends on /usr/bin/node function (i.e. implicitly requiring nodejs-legacy installed), against policy:

https://lists.debian.org/debian-devel-announce/2012/07/msg00002.html

"No package in the archive may depend on .. nodejs-legacy."

node-gyp must be patched to call /usr/bin/nodejs instead.

Attempting to build node-ws[1] without nodejs-legacy installed (you may need to checkout an older commit by the time you read this) gives this error:

gyp info spawn python
gyp info spawn args [ '/usr/share/node-gyp/gyp/gyp',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/tmp/buildd/node-ws-0.4.30/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/share/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/include/nodejs/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/usr/include/nodejs',
gyp info spawn args   '-Dmodule_root_dir=/tmp/buildd/node-ws-0.4.30',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
/bin/sh: 1: node: not found
gyp: Call to 'node -p -e "require('path').dirname(require.resolve('nan'))"' returned exit status 127. while trying to load binding.gyp


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages node-gyp depends on:
ii  gyp               0.1~svn1729-3
ii  node-fstream      0.1.24-1
ii  node-glob         3.2.6-1
ii  node-graceful-fs  2.0.0-2
ii  node-minimatch    0.2.12-1
ii  node-mkdirp       0.3.5-1
ii  node-nopt         2.1.2-1
ii  node-npmlog       0.0.4-1
ii  node-osenv        0.0.3-1
ii  node-request      2.26.1-1
ii  node-rimraf       2.2.2-2
ii  node-semver       2.1.0-2
ii  node-tar          0.1.18-1
ii  node-which        1.0.5-2
ii  nodejs            0.10.23~dfsg1-3
ii  nodejs-dev        0.10.23~dfsg1-3

Versions of packages node-gyp recommends:
ii  build-essential  11.6

node-gyp suggests no packages.

-- no debconf information



More information about the Pkg-javascript-devel mailing list