Bug#861865: libtiff5: regression - new warning: Invalid tag "Predictor"

2017-07-26 Thread Landry Breuil

Fwiw i can confirm this regression on jessie/8.9, using gdal:

$gdal_edit.py -a_srs EPSG:2154 831750_6490250.tif
ERROR 1: _TIFFVGetField:/vsimem/gtiffdataset_guess_jpeg_quality_tmp_0x103f8b0: 
Invalid tag "Predictor" (not supported by codec)
ERROR 1: _TIFFVGetField:/vsimem/gtiffdataset_guess_jpeg_quality_tmp_0x103f8b0: 
Invalid tag "Predictor" (not supported by codec)
ERROR 1: _TIFFVGetField:/vsimem/gtiffdataset_guess_jpeg_quality_tmp_0x103f8b0: 
Invalid tag "Predictor" (not supported by codec)


downgrading from 4.0.3-12.3+deb8u4 to 4.0.3-12.3+deb8u2 works around this issue.



Bug#783555: Bug#861865: libtiff5: regression - new warning: Invalid tag "Predictor"

2017-05-08 Thread GCS
Control: tags 783555 pending
Control: tags 818360 pending
Control: tags 861865 pending

Hi,

On Fri, May 5, 2017 at 1:16 AM, Grant McLean  wrote:
> As of today, we are getting this warning:
>
>   Invalid tag "Predictor" (not supported by codec). (_TIFFVGetField)
 Indeed, could test it in the weekend. The cause of this is the
CVE-2014-8128-5.patch , which was corrected in 4.0.3-12.3+deb8u3 to
write "Predictor" tag correctly. But it seems GraphicsMagick version
in Jessie can't handle this tag. May you check your setup if simply
dropping this patch fixes all your problems? Will do my tests as well,
but would be nice if I get pro-contra reports.

Thanks,
Laszlo/GCS



Bug#861865: libtiff5: regression - new warning: Invalid tag "Predictor"

2017-05-04 Thread Grant McLean
Package: libtiff5
Version: 4.0.3-12.3+deb8u3
Severity: normal

Dear Maintainer,

As of today, we are getting this warning:

  Invalid tag "Predictor" (not supported by codec). (_TIFFVGetField)

* What led up to the situation?

  The upgrade of libtiff5:amd from libtiff5:4.0.3-12.3+deb8u2 to
  4.0.3-12.3+deb8u3 has caused a new warning to be emitted when creating TIFF
  files.

  We know it was this specific package because:

  * our test server logs from yesterday do not include the warning
  * a dist-upgrade this morning upgraded only one package: libtiff5
  * our test server logs today now include the warning
  * the test server is running the same jobs as yesterday
  * we can reproduce the warning with test commands on other servers which
have been updated but not when using the same commands on servers which
are still running 4.0.3-12.3+deb8u2

The following two commands create a JPG file (a rectangle of solid color) and
then convert the JPG to a TIFF.  The warning is produced by the second command:

  $ gm convert -size 100x100 xc:#00 rect.jpg
  $ gm convert -colorspace RGB rect.jpg rect.tif
  gm convert: rect.tif: Invalid tag "Predictor" (not supported by codec).
  (_TIFFVGetField).

Both of these commands use the GraphicsMagick 'gm' command but that command is
using libtiff.

Regards
Grant McLean

-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_NZ.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libtiff5 depends on:
ii  libc6  2.19-18+deb8u7
ii  libjbig0   2.1-3.1
ii  libjpeg62-turbo1:1.3.1-12
ii  liblzma5   5.1.1alpha+20120614-2+b3
ii  multiarch-support  2.19-18+deb8u7
ii  zlib1g 1:1.2.8.dfsg-2+b1

libtiff5 recommends no packages.

libtiff5 suggests no packages.

-- no debconf information