#1071803 node-solid-keychain: FTBFS: Exception during run: Error: Cannot find module '@trust/webcrypto'

#1071803#5
Date:
2024-05-25 00:33:10 UTC
From:
To:
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.

#1071803#10
Date:
2025-08-13 09:12:03 UTC
From:
To:
Dear submitter,

as the package node-solid-keychain has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1108005

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)