Version: 8.2.3-1
Severity: important
Justification: ftbfs
Tags: ftbfs
User: pkg-javascript-devel@alioth-lists.debian.net
Usertags: webpack5
Hi,
We are starting to build against webpack5 in experimental and the
package needed for local build is webpack and node-webpack-source from
experimental.
During a test rebuild, node-babel-loader was found to fail to build in
that situation.
Relevant part (hopefully):
# should throw error
(node:207301) [DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK]
DeprecationWarning: Compilation.hooks.normalModuleLoader was moved to
NormalModule.getCompilationHooks(compilation).loader
(node:207301) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning:
Compilation.assets will be frozen in future, all modifications are
deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets
after sealing the Compilation.
Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
Make sure to select an appropriate stage from
Compilation.PROCESS_ASSETS_STAGE_*.
not ok 75 should be strictly equal
---
operator: equal
expected: |-
'webpack://babel-loader/./test/fixtures/basic.js'
actual: |-
'webpack://babel-loader/webpack/bootstrap'
at: <anonymous> (/<<PKGBUILDDIR>>/test/sourcemaps.test.js:123:15)
stack: |-
Error: should be strictly equal
at Test.assert [as _assert]
(/usr/share/nodejs/tape/lib/test.js:311:54)
at Test.bound [as _assert]
(/usr/share/nodejs/tape/lib/test.js:96:32)
at Test.strictEqual (/usr/share/nodejs/tape/lib/test.js:475:10)
at Test.bound [as is] (/usr/share/nodejs/tape/lib/test.js:96:32)
at /<<PKGBUILDDIR>>/test/sourcemaps.test.js:123:15
at FSReqCallback.readFileAfterClose [as oncomplete]
(internal/fs/read_file_context.js:63:3)
...
not ok 90 should be strictly equal
---
operator: equal
expected: |-
'webpack://babel-loader/./test/fixtures/basic.js'
actual: |-
'webpack://babel-loader/webpack/bootstrap'
at: <anonymous> (/<<PKGBUILDDIR>>/test/sourcemaps.test.js:240:15)
stack: |-
Error: should be strictly equal
at Test.assert [as _assert]
(/usr/share/nodejs/tape/lib/test.js:311:54)
at Test.bound [as _assert]
(/usr/share/nodejs/tape/lib/test.js:96:32)
at Test.strictEqual (/usr/share/nodejs/tape/lib/test.js:475:10)
at Test.bound [as is] (/usr/share/nodejs/tape/lib/test.js:96:32)
at /<<PKGBUILDDIR>>/test/sourcemaps.test.js:240:15
at FSReqCallback.readFileAfterClose [as oncomplete]
(internal/fs/read_file_context.js:63:3)
...
not ok 91 should be truthy
---
operator: ok
expected: true
actual: false
at: <anonymous> (/<<PKGBUILDDIR>>/test/sourcemaps.test.js:247:15)
stack: |-
Error: should be truthy
at Test.assert [as _assert]
(/usr/share/nodejs/tape/lib/test.js:311:54)
at Test.bound [as _assert]
(/usr/share/nodejs/tape/lib/test.js:96:32)
at Test.assert (/usr/share/nodejs/tape/lib/test.js:430:10)
at Test.bound [as ok] (/usr/share/nodejs/tape/lib/test.js:96:32)
at /<<PKGBUILDDIR>>/test/sourcemaps.test.js:247:15
at FSReqCallback.readFileAfterClose [as oncomplete]
(internal/fs/read_file_context.js:63:3)
...
not ok 98 should be strictly equal
---
operator: equal
expected: |-
'webpack://babel-loader/./test/fixtures/basic.js'
actual: |-
'webpack://babel-loader/webpack/bootstrap'
at: <anonymous> (/<<PKGBUILDDIR>>/test/sourcemaps.test.js:304:15)
stack: |-
Error: should be strictly equal
at Test.assert [as _assert]
(/usr/share/nodejs/tape/lib/test.js:311:54)
at Test.bound [as _assert]
(/usr/share/nodejs/tape/lib/test.js:96:32)
at Test.strictEqual (/usr/share/nodejs/tape/lib/test.js:475:10)
at Test.bound [as is] (/usr/share/nodejs/tape/lib/test.js:96:32)
at /<<PKGBUILDDIR>>/test/sourcemaps.test.js:304:15
at FSReqCallback.readFileAfterClose [as oncomplete]
(internal/fs/read_file_context.js:63:3)
...
not ok 99 should be truthy
---
operator: ok
expected: true
actual: false
at: <anonymous> (/<<PKGBUILDDIR>>/test/sourcemaps.test.js:311:15)
stack: |-
Error: should be truthy
at Test.assert [as _assert]
(/usr/share/nodejs/tape/lib/test.js:311:54)
at Test.bound [as _assert]
(/usr/share/nodejs/tape/lib/test.js:96:32)
at Test.assert (/usr/share/nodejs/tape/lib/test.js:430:10)
at Test.bound [as ok] (/usr/share/nodejs/tape/lib/test.js:96:32)
at /<<PKGBUILDDIR>>/test/sourcemaps.test.js:311:15
at FSReqCallback.readFileAfterClose [as oncomplete]
(internal/fs/read_file_context.js:63:3)
...
The full log is attached to this mail.