Package: src:node-rollup-plugin-node-polyfills
Version: 0.2.1+dfsg+~0.11.0-3
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/202605/

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-rollup-plugin-node-polyfills, 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 rollup-plugin-polyfill-node/node_modules/.cache 
rollup-plugin-polyfill-node/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/concat-stream
unlink ./node_modules/core-util-is
unlink ./node_modules/crypto-browserify
unlink ./node_modules/errno
unlink ./node_modules/immediate
unlink ./node_modules/inherits
unlink ./node_modules/isarray
unlink ./node_modules/@rollup/plugin-inject
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/xtend
rm rollup-plugin-polyfill-node/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/concat-stream
unlink ./node_modules/core-util-is
unlink ./node_modules/crypto-browserify
unlink ./node_modules/errno
unlink ./node_modules/immediate
unlink ./node_modules/inherits
unlink ./node_modules/isarray
unlink ./node_modules/@rollup/plugin-inject
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/xtend
unlink node_modules/rollup-plugin-polyfill-node
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/concat-stream -> /usr/share/nodejs/concat-stream
Link ./node_modules/core-util-is -> /usr/share/nodejs/core-util-is
Link ./node_modules/crypto-browserify -> /usr/share/nodejs/crypto-browserify
Link ./node_modules/errno -> /usr/share/nodejs/errno
Link ./node_modules/immediate -> /usr/share/nodejs/immediate
Link ./node_modules/inherits -> /usr/share/nodejs/inherits
Link ./node_modules/isarray -> /usr/share/nodejs/isarray
Link ./node_modules/@rollup/plugin-inject -> 
/usr/share/nodejs/@rollup/plugin-inject
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/xtend -> /usr/share/nodejs/xtend
Link node_modules/rollup-plugin-polyfill-node -> ../rollup-plugin-polyfill-node
Link node_modules/browserify-fs -> ../debian/build_modules/browserify-fs
Link node_modules/buffer-es6 -> ../debian/build_modules/buffer-es6
Link node_modules/process-es6 -> ../debian/build_modules/process-es6
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/rollup-plugin-polyfill-node/build
        cd ./rollup-plugin-polyfill-node && sh -ex 
../debian/nodejs/rollup-plugin-polyfill-node/build
+ node scripts/build-constants.js
+ node scripts/build-polyfills.js
+ node scripts/collect-polyfills.js
+ tsc -p .
+ rollup -c

lib/index.js → dist/es, dist/...
created dist/es, dist/ in 71ms
+ rollup lib/index.js -f cjs -o dist/index.js

lib/index.js → dist/index.js...
(!) Unresolved dependencies
https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
@rollup/plugin-inject (imported by "lib/index.js")
path (imported by "lib/index.js")
crypto (imported by "lib/index.js")
created dist/index.js in 63ms
+ rollup lib/index.js -f es -o dist/es/index.js

lib/index.js → dist/es/index.js...
(!) Unresolved dependencies
https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
@rollup/plugin-inject (imported by "lib/index.js")
path (imported by "lib/index.js")
crypto (imported by "lib/index.js")
created dist/es/index.js in 58ms
Found debian/nodejs/./build
        cd ./. && sh -ex debian/nodejs/./build
+ tsc --moduleResolution node
+ rollup -c

dist-transpiled/index.js → dist/index.mjs, 
dist/index.js...
(!) The "output.preferConst" option is deprecated. Use the 
"output.generatedCode.constBindings" option instead.
https://rollupjs.org/https://rollupjs.org/configuration-options/#output-generatedcode-constbindings
(!) The "output.preferConst" option is deprecated. Use the 
"output.generatedCode.constBindings" option instead.
https://rollupjs.org/https://rollupjs.org/configuration-options/#output-generatedcode-constbindings
created dist/index.mjs, dist/index.js in 37ms
+ node scripts/build-constants.js
+ node scripts/build-polyfills.js
"levelup" is imported by "levelup?commonjs-external", but could not be 
resolved – treating it as an external dependency.
"level-filesystem" is imported by "level-filesystem?commonjs-external", but 
could not be resolved – treating it as an external dependency.
"level-js" is imported by "level-js?commonjs-external", but could not be 
resolved – treating it as an external dependency.
Circular dependency: 
../../../usr/share/nodejs/readable-stream/lib/internal/streams/duplex.js -> 
../../../usr/share/nodejs/readable-stream/lib/internal/streams/readable.js -> 
../../../usr/share/nodejs/readable-stream/lib/internal/streams/duplex.js
Circular dependency: 
../../../usr/share/nodejs/readable-stream/lib/internal/streams/duplex.js -> 
../../../usr/share/nodejs/readable-stream/lib/internal/streams/writable.js -> 
../../../usr/share/nodejs/readable-stream/lib/internal/streams/duplex.js
Circular dependency: 
../../../usr/share/nodejs/readable-stream/lib/internal/streams/duplex.js -> 
../../../usr/share/nodejs/readable-stream/lib/internal/streams/duplexify.js -> 
../../../usr/share/nodejs/readable-stream/lib/internal/streams/duplex.js
Circular dependency: ../../../usr/share/nodejs/readable-stream/lib/stream.js -> 
../../../usr/share/nodejs/readable-stream/lib/stream/promises.js -> 
../../../usr/share/nodejs/readable-stream/lib/stream.js
   dh_auto_test --buildsystem=nodejs
        ln -s ../. node_modules/rollup-plugin-node-polyfills
        cd ./rollup-plugin-polyfill-node && sh -ex 
../debian/nodejs/rollup-plugin-polyfill-node/test
+ mocha


  rollup-plugin-node-polyfills
    ✔ works with events.js (62ms)
    ✔ works with crypto.js
    ✔ works with url-parse.js (169ms)
    ✔ works with url-file-url-to-path.js (129ms)
    ✔ works with url-format.js (104ms)
Circular dependency: polyfill-node._stream_duplex.js -> 
polyfill-node._stream_readable.js -> polyfill-node._stream_duplex.js
Circular dependency: polyfill-node._stream_duplex.js -> 
polyfill-node._stream_writable.js -> polyfill-node._stream_duplex.js
    ✔ works with stream.js (192ms)
    ✔ works with assert.js (115ms)
    ✔ works with constants.js
    ✔ works with os.js
    ✔ works with path.js
    ✔ works with string-decoder.js (71ms)
Circular dependency: polyfill-node._stream_duplex.js -> 
polyfill-node._stream_readable.js -> polyfill-node._stream_duplex.js
Circular dependency: polyfill-node._stream_duplex.js -> 
polyfill-node._stream_writable.js -> polyfill-node._stream_duplex.js
    ✔ works with zlib.js (291ms)
    ✔ works with domain.js
    ✔ works with crypto.js
    ✔ crypto option works (though is broken)


  15 passing (1s)

        /bin/sh -ex debian/tests/pkg-js/test
+ mocha -R spec

 Exception during run: Error: Cannot find module 'rollup-plugin-inject'
Require stack:
- /<<PKGBUILDDIR>>/dist/index.js
- /<<PKGBUILDDIR>>/test/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1476:15)
    at wrapResolveFilename (node:internal/modules/cjs/loader:1049:27)
    at defaultResolveImplForCJSLoading 
(node:internal/modules/cjs/loader:1073:10)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1094:12)
    at Module._load (node:internal/modules/cjs/loader:1262:25)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1576:12)
    at require (node:internal/modules/helpers:153:16)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/dist/index.js:3:16)
    at Module._compile (node:internal/modules/cjs/loader:1830:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1961:10)
    at Module.load (node:internal/modules/cjs/loader:1553:32)
    at Module._load (node:internal/modules/cjs/loader:1355:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1576:12)
    at require (node:internal/modules/helpers:153:16)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/test/index.js:3:23)
    at Module._compile (node:internal/modules/cjs/loader:1830:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1961:10)
    at Module.load (node:internal/modules/cjs/loader:1553:32)
    at Module._load (node:internal/modules/cjs/loader:1355:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at loadCJSModuleWithModuleLoad (node:internal/modules/esm/translators:326:3)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:231:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:437:25)
    at process.processTicksAndRejections 
(node:internal/process/task_queues:104:5)
    at async onImport.tracePromise.__proto__ 
(node:internal/modules/esm/loader:639:26)
    at async formattedImport 
(/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:10:14)
    at async Object.requireModule [as requireOrImport] 
(/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:102:30)
    at async exports.loadFilesAsync 
(/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:152:20)
    at async singleRun (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:168:3)
    at async exports.handler (/usr/share/nodejs/mocha/lib/cli/run.js:379:5) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/<<PKGBUILDDIR>>/dist/index.js',
    '/<<PKGBUILDDIR>>/test/index.js'
  ]
}
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 failed with exit 
status 2
--------------------------------------------------------------------------------

-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to