imagemin / imagemin-jpegtran

jpegtran plugin for imagemin
MIT License
119 stars 27 forks source link

Builds using imagemin breaking since 4.2.0 #6

Closed mattdrose closed 9 years ago

mattdrose commented 9 years ago

For the last couple days, all my builds that require grunt-contrib-image@0.9.2 have been failing due to the following warning:

Warning: Error: Error: write EPIPE/var/data/atlassian/application-data/bamboo/xml-data/build-dir/DSP-JOB1/web/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/vendor/jpegtran: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /var/data/atlassian/application-data/bamboo/xml-data/build-dir/DSP-JOB1/web/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/vendor/jpegtran)

I'm wondering if it's due to the 4.2.0 bump. Any ideas?

Thanks!

tmirks commented 9 years ago

+1

kevva commented 9 years ago

Might be related. Could you try upgrading your libc6 version?

tmirks commented 9 years ago

Hey @kevva, we are using CentOS 6 and are unable to upgrade libc!

It seems that installing NASM on CentOS resolves this issue.

Easy to install via yum:

yum install nasm
mattdrose commented 9 years ago

Thanks @tmirks,

Also, rolling back to 4.1.0 fixed the issue for me.

4.2.0 doesn't seem to be fully backwards compatible. Not sure if others are running into this issue.

charliegeiger89 commented 9 years ago

+1

Unable to upgrade libc6 on CentOS 6. Had to traverse from gulp-imagemin down to imagemin-jpegtran and change version.

tmirks commented 9 years ago

@charliegeiger89 See my previous comment -- it works if you install NASM.

charliegeiger89 commented 9 years ago

Issue appears to have been fixed with latest jpegtran-bin / imagemin-jpegtran.