[Pkg-javascript-devel] Bug#1011852: node-browserify-des: FTBFS: TypeError: Cannot read properties of undefined (reading 'update')
Lucas Nussbaum
lucas at debian.org
Thu May 26 14:56:36 BST 2022
Source: node-browserify-des
Version: 1.0.2-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/browserify-des
> /bin/sh -ex debian/tests/pkg-js/test
> + tape test.js
> TAP version 13
> # des-ecb
> # run: 1
> not ok 1 Error: error:0308010C:digital envelope routines::unsupported at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19) at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3) at new Cipheriv (node:internal/crypto/cipher:243:3) at Object.createCipheriv (node:crypto:138:10) at Test.<anonymous> (/<<PKGBUILDDIR>>/test.js:30:32) 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 Test._end (/usr/share/nodejs/tape/lib/test.js:220:11) at Test.bound [as _end] (/usr/share/nodejs/tape/lib/test.js:99:32)
> ---
> operator: notOk
> expected: |-
> false
> actual: |-
> { [Error: error:0308010C:digital envelope routines::unsupported] library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }
> at: Test.<anonymous> (/<<PKGBUILDDIR>>/test.js:32:13)
> stack: |-
> Error: error:0308010C:digital envelope routines::unsupported
> at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19)
> at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3)
> at new Cipheriv (node:internal/crypto/cipher:243:3)
> at Object.createCipheriv (node:crypto:138:10)
> at Test.<anonymous> (/<<PKGBUILDDIR>>/test.js:30:32)
> 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 Test._end (/usr/share/nodejs/tape/lib/test.js:220:11)
> at Test.bound [as _end] (/usr/share/nodejs/tape/lib/test.js:99:32)
> ...
> /<<PKGBUILDDIR>>/test.js:35
> var nodeCipherText = Buffer.concat([nodeEncrypt.update(text), nodeEncrypt.final()])
> ^
>
> TypeError: Cannot read properties of undefined (reading 'update')
> at Test.<anonymous> (/<<PKGBUILDDIR>>/test.js:35:57)
> 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 Test._end (/usr/share/nodejs/tape/lib/test.js:220:11)
> at Test.bound [as _end] (/usr/share/nodejs/tape/lib/test.js:99:32)
> at Immediate.<anonymous> (/usr/share/nodejs/tape/lib/test.js:161:18)
> at processImmediate (node:internal/timers:466:21)
> 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-des_1.0.2-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