[Pkg-javascript-devel] Bug#1071803: node-solid-keychain: FTBFS: Exception during run: Error: Cannot find module '@trust/webcrypto'
Santiago Vila
sanvila at debian.org
Sat May 25 01:33:10 BST 2024
Package: src:node-solid-keychain
Version: 0.1.3-3.1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pandoc --from gfm-raw_html --to html --standalone --output README.html README.md
[WARNING] This document format requires a nonempty <title> element.
Defaulting to 'README' as the title.
To specify a title, use 'title' in metadata or --metadata title="...".
pandoc --from gfm-raw_html --to plain --output README.txt README.md
dh override_dh_auto_build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
NODE_ENV=test prove \
--exec "mocha --reporter=tap" \
test/NotSupportedErrorSpec.js test/RsaKeyPairSpec.js test/SupportedAlgorithmsSpec.js \
test/NotSupportedErrorSpec.js .... ok
Exception during run: Error: Cannot find module '@trust/webcrypto'
Require stack:
- /<<PKGBUILDDIR>>/src/algorithms/RsaKeyPair.js
- /<<PKGBUILDDIR>>/test/RsaKeyPairSpec.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/<<PKGBUILDDIR>>/src/algorithms/RsaKeyPair.js:4:16)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/<<PKGBUILDDIR>>/test/RsaKeyPairSpec.js:17:20)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at cjsLoader (node:internal/modules/esm/translators:348:17)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:297:7)
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async formattedImport (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:9:14)
at async exports.requireOrImport (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:42:28)
at async exports.loadFilesAsync (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:100:20)
at async singleRun (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:125:3)
at async exports.handler (/usr/share/nodejs/mocha/lib/cli/run.js:370:5) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/<<PKGBUILDDIR>>/src/algorithms/RsaKeyPair.js',
'/<<PKGBUILDDIR>>/test/RsaKeyPairSpec.js'
]
}
test/RsaKeyPairSpec.js ...........
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
test/SupportedAlgorithmsSpec.js .. ok
Test Summary Report
-------------------
test/RsaKeyPairSpec.js (Wstat: 256 (exited 1) Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
Files=3, Tests=5, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.97 cusr 0.13 csys = 1.13 CPU)
Result: FAIL
make[1]: *** [debian/rules:18: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:34: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202405/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Pkg-javascript-devel
mailing list