[Pkg-javascript-devel] Bug#1011903: node-rollup-plugin-commonjs: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Thu May 26 20:15:10 BST 2022
Source: node-rollup-plugin-commonjs
Version: 21.0.1+repack-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 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>>'
> cd packages/commonjs && rollup -c
> [36m
> [1msrc/index.js[22m → [1mdist/index.es.js, dist/index.js[22m...[39m
> [32mcreated [1mdist/index.es.js, dist/index.js[22m in [1m330ms[22m[39m
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules/\@rollup
> ln -s ../../packages/commonjs node_modules/\@rollup/plugin-commonjs
> /bin/sh -ex debian/tests/pkg-js/test
> + mkdir -p node_modules/@rollup
> + ln -s ../../packages/commonjs node_modules/@rollup/plugin-commonjs
> + tape packages/commonjs/test/test.js
> node:internal/modules/cjs/loader:936
> throw err;
> ^
>
> Error: Cannot find module 'locate-character'
> Require stack:
> - /<<PKGBUILDDIR>>/packages/commonjs/test/test.js
> - /usr/share/nodejs/tape/bin/import-or-require.js
> - /usr/share/nodejs/tape/bin/tape
> at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
> at Function.Module._load (node:internal/modules/cjs/loader:778:27)
> at Module.require (node:internal/modules/cjs/loader:1005:19)
> at require (node:internal/modules/cjs/helpers:102:18)
> at Object.<anonymous> (/<<PKGBUILDDIR>>/packages/commonjs/test/test.js:8:24)
> at Module._compile (node:internal/modules/cjs/loader:1103:14)
> at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
> at Module.load (node:internal/modules/cjs/loader:981:32)
> at Function.Module._load (node:internal/modules/cjs/loader:822:12)
> at Module.require (node:internal/modules/cjs/loader:1005:19) {
> code: 'MODULE_NOT_FOUND',
> requireStack: [
> '/<<PKGBUILDDIR>>/packages/commonjs/test/test.js',
> '/usr/share/nodejs/tape/bin/import-or-require.js',
> '/usr/share/nodejs/tape/bin/tape'
> ]
> }
> 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/05/25/node-rollup-plugin-commonjs_21.0.1+repack-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&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