[Pkg-javascript-devel] Bug#1011879: node-browserify-sign: 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:09:51 BST 2022


Source: node-browserify-sign
Version: 4.2.1-2
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/browserify-sign
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tape test/index.js
> TAP version 13
> # md5 with 1024 keys
> ok 1 correct length
> ok 2 equal sigs
> ok 3 compare to known
> ok 4 node validate node sig
> ok 5 node validate browser sig
> ok 6 browser validate node sig
> ok 7 browser validate browser sig
> # md5 with 1024 keys
> ok 8 correct length
> ok 9 equal sigs
> ok 10 compare to known
> ok 11 node validate node sig
> ok 12 node validate browser sig
> ok 13 browser validate node sig
> ok 14 browser validate browser sig
> # md5 with 2028 keys
> ok 15 correct length
> ok 16 equal sigs
> ok 17 compare to known
> ok 18 node validate node sig
> ok 19 node validate browser sig
> ok 20 browser validate node sig
> ok 21 browser validate browser sig
> # md5 with 1024 keys non-rsa key
> ok 22 correct length
> ok 23 equal sigs
> ok 24 compare to known
> ok 25 node validate node sig
> ok 26 node validate browser sig
> ok 27 browser validate node sig
> ok 28 browser validate browser sig
> # rmd160 with 2028 keys
> 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 new Sign (/<<PKGBUILDDIR>>/browser/index.js:21:16)
>     at Object.createSign (/<<PKGBUILDDIR>>/browser/index.js:80:10)
>     at Test.<anonymous> (/<<PKGBUILDDIR>>/test/index.js:30:25)
>     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-browserify-sign_4.2.1-2_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