[Pkg-javascript-devel] Bug#1055659: rebuild fails with node-typescript 4.9.5 in experimental

weepingclown weepingclown at disroot.org
Thu Nov 9 18:21:09 GMT 2023


Package: node-popper2
Version: 2.11.2-6
Severity: important
User: debian-js at lists.debian.org
Usertags: typescript495


Hi,

This package's rebuild failed with node-typescript 4.9.5 currently in 
experimental.
node-typescript 4.9.5 is planned to be uploaded to unstable in about two 
weeks to
one month time, so please make sure this package will be ready for it. 
The severity
of this bug will be raised to serious after node-typescript 4.9.5 is 
uploaded to unstable.


Relevant errors;

make[1]: Entering directory '/<<PKGBUILDDIR>>'
babeljs src -d lib --ignore '**/*.test.js','**/__mocks__'
Successfully compiled 61 files with Babel (690ms).
BROWSER_COMPAT=true babeljs src -d dist/esm --ignore 
'**/*.test.js','**/__mocks__'
Successfully compiled 61 files with Babel (680ms).
rollup -c .config/rollup.config.js

src/popper.js → dist/umd/popper.min.js...
(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' 
currently defaults to false. It is recommended to set this option to 
`true`, as the next major version will default this option to `true`.
created dist/umd/popper.min.js in 1.6s

src/popper-lite.js → dist/umd/popper-lite.min.js...
(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' 
currently defaults to false. It is recommended to set this option to 
`true`, as the next major version will default this option to `true`.
created dist/umd/popper-lite.min.js in 895ms

src/popper-base.js → dist/umd/popper-base.min.js...
(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' 
currently defaults to false. It is recommended to set this option to 
`true`, as the next major version will default this option to `true`.
created dist/umd/popper-base.min.js in 730ms

src/enums.js → dist/umd/enums.min.js...
(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' 
currently defaults to false. It is recommended to set this option to 
`true`, as the next major version will default this option to `true`.
created dist/umd/enums.min.js in 350ms

src/popper.js → dist/umd/popper.js...
(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' 
currently defaults to false. It is recommended to set this option to 
`true`, as the next major version will default this option to `true`.
created dist/umd/popper.js in 523ms

src/popper-lite.js → dist/umd/popper-lite.js...
(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' 
currently defaults to false. It is recommended to set this option to 
`true`, as the next major version will default this option to `true`.
created dist/umd/popper-lite.js in 363ms

src/popper-base.js → dist/umd/popper-base.js...
(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' 
currently defaults to false. It is recommended to set this option to 
`true`, as the next major version will default this option to `true`.
created dist/umd/popper-base.js in 291ms

src/enums.js → dist/umd/enums.js...
(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' 
currently defaults to false. It is recommended to set this option to 
`true`, as the next major version will default this option to `true`.
created dist/umd/enums.js in 12ms

src/popper.js → dist/cjs/popper.js...
created dist/cjs/popper.js in 434ms

src/popper-lite.js → dist/cjs/popper-lite.js...
created dist/cjs/popper-lite.js in 313ms

src/popper-base.js → dist/cjs/popper-base.js...
created dist/cjs/popper-base.js in 283ms

src/enums.js → dist/cjs/enums.js...
created dist/cjs/enums.js in 13ms
debian/build_modules/@khanacademy/flow-to-ts/src/flow-to-ts.js 
"src/**/*.js" --write --inline-utility-types
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
downgrading exact object type
debian/build_modules/@fezvrasta/tsc-silent/bin/tsc-silent --project 
.config/tsconfig.json --createSourceFile .config/createSourceFile.js 
--suppress @
Using TypeScript compiler version 4.9.4 from 
/<<PKGBUILDDIR>>/node_modules/typescript/lib/typescript.js
Visible errors: 0, suppressed errors: 68
find src -name '*.ts' -delete
patch -p1 < debian/patches/fix-types.patch
patching file lib/utils/detectOverflow.d.ts
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file 
lib/utils/detectOverflow.d.ts.rej
patching file lib/types.d.ts
Hunk #1 FAILED at 114.
1 out of 1 hunk FAILED -- saving rejects to file lib/types.d.ts.rej
patching file lib/dom-utils/getViewportRect.d.ts
patching file lib/dom-utils/getBoundingClientRect.d.ts
patching file lib/dom-utils/getClippingRect.d.ts
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2


Full build log is attached.

-- 

PGP: BC55 8A19 E57C 716D D12F 2FA2 EEED 479E 6CEC F707
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231109/bf36ab53/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-peek-readable.log
Type: text/x-log
Size: 285411 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231109/bf36ab53/attachment.bin>


More information about the Pkg-javascript-devel mailing list