[Pkg-javascript-devel] Bug#1009572: node-cache-loader: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:21:48 BST 2022
Source: node-cache-loader
Version: 4.1.0+~cs2.0.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220412 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>>'
> babeljs-7 src -d dist --ignore 'src/**/*.test.js' --copy-files
> Successfully compiled 2 files with Babel (485ms).
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> ln -s ../. node_modules/cache-loader
> /bin/sh -ex debian/tests/pkg-js/test
> + cp test/__snapshots__/validate-options.test.js.snap test/__snapshots__/validate-options.test.js.save
> + jest -u --ci test/cjs.test.js test/validate-options.test.js
> jest-haste-map: Haste module naming collision: cache-loader
> The following files share their name; please adjust your hasteImpl:
> * <rootDir>/package.json
> * <rootDir>/.pc/fix-for-mkdirp.diff/package.json
>
> FAIL test/cjs.test.js
> ● Test suite failed to run
>
> TypeError: findUp.sync is not a function
>
> 11 |
> 12 | module.exports.sync = cwd => {
> > 13 | const filePath = findUp.sync('package.json', {cwd});
> | ^
> 14 | return filePath && path.dirname(filePath);
> 15 | };
> 16 |
>
> at AsyncFunction.sync (../../../usr/share/nodejs/pkg-dir/index.js:13:26)
> at findCacheDir (../../../usr/share/nodejs/find-cache-dir/index.js:55:21)
> at Object.<anonymous> (src/index.js:24:19)
> at Object.<anonymous> (test/cjs.test.js:1:1)
>
> FAIL test/validate-options.test.js
> ● Test suite failed to run
>
> TypeError: findUp.sync is not a function
>
> 11 |
> 12 | module.exports.sync = cwd => {
> > 13 | const filePath = findUp.sync('package.json', {cwd});
> | ^
> 14 | return filePath && path.dirname(filePath);
> 15 | };
> 16 |
>
> at AsyncFunction.sync (../../../usr/share/nodejs/pkg-dir/index.js:13:26)
> at findCacheDir (../../../usr/share/nodejs/find-cache-dir/index.js:55:21)
> at Object.<anonymous> (src/index.js:24:19)
> at Object.<anonymous> (test/validate-options.test.js:1:1)
>
> Test Suites: 2 failed, 2 total
> Tests: 0 total
> Snapshots: 0 total
> Time: 5.057 s
> Ran all test suites matching /test\/cjs.test.js|test\/validate-options.test.js/i.
> 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/04/12/node-cache-loader_4.1.0+~cs2.0.0-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&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