Created attachment 42368 [details] Patch fixing the problem. png-1.5 stopped automatically including zlib.h. Since poppler needs symbols from there (for setting the compression level), it doesn't build against png-1.5. Please include zlib.h. A simple patch is attached, you might want a more complicated one that checks for zlib.h's existence first -- however, when png.h exists, zlib.h should usually also exist.
The patch is against poppler-0.14.5, but the problem is still there in git master.
Fixed, thanks
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.