[Pkg-javascript-devel] Bug#740569: node-gyp: make node-gyp compile unconditionally using -fPIC

Ximin Luo infinity0 at pwned.gg
Sun Mar 2 23:36:24 UTC 2014


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

/usr/share/node-gyp/addon.gypi has the following logic:

      [ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
        'cflags': [ '-fPIC' ],
      }]

I request that the the 'target_arch!="ia32"' be removed so that -fPIC is unconditionally used.

Otherwise, lintian complains, when a package is built using node-gyp:

http://lintian.debian.org/maintainer/pkg-javascript-devel@lists.alioth.debian.org.html#node-ws 


-- 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.25~dfsg2-2
ii  nodejs-dev        0.10.25~dfsg2-2

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