[Pkg-javascript-devel] Bug#973081: pdf.js: FTBFS: [12:18:32] TypeError: Cannot read property 'then' of undefined

Lucas Nussbaum lucas at debian.org
Tue Oct 27 17:09:04 GMT 2020


Source: pdf.js
Version: 2.6.347+dfsg-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> gulp dist-pre
> [12:18:24] Local gulp not found in /<<PKGBUILDDIR>>
> [12:18:24] Try running: npm install gulp
> [12:18:24] Using globally installed gulp
> [12:18:24] Using gulpfile /<<PKGBUILDDIR>>/gulpfile.js
> [12:18:24] Starting 'dist-pre'...
> [12:18:24] Starting 'generic'...
> [12:18:24] Starting 'buildnumber'...
> 
> ### Getting extension build number
> This is not a Git repository; using default build number.
> Extension build number: 0
> [12:18:24] Finished 'buildnumber' after 26 ms
> [12:18:24] Starting 'default_preferences'...
> [12:18:24] Starting 'default_preferences-pre'...
> 
> ### Building `default_preferences.json`
> Since Acorn 8.0.0, options.ecmaVersion is required.
> Defaulting to 2020, but this will stop working in the future.
> [12:18:25] Finished 'default_preferences-pre' after 425 ms
> [12:18:25] Starting '<anonymous>'...
> [12:18:25] Finished '<anonymous>' after 3.36 ms
> [12:18:25] Finished 'default_preferences' after 429 ms
> [12:18:25] Starting 'locale'...
> 
> ### Building localization files
> [12:18:25] Finished 'locale' after 145 ms
> [12:18:25] Starting '<anonymous>'...
> 
> ### Creating generic viewer
> (node:27451) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
> [12:18:32] '<anonymous>' errored after 7.53 s
> [12:18:32] TypeError: Cannot read property 'then' of undefined
>     at /usr/share/nodejs/webpack/lib/Compiler.js:493:44
>     at AsyncSeriesHook.eval [as callAsync] (eval at create (/usr/share/nodejs/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:4:1)
>     at AsyncSeriesHook.lazyCompileHook [as _callAsync] (/usr/share/nodejs/tapable/lib/Hook.js:35:21)
>     at Compiler.emitAssets (/usr/share/nodejs/webpack/lib/Compiler.js:490:19)
>     at onCompiled (/usr/share/nodejs/webpack/lib/Compiler.js:278:9)
>     at /usr/share/nodejs/webpack/lib/Compiler.js:681:15
>     at AsyncSeriesHook.eval [as callAsync] (eval at create (/usr/share/nodejs/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:4:1)
>     at AsyncSeriesHook.lazyCompileHook [as _callAsync] (/usr/share/nodejs/tapable/lib/Hook.js:35:21)
>     at /usr/share/nodejs/webpack/lib/Compiler.js:678:31
>     at AsyncSeriesHook.eval [as callAsync] (eval at create (/usr/share/nodejs/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:4:1)
> [12:18:32] 'generic' errored after 8.13 s
> [12:18:32] 'dist-pre' errored after 8.14 s
> make[1]: *** [debian/rules:9: override_dh_auto_build] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/pdf.js_2.6.347+dfsg-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-javascript-devel mailing list