Source: node-fastcgi Version: 1.3.3-4 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20201226 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > dpkg-buildpackage > ----------------- > > Command: dpkg-buildpackage -us -uc -sa -rfakeroot > dpkg-buildpackage: info: source package node-fastcgi > dpkg-buildpackage: info: source version 1.3.3-4 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by Xavier Guimard <y...@debian.org> > dpkg-source --before-build . > dpkg-buildpackage: info: host architecture amd64 > debian/rules clean > dh clean > dh_auto_clean --buildsystem=nodejs > rm -rf ./node_modules/.cache > dh_clean > dpkg-source -b . > dpkg-source: info: using source format '3.0 (quilt)' > dpkg-source: info: building node-fastcgi using existing > ./node-fastcgi_1.3.3.orig.tar.gz > dpkg-source: info: using patch list from debian/patches/series > dpkg-source: info: building node-fastcgi in node-fastcgi_1.3.3-4.debian.tar.xz > dpkg-source: info: building node-fastcgi in node-fastcgi_1.3.3-4.dsc > debian/rules binary > dh binary > dh_update_autotools_config > dh_autoreconf > dh_auto_configure --buildsystem=nodejs > dh_auto_build --buildsystem=nodejs > No build command found, searching known files > dh_auto_test --buildsystem=nodejs > mkdir -p node_modules > ln -s ../debian/tests/test_modules/request node_modules/request > ln -s ../debian/tests/test_modules/fcgi-handler > node_modules/fcgi-handler > ln -s ../debian/tests/test_modules/fcgi-stream node_modules/fcgi-stream > ln -s ../debian/tests/test_modules/fastcgi-parser > node_modules/fastcgi-parser > ln -s ../debian/tests/test_modules/cgi-env node_modules/cgi-env > ln -s ../. node_modules/node-fastcgi > /bin/sh -ex debian/tests/pkg-js/test > + mocha --exit ./test/mocha/integration > > > echo Server > cgi app listen on socket:/<<PKGBUILDDIR>>/test/mocha/integration/Sock11805 > (node:23224) [DEP0005] DeprecationWarning: Buffer() is deprecated due to > security and usability issues. Please use the Buffer.alloc(), > Buffer.allocUnsafe(), or Buffer.from() methods instead. > 1) should answer with the request > 2) should answer with the request data > 3) should answer with the request querystring > 4) should answer with the request auth > 5) should answer with correct request header names > > multiwrite Server > cgi app listen on socket:/<<PKGBUILDDIR>>/test/mocha/integration/Sock21884 > ✓ should answer with the expected response > > multiwrite Server (no content-length) > cgi app listen on socket:/<<PKGBUILDDIR>>/test/mocha/integration/Sock31165 > ✓ should answer with the expected response > > > 2 passing (69ms) > 5 failing > > 1) echo Server > should answer with the request: > Uncaught Cannot find module 'lodash' > Require stack: > - /<<PKGBUILDDIR>>/test/mocha/integration/echo.js > - /usr/share/nodejs/mocha/lib/esm-utils.js > - /usr/share/nodejs/mocha/lib/mocha.js > - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js > - /usr/share/nodejs/mocha/lib/cli/options.js > - /usr/share/nodejs/mocha/bin/mocha > Error: Cannot find module 'lodash' > Require stack: > - /<<PKGBUILDDIR>>/test/mocha/integration/echo.js > - /usr/share/nodejs/mocha/lib/esm-utils.js > - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js > - /usr/share/nodejs/mocha/lib/cli/options.js > - /usr/share/nodejs/mocha/bin/mocha > at Function.Module._resolveFilename > (internal/modules/cjs/loader.js:831:15) > at Function.Module._load (internal/modules/cjs/loader.js:687:27) > at Module.require (internal/modules/cjs/loader.js:903:19) > at require (internal/modules/cjs/helpers.js:74:18) > at IncomingMessage.writeReqAsJson (test/mocha/integration/echo.js:63:55) > at endReadableNT (_stream_readable.js:1223:12) > at processTicksAndRejections (internal/process/task_queues.js:84:21) > > 2) echo Server > should answer with the request data: > Uncaught Cannot find module 'lodash' > Require stack: > - /<<PKGBUILDDIR>>/test/mocha/integration/echo.js > - /usr/share/nodejs/mocha/lib/esm-utils.js > - /usr/share/nodejs/mocha/lib/mocha.js > - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js > - /usr/share/nodejs/mocha/lib/cli/options.js > - /usr/share/nodejs/mocha/bin/mocha > Error: Cannot find module 'lodash' > Require stack: > - /<<PKGBUILDDIR>>/test/mocha/integration/echo.js > - /usr/share/nodejs/mocha/lib/esm-utils.js > - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js > - /usr/share/nodejs/mocha/lib/cli/options.js > - /usr/share/nodejs/mocha/bin/mocha > at Function.Module._resolveFilename > (internal/modules/cjs/loader.js:831:15) > at Function.Module._load (internal/modules/cjs/loader.js:687:27) > at Module.require (internal/modules/cjs/loader.js:903:19) > at require (internal/modules/cjs/helpers.js:74:18) > at IncomingMessage.writeReqAsJson (test/mocha/integration/echo.js:63:55) > at endReadableNT (_stream_readable.js:1223:12) > at processTicksAndRejections (internal/process/task_queues.js:84:21) > > 3) echo Server > should answer with the request querystring: > Uncaught Cannot find module 'lodash' > Require stack: > - /<<PKGBUILDDIR>>/test/mocha/integration/echo.js > - /usr/share/nodejs/mocha/lib/esm-utils.js > - /usr/share/nodejs/mocha/lib/mocha.js > - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js > - /usr/share/nodejs/mocha/lib/cli/options.js > - /usr/share/nodejs/mocha/bin/mocha > Error: Cannot find module 'lodash' > Require stack: > - /<<PKGBUILDDIR>>/test/mocha/integration/echo.js > - /usr/share/nodejs/mocha/lib/esm-utils.js > - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js > - /usr/share/nodejs/mocha/lib/cli/options.js > - /usr/share/nodejs/mocha/bin/mocha > at Function.Module._resolveFilename > (internal/modules/cjs/loader.js:831:15) > at Function.Module._load (internal/modules/cjs/loader.js:687:27) > at Module.require (internal/modules/cjs/loader.js:903:19) > at require (internal/modules/cjs/helpers.js:74:18) > at IncomingMessage.writeReqAsJson (test/mocha/integration/echo.js:63:55) > at endReadableNT (_stream_readable.js:1223:12) > at processTicksAndRejections (internal/process/task_queues.js:84:21) > > 4) echo Server > should answer with the request auth: > Uncaught Cannot find module 'lodash' > Require stack: > - /<<PKGBUILDDIR>>/test/mocha/integration/echo.js > - /usr/share/nodejs/mocha/lib/esm-utils.js > - /usr/share/nodejs/mocha/lib/mocha.js > - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js > - /usr/share/nodejs/mocha/lib/cli/options.js > - /usr/share/nodejs/mocha/bin/mocha > Error: Cannot find module 'lodash' > Require stack: > - /<<PKGBUILDDIR>>/test/mocha/integration/echo.js > - /usr/share/nodejs/mocha/lib/esm-utils.js > - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js > - /usr/share/nodejs/mocha/lib/cli/options.js > - /usr/share/nodejs/mocha/bin/mocha > at Function.Module._resolveFilename > (internal/modules/cjs/loader.js:831:15) > at Function.Module._load (internal/modules/cjs/loader.js:687:27) > at Module.require (internal/modules/cjs/loader.js:903:19) > at require (internal/modules/cjs/helpers.js:74:18) > at IncomingMessage.writeReqAsJson (test/mocha/integration/echo.js:63:55) > at endReadableNT (_stream_readable.js:1223:12) > at processTicksAndRejections (internal/process/task_queues.js:84:21) > > 5) echo Server > should answer with correct request header names: > Uncaught Cannot find module 'lodash' > Require stack: > - /<<PKGBUILDDIR>>/test/mocha/integration/echo.js > - /usr/share/nodejs/mocha/lib/esm-utils.js > - /usr/share/nodejs/mocha/lib/mocha.js > - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js > - /usr/share/nodejs/mocha/lib/cli/options.js > - /usr/share/nodejs/mocha/bin/mocha > Error: Cannot find module 'lodash' > Require stack: > - /<<PKGBUILDDIR>>/test/mocha/integration/echo.js > - /usr/share/nodejs/mocha/lib/esm-utils.js > - /usr/share/nodejs/mocha/lib/cli/one-and-dones.js > - /usr/share/nodejs/mocha/lib/cli/options.js > - /usr/share/nodejs/mocha/bin/mocha > at Function.Module._resolveFilename > (internal/modules/cjs/loader.js:831:15) > at Function.Module._load (internal/modules/cjs/loader.js:687:27) > at Module.require (internal/modules/cjs/loader.js:903:19) > at require (internal/modules/cjs/helpers.js:74:18) > at IncomingMessage.writeReqAsJson (test/mocha/integration/echo.js:63:55) > at endReadableNT (_stream_readable.js:1223:12) > at processTicksAndRejections (internal/process/task_queues.js:84:21) > > > > dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 5 The full build log is available from: http://qa-logs.debian.net/2020/12/26/node-fastcgi_1.3.3-4_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with me so that we can identify if something relevant changed in the meantime. About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.