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

Xavier yadd at debian.org
Wed Oct 28 08:14:28 GMT 2020


Control: reassign -1 src:pdf.js
Control: found -1 2.6.347+dfsg-1

Le 27/10/2020 à 23:29, Xavier a écrit :
> Control: reassign -1 webpack
> Control: affects -1 src:pdf.js
> 
> Le 27/10/2020 à 18:09, Lucas Nussbaum a écrit :
>> 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
>> failed build was retried once to eliminate random failures.
> 
> Problem comes from mkdirp-1 patch

Finally, problem is in pdf.js/debian/build_modules/webpack-stream, a
wrapper around webpack



More information about the Pkg-javascript-devel mailing list