[Pkg-javascript-devel] Bug#1057584: node-qs: FTBFS: Error: module has-proto in /<<PKGBUILDDIR>>/node_modules/get-intrinsic not found

Santiago Vila sanvila at debian.org
Tue Dec 5 22:08:15 GMT 2023


Package: src:node-qs
Version: 6.11.0+ds+~6.9.7-3
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure --buildsystem=nodejs
Link ./node_modules/available-typed-arrays -> /usr/share/nodejs/available-typed-arrays
Link ./node_modules/call-bind -> /usr/share/nodejs/call-bind
Link ./node_modules/es-abstract -> /usr/share/nodejs/es-abstract
Link ./node_modules/for-each -> /usr/share/nodejs/for-each
Link ./node_modules/function-bind -> /usr/share/nodejs/function-bind
Link ./node_modules/get-intrinsic -> /usr/share/nodejs/get-intrinsic
Link ./node_modules/gopd -> /usr/share/nodejs/gopd
Link ./node_modules/has-symbols -> /usr/share/nodejs/has-symbols
Link ./node_modules/has -> /usr/share/nodejs/has
Link ./node_modules/has-tostringtag -> /usr/share/nodejs/has-tostringtag
Link ./node_modules/inherits -> /usr/share/nodejs/inherits
Link ./node_modules/is-arguments -> /usr/share/nodejs/is-arguments
Link ./node_modules/is-callable -> /usr/share/nodejs/is-callable
Link ./node_modules/is-generator-function -> /usr/share/nodejs/is-generator-function
Link ./node_modules/is-typed-array -> /usr/share/nodejs/is-typed-array
Link ./node_modules/object-inspect -> /usr/share/nodejs/object-inspect
Link ./node_modules/side-channel -> /usr/share/nodejs/side-channel
Link ./node_modules/util -> /usr/share/nodejs/util
Link ./node_modules/which-typed-array -> /usr/share/nodejs/which-typed-array
Link node_modules/@types/qs -> ../../types-qs
    debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
mkdir dist
browserify-lite ./lib/index.js --outfile dist/qs.js
/usr/share/nodejs/browserify-lite/cli.js:29
   if (err) throw err;
            ^

Error: module has-proto in /<<PKGBUILDDIR>>/node_modules/get-intrinsic not found
     at trySearchPath (/usr/share/nodejs/browserify-lite/index.js:269:32)
     at /usr/share/nodejs/browserify-lite/index.js:274:7
     at /usr/share/nodejs/browserify-lite/index.js:294:21
     at FSReqCallback.oncomplete (node:fs:202:21)

Node.js v18.19.0
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202312/

About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the Pkg-javascript-devel mailing list