[Pkg-javascript-devel] Bug#1011802: node-crypto-browserify: 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:10:03 BST 2022
Source: node-crypto-browserify
Version: 3.12.0-5
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):
> debian/rules binary
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure --buildsystem=nodejs
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules
> ln -s ../. node_modules/crypto-browserify
> /bin/sh -ex debian/tests/pkg-js/test
> + node test/index.js
> (node:866012) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
> (Use `node --trace-deprecation ...` to show where the warning was created)
> TAP version 13
> # createHash in crypto-browserify test sha1 against test vectors
> # createHash in crypto-browserify test sha224 against test vectors
> # createHash in crypto-browserify test sha256 against test vectors
> # createHash in crypto-browserify test sha384 against test vectors
> # createHash in crypto-browserify test sha512 against test vectors
> # createHash in crypto-browserify test md5 against test vectors
> # createHash in crypto-browserify test rmd160 against test vectors
> node:internal/crypto/hash:67
> this[kHandle] = new _Hash(algorithm, xofLen);
> ^
>
> Error: error:0308010C:digital envelope routines::unsupported
> at new Hash (node:internal/crypto/hash:67:19)
> at createHash (node:crypto:130:10)
> at run (/<<PKGBUILDDIR>>/test/create-hash.js:26:16)
> at Test.<anonymous> (/<<PKGBUILDDIR>>/test/create-hash.js:17:5)
> at Test.bound [as _cb] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at Test.run (/usr/share/nodejs/tape/lib/test.js:117:31)
> at Test.bound [as run] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at Immediate.next (/usr/share/nodejs/tape/lib/results.js:88:19)
> at processImmediate (node:internal/timers:466:21) {
> opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
> library: 'digital envelope routines',
> reason: 'unsupported',
> code: 'ERR_OSSL_EVP_UNSUPPORTED'
> }
> 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-crypto-browserify_3.12.0-5_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