[Pkg-javascript-devel] Bug#977772: pdf.js: ftbfs with node-postcss 8/node-css-loader 5 in experimental

Pirate Praveen praveen at onenetbeyond.org
Sun Dec 20 14:39:35 GMT 2020


Package: pdf.js
Version: 2.6.347+dfsg-3
Severity: important

With node-css-loader 5.0 from experimental, pdf.js ftbfs with this error

This require node-autoprefixer >= 10.1 and I'm working on updating it 
currently.

### Creating generic viewer
[13:29:04] '<anonymous>' errored after 369 ms
[13:29:04] TypeError in plugin "gulp-postcss"
Message:
    Cannot read property 'unprefixed' of undefined
Details:
    postcssNode: position: absolute
    fileName: viewer.css
    domainEmitter: [object Object]
    domainThrown: false

Stack:
TypeError: Cannot read property 'unprefixed' of undefined
    at /<<PKGBUILDDIR>>/viewer.css:17:3
    at Prefixes.unprefixed 
(/usr/share/nodejs/autoprefixer/lib/prefixes.js:445:39)
    at /usr/share/nodejs/autoprefixer/lib/processor.js:438:40
    at /usr/share/nodejs/postcss/lib/container.js:91:18
    at /usr/share/nodejs/postcss/lib/container.js:74:18
    at Rule.each (/usr/share/nodejs/postcss/lib/container.js:60:16)
    at Rule.walk (/usr/share/nodejs/postcss/lib/container.js:71:17)
    at /usr/share/nodejs/postcss/lib/container.js:79:24
    at Root.each (/usr/share/nodejs/postcss/lib/container.js:60:16)
    at Root.walk (/usr/share/nodejs/postcss/lib/container.js:71:17)
    at Root.walkDecls (/usr/share/nodejs/postcss/lib/container.js:89:19)
[13:29:04] 'generic' errored after 1.04 s
[13:29:04] 'dist-pre' errored after 1.05 s
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
--------------------------------------------------------------------------------
Build finished at 2020-12-20T13:29:04Z

full build log is attached

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pdf.js_2.6.347+dfsg-3_amd64-2020-12-20T13:28:25Z.build
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201220/d91e4f6a/attachment.ksh>


More information about the Pkg-javascript-devel mailing list