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

version graph

Package: src:sane-backends; Maintainer for src:sane-backends is Jörg Frings-Fürst <debian@jff-webhosting.net>;

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

Date: Tue, 24 Nov 2015 15:35:04 UTC

Severity: serious

Found in version sane-backends/1.0.25-2

Fixed in version sane-backends/1.0.25-3

Done: Jörg Frings-Fürst <debian@jff-webhosting.net>

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, Jörg Frings-Fürst <debian@jff-webhosting.net>:
Bug#806104; Package src:sane-backends. (Tue, 24 Nov 2015 15:35:08 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, Jörg Frings-Fürst <debian@jff-webhosting.net>. (Tue, 24 Nov 2015 15:35:08 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: sane-backends: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Tue, 24 Nov 2015 15:28:28 +0000
Package: src:sane-backends
Version: 1.0.25-2
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 --parallel --with autotools_dev,systemd
   dh_testroot -i -O--parallel
   dh_prep -i -O--parallel
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making install in include
make[3]: Entering directory '/<<PKGBUILDDIR>>/include'
make[4]: Entering directory '/<<PKGBUILDDIR>>/include'
make[4]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/include'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/include/sane'
 /usr/bin/install -c -m 644  sane/sane.h sane/saneopts.h '/<<PKGBUILDDIR>>/debian/tmp/usr/include/sane'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/include'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/include'
Making install in lib
make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
make[4]: Entering directory '/<<PKGBUILDDIR>>/lib'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.

[... snipped ...]

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installdocs
# move files that belong to libsane-dev
mv debian/tmp/usr/share/doc/libsane/sane.ps debian/libsane-dev/usr/share/doc/libsane-dev/
mv: cannot move 'debian/tmp/usr/share/doc/libsane/sane.ps' to 'debian/libsane-dev/usr/share/doc/libsane-dev/': No such file or directory
debian/rules:97: recipe for target 'override_dh_installdocs' failed
make[1]: *** [override_dh_installdocs] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:32: 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.



Added tag(s) pending. Request was from Jörg Frings-Fürst <debian@jff-webhosting.net> to control@bugs.debian.org. (Tue, 16 Feb 2016 00:00:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Jörg Frings-Fürst <debian@jff-webhosting.net>:
Bug#806104; Package src:sane-backends. (Wed, 13 Jul 2016 20:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Jörg Frings-Fürst <debian@jff-webhosting.net>. (Wed, 13 Jul 2016 20:42:05 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: Jörg Frings-Fürst <debian@jff-webhosting.net>
Cc: 806104@bugs.debian.org
Subject: Re: debian bugs #806104
Date: Wed, 13 Jul 2016 22:38:59 +0200 (CEST)
Greetings.

I have the ok from the release managers to consider this issue
as RC for stretch.

I'm going to wait a week before raising severities, but since this bug
is in pending state, I'd appreciate if you could make an upload
before that.

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:35 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Jörg Frings-Fürst <debian@jff-webhosting.net>:
Bug#806104; Package src:sane-backends. (Sun, 04 Dec 2016 18:06:02 GMT) (full text, mbox, link).


Acknowledgement sent to John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
Extra info received and forwarded to list. Copy sent to Jörg Frings-Fürst <debian@jff-webhosting.net>. (Sun, 04 Dec 2016 18:06:02 GMT) (full text, mbox, link).


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

From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Santiago Vila <sanvila@unex.es>
Cc: Jörg Frings-Fürst <debian@jff-webhosting.net>, 806104@bugs.debian.org
Subject: Re: debian bugs #806104
Date: Sun, 4 Dec 2016 19:02:24 +0100
Hi!

I'm Joerg's sponsor and he's already prepared an updated package to fix
this issue. I will upload it in the following days. I am currently doing
an extensive review before the upload, there are quite some changes to
the source package.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Reply sent to Jörg Frings-Fürst <debian@jff-webhosting.net>:
You have taken responsibility. (Thu, 26 Jan 2017 21:39:03 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Thu, 26 Jan 2017 21:39:03 GMT) (full text, mbox, link).


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

From: Jörg Frings-Fürst <debian@jff-webhosting.net>
To: 806104-close@bugs.debian.org
Subject: Bug#806104: fixed in sane-backends 1.0.25-3
Date: Thu, 26 Jan 2017 21:36:13 +0000
Source: sane-backends
Source-Version: 1.0.25-3

We believe that the bug you reported is fixed in the latest version of
sane-backends, 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 806104@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jörg Frings-Fürst <debian@jff-webhosting.net> (supplier of updated sane-backends 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: Sat, 10 Dec 2016 13:45:15 +0100
Source: sane-backends
Binary: sane-utils libsane-common libsane libsane-dev libsane-dbg
Architecture: source all amd64
Version: 1.0.25-3
Distribution: sid
Urgency: medium
Maintainer: Jörg Frings-Fürst <debian@jff-webhosting.net>
Changed-By: Jörg Frings-Fürst <debian@jff-webhosting.net>
Description:
 libsane    - API library for scanners
 libsane-common - API library for scanners -- documentation and support files
 libsane-dbg - API development library for scanners [debug symbols]
 libsane-dev - API development library for scanners [development files]
 sane-utils - API library for scanners -- utilities
Closes: 806104 820964 821255 829244
Changes:
 sane-backends (1.0.25-3) unstable; urgency=medium
 .
   * debian/rules:
     - Fix FTBFS when building with 'dpkg-buildpackage -A' (Closes: #806104):
       + Split file into *-arch and *-indep parts.
       + Move "empty dependency_libs in all .la files" to
         override_dh_makeshlibs-arch.
       + Move installing of doc files for libsane-dev to
         override_dh_installdocs-arch.
       + New debian/libsane-dev.dirs.
   * Drop package libsane-bin binary package (Closes: #820964):
     - Remove libsane-bin binary package section, remove it from
       reverse dependencies of other packages in debian/control.
     - Remove debian/libsane-bin.*.
     - New debian/NEWS.Debian.
   * debian/patches:
     - Refresh and fix new typos:
       + 0100-source_spelling.patch
       + 0605-man_typo.patch.
     - New 0135-saned-remotescanners.patch:
         + Add patch to allow saned to report network-attached
         devices (Closes: #821255).
         Thanks to Dhionel Díaz <ddiaz@cenditel.gob.ve>.
   * debian/watch:
     - Bump version to 4 (no changes required).
   * debian/control:
     - Bump Standards-Version to 3.9.8 (no changes required).
     - Change Vcs-Browser to secure URI.
     - Add lsb-base to Depends for sane-utils.
   * Add year 2016 for debian/* in debian/copyright.
   * debian/sane-utils.saned.init:
     - Fix handling of stop and restart actions (Closes: #829244).
       Thanks to Chris Lamb <lamby@debian.org>.
   * Remove unused lintian overrides.
   * Migrate to debhelper 10:
     - Change debian/compat to 10.
     - Bump minimum debhelper version in debian/control to >= 10.
     - Refresh debian/patches to add changes in Makefile.am:
       + 0005-libsane_deps.patch
       + 0010-unneeded_doc.patch
       + 0015-frontend_libs.patch
       + 0025-multiarch_manpages_libdir.patch
       + 0125-multiarch_dll_search_path.patch
     - Refresh debian/libsane.shlibs
     - Refresh debian/libsane.symbols
Checksums-Sha1:
 8f6ed59f10e135205978501de1f28995de8a284f 2483 sane-backends_1.0.25-3.dsc
 ebc102d45598547bac9359684c2409713a872313 111264 sane-backends_1.0.25-3.debian.tar.xz
 a590615d8d595b493f07c4f022395fc50e778295 1011858 libsane-common_1.0.25-3_all.deb
 371f857752c9985565276172d6dd3cec1a5f3884 7055370 libsane-dbg_1.0.25-3_amd64.deb
 e3d4fd4bdb7d80dfeedadf98f8232e10e2d1c29d 2268226 libsane-dev_1.0.25-3_amd64.deb
 340c8956acbc9cee6cf2e0bed5c3d093d64a1660 2112518 libsane_1.0.25-3_amd64.deb
 64594e8c3d2ed9da9778e5b78348a746d27d9a2b 9110 sane-backends_1.0.25-3_amd64.buildinfo
 c0fd6435640c6a062f986db97e2afab9465d121f 224798 sane-utils_1.0.25-3_amd64.deb
Checksums-Sha256:
 9563ead7c223860ae144fc501c1a3b9a66bd621c151d8a00d25ad7dba5d010e6 2483 sane-backends_1.0.25-3.dsc
 3210bec326db5d1a8521fe31d8dd93a504fe49441649e7e6be8c804712cd8f76 111264 sane-backends_1.0.25-3.debian.tar.xz
 9c692ccd3f322d14ef5c03bc91135c3b4ae0b3d3170400bf8256f7d03cad37b2 1011858 libsane-common_1.0.25-3_all.deb
 8b111270d0cef4defeb48fac131de4daddf19faba9949151f9452f98e398d817 7055370 libsane-dbg_1.0.25-3_amd64.deb
 2373b2f52b1d17a65c3b105920a16dba7dc327bfec907fe2e58969b2b6bb1519 2268226 libsane-dev_1.0.25-3_amd64.deb
 9af5dde224410b6de48052db84efe358094b45436415006dfb5378dde4473a83 2112518 libsane_1.0.25-3_amd64.deb
 fecb113576405eda88f27b4da9f796dc0658255d27b45e59d9889026950881a4 9110 sane-backends_1.0.25-3_amd64.buildinfo
 120b904f07ec4f6ffa4d14bcc821f6643287c34bd1c1767188eb8344d10da50f 224798 sane-utils_1.0.25-3_amd64.deb
Files:
 d912b0c3b22e5a186f9934391b65d4d0 2483 graphics optional sane-backends_1.0.25-3.dsc
 6df6a85b4b11bca92d8c0c50aee58865 111264 graphics optional sane-backends_1.0.25-3.debian.tar.xz
 007fc55045adb4c3770aee4b182f1d08 1011858 libs optional libsane-common_1.0.25-3_all.deb
 72c41f29a9c842b7ab3e9f5c0adfbfc0 7055370 debug extra libsane-dbg_1.0.25-3_amd64.deb
 9cfe0c6dd507a50c41ac1f1ca6c5af3a 2268226 libdevel optional libsane-dev_1.0.25-3_amd64.deb
 3f1682d7ab3880f7dc26c6d07f1a952e 2112518 libs optional libsane_1.0.25-3_amd64.deb
 037f8b8cd75f1bab141d9299301a4c9e 9110 graphics optional sane-backends_1.0.25-3_amd64.buildinfo
 b3bce2ae0de4acfe3622edb94717f5ce 224798 graphics optional sane-utils_1.0.25-3_amd64.deb

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

iQIzBAEBCAAdFiEEYv+KdYTgKVaVRgAGdCY7N/W1+RMFAliKZTEACgkQdCY7N/W1
+RP6WA/9GpMx25Msp0RPgcIE1rSYBflzCmEixONjUw3SNqfY7ELdMz+gQbkm3k3y
uL5Jwa236ePsEEMm5UtrVqcXswZRcfvadXBu/N9X93DTbc4PA1P4mV8JYgogiTDX
B58JScgflCD//Ml5KNLQQpHlxaMIBAf2rS9oq015RqfBvGB6rRbHQuEOhLmNI8v1
lN37+oyj0DzHvXduff14D+YvfsVMs/Ob3H4e5aRpiQHXILiKs7gr6iY1AAJIr3wW
F57JMVmzDEtfA8r10MCC1lBkhlwUZcFao+XJFaa/DThVRAGM1x1BSEpmFeE/Qv0E
10xb0Fh3XhhvbarYznDEjeGWgYtzams2unKvN4ECqjUsUmuHBKL+Uob/HVRPELyj
BBU3aa98X/I6rEBzvIKRKrXldrq3NrgHMgrlWwSsFDnOlQVpINshKagh1RfrQaix
mfxz7qwwIv5c33YPl7ZwH0ve8apYCaGp00Ws3XmtRx/+wwf8J4k2cFbB3PxF3g43
JFqRqDpQy/LlFCkGWKuImaYp6RGuH8O7AxAKuCiOVlW+kFWvHW6QpdxAVms6zFZg
OdwKq8qyQ5v/EKF20tW47kc1PCXwvqNtzGKIKqKyhtDYj/j3kSfQxuhyeWH+yydN
9Ptoa7dup1GO4BkZ2qp7HqyymodP7CpqaMGSOjsiCt38uzJu/Ps=
=Xm3u
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 24 Feb 2017 07:25:12 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:57 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.