chrissimpkins / Crunch

Insane(ly slow but wicked good) PNG image optimization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency build failures due to Sourceforge libpng download interruption

chrissimpkins opened this issue · comments

Test builds of the pngquant and zopflipng dependencies just began failing today with the following error during the attempt to build pngquant:

xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
src/install-dependencies.sh: 46: cd: can't cd to libpng-1.6.34
make: *** [build-dependencies] Error 1

This occurs when you build these dependencies with make build-dependencies in order to use the command line executable.

This is happening because the Sourceforge file server is down and the libpng source code download is not accessible. libpng is a requirement for pngquant builds. You can check on availability with the following download link: https://download.sourceforge.net/libpng/libpng-1.6.34.tar.xz

When the source pulled through that link is available, this error should disappear.

This error does not apply to the macOS GUI or macOS right click menu service.

There is a Github mirror for the libpng source if this is not a temporary problem:

https://github.com/glennrp/libpng/releases

verified that this is fixed