Source: node-signal-exit Version: 4.1.0-6 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > tsc -p tsconfig.json > tsc -p tsconfig-esm.json > sh ./scripts/fixup.sh > #cp debian/index.cjs dist/cjs/ > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test --buildsystem=nodejs > ln -s ../. node_modules/signal-exit > /bin/sh -ex debian/tests/pkg-js/test > + tap -T -R spec test/all-integration-test.ts test/signal-exit-test.ts > > /<<PKGBUILDDIR>>/test/all-integration-test.ts:1 > import assert from 'assert' > ^^^^^^ > > SyntaxError: Cannot use import statement outside a module > at internalCompileFunction (node:internal/vm:73:18) > at wrapSafe (node:internal/modules/cjs/loader:1274:20) > at Module._compile (node:internal/modules/cjs/loader:1320:27) > at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) > at Module.load (node:internal/modules/cjs/loader:1197:32) > at Module._load (node:internal/modules/cjs/loader:1013:12) > at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:202:29) > at ModuleJob.run (node:internal/modules/esm/module_job:195:25) > at async ModuleLoader.import (node:internal/modules/esm/loader:336:24) > at async loadESM (node:internal/process/esm_loader:34:7) > > Node.js v18.19.0 > /<<PKGBUILDDIR>>/test/signal-exit-test.ts:1 > import { exec } from 'child_process' > ^^^^^^ > > SyntaxError: Cannot use import statement outside a module > at internalCompileFunction (node:internal/vm:73:18) > at wrapSafe (node:internal/modules/cjs/loader:1274:20) > at Module._compile (node:internal/modules/cjs/loader:1320:27) > at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) > at Module.load (node:internal/modules/cjs/loader:1197:32) > at Module._load (node:internal/modules/cjs/loader:1013:12) > at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:202:29) > at ModuleJob.run (node:internal/modules/esm/module_job:195:25) > at async ModuleLoader.import (node:internal/modules/esm/loader:336:24) > at async loadESM (node:internal/process/esm_loader:34:7) > > Node.js v18.19.0 > test/all-integration-test.ts > > 1) test/all-integration-test.ts > test/signal-exit-test.ts > > 2) test/signal-exit-test.ts > > 0 passing (2s) > 2 failing > > 1) test/all-integration-test.ts test/all-integration-test.ts: > test/all-integration-test.ts > > > 2) test/signal-exit-test.ts test/signal-exit-test.ts: > test/signal-exit-test.ts > > > 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/2023/12/12/node-signal-exit_4.1.0-6_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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 mark 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.