Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 5.0.0 does not contain bin for linux anymore #113

Open
janwidmer opened this issue Mar 9, 2020 · 14 comments
Open

Version 5.0.0 does not contain bin for linux anymore #113

janwidmer opened this issue Mar 9, 2020 · 14 comments

Comments

@janwidmer
Copy link

janwidmer commented Mar 9, 2020

We are using imagemin-gifsicle and therefore gifsicle-bin as part of our build. With the release 5.0.0, the linux bin files got removed. As consequence of that removal, our build does not work anymore on the CI Server. (The build tries to rebuild gifcicle and misses autoreconf for that..)

Was there a specific reason to update only the windows / mac versions of the bin and removing the linux ones?

Would it be possible to re-add them? There is also an open PR which wanted to update the Linux Version: #106

@Zwimber
Copy link

Zwimber commented Mar 26, 2020

Therefore also everyone who updated @gumlet/gif-resize from 1.0.4 to 1.0.7 will get an error on Linux hosts.

@Yivan
Copy link

Yivan commented Apr 18, 2020

Hello,

Same here.

I don't want to run apt-get install dh-autoreconf to be able to build it as it install 250 megs of packages... and we use containers.
It makes a too huge dependency, really.

So we tried to simply install gifsicle package from debian official repo, just a few megs, so great, but gifcicle-bin don't seems to be able to detect it and try to build it, it is a shame : (

There are two solutions:

  • put again the linux bin like before
  • search for a system cli gifsicle binary and use it if already here

For now, same we cannot use no more this package.
Hope it could be fixed,
Thanks!

@WebReflection
Copy link

This issue affects vercel / now CI too, so that I had to put it under optional dependencies that fail every single time but also I manually pre-build assets locally, before pushing, but that's not ideal.

As I am myself a Linux user, if there's anything I can do to provide Linux binaries please let me know, thanks.

@janwidmer
Copy link
Author

janwidmer commented May 25, 2020

mmh I was courious what the reason for the removal was but as there has not been a reaction on this issue, I am also not sure if the owner would accept a PR.. Also there has not been really a reaction on this PR #106..

@WebReflection
Copy link

@janwidmer do you know any valid alternative? my interest is about optimizing already available GIFs and nothing else, to be honest, but I might drop that if there's no alternative, or provide one by myself, that's going to work in common CIs too.

@lhtdesignde
Copy link

ah ya that's definitely causing the error of issue #79 . Would be great to re-add, please.

@janwidmer
Copy link
Author

janwidmer commented Aug 27, 2020

@WebReflection we ended up installing the build tools to generate the binary by ourselfs in our Gitlab CI image

@sphrases
Copy link

Same issue Gulp-image breaks too

@sghoweri
Copy link

I'm now running into this exact same issue as well (linked over from imagemin/imagemin-gifsicle#40)

njzjz added a commit to njzjz/njzjz.github.io that referenced this issue Oct 10, 2020
repo-ranger bot pushed a commit to njzjz/njzjz.github.io that referenced this issue Oct 10, 2020
* chore(deps): update dependency hexo-all-minifier to v0.5.5

* temporary fix imagemin/gifsicle-bin#113

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Jinzhe Zeng <[email protected]>
@jimblue
Copy link

jimblue commented Oct 18, 2020

Just a friendly ping... Any update about this issue ?
I got the same problem on a Ubuntu Server.

davidjoy added a commit to openedx/frontend-build that referenced this issue Dec 17, 2020
There’s a documented issue in “imagemin-gifsicle” where a recent update (5.0.0) removed the binaries for linux distributions:

imagemin/gifsicle-bin#113

This causes it to explode in CI via our direct dependency on image-webpack-loader.  The 7.0.0 version of image-webpack-loader relies on version 5 of gifsicle.  If we downgrade back to 6.0.0, we get gifsicle 4.0.1 instead, which still has the binaries.
davidjoy added a commit to openedx/frontend-build that referenced this issue Dec 17, 2020
There’s a documented issue in “imagemin-gifsicle” where a recent update (5.0.0) removed the binaries for linux distributions:

imagemin/gifsicle-bin#113

This causes it to explode in CI via our direct dependency on image-webpack-loader.  The 7.0.0 version of image-webpack-loader relies on version 5 of gifsicle.  If we downgrade back to 6.0.0, we get gifsicle 4.0.1 instead, which still has the binaries.
davidjoy added a commit to openedx/frontend-build that referenced this issue Dec 17, 2020
There’s a documented issue in “imagemin-gifsicle” where a recent update (5.0.0) removed the binaries for linux distributions:

imagemin/gifsicle-bin#113

This causes it to explode in CI via our direct dependency on image-webpack-loader.  The 7.0.0 version of image-webpack-loader relies on version 5 of gifsicle.  If we downgrade back to 6.0.0, we get gifsicle 4.0.1 instead, which still has the binaries.
davidjoy added a commit to openedx/frontend-build that referenced this issue Dec 17, 2020
There’s a documented issue in “imagemin-gifsicle” where a recent update (5.0.0) removed the binaries for linux distributions:

imagemin/gifsicle-bin#113

This causes it to explode in CI via our direct dependency on image-webpack-loader.  The 7.0.0 version of image-webpack-loader relies on version 5 of gifsicle.  If we downgrade back to 6.0.0, we get gifsicle 4.0.1 instead, which still has the binaries.
@sean6bucks
Copy link

Any progress or response from Imagemin team about this? Seems there are multiple tickets in imagmin projects, but doesn't seem to be any responses about fixes, besides people finding work arounds or downgrading. imagemin/imagemin-gifsicle#37 imagemin/imagemin-gifsicle#32 imagemin/imagemin-gifsicle#40 imagemin/imagemin-gifsicle#45
Not even the minimal response that all these tickets are duplicates to the same issue

@mreinstein
Copy link
Contributor

I think this is resolved via #118

@mreinstein
Copy link
Contributor

we'd need a new release of course, but assuming you're talking about 64 bit x86 linux binary this should do the trick.

@janwidmer
Copy link
Author

janwidmer commented Mar 3, 2021

@mreinstein thanks for your work. As we use it as part of imagemin-gifsicle, we cannot just update to the new version 5.2.0 but need to ask for a new version of imagemin-gifsicle.. As soon as that happen, I will close this ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants