[Pkg-javascript-devel] Bug#1119755: pdf.js: FTBFS: TypeError: Cannot read properties of undefined (reading 'hasBasic')

Santiago Vila sanvila at debian.org
Fri Oct 31 11:29:05 GMT 2025


Package: src:pdf.js
Version: 2.14.305+dfsg-4
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/202510/

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:pdf.js, 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/babel-loader
rm ./node_modules/.cache
unlink ./node_modules/babel-loader
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/babel-loader -> /usr/share/nodejs/babel-loader
Link node_modules/@javascript-obfuscator/escodegen -> ../../debian/build_modules/@javascript-obfuscator/escodegen
Link node_modules/@javascript-obfuscator/estraverse -> ../../debian/build_modules/@javascript-obfuscator/estraverse
Link node_modules/dialog-polyfill -> ../debian/build_modules/dialog-polyfill
Link node_modules/gulp-postcss -> ../debian/build_modules/gulp-postcss
Link node_modules/postcss-dir-pseudo-class -> ../debian/build_modules/postcss-dir-pseudo-class
Link node_modules/postcss-logical -> ../debian/build_modules/postcss-logical
Link node_modules/streamqueue -> ../debian/build_modules/streamqueue
Link node_modules/webpack-stream -> ../debian/build_modules/webpack-stream
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gulp dist-pre
[10:13:26] Local gulp not found in /<<PKGBUILDDIR>>
[10:13:26] Try running: npm install gulp
[10:13:26] Using globally installed gulp
TypeError: Cannot read properties of undefined (reading 'hasBasic')
    at hascolor (/<<PKGBUILDDIR>>/debian/build_modules/webpack-stream/index.js:15:38)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/debian/build_modules/webpack-stream/index.js:19:11)
    at Module._compile (node:internal/modules/cjs/loader:1521:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
    at Module.load (node:internal/modules/cjs/loader:1266:32)
    at Module._load (node:internal/modules/cjs/loader:1091:12)
    at Module.require (node:internal/modules/cjs/loader:1289:19)
    at require (node:internal/modules/helpers:182:18)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/gulpfile.js:37:23)
    at Module._compile (node:internal/modules/cjs/loader:1521:14)
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-javascript-devel mailing list