Source: node-temporary Version: 1.1.0-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@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/temporary > /bin/sh -ex debian/tests/pkg-js/test > + mocha -R spec --timeout 10000 test/ > > > Base > rename > undefined should rename the directory > renameSync > undefined should rename the directory > prepareArgs > undefined should convert object to array and append path as first > element > > detector > tmp > undefined should return the tmp dir of the system > undefined should normalize windows paths correctly > > Tempdir > undefined should create file > undefined should use the directory name as the path when generator option > equals false > undefined should use the custom generator if supplied > rmdir > undefined should remove the directory > rmdirSync > undefined should remove the directory > > Tempfile > undefined should create file > readFile > undefined should call fs.readfile > readFileSync > undefined should call fs.readfileSync > writeFile > 1) should call fs.readfile > writeFileSync > 2) should call fs.writeFileSync > open > undefined should call fs.open > openSync > undefined should call fs.openSync > close > undefined should call fs.close > closeSync > undefined should call fs.closeSync > unlink > undefined should call fs.unlink > unlinkSync > undefined should call fs.readfileSync > > generator > name > undefined should unique generate name > build > undefined should build full names > > > 21 passing (46ms) > 2 failing > > 1) Tempfile > writeFile > should call fs.readfile: > TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type > string or an instance of Buffer, TypedArray, or DataView. Received an > instance of Object > at Object.writeFile (fs.js:1491:5) > at Function.invoke > (/usr/share/nodejs/sinon/lib/sinon/proxy-invoke.js:50:47) > at Object.writeFile (/usr/share/nodejs/sinon/lib/sinon/proxy.js:285:26) > at File.writeFile (lib/file.js:58:16) > at Context.<anonymous> (test/file.test.js:49:11) > at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (internal/timers.js:464:21) > > 2) Tempfile > writeFileSync > should call fs.writeFileSync: > TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type > string or an instance of Buffer, TypedArray, or DataView. Received undefined > at Object.writeFileSync (fs.js:1521:5) > at Function.invoke > (/usr/share/nodejs/sinon/lib/sinon/proxy-invoke.js:50:47) > at Object.writeFileSync > (/usr/share/nodejs/sinon/lib/sinon/proxy.js:280:26) > at File.writeFileSync (lib/file.js:65:27) > at Context.<anonymous> (test/file.test.js:59:11) > at callFn (/usr/share/nodejs/mocha/lib/runnable.js:366:21) > at Test.Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:354:5) > at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:678:10) > at /usr/share/nodejs/mocha/lib/runner.js:801:12 > at next (/usr/share/nodejs/mocha/lib/runner.js:593:14) > at /usr/share/nodejs/mocha/lib/runner.js:603:7 > at next (/usr/share/nodejs/mocha/lib/runner.js:486:14) > at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:571:5) > at processImmediate (internal/timers.js:464:21) > > > > dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 2 The full build log is available from: http://qa-logs.debian.net/2022/04/12/node-temporary_1.1.0-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lu...@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.