Package: node-addon-api
Version: 8.8.0-1
Followup-For: Bug #1139670

This bug appears when using the deprecated way of configuring binding.gyp.

To avoid that, one has to remove the require in dependencies like so:

--- a/src/binding.gyp
+++ b/src/binding.gyp
@@ -91,7 +91,6 @@
       'NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS'
     ],
     'dependencies': [
-      '<!(node -p "require(\'node-addon-api\').gyp")',
       'libvips-cpp-<(vips_version)'
     ],
     'variables': {


Only the include_dir configuration is needed.

Jérémy

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.12+deb14.1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages node-addon-api depends on:
ii  libnode-dev  24.16.0+dfsg+~cs24.13.1-2
ii  nodejs       24.16.0+dfsg+~cs24.13.1-2

node-addon-api recommends no packages.

node-addon-api suggests no packages.

-- no debconf information

Reply via email to