Package: src:node-browserslist Version: 4.27.0+~cs8.11.53-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:node-browserslist, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean dh_auto_clean --buildsystem=nodejs rm -rf ./node_modules/.cache ./.nyc_output rm -rf baseline-browser-mapping/node_modules/.cache baseline-browser-mapping/.nyc_output rm -rf escalade/node_modules/.cache escalade/.nyc_output rm -rf node-releases/node_modules/.cache node-releases/.nyc_output rm -rf update-browserslist-db/node_modules/.cache update-browserslist-db/.nyc_output rm ./node_modules/.cache unlink ./node_modules/@rollup/plugin-typescript Trying to remove ./node_modules/@rollup unlink ./node_modules/@types/node Trying to remove ./node_modules/@types unlink ./node_modules/rollup-plugin-terser rm baseline-browser-mapping/node_modules/.cache rm escalade/node_modules/.cache rm node-releases/node_modules/.cache rm update-browserslist-db/node_modules/.cache rm ./node_modules/.cache unlink ./node_modules/@rollup/plugin-typescript Trying to remove ./node_modules/@rollup unlink ./node_modules/@types/node Trying to remove ./node_modules/@types unlink ./node_modules/rollup-plugin-terser unlink node_modules/baseline-browser-mapping unlink node_modules/escalade unlink node_modules/node-releases unlink node_modules/update-browserslist-db dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure --buildsystem=nodejs Link ./node_modules/@rollup/plugin-typescript -> /usr/share/nodejs/@rollup/plugin-typescript Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node Link ./node_modules/rollup-plugin-terser -> /usr/share/nodejs/rollup-plugin-terser Link node_modules/baseline-browser-mapping -> ../baseline-browser-mapping Link node_modules/escalade -> ../escalade Link node_modules/node-releases -> ../node-releases Link node_modules/update-browserslist-db -> ../update-browserslist-db debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_build --buildsystem=nodejs Found debian/nodejs/baseline-browser-mapping/build cd ./baseline-browser-mapping && sh -ex ../debian/nodejs/baseline-browser-mapping/build + rollup -c [36m [1msrc/index.ts[22m â [1mdist[22m...[39m [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2532: Object is possibly 'undefined'.[39m[22m [1msrc/index.ts: (178:26)[22m [90m [7m178[0m stripLTEPrefix(minimumVersions[browserName].version), [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [1msrc/index.ts: (505:9)[22m [90m [7m505[0m yearMinimumVersions[year][version.browser] = version; [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [1msrc/index.ts: (545:37)[22m [90m [7m545[0m let minBrowserVersionInfo = yearMinimumVersions[year][browserName] ?? { [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [1msrc/scripts/expose-data.ts: (92:27)[22m [90m [7m92[0m const releasesObj = browsersOutObject[browser]["releases"]; [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [32mcreated [1mdist[22m in [1m1.8s[22m[39m [36m [1msrc/index.ts[22m â [1mdist/index.cjs[22m...[39m [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2532: Object is possibly 'undefined'.[39m[22m [1msrc/index.ts: (178:26)[22m [90m [7m178[0m stripLTEPrefix(minimumVersions[browserName].version), [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [1msrc/index.ts: (505:9)[22m [90m [7m505[0m yearMinimumVersions[year][version.browser] = version; [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [1msrc/index.ts: (545:37)[22m [90m [7m545[0m let minBrowserVersionInfo = yearMinimumVersions[year][browserName] ?? { [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [1msrc/scripts/expose-data.ts: (92:27)[22m [90m [7m92[0m const releasesObj = browsersOutObject[browser]["releases"]; [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [32mcreated [1mdist/index.cjs[22m in [1m1.2s[22m[39m [36m [1msrc/cli.ts[22m â [1mdist/cli.js[22m...[39m [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2532: Object is possibly 'undefined'.[39m[22m [1msrc/index.ts: (178:26)[22m [90m [7m178[0m stripLTEPrefix(minimumVersions[browserName].version), [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [1msrc/index.ts: (505:9)[22m [90m [7m505[0m yearMinimumVersions[year][version.browser] = version; [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [1msrc/index.ts: (545:37)[22m [90m [7m545[0m let minBrowserVersionInfo = yearMinimumVersions[year][browserName] ?? { [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [1msrc/scripts/expose-data.ts: (92:27)[22m [90m [7m92[0m const releasesObj = browsersOutObject[browser]["releases"]; [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~~~~~~[0m [39m [32mcreated [1mdist/cli.js[22m in [1m636ms[22m[39m + rm -rf ./dist/scripts/expose-data.d.ts ./dist/cli.d.ts No build command found, searching known files No build command found, searching known files help2man -N -n 'The config to share target browsers and Node.js versions' ./cli.js >browserslist.1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test --buildsystem=nodejs ln -s ../debian/tests/test_modules/nanospy node_modules/nanospy ln -s ../. node_modules/browserslist /bin/sh -ex debian/tests/pkg-js/test + mkdir -p node_modules/browserslist-config-test node_modules/@example.com node_modules/@scope + NODE_ENV=test uvu test .test.js ReferenceError: require is not defined in ES module scope, you can use import instead This file is being treated as an ES module because it has a '.js' file extension and '/usr/share/nodejs/uvu/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. at file:///usr/share/nodejs/uvu/dist/index.js:1:13 at ModuleJobSync.runSync (node:internal/modules/esm/module_job:454:37) at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:435:47) at loadESMFromCJS (node:internal/modules/cjs/loader:1537:24) at Module._compile (node:internal/modules/cjs/loader:1688:5) at Module._extensions..js (node:internal/modules/cjs/loader:1839:10) at Module.load (node:internal/modules/cjs/loader:1441:32) at Module._load (node:internal/modules/cjs/loader:1263:12) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------
-- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
