Trying out the latest version of thumbor-plugins on my WMCS build test Jessie machine, I noticed that a test from the Debian package build test suite is now failing:
thumbor: DEBUG: [ShellRunner] Command: ['/usr/bin/timeout', '--foreground', '60', '/usr/bin/gs', '-sDEVICE=jpeg', '-dJPEG=90', '-sOutputFile=%stdout', '-dFirstPage=19', '-dLastPage=19', '-r150', '-dBATCH', '-dNOPAUSE', '-dSAFER', '-q', '-f/tmp/tmp73uNcZ'] thumbor: DEBUG: [ShellRunner] Stdout: <too long to display (16245 bytes)> thumbor: DEBUG: [ShellRunner] Stderr: unable to decode JPX image data. **** Warning: File has insufficient data for an image. unable to decode JPX image data. **** Warning: File has insufficient data for an image. **** This file had errors that were repaired or ignored. **** The file was produced by: **** >>>> Recoded by LuraDocument PDF v2.28 <<<< **** Please notify the author of the software that produced this **** file that it does not conform to Adobe's published PDF **** specification.
The test media file is Jeremy_Bentham.pdf
This error is something specific to the version of Ghostscript we use on Jessie: T188122
How did the test ever pass? Did we have a more recent of Ghostscript on Jessie machines at some point and that went away? Has the test failed for a while and it hasn't prevented the Debian package from being built?