Page MenuHomePhabricator

Wikimedia Portals needs libpng-dev for npm-browser-node-6 tests
Closed, DeclinedPublic

Description

The wikimedia-portals-npm-browser-node-6-docker job is failing to install pngquant because of an unresolved dependancy on libpng-dev. Previously on Jessie it managed to install successfully.

The following error is produced in the console output:

15:06:04   ⚠ The `/src/node_modules/pngquant-bin/vendor/pngquant` binary doesn't seem to work correctly
15:06:04   ⚠ pngquant pre-build test failed
15:06:04   ℹ compiling from source
15:06:04   ✖ Error: pngquant failed to build, make sure that libpng-dev is installed
15:06:04     at ChildProcess.exithandler (child_process.js:204:12)
15:06:04     at emitTwo (events.js:106:13)
15:06:04     at ChildProcess.emit (events.js:191:7)
15:06:04     at maybeClose (internal/child_process.js:891:16)
15:06:04     at Socket.<anonymous> (internal/child_process.js:342:11)
15:06:04     at emitOne (events.js:96:13)
15:06:04     at Socket.emit (events.js:188:7)
15:06:04     at Pipe._handle.close [as _onclose] (net.js:497:12)

Can libpng-dev be installed on the docker image, pretty please?

Event Timeline

Jdforrester-WMF subscribed.

The portals repo now uses the Pipeline to self-manage its CI instead.