optipng-bin icon indicating copy to clipboard operation
optipng-bin copied to clipboard

build failure on ppc64el in Debian and linux

Open LocutusOfBorg opened this issue 5 years ago • 3 comments

Hello, I got a Debian bug report, but it turns out the problem is in your tarball you unpack during make install, because you don't run configure file for embedded libpng in case you are not using the system implementation. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959487 I attached an analysis on that bug report, thanks for having a look!

LocutusOfBorg avatar May 25 '20 13:05 LocutusOfBorg

hey ,I have the same problem, what can I do?

edsion11 avatar May 10 '21 06:05 edsion11

The bug report has some workarounds provided by me https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959487

LocutusOfBorg avatar May 11 '21 07:05 LocutusOfBorg

Hey, I have also run into this issue, is there anyway to patch in this fix in an automated fashion without having to fail and resume the build? I have found from this answer that you can fix this behavior by setting -DPNG_POWERPC_VSX_OPT=0 in CFLAGS but I can't figure out any way to apply that to the global npm install command without failing the build, manually editing files, then resuming the build.

matoro avatar Sep 04 '21 04:09 matoro