#1144599 node-popper2: FTBFS with node-typescript 6

#1144599#5
Date:
2026-08-16 23:02:51 UTC
From:
To:
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/202608/

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-popper2, 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 ./node_modules/.cache
unlink ./node_modules/typescript
rm ./node_modules/.cache
unlink ./node_modules/typescript
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find src/ -name '*.ts' -delete
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/typescript -> /usr/share/nodejs/typescript
Link node_modules/@fezvrasta/tsc-silent -> ../../debian/build_modules/@fezvrasta/tsc-silent
Link node_modules/@khanacademy/flow-to-ts -> ../../debian/build_modules/@khanacademy/flow-to-ts
Link node_modules/babel-plugin-add-import-extension -> ../debian/build_modules/babel-plugin-add-import-extension
Link node_modules/babel-plugin-annotate-pure-calls -> ../debian/build_modules/babel-plugin-annotate-pure-calls
Link node_modules/babel-plugin-dev-expression -> ../debian/build_modules/babel-plugin-dev-expression
Link node_modules/babel-plugin-inline-replace-variables -> ../debian/build_modules/babel-plugin-inline-replace-variables
Link node_modules/commander -> ../debian/build_modules/commander
Link node_modules/utility-types -> ../debian/build_modules/utility-types
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
babeljs src -d lib --ignore '**/*.test.js','**/__mocks__'
Successfully compiled 61 files with Babel (548ms).
BROWSER_COMPAT=true babeljs src -d dist/esm --ignore '**/*.test.js','**/__mocks__'
Successfully compiled 61 files with Babel (518ms).
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.1s

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 518ms

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 430ms

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 102ms

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 421ms

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 285ms

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 329ms

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 10ms

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

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

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

src/enums.js → dist/cjs/enums.js...
created dist/cjs/enums.js in 8ms
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 6.0.3 from /<<PKGBUILDDIR>>/node_modules/typescript/lib/typescript.js
/usr/share/nodejs/typescript/lib/typescript.js:3858
    throw e;
    ^

Error: Debug Failure. False expression: Paths must either both be absolute or both be relative
    at getRelativePathFromDirectory (/usr/share/nodejs/typescript/lib/typescript.js:9121:9)
    at getRelativePathFromFile (/usr/share/nodejs/typescript/lib/typescript.js:9138:36)
    at verifyCompilerOptions (/usr/share/nodejs/typescript/lib/typescript.js:129812:13)
    at Object.createProgram (/usr/share/nodejs/typescript/lib/typescript.js:127878:5)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/debian/build_modules/@fezvrasta/tsc-silent/dist/tsc-silent.js:111:22)
    at Module._compile (node:internal/modules/cjs/loader:1872:14)
    at Object..js (node:internal/modules/cjs/loader:2003:10)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)

Node.js v24.19.0
make[1]: *** [debian/rules:17: 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 failed with exit status 2
--------------------------------------------------------------------------------

#1144599#8
Date:
2026-08-17 10:19:07 UTC
From:
To:
Hello,

Bug #1144599 in node-popper2 reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-popper2/-/commit/a851fe59ff4fef039bc032359674dd41335faabe
------------------------------------------------------------------------
Fix FTBFS with TypeScript 6

Closes: #1144599
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144599

#1144599#15
Date:
2026-08-17 10:34:52 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-popper2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1144599@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-popper2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 17 Aug 2026 12:14:33 +0200
Source: node-popper2
Architecture: source
Version: 2.11.2-10
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1144599
Changes:
 node-popper2 (2.11.2-10) unstable; urgency=medium
 .
   * Team upload
   * Fix FTBFS with TypeScript 6 (Closes: #1144599)
   * Declare compliance with policy 4.7.4
   * Drop "Rules-Requires-Root: no"
   * Drop "Priority: optional"
Checksums-Sha1:
 c1c96a5af16d179f94cb311a5b50feaf88955821 2157 node-popper2_2.11.2-10.dsc
 df340efe253d6f9c1cdeef3fdc45b0850b664100 146792 node-popper2_2.11.2-10.debian.tar.xz
Checksums-Sha256:
 f62da75b7bc8b1cd33a83b2264b7cc8de31e99f3a6b498648cfd5fbe1d2d23f0 2157 node-popper2_2.11.2-10.dsc
 baea942bb38389442890dfef80461cdbb0089ea827bd9b5991e68766de1dc483 146792 node-popper2_2.11.2-10.debian.tar.xz
Files:
 6a73ae9534071f4a01f3a18a170b95e8 2157 javascript optional node-popper2_2.11.2-10.dsc
 85a1ce51d49894dffc1c59d9ebfb8683 146792 javascript optional node-popper2_2.11.2-10.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqC3/sACgkQ9tdMp8mZ
7ulnvw/+JXVxGxc3gBdU3bcjReHD1jWiR9iIcprkX+5ZHMtjVtg1A2cQIf58/tw8
KXAZJp5Lnau3OgiteDxB4CPuRKgzUk3PVinCj+xipZyLI+LZWVONDIWYVhFXwgG6
82jvaoMhaBaRJvlMqlI7R8/KbNxNgORKER555pugYGpZNUn1gLXV6F15DGuz6Ume
JZlwDgtag7XBDcXe/HwEMR0Bsmzu8f+hUIVFpcj1DAEvLQD7w8Cz0BLEmdZOXrXw
ofJesMkXXeGUHTCl/8JUFfyMXWiqnXWFuUXRJ1MUKIFXF+no9BnE56VHGil2ZfCu
XFD17S70EWnjFytINGTbXtXcMoFgQbQzm//aSCd5EJV6+iNkH7YELLiZoMQpOmv3
KFKJhRSxPjHBp8uBWv3R0hiQwr8asB+oKeCsOegRKqVg50VPQ35bDu4BlKMJ43B2
5SJ9yY84GHKzmbkgFUEXNkYKBowFxVRbVSJHiuiOwuhQO5GIfoXnU7yU/vvSCAU8
61XPWKV2ftYJCyuvOAV4B0nTlDxi3gdbpRPQf7QZk4I/wsr7TdIAGBLt45y++DH/
xhHoVA64LrB1Xej2xokEHvIpiEnI8XDiY2jUBy39X0b9wUpMgzJHgApLhghwy1H9
WLk6DK4UShXQf93aL8toGpCzVdJ7LbyrszO/Y2uK0M9nGg2dRZ0=
=9Iwe
-----END PGP SIGNATURE-----