[Pkg-javascript-devel] Bug#1002256: node-gulp-sourcemaps: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Tue Dec 21 16:33:59 GMT 2021


Source: node-gulp-sourcemaps
Version: 3.0.0+~cs4.0.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
> Link node_modules/@gulp-sourcemaps/identity-map -> ../../gulp-sourcemapsidentity-map
> Link node_modules/@gulp-sourcemaps/map-sources -> ../../gulp-sourcemapsmap-sources
> Link node_modules/strip-bom-string -> ../strip-bom-string
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../debian/tests/test_modules/expect node_modules/expect
> 	ln -s ../debian/tests/test_modules/function.prototype.name node_modules/function.prototype.name
> 	ln -s ../debian/tests/test_modules/functions-have-names node_modules/functions-have-names
> 	ln -s ../debian/tests/test_modules/is-arrow-function node_modules/is-arrow-function
> 	ln -s ../debian/tests/test_modules/is-async-fn node_modules/is-async-fn
> 	ln -s ../debian/tests/test_modules/is-equal node_modules/is-equal
> 	ln -s ../debian/tests/test_modules/is-finalizationregistry node_modules/is-finalizationregistry
> 	ln -s ../debian/tests/test_modules/is-weakref node_modules/is-weakref
> 	ln -s ../debian/tests/test_modules/object.getprototypeof node_modules/object.getprototypeof
> 	ln -s ../debian/tests/test_modules/reflect.getprototypeof node_modules/reflect.getprototypeof
> 	ln -s ../debian/tests/test_modules/which-builtin-type node_modules/which-builtin-type
> 	ln -s ../. node_modules/gulp-sourcemaps
> 	/bin/sh -ex debian/tests/pkg-js/test
> + ls test/init.test.js test/integration.test.js test/publish.test.js test/test-helpers.js test/utils.test.js test/write.test.js
> + grep -v+  test/integration.test.js
> grep -v test/publish.test.js
> + mocha --async-only test/init.test.js test/test-helpers.js test/utils.test.js test/write.test.js
> 
> Error: Cannot find module 'object-inspect'
> Require stack:
> - /<<PKGBUILDDIR>>/debian/tests/test_modules/expect/lib/assert.js
> - /<<PKGBUILDDIR>>/debian/tests/test_modules/expect/lib/Expectation.js
> - /<<PKGBUILDDIR>>/debian/tests/test_modules/expect/lib/index.js
> - /<<PKGBUILDDIR>>/test/init.test.js
>     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
>     at Function.Module._load (internal/modules/cjs/loader.js:667:27)
>     at Module.require (internal/modules/cjs/loader.js:887:19)
>     at require (internal/modules/cjs/helpers.js:74:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/debian/tests/test_modules/expect/lib/assert.js:7:22)
>     at Module._compile (internal/modules/cjs/loader.js:999:30)
>     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
>     at Module.load (internal/modules/cjs/loader.js:863:32)
>     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
>     at Module.require (internal/modules/cjs/loader.js:887:19)
>     at require (internal/modules/cjs/helpers.js:74:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/debian/tests/test_modules/expect/lib/Expectation.js:19:15)
>     at Module._compile (internal/modules/cjs/loader.js:999:30)
>     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
>     at Module.load (internal/modules/cjs/loader.js:863:32)
>     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
>     at Module.require (internal/modules/cjs/loader.js:887:19)
>     at require (internal/modules/cjs/helpers.js:74:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/debian/tests/test_modules/expect/lib/index.js:3:20)
>     at Module._compile (internal/modules/cjs/loader.js:999:30)
>     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
>     at Module.load (internal/modules/cjs/loader.js:863:32)
>     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
>     at Module.require (internal/modules/cjs/loader.js:887:19)
>     at require (internal/modules/cjs/helpers.js:74:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/test/init.test.js:3:14)
>     at Module._compile (internal/modules/cjs/loader.js:999:30)
>     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
>     at Module.load (internal/modules/cjs/loader.js:863:32)
>     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
>     at ModuleWrap.<anonymous> (internal/modules/esm/translators.js:188:29)
>     at ModuleJob.run (internal/modules/esm/module_job.js:145:37)
>     at async Loader.import (internal/modules/esm/loader.js:182:24)
>     at async formattedImport (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:7:14)
>     at async Object.exports.requireOrImport (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:48:32)
>     at async Object.exports.loadFilesAsync (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:88:20)
>     at async singleRun (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:125:3)
>     at async Object.exports.handler (/usr/share/nodejs/mocha/lib/cli/run.js:374:5)
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/node-gulp-sourcemaps_3.0.0+~cs4.0.1-1_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 mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list