Debian Bug report logs -
#806032
gftp: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Reported by: Santiago Vila <sanvila@debian.org>
Date: Tue, 24 Nov 2015 15:30:06 UTC
Severity: serious
Tags: patch, sid
Found in version gftp/2.0.19-4
Fixed in version gftp/2.0.19-5
Done: Andrey Rahmatullin <wrar@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Cleto Martín <cleto.martin@gmail.com>:
Bug#806032; Package src:gftp.
(Tue, 24 Nov 2015 15:30:10 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, Cleto Martín <cleto.martin@gmail.com>.
(Tue, 24 Nov 2015 15:30:10 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: src:gftp
Version: 2.0.19-4
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
dh_testroot -i
dh_prep -i
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making install in docs
make[3]: Entering directory '/<<PKGBUILDDIR>>/docs'
Making install in sample.gftp
make[4]: Entering directory '/<<PKGBUILDDIR>>/docs/sample.gftp'
make[5]: Entering directory '/<<PKGBUILDDIR>>/docs/sample.gftp'
make[5]: Nothing to be done for 'install-exec-am'.
test -z "/usr/share/gftp" || mkdir -p -- "/<<PKGBUILDDIR>>/debian/tmp/usr/share/gftp"
/usr/bin/install -c -m 644 'COPYING' '/<<PKGBUILDDIR>>/debian/tmp/usr/share/gftp/COPYING'
/usr/bin/install -c -m 644 'bookmarks' '/<<PKGBUILDDIR>>/debian/tmp/usr/share/gftp/bookmarks'
/usr/bin/install -c -m 644 'connect.xpm' '/<<PKGBUILDDIR>>/debian/tmp/usr/share/gftp/connect.xpm'
/usr/bin/install -c -m 644 'deb.xpm' '/<<PKGBUILDDIR>>/debian/tmp/usr/share/gftp/deb.xpm'
/usr/bin/install -c -m 644 'diff.xpm' '/<<PKGBUILDDIR>>/debian/tmp/usr/share/gftp/diff.xpm'
/usr/bin/install -c -m 644 'dir.xpm' '/<<PKGBUILDDIR>>/debian/tmp/usr/share/gftp/dir.xpm'
[... snipped ...]
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
convert -geometry 32x32 /<<PKGBUILDDIR>>/debian/tmp/usr/share/pixmaps/gftp.png /<<PKGBUILDDIR>>/debian/tmp/usr/share/pixmaps/gftp.xpm
install -m 755 /<<PKGBUILDDIR>>/docs/parse-netrc.pl /<<PKGBUILDDIR>>/debian/gftp-common/usr/share/doc/gftp-common/examples
install: cannot create regular file '/<<PKGBUILDDIR>>/debian/gftp-common/usr/share/doc/gftp-common/examples': No such file or directory
debian/rules:29: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:16: 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, Cleto Martín <cleto.martin@gmail.com>:
Bug#806032; Package src:gftp.
(Mon, 02 May 2016 21:09:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Cleto Martín <cleto.martin@gmail.com>.
(Mon, 02 May 2016 21:09:07 GMT) (full text, mbox, link).
Message #10 received at 806032@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 806032 + patch
thanks
> convert -geometry 32x32 /<<PKGBUILDDIR>>/debian/tmp/usr/share/pixmaps/gftp.png /<<PKGBUILDDIR>>/debian/tmp/usr/share/pixmaps/gftp.xpm
> install -m 755 /<<PKGBUILDDIR>>/docs/parse-netrc.pl /<<PKGBUILDDIR>>/debian/gftp-common/usr/share/doc/gftp-common/examples
> install: cannot create regular file '/<<PKGBUILDDIR>>/debian/gftp-common/usr/share/doc/gftp-common/examples': No such file or directory
> debian/rules:29: recipe for target 'override_dh_auto_install' failed
Explanation: We are creating arch-independent packages only, so
debian/gftp-common/[...] does not exist because gftp-common is
arch-dependent (!).
[ Well, this is probably the NMUable thing in 2.0.18-16. I think it
would be better to make gftp-common "Arch: all" and relax the
dependencies on it. After all the syntax of the configuration file
does not change at every Debian package release ].
Anyway, the proposed patch does this:
* Use debian/gftp-common.examples instead of a line in debian/rules to
install parse-netrc.pl. This way, dh will take care of installing the
file when it's appropriate.
* Move gftprc and bookmarks without taking them out of debian/tmp,
tell dh to install them by adding a line to debian/gftp-common.install.
Hope this helps.
Thanks.
[gftp.patch.txt (text/plain, attachment)]
Added tag(s) patch.
Request was from Santiago Vila <sanvila@unex.es>
to control@bugs.debian.org.
(Mon, 02 May 2016 21:09:10 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Cleto Martín <cleto.martin@gmail.com>:
Bug#806032; Package src:gftp.
(Wed, 13 Jul 2016 21:21:15 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Cleto Martín <cleto.martin@gmail.com>.
(Wed, 13 Jul 2016 21:21:16 GMT) (full text, mbox, link).
Message #17 received at 806032@bugs.debian.org (full text, mbox, reply):
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:21 GMT) (full text, mbox, link).
Added tag(s) sid.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Sat, 10 Sep 2016 09:21:04 GMT) (full text, mbox, link).
Reply sent
to Andrey Rahmatullin <wrar@debian.org>:
You have taken responsibility.
(Tue, 29 Nov 2016 21:51:17 GMT) (full text, mbox, link).
Notification sent
to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer.
(Tue, 29 Nov 2016 21:51:17 GMT) (full text, mbox, link).
Message #26 received at 806032-close@bugs.debian.org (full text, mbox, reply):
Source: gftp
Source-Version: 2.0.19-5
We believe that the bug you reported is fixed in the latest version of
gftp, 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 806032@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrey Rahmatullin <wrar@debian.org> (supplier of updated gftp 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: SHA512
Format: 1.8
Date: Wed, 30 Nov 2016 02:10:05 +0500
Source: gftp
Binary: gftp gftp-gtk gftp-text gftp-common
Architecture: source
Version: 2.0.19-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andrey Rahmatullin <wrar@debian.org>
Description:
gftp - X/GTK+ and console FTP client (metapackage)
gftp-common - shared files for other gFTP packages
gftp-gtk - X/GTK+ FTP client
gftp-text - colored FTP client using GLib
Closes: 727869 806032
Changes:
gftp (2.0.19-5) unstable; urgency=medium
.
* QA upload.
* Fix FTBFS with dpkg-buildpackage -A, patch by Santiago Vila (Closes:
#806032).
* Switch to debhelper compat level 10, fix outdated configure.in (Closes:
#727869).
* Enable -Wl,--as-needed.
* Drop the menu file.
* Don't pass unnecessary options to configure.
Checksums-Sha1:
1a88144cae3144007358435be456455720246fd0 1909 gftp_2.0.19-5.dsc
da38605585ba33d3dbecd24f0fc010fe6479e139 10112 gftp_2.0.19-5.debian.tar.xz
Checksums-Sha256:
3907ae4ce6d33f8f6c97fd849190756083e79e16029bd83c76a6bbde7ab7efc0 1909 gftp_2.0.19-5.dsc
33e69c3067442fbad199966193ef9b33ee69ce52276a7eea51e7d40d3a53ffd9 10112 gftp_2.0.19-5.debian.tar.xz
Files:
c922ba2affe3abcf1ad4e53996c6b199 1909 net optional gftp_2.0.19-5.dsc
e5b67dd6df24260f543fdebcf94a6bcf 10112 net optional gftp_2.0.19-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAlg97vcACgkQM2L3AxpJ
kuE/8Q/9EhFm4soWD31eLwxvSFcxNp9xEuH8voUEHAX14yw0e/6fN+GfxjTacCfN
/SzuU4HIMUIv1mm0eh2wjNB9MSh1VL3ZbJaexVAByCG32EvvHoDX9ceAa1Mewyec
M6oB30H1JxyNyu9pqnA0ZFWmTFK27nG0CVicC3QpHi6mBcR2ZSAMxj1MrlEE3fWZ
Z85bbZ/gNgUMC0HLSrn/mMGsB7NXSqiRfGZzU5ektFX4IGBFmdHPG8im+6NMOCPM
u5cG4QWjtJKDwBjlL+bxbia1IgLk8BoGRzYRmVDMEExVXFJZOE9ZKexo16sORe8T
cjKMUtnBcC3XX5ILYRYVEmNRQeTzksdCI5AKc3y7NmdUszx6tXabPwLzNpeWhsqh
3j2ns7bzsiSfNxMJNIgfar27r8yexiCTTm5fcPxpk7e8H7E8lVQ+k/OcdkzyoXlE
DuuAIkphF44/DfsR9vWD8Nxezm1CE7CQXtQ6dBWouFyRxwvCH0fKm1MDY3y7JG6u
bJVnzi54KcIyOlkjPoJrWe2Ab0N253K2XN8+gnL6uVZe+jGXTf5ThgvgASFVE9N1
98fbNipHbb4BUVMiCR10PL40bWwYgS9+NiDhj7i1B7eEp2YKdRS8kh1iQyGPn1FZ
J+60xcfsGHMPssWfn9/wubWE+Z/I6cvjfH+Md0gQ+fFSf3QAeQQ=
=BCh0
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 29 Dec 2016 08:10:39 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:44 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.