[Pkg-javascript-devel] Bug#1020132: node-postgres: FTBFS: dh_auto_test: error: cd ./postgres-bytea && sh -ex ../debian/nodejs/postgres-bytea/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:38:56 BST 2022


Source: node-postgres
Version: 7.14.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 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
> Link node_modules/buffer-writer -> ../buffer-writer
> Link node_modules/packet-reader -> ../packet-reader
> Link node_modules/pg-connection-string -> ../pg-connection-string
> Link node_modules/pg-cursor -> ../pg-cursor
> Link node_modules/pg-int8 -> ../pg-int8
> Link node_modules/pg-numeric -> ../pg-numeric
> Link node_modules/pg-pool -> ../pg-pool
> Link node_modules/pg-types -> ../pg-types
> Link node_modules/pgpass -> ../pgpass
> Link node_modules/postgres-array -> ../postgres-array
> Link node_modules/postgres-bytea -> ../postgres-bytea
> Link node_modules/postgres-date -> ../postgres-date
> Link node_modules/postgres-interval -> ../postgres-interval
> Link pg-pool/node_modules/pg-cursor -> ../../pg-cursor
> Link pg-types/node_modules/pg-int8 -> ../../pg-int8
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
> No build command found, searching known files
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../debian/tests/test_modules/pff node_modules/pff
> 	ln -s ../. node_modules/pg
> 	cd ./buffer-writer && sh -ex ../debian/nodejs/buffer-writer/test
> + mocha
> 
> 
>   undefined writes char
>   undefined gets correct byte length
>   undefined can add arbitrary buffer to the end
>   undefined resizing to much larger
>   adding int32
>     undefined writes 0
>     undefined writes 1
>     undefined writes 256
>     undefined writes largest int32
>     undefined writing multiple int32s
>     having to resize the buffer
>       undefined after resize correct result returned
> 
>   int16
>     undefined writes 0
>     undefined writes 400
>     undefined writes many
>     undefined resizes if internal buffer fills up
> 
>   cString
>     undefined writes empty cstring
>     undefined writes two empty cstrings
>     undefined writes non-empty cstring
>     undefined resizes if reached end
>     undefined writes multiple cstrings
> 
>   can write normal string
>     undefined can write cString too
>     undefined can resize
> 
>   clearing
>     undefined clears
>     undefined writing more
>     undefined returns result
>     undefined clears the writer
> 
>   flush
>     undefined added as a hex code to a full writer
>     undefined added as a hex code to a non-full writer
>     undefined added as a hex code to a buffer which requires resizing
> 
>   header
>     undefined adding two packets with headers
> 
> 
>   29 passing (44ms)
> 
> 	cd ./packet-reader && sh -ex ../debian/nodejs/packet-reader/test
> + mocha
> 
> 
>   packet-reader
>     undefined reads perfect 1 length buffer
>     undefined reads perfect longer buffer
>     undefined reads two parts
>     undefined reads multi-part
>     undefined resets internal buffer at end of packet
>     undefined reads multiple messages from single chunk
>     undefined reads 1 and a split
> 
>   variable length header
>     undefined reads double message buffers
> 
>   1 length code
>     undefined reads code
>     undefined is set on uncompleted read
> 
>   postgres style packet
>     undefined reads with padded length
> 
> 
>   11 passing (28ms)
> 
> 	cd ./pg-numeric && sh -ex ../debian/nodejs/pg-numeric/test
> + node test
> decimal round trips > 'NaN'
> decimal round trips > '0'
> decimal round trips > '0.0'
> decimal round trips > '0.00'
> decimal round trips > '0.000'
> decimal round trips > '0.0000'
> decimal round trips > '1'
> decimal round trips > '1.0'
> decimal round trips > '-1'
> decimal round trips > '-1.0'
> decimal round trips > '1234567890.0987654321'
> decimal round trips > '100000000000000000000000000000000000000000000000000000'
> decimal round trips > '1000000000000000000000000000000000000000000000000000000'
> decimal round trips > '10000000000000000000000000000000000000000000000000000000'
> decimal round trips > '100000000000000000000000000000000000000000000000000000000'
> decimal round trips > '1000000000000000000000000000000.0000000000000000000000000'
> decimal round trips > '100000000000000000000000000000.00000000000000000000000000'
> decimal round trips > '10000000000000000000000000000.000000000000000000000000000'
> decimal round trips > '1000000000000000000000000000.0000000000000000000000000000'
> decimal round trips > '1000000000000000000000000000000.0000000000000000000000001'
> decimal round trips > '100000000000000000000000000000.00000000000000000000000001'
> decimal round trips > '10000000000000000000000000000.000000000000000000000000001'
> decimal round trips > '1000000000000000000000000000.0000000000000000000000000001'
> decimal round trips > '0.000000000000'
> decimal round trips > '0.0000000000000'
> decimal round trips > '0.00000000000000'
> decimal round trips > '0.000000000000000'
> decimal round trips > '0.123400000000'
> decimal round trips > '0.1234000000000'
> decimal round trips > '0.12340000000000'
> decimal round trips > '0.123400000000000'
> decimal round trips > '0.123400000001'
> decimal round trips > '0.1234000000012'
> decimal round trips > '0.12340000000123'
> decimal round trips > '0.123400000001234'
> decimal round trips > '-0.0001'
> decimal round trips > '-0.00000002'
> decimal round trips > '-0.000000003'
> decimal round trips > '-0.0000000004'
> decimal round trips > '-0.00000000005'
> consistent interpretations > 0000ffff00…001 ('0.0')
> consistent interpretations > 00…00400…00 ('0')
> consistent interpretations > 0000ffff00…00 ('0')
> consistent interpretations > 00…00100…00 ('0')
> consistent interpretations > 000100…00 ('0')
> consistent interpretations > 0000ffff40000001 ('0.0')
> consistent interpretations > 0002fffe4000000100…00 ('0.0')
> consistent interpretations > 0001ffff00…001 ('0')
> consistent interpretations > 0001ffff00…0010001 ('0.0')
> consistent interpretations > 0001ffff00…0020001 ('0.00')
> consistent interpretations > 0001ffff00…0030001 ('0.000')
> consistent interpretations > 0001ffff00…00a ('0')
> consistent interpretations > 0001ffff00…001000a ('0.0')
> consistent interpretations > 0001ffff00…002000a ('0.00')
> consistent interpretations > 0001ffff00…0064 ('0')
> consistent interpretations > 0001ffff00…0010064 ('0.0')
> consistent interpretations > 0001ffff00…003e8 ('0')
> consistent interpretations > 0001ffff00…0040001 ('0.0001')
> consistent interpretations > 0001ffff00…003000a ('0.001')
> consistent interpretations > 0001ffff00…004000a ('0.0010')
> consistent interpretations > 0001ffff00…0020064 ('0.01')
> consistent interpretations > 0001ffff00…0030064 ('0.010')
> consistent interpretations > 0001ffff00…0040064 ('0.0100')
> consistent interpretations > 0001ffff00…00103e8 ('0.1')
> consistent interpretations > 0001ffff00…00203e8 ('0.10')
> consistent interpretations > 0001ffff00…00303e8 ('0.100')
> consistent interpretations > 0001ffff00…00403e8 ('0.1000')
> consistent interpretations > 0001ffff400…001 ('0')
> consistent interpretations > 0001ffff400000010001 ('0.0')
> consistent interpretations > 0001ffff400000020001 ('0.00')
> consistent interpretations > 0001ffff400000030001 ('0.000')
> consistent interpretations > 0001ffff00…0040001 ('0.0001')
> consistent interpretations > 00010000c00…00 ('NaN')
> consistent interpretations > 00…00c0000002 ('NaN')
> consistent interpretations > 00017fff00003fff0001 ('100…00.00…00')
> consistent interpretations > 0001f00…003fff000a ('0.00…001')
> consistent interpretations > 0001800…003fff0001 ('0.00…00')
> consistent interpretations > ffff7fff00…0023452345…23452345 ('90299029…90299029')
> errors > trailing data
> errors > digit out of range
> errors > invalid sign
> errors > scale out of range
> 	cd ./pg-types && sh -ex ../debian/nodejs/pg-types/test
> + NODE_PATH=../debian/tests/test_modules tape test/*.js
> TAP version 13
> 
> 1..0
> # tests 0
> # pass  0
> 
> # ok
> 
> 	cd ./postgres-array && sh -ex ../debian/nodejs/postgres-array/test
> + tape
> TAP version 13
> 
> 1..0
> # tests 0
> # pass  0
> 
> # ok
> 
> 	cd ./postgres-bytea && sh -ex ../debian/nodejs/postgres-bytea/test
> + tape test.js
> node:internal/modules/cjs/loader:959
>   throw err;
>   ^
> 
> Error: Cannot find module '/<<PKGBUILDDIR>>/postgres-bytea/test.js'
> Require stack:
> - /usr/share/nodejs/tape/bin/tape
>     at Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
>     at resolve (node:internal/modules/cjs/helpers:108:19)
>     at /usr/share/nodejs/tape/bin/tape:69:12
>     at Array.map (<anonymous>)
>     at Object.<anonymous> (/usr/share/nodejs/tape/bin/tape:68:4)
>     at Module._compile (node:internal/modules/cjs/loader:1120:14)
>     at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
>     at Module.load (node:internal/modules/cjs/loader:998:32)
>     at Module._load (node:internal/modules/cjs/loader:839:12)
>     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
>   code: 'MODULE_NOT_FOUND',
>   requireStack: [ '/usr/share/nodejs/tape/bin/tape' ]
> }
> 
> Node.js v18.7.0
> dh_auto_test: error: cd ./postgres-bytea && sh -ex ../debian/nodejs/postgres-bytea/test returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/node-postgres_7.14.0-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&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