Debian Bug report logs - #806118
tiff: FTBFS when built with dpkg-buildpackage -A (No such file or directory)

version graph

Package: src:tiff; Maintainer for src:tiff is Laszlo Boszormenyi (GCS) <gcs@debian.org>;

Reported by: Santiago Vila <sanvila@debian.org>

Date: Tue, 24 Nov 2015 15:36:02 UTC

Severity: serious

Tags: patch

Found in version tiff/4.0.5-1

Fixed in version tiff/4.0.6-3

Done: Laszlo Boszormenyi (GCS) <gcs@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Ondřej Surý <ondrej@debian.org>:
Bug#806118; Package src:tiff. (Tue, 24 Nov 2015 15:36:06 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, Ondřej Surý <ondrej@debian.org>. (Tue, 24 Nov 2015 15:36:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: tiff: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Tue, 24 Nov 2015 15:28:58 +0000
Package: src:tiff
Version: 4.0.5-1
User: sanvila@debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 fakeroot debian/rules binary-indep
dh binary-indep --with autoreconf --with autotools-dev
   dh_testroot -i
   dh_prep -i
   dh_auto_install -i
	make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making install in port
make[2]: Entering directory '/<<PKGBUILDDIR>>/port'
make[3]: Entering directory '/<<PKGBUILDDIR>>/port'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/port'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/port'
Making install in libtiff
make[2]: Entering directory '/<<PKGBUILDDIR>>/libtiff'
make[3]: Entering directory '/<<PKGBUILDDIR>>/libtiff'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libtiff.la libtiffxx.la '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/libtiff.so.5.2.3 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libtiff.so.5.2.3
libtool: install: (cd /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libtiff.so.5.2.3 libtiff.so.5 || { rm -f libtiff.so.5 && ln -s libtiff.so.5.2.3 libtiff.so.5; }; })
libtool: install: (cd /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libtiff.so.5.2.3 libtiff.so || { rm -f libtiff.so && ln -s libtiff.so.5.2.3 libtiff.so; }; })

[... snipped ...]

dh_install: usr/share/doc/libtiff-doc/ChangeLog exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/doc/libtiff-doc/TODO exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/doc/libtiff-doc/VERSION exists in debian/tmp but is not installed to anywhere
# tiffgt is in libtiff-opengl so libtiff-tools doesn't have to have
# all the X and opengl dependencies.
rm debian/libtiff-tools/usr/bin/tiffgt
rm: cannot remove 'debian/libtiff-tools/usr/bin/tiffgt': No such file or directory
debian/rules:22: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:12: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------

Sorry not to have a fix, as I am reporting many bugs similar to
this one, but I can give some general hints:

* If all the arch-independent packages are dummy transitional packages
released with jessie, the easy fix is to drop them now.
 
* If not, debian/rules should be modified so that the binary-indep
target works in all cases, even when binary-arch is not used (this is
what the "Architecture: all" autobuilder does). For that:
    
* If you are using debhelper, you might want to use options -a and -i
for dh_* commands so that they do not act on packages they do not
have to act.

* Also, if you are using dh, the (independently) optional targets
override_dh_foo-arch and override_dh_foo-indep (for several values
of "foo") may be useful to write a debian/rules which behaves exactly
as desired.


After checking that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B"
work properly, this package will be suitable to be uploaded in
source-only form if you wish (you might want to try it).

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org, Ondřej Surý <ondrej@debian.org>:
Bug#806118; Package src:tiff. (Sun, 08 May 2016 19:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Ondřej Surý <ondrej@debian.org>. (Sun, 08 May 2016 19:15:03 GMT) (full text, mbox, link).


Message #10 received at 806118@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: 806118@bugs.debian.org
Cc: Debian BTS <control@bugs.debian.org>, Ondřej Surý <ondrej@debian.org>
Subject: Re: Bug#806118: tiff: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Sun, 8 May 2016 21:11:55 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 806118 + patch
thanks

> dh_install: usr/share/doc/libtiff-doc/ChangeLog exists in debian/tmp but is not installed to anywhere
> dh_install: usr/share/doc/libtiff-doc/TODO exists in debian/tmp but is not installed to anywhere
> dh_install: usr/share/doc/libtiff-doc/VERSION exists in debian/tmp but is not installed to anywhere
> # tiffgt is in libtiff-opengl so libtiff-tools doesn't have to have
> # all the X and opengl dependencies.
> rm debian/libtiff-tools/usr/bin/tiffgt
> rm: cannot remove 'debian/libtiff-tools/usr/bin/tiffgt': No such file or directory
> debian/rules:22: recipe for target 'override_dh_install' failed

Explanation: we are creating arch-independent packages only, so
debian/libtiff-tools/[...] does not exist because "libtiff-tools"
is arch-dependent.

The following patch is enough to avoid the error and fix the bug.

Thanks.
[tiff.patch.txt (text/plain, attachment)]

Added tag(s) patch. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Sun, 08 May 2016 19:15:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Ondřej Surý <ondrej@debian.org>:
Bug#806118; Package src:tiff. (Wed, 13 Jul 2016 21:24:20 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Ondřej Surý <ondrej@debian.org>. (Wed, 13 Jul 2016 21:24:20 GMT) (full text, mbox, link).


Message #17 received at 806118@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: 806118@bugs.debian.org
Cc: Ondřej Surý <ondrej@debian.org>
Subject: Re: Bug#806118: tiff: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Wed, 13 Jul 2016 23:23:17 +0200 (CEST)
Greetings.

I have the ok from the Release Managers to consider this issue as RC
for stretch. I'm going to wait at least one week before raising
this to "serious".

There is a patch available for this bug. If you need someone to make
an upload, please ask for a sponsor in debian-mentors.

Thanks.



Severity set to 'serious' from 'important' Request was from Santiago Vila <sanvila@debian.org> to control@bugs.debian.org. (Mon, 01 Aug 2016 21:15:39 GMT) (full text, mbox, link).


Reply sent to Laszlo Boszormenyi (GCS) <gcs@debian.org>:
You have taken responsibility. (Mon, 31 Oct 2016 18:39:03 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Mon, 31 Oct 2016 18:39:04 GMT) (full text, mbox, link).


Message #24 received at 806118-close@bugs.debian.org (full text, mbox, reply):

From: Laszlo Boszormenyi (GCS) <gcs@debian.org>
To: 806118-close@bugs.debian.org
Subject: Bug#806118: fixed in tiff 4.0.6-3
Date: Mon, 31 Oct 2016 18:37:29 +0000
Source: tiff
Source-Version: 4.0.6-3

We believe that the bug you reported is fixed in the latest version of
tiff, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 806118@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <gcs@debian.org> (supplier of updated tiff package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 31 Oct 2016 15:56:56 +0000
Source: tiff
Binary: libtiff5 libtiffxx5 libtiff5-dev libtiff-tools libtiff-opengl libtiff-doc
Architecture: source all amd64
Version: 4.0.6-3
Distribution: unstable
Urgency: high
Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Changed-By: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Description:
 libtiff-doc - TIFF manipulation and conversion documentation
 libtiff-opengl - TIFF manipulation and conversion tools
 libtiff-tools - TIFF manipulation and conversion tools
 libtiff5   - Tag Image File Format (TIFF) library
 libtiff5-dev - Tag Image File Format library (TIFF), development files
 libtiffxx5 - Tag Image File Format (TIFF) library -- C++ interface
Closes: 806118 820363 820364 820366 827484 842046 842361
Changes:
 tiff (4.0.6-3) unstable; urgency=high
 .
   * Fix architecture independent only build (closes: #806118).
   * Fix CVE-2015-8668 , CVE-2016-3619 , CVE-2016-3620 (closes: #820363),
     CVE-2016-3621 (closes: #820364) and CVE-2016-5319 with removing bmp2tiff
     (closes: #820364).
   * Fix CVE-2016-3186 and CVE-2016-5102 with removing gif2tiff.
   * Fix CVE-2016-3631 (closes: #820366), CVE-2016-3632 , CVE-2016-3633 ,
     CVE-2016-3634 and CVE-2016-8331 with removing thumbnail.
   * Backport upstream fix for CVE-2016-3623 and CVE-2016-3624 .
   * Backport upstream fix for CVE-2016-5652 (closes: #842361).
   * Backport upstream fix for CVE-2016-3658 .
   * Removed vulnerable, unsupported tools (closes: #827484, #842046).
   * Comment out Vcs fields for now.
Checksums-Sha1:
 6ac594135986bfc8582960ef5363a2f3d5d0da4b 2125 tiff_4.0.6-3.dsc
 41442e7e0e7e52f26c5904e702f1a42d44a0eb16 22272 tiff_4.0.6-3.debian.tar.xz
 d031abfb56b856d7bd9ac513221c9d37eeaa2288 379998 libtiff-doc_4.0.6-3_all.deb
 2c61e0190c481b57697416ff71712138e452b1a8 14168 libtiff-opengl-dbgsym_4.0.6-3_amd64.deb
 afe9b2261a4a63339a3d2d1196856a32b5e3fa86 89684 libtiff-opengl_4.0.6-3_amd64.deb
 8478d69d2b25bb22d665c7132e64103d5902bd1e 368220 libtiff-tools-dbgsym_4.0.6-3_amd64.deb
 35e9ab5ca68612e7b0aafcc972fa1f41dc264931 280586 libtiff-tools_4.0.6-3_amd64.deb
 243b949e5d090c4d48c496d5b5a44bd449e3681a 364606 libtiff5-dbgsym_4.0.6-3_amd64.deb
 499919b774164c43ba1601e1c69de320f13ed900 345336 libtiff5-dev_4.0.6-3_amd64.deb
 72c0e6fa1eac961744647882a03c8c4099ad51bd 223642 libtiff5_4.0.6-3_amd64.deb
 03440cd5d36aa2a9b86c8c69550d63c517745c29 21030 libtiffxx5-dbgsym_4.0.6-3_amd64.deb
 6976a5c87b56b90f0b67a9cdf58e10062b515812 85006 libtiffxx5_4.0.6-3_amd64.deb
Checksums-Sha256:
 4630f34a2f56a90eff104bf01dcb843f21683f883eb4135f52782af111deaae2 2125 tiff_4.0.6-3.dsc
 cc650116c1dafed9c3721302f91e5e79b670f46712ebf2b86dea989c102e5c94 22272 tiff_4.0.6-3.debian.tar.xz
 fa0889b7e6f5fedbb2d7bdf3b690554626b7df127ef87d80854d8cc0f4fb8c6b 379998 libtiff-doc_4.0.6-3_all.deb
 f173c0b0b733e677318361754d4b780886fe736924ff7c3c4b6663c834087f60 14168 libtiff-opengl-dbgsym_4.0.6-3_amd64.deb
 3f00e3ec6e6380aa3b844b9ca00436cb53980653f615ec52208e9fced6cd66f8 89684 libtiff-opengl_4.0.6-3_amd64.deb
 9ed11b5e9e6cfe306b5d2ebbe4f7ec8e02b687a021cd7f6a201c1c11303fdbed 368220 libtiff-tools-dbgsym_4.0.6-3_amd64.deb
 8fa576acbeed1684b40ae5df2e01f9a9dac441047ff31ee6c36d7cc0c81038d9 280586 libtiff-tools_4.0.6-3_amd64.deb
 2f4b68d804b6bead2e75b57080f34f0b434603259078e93071eecc1b723e1c5d 364606 libtiff5-dbgsym_4.0.6-3_amd64.deb
 a7a9d4a12f3f7ecc3046f547e355cb603188f6fda01c1004f95e8fe73d6f36bf 345336 libtiff5-dev_4.0.6-3_amd64.deb
 aa9a7cb3a97a2d905ce64c70bbfca5be786f748626201ab63080d8c4b65b90b9 223642 libtiff5_4.0.6-3_amd64.deb
 a494a6d7a6839a26de4aa8b8bf9bc77f1d7fff0ec40d949f8418682c827e9812 21030 libtiffxx5-dbgsym_4.0.6-3_amd64.deb
 abc0ebebf8cc9a6d435d7de2a9727ef88f22e372c5913cccf1e269375d25e246 85006 libtiffxx5_4.0.6-3_amd64.deb
Files:
 0a8a138bc6008f744876b7a5c8691b16 2125 libs optional tiff_4.0.6-3.dsc
 fcb21a8a386503cbd362af98c60365e0 22272 libs optional tiff_4.0.6-3.debian.tar.xz
 8eaa2492b836296d796fc390be952965 379998 doc optional libtiff-doc_4.0.6-3_all.deb
 32d324c30e02c212d77dc6c14ef288b1 14168 debug extra libtiff-opengl-dbgsym_4.0.6-3_amd64.deb
 e256eed1e6dea1bc8438b3eb489b6662 89684 graphics optional libtiff-opengl_4.0.6-3_amd64.deb
 b14d2a5183f86e062e8a5d254ce806e7 368220 debug extra libtiff-tools-dbgsym_4.0.6-3_amd64.deb
 4a0480d8fbdb951930ff019de29ad4ca 280586 graphics optional libtiff-tools_4.0.6-3_amd64.deb
 0ed4f33d0e2cffd10823177fe026708a 364606 debug extra libtiff5-dbgsym_4.0.6-3_amd64.deb
 5eb7d7aaf9ac58b01da3c4afe1dc580d 345336 libdevel optional libtiff5-dev_4.0.6-3_amd64.deb
 9258ce56617e521e2da40302f198d1f4 223642 libs optional libtiff5_4.0.6-3_amd64.deb
 543149b9327c224d748e0bc8644c45f7 21030 debug extra libtiffxx5-dbgsym_4.0.6-3_amd64.deb
 50c3e8d4ae3341d410a7de912aac1a4a 85006 libs optional libtiffxx5_4.0.6-3_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJYF4kNAAoJENzjEOeGTMi/0Y0P/1pEjOoOUGV5YcZaPvQEH8Rf
nyvWN6t0ScPsPX4QF+8pHa1dI562Hw0M89Xpxv2zyB6XosejtdNLXppTt70MnYw6
P/2/tiHh/S/OWTfsVNEmIDy4X02JOziYc3JenczXDZx3UX8UYxybFXLO0M/Fcceh
0uFNIbk7Z+3UeODC7r/zks2B3L8mVQki7y3Iol7ePxRJseQlKmg0SCfWhCH07cn3
H00a5Na4shIvGbOl597RL8gmuZ6aeYlMyjB0xpIvUg34POoL3nhc2K53qNKjpV2s
WP8kHk5QU3aEv6qj1oxHdFqUhCxd0E48W8xFmED02zg/0eP3y5iMPD/d9yWwsHF/
ZPuheE4LwPSy33KNFg5q4E08UhvYDrqWrgJEBl11FrPCPS4AHBPjI8AO1xJyNsjD
EeFJpLUPQ1bPu/K8i6cQk9Eh3jPq/Sz2fWX0J8eqpap/vFp2E5Q8gJIfVhHM9J8S
js5MTlTJh0S1sxhbsW93ZcluVs6Hom9wp1p/XnTvYuy0/sm6UcN66ez1N+Acqmfe
Cupwd01THiR9RR9GDgI440lD9WA6WUXhN47oZMjnqoPCLXzIzLT2rfMX8v5Sn2AM
55ybTa1WhR0ToNb0rlCa9RJf5Zzf/3m9XOenUOO/yCY2tKfTce0EblrUIbp+xiXF
AuqM8VzIbk5XDIALDMZ7
=+Sd1
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 05 Dec 2016 08:10:55 GMT) (full text, mbox, link).


Bug unarchived. Request was from Don Armstrong <don@debian.org> to control@bugs.debian.org. (Wed, 07 Dec 2016 01:44:06 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 27 Jan 2017 08:18:20 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Oct 23 00:06:27 2017; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.