#977772 pdf.js: ftbfs with node-postcss 8/node-css-loader 5 in experimental

#977772#5
Date:
2020-12-20 14:39:35 UTC
From:
To:
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

#977772#10
Date:
2022-06-09 19:53:06 UTC
From:
To:
This is no longer relevant.