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

Lucas Nussbaum lucas at debian.org
Fri Jul 29 19:22:39 BST 2022


Source: node-immutable-tuple
Version: 0.4.10-9
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ./scripts/build.sh
> (!) You have passed an unrecognized option
> Unknown input options: sourcemap. Allowed options: acorn, acornInjectPlugins, cache, context, experimentalCacheExpiry, external, inlineDynamicImports, input, makeAbsoluteExternalsRelative, manualChunks, maxParallelFileOps, maxParallelFileReads, moduleContext, onwarn, perf, plugins, preserveEntrySignatures, preserveModules, preserveSymlinks, shimMissingExports, strictDeprecations, treeshake, watch
> 
> /<<PKGBUILDDIR>>/src/tuple.js → ../dist/tuple.js...
> created ../dist/tuple.js in 99ms
> (!) You have passed an unrecognized option
> Unknown input options: sourcemap. Allowed options: acorn, acornInjectPlugins, cache, context, experimentalCacheExpiry, external, inlineDynamicImports, input, makeAbsoluteExternalsRelative, manualChunks, maxParallelFileOps, maxParallelFileReads, moduleContext, onwarn, perf, plugins, preserveEntrySignatures, preserveModules, preserveSymlinks, shimMissingExports, strictDeprecations, treeshake, watch
> 
> /<<PKGBUILDDIR>>/src/tuple.js → ../dist/tuple.mjs...
> created ../dist/tuple.mjs in 114ms
> uglifyjs dist/tuple.js -o dist/tuple.min.js
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
> 	mkdir -p node_modules
> 	ln -s ../debian/tests/test_modules/minipass node_modules/minipass
> 	ln -s ../debian/tests/test_modules/minizlib node_modules/minizlib
> 	ln -s ../debian/tests/test_modules/reify node_modules/reify
> 	ln -s ../. node_modules/immutable-tuple
> 	/bin/sh -ex debian/tests/pkg-js/test
> + set -e
> + rm -rf node_modules
> + cp -a debian/tests/test_modules node_modules
> + mocha --require ./node_modules/reify --full-trace --reporter spec test/tests.js
> Since Acorn 8.0.0, options.ecmaVersion is required.
> Defaulting to 2020, but this will stop working in the future.
> 
> undefined ERROR: TypeError: Cannot read properties of undefined (reading 'allowHashBang')
>     at getOptions (/usr/share/nodejs/acorn/dist/acorn.js:444:14)
>     at new Parser (/usr/share/nodejs/acorn/dist/acorn.js:500:30)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/node_modules/reify/lib/utils.js:7:21)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/node_modules/reify/lib/assignment-visitor.js:3:15)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/node_modules/reify/lib/compiler.js:6:12)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/node_modules/reify/node/caching-compiler.js:3:17)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/node_modules/reify/node/compile-hook.js:3:18)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/node_modules/reify/node/index.js:16:1)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Module.require (node:internal/modules/cjs/loader:1022:19)
>     at require (node:internal/modules/cjs/helpers:102:18)
>     at exports.requireOrImport (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:49:16)
>     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
>     at async exports.handleRequires (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:94:28)
>     at async /usr/share/nodejs/mocha/lib/cli/run.js:349:25
> 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/2022/07/28/node-immutable-tuple_0.4.10-9_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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