[Pkg-javascript-devel] Bug#1009595: node-buffer-shims: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:21:46 BST 2022
Source: node-buffer-shims
Version: 1.0.0-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220412 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/buffer-shims
> /bin/sh -ex debian/tests/pkg-js/test
> + tape test/alloc.js test/save-unsafe.js
> b.length == 1024
> c.length == 512
> copied 512 bytes from b into c
> copied 512 bytes from c into b w/o sourceEnd
> copied 512 bytes from c into b w/o sourceStart
> copied 512 bytes from b into c w/o targetStart
> copied 256 bytes from end of b into beginning of c
> copied 512 bytes from b trying to overrun c
> copied 768 bytes from b into b
> bytes written to buffer: 11
> uber: 'über'
> f.length: 4 (should be 4)
> f.length: 8 (should be 8)
> f.length: 12 (should be 12)
> bytes written to buffer: 4 (should be 4)
> f.length: 8 (should be 8)
> f.length: 12 (should be 12)
> bytes written to buffer: 4 (should be 4)
> f.length: 8 (should be 8)
> f.length: 12 (should be 12)
> bytes written to buffer: 4 (should be 4)
> f.length: 8 (should be 8)
> f.length: 12 (should be 12)
> bytes written to buffer: 4 (should be 4)
> Create hex string from buffer
> Create buffer from hex string
> Try to slice off the end of the buffer
> <Buffer 81 a3 66 6f 6f a3 62 61 72>
> <Buffer 6f a3 62 61 72>
> 5
> <Buffer 81 a3 66 6f 6f a3 62 61 72>
> 9
> <Buffer 81 a3 66 6f>
> 4
> <Buffer 81 a3 66 6f 6f a3 62 61 72>
> 9
> <Buffer a3 66 6f>
> 3
> <Buffer 66 6f>
> 2
> <Buffer ff 61 62 ff>
> <Buffer ff 61 62 63>
> <Buffer ff 61 62 ff>
> <Buffer ff ab cd ff>
> <Buffer 61 00 ff ff>
> <Buffer 61 00 ff ff>
> <Buffer 61 00 ff ff>
> <Buffer 61 00 ff ff>
> assert.js:118
> throw new AssertionError(obj);
> ^
>
> AssertionError [ERR_ASSERTION]: Missing expected exception.
> at Object.<anonymous> (/<<PKGBUILDDIR>>/test/alloc.js:896:8)
> at Module._compile (internal/modules/cjs/loader.js:1085:14)
> at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
> at Module.load (internal/modules/cjs/loader.js:950:32)
> at Function.Module._load (internal/modules/cjs/loader.js:790:12)
> at Module.require (internal/modules/cjs/loader.js:974:19)
> at require (internal/modules/cjs/helpers.js:101:18)
> at importOrRequire (/usr/share/nodejs/tape/bin/import-or-require.js:14:5)
> at /usr/share/nodejs/tape/bin/tape:90:14
> at Array.reduce (<anonymous>) {
> generatedMessage: false,
> code: 'ERR_ASSERTION',
> actual: undefined,
> expected: undefined,
> operator: 'throws'
> }
> 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/04/12/node-buffer-shims_1.0.0-4_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&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