Debian Bug report logs -
#806034
gmpc: 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:14 UTC
Severity: serious
Tags: patch, sid, stretch
Found in version gmpc/11.8.16-9
Fixed in version gmpc/11.8.16-10
Done: Antoine Beaupré <anarcat@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, Etienne Millon <me@emillon.org>:
Bug#806034; Package src:gmpc.
(Tue, 24 Nov 2015 15:30:18 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, Etienne Millon <me@emillon.org>.
(Tue, 24 Nov 2015 15:30:18 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: src:gmpc
Version: 11.8.16-9
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
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 src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/bash: git: command not found
make install-am
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
/bin/bash ../libtool --mode=install /usr/bin/install -c gmpc '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
libtool: install: /usr/bin/install -c gmpc /<<PKGBUILDDIR>>/debian/tmp/usr/bin/gmpc
/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/include/gmpc/'
/usr/bin/install -c -m 644 plugin.h config1.h Widgets/mpd-async-request.h Widgets/playlist3-messages.h Tools/gmpc_easy_download.h Tools/mpdinteraction.h Tools/misc.h gmpc-extras.h gmpc-version.h GUI/status_icon.h MetaData/metadata.h '/<<PKGBUILDDIR>>/debian/tmp/usr/include/gmpc/'
/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/include/gmpc/'
/usr/bin/install -c -m 644 gmpc-profiles.h gmpc-meta-watcher.h gmpc-mpddata-model.h gmpc-mpddata-model-sort.h gmpc-mpddata-treeview.h gmpc-metaimage.h gmpc-meta-text-view.h '/<<PKGBUILDDIR>>/debian/tmp/usr/include/gmpc/'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
[... snipped ...]
/usr/bin/install -c -m 644 C/Images/preferences-metadata-appearance.png debian/tmp/usr/usr/share/gnome/help/gmpc/C/Images/preferences-metadata-appearance.png
/usr/bin/install -c -m 644 C/Images/preferences-plugins.png debian/tmp/usr/usr/share/gnome/help/gmpc/C/Images/preferences-plugins.png
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc/Mallard'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc/Mallard'
rm -rf debian/gmpc-dev/usr/share/doc/gmpc-dev
ln -sf gmpc debian/gmpc-dev/usr/share/doc/gmpc-dev
ln: failed to create symbolic link 'debian/gmpc-dev/usr/share/doc/gmpc-dev': No such file or directory
debian/rules:21: recipe for target 'override_dh_installdocs' failed
make[1]: *** [override_dh_installdocs] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: 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:
Bug#806034; Package src:gmpc.
(Sun, 29 May 2016 13:15:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Etienne Millon <me@emillon.org>:
Extra info received and forwarded to list.
(Sun, 29 May 2016 13:15:04 GMT) (full text, mbox, link).
Message #10 received at 806034@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 806034 + patch
thanks
Hi,
Here's a patch that fixes the issue.
Thanks!
--
Etienne Millon
[0001-create-doc-directory-if-it-does-not-exist.patch (text/x-diff, inline)]
From b9b2535610ffeef7958dea212806b1dbca31e1bb Mon Sep 17 00:00:00 2001
From: Etienne Millon <me@emillon.org>
Date: Mon, 2 May 2016 21:47:59 +0200
Subject: [PATCH] create doc directory if it does not exist
---
debian/changelog | 6 ++++++
debian/rules | 2 ++
2 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8d66496..785e406 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gmpc (11.8.16-10) UNRELEASED; urgency=medium
+
+ * Fix FTBFS when built with dpkg-buildpackage -A (Closes: #806034)
+
+ -- Etienne Millon <me@emillon.org> Tue, 03 May 2016 00:01:38 +0200
+
gmpc (11.8.16-9) unstable; urgency=medium
* Fix building with a recent vala (Closes: #739030)
diff --git a/debian/rules b/debian/rules
index 753c487..771574a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,8 +20,10 @@ override_dh_install:
override_dh_installdocs:
dh_installdocs
make -C doc/Mallard DESTDIR=debian/tmp/usr install
+ mkdir -p debian/gmpc-dev/usr/share/doc
rm -rf debian/gmpc-dev/usr/share/doc/gmpc-dev
ln -sf gmpc debian/gmpc-dev/usr/share/doc/gmpc-dev
+ mkdir -p debian/gmpc-dbg/usr/share/doc
rm -rf debian/gmpc-dbg/usr/share/doc/gmpc-dbg
ln -sf gmpc debian/gmpc-dbg/usr/share/doc/gmpc-dbg
--
2.8.1
Added tag(s) patch.
Request was from Etienne Millon <me@emillon.org>
to control@bugs.debian.org.
(Sun, 29 May 2016 13:15:09 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Etienne Millon <me@emillon.org>:
Bug#806034; Package src:gmpc.
(Wed, 13 Jul 2016 21:21:18 GMT) (full text, mbox, link).
Acknowledgement sent
to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Etienne Millon <me@emillon.org>.
(Wed, 13 Jul 2016 21:21:18 GMT) (full text, mbox, link).
Message #17 received at 806034@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:22 GMT) (full text, mbox, link).
Added tag(s) sid and stretch.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Tue, 02 Aug 2016 16:24:22 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Etienne Millon <me@emillon.org>:
Bug#806034; Package src:gmpc.
(Wed, 03 Aug 2016 06:57:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Etienne Millon <me@emillon.org>.
(Wed, 03 Aug 2016 06:57:10 GMT) (full text, mbox, link).
Message #26 received at 806034@bugs.debian.org (full text, mbox, reply):
On Sun, 29 May 2016 at 15:12:12 +0200, Etienne Millon wrote:
> Here's a patch that fixes the issue.
Please prepare a proposed upload, I'd be happy to sponsor it.
Alternatively, if you intend for pkg-mpd team members to be able to upload
this package without it being an NMU, please set the team as the Maintainer
with yourself in Uploaders, or add the team to Uploaders if you want to be
considered the primary maintainer. The canonical spelling seems to be
"mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>".
Thanks,
S
Information forwarded
to debian-bugs-dist@lists.debian.org, Etienne Millon <me@emillon.org>:
Bug#806034; Package src:gmpc.
(Sat, 13 Aug 2016 17:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to anarcat <anarcat@debian.org>:
Extra info received and forwarded to list. Copy sent to Etienne Millon <me@emillon.org>.
(Sat, 13 Aug 2016 17:39:03 GMT) (full text, mbox, link).
Message #31 received at 806034@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Wed, Aug 03, 2016 at 07:55:10AM +0100, Simon McVittie wrote:
> On Sun, 29 May 2016 at 15:12:12 +0200, Etienne Millon wrote:
> > Here's a patch that fixes the issue.
>
> Please prepare a proposed upload, I'd be happy to sponsor it.
>
> Alternatively, if you intend for pkg-mpd team members to be able to upload
> this package without it being an NMU, please set the team as the Maintainer
> with yourself in Uploaders, or add the team to Uploaders if you want to be
> considered the primary maintainer. The canonical spelling seems to be
> "mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>".
Hi!
Thanks for the offer Simon, I have made an upload to mark me and etienne
as uploaders and MPD as the maintainer team. I hope everything is in
order!
a.
--
I know where I am going, and I know the truth,
and I do not have to be what you want me to be.
I am free to be what I want.
- Muhammad Ali
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Antoine Beaupré <anarcat@debian.org>:
You have taken responsibility.
(Sat, 13 Aug 2016 18:09:12 GMT) (full text, mbox, link).
Notification sent
to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer.
(Sat, 13 Aug 2016 18:09:13 GMT) (full text, mbox, link).
Message #36 received at 806034-close@bugs.debian.org (full text, mbox, reply):
Source: gmpc
Source-Version: 11.8.16-10
We believe that the bug you reported is fixed in the latest version of
gmpc, 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 806034@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antoine Beaupré <anarcat@debian.org> (supplier of updated gmpc 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, 13 Aug 2016 12:37:32 -0400
Source: gmpc
Binary: gmpc gmpc-dbg gmpc-dev gmpc-data
Architecture: source all amd64
Version: 11.8.16-10
Distribution: unstable
Urgency: medium
Maintainer: mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>
Changed-By: Antoine Beaupré <anarcat@debian.org>
Description:
gmpc - GNOME Music Player Client (graphical interface to MPD)
gmpc-data - GNOME Music Player Client - data files
gmpc-dbg - GNOME Music Player Client - debugging symbols
gmpc-dev - GNOME Music Player Client (plugin development files)
Closes: 806034
Changes:
gmpc (11.8.16-10) unstable; urgency=medium
.
[ Etienne Millon ]
* Fix FTBFS when built with dpkg-buildpackage -A (Closes: #806034)
* Add a short license name for gettext license.
* Use secure protocols for VCS URIs.
* Bump Standards-Version to 3.9.8 (no changes).
* Remove menu file.
* Enable hardening.
.
[ Antoine Beaupré ]
* move maintainership to MPD team, keeping me and etienne as uploaders
* follow upstream homepage change
* mention other possible git repos in watch file
Checksums-Sha1:
32f6407d62a627e54b59a3f3dec1cabcd8b44d35 2276 gmpc_11.8.16-10.dsc
a70ad063aef9eb9cb3a1085b33a2722e7980b790 40964 gmpc_11.8.16-10.debian.tar.xz
99dece6608b05fdd12973afc6b1bb1e78939e7e5 5083538 gmpc-data_11.8.16-10_all.deb
492a1e88c6f6b9e3332c04bb9c4430c51998b712 1839722 gmpc-dbg_11.8.16-10_amd64.deb
96ff6e0ee013656d5871a0617981eee8a9591eea 21008 gmpc-dev_11.8.16-10_amd64.deb
c019a85e0a67ae6354eb34201fd2906df515e7b3 444092 gmpc_11.8.16-10_amd64.deb
Checksums-Sha256:
a85b50c88e3fa99d5d8a5e8d7ea01e655420d5274cebfc3ad14104a19291eb58 2276 gmpc_11.8.16-10.dsc
d2d7fe17b79258392655e1385eb00c20ae2568cb9e7bd1008ac57ef7591c1cae 40964 gmpc_11.8.16-10.debian.tar.xz
947d588b0abf944377efca55fc9118f07f275bfd592dd3ed0edad0a0dc04eaf5 5083538 gmpc-data_11.8.16-10_all.deb
a150f121b2add9a7e1df85c312b4a248cd4063e4670147776506ccc734313a6f 1839722 gmpc-dbg_11.8.16-10_amd64.deb
8f916e46c6a1b1551990cc952be35dfe9b003e0fe145018c88481459556d1744 21008 gmpc-dev_11.8.16-10_amd64.deb
6692757442c75b75a7629fbbca178fae549fc89c2f354579bb768a5e22c97ced 444092 gmpc_11.8.16-10_amd64.deb
Files:
ae060d9dac609bf349070496018c911a 2276 sound optional gmpc_11.8.16-10.dsc
7c177638095ac2ec1f1355f0d84020ab 40964 sound optional gmpc_11.8.16-10.debian.tar.xz
a479e28d37fea25c3251b5c0527389f4 5083538 sound optional gmpc-data_11.8.16-10_all.deb
eee1da93dec732cb7da7a41a8b023f68 1839722 debug extra gmpc-dbg_11.8.16-10_amd64.deb
33639042a4de9d86337227db61274b99 21008 sound optional gmpc-dev_11.8.16-10_amd64.deb
9c026112e563e35fa38a0b0ad9514bf9 444092 sound optional gmpc_11.8.16-10_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXr11BAAoJEHkhUlJ7dZIecZAQALWB9sgz5DFM+9/2D273a2Of
Rg+QZaeuza5tMNP75kOuzidk0M7+NIzvq/3IfihsedCN1ehuPlSSQQDCUVxoVNRe
AMQD72vNfFH3BX8m+sRmNCLovYDoRudUiyROIEM+lPoWm8H65LemvhuCEso1gf1I
ymKzpmy2bwrnwiGl9J1GftUSqICGKPerCq8B2seNSsl4Y9EeOkNtlbecLde3FdSY
KB8kBtmXP2YRjKVLub0FIkhUJ1iAmFKRFKzcJdq3rvp7GI/tuTdsDLAKyljr2KI0
sLxzMIRY2E1mEtjJZO7YKm6M5yKuF/mA1X46Ympq+YT/nsLJ17WA3Pls0d/yAG28
1VI+jlkvgGHWaJpjB3FRAi+/g7jBdd1fnpARtimqwb1ujX4imuCdP+ajGUlV76c/
+/K98FrKmfgka67hhXirUIETxVLfk2I6tWC/Q34Dlmbyjwuk2/g+CMDdIE+Rj4ou
l8sdNvKwpk6b6fXSUdZekP2Z8sCXBJP3o5YNI/fdHgTX1eXuuW5Hp74T5Xh7iNt/
gm5i+YXgvDDjUe6zwK/o6rSxMQDncZEiPRDTnUdn2n+f9qIaQpQEuSrPs0FmHL1a
oC+zPUYbyTDR9m1ju1IjmKfYXNI58o75kf0k5sSy/bjgGABF2BoWdDOU9UykRNpi
DAWfgvLP5dnGJo8ELDX2
=pnLf
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>:
Bug#806034; Package src:gmpc.
(Mon, 15 Aug 2016 06:51:12 GMT) (full text, mbox, link).
Acknowledgement sent
to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>.
(Mon, 15 Aug 2016 06:51:13 GMT) (full text, mbox, link).
Message #41 received at 806034@bugs.debian.org (full text, mbox, reply):
On Sat, 13 Aug 2016 at 13:35:01 -0400, anarcat wrote:
> I have made an upload to mark me and etienne
> as uploaders and MPD as the maintainer team. I hope everything is in
> order!
I'm sure it is, but please push your changes to pkg-mpd git :-)
S
Information forwarded
to debian-bugs-dist@lists.debian.org, mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>:
Bug#806034; Package src:gmpc.
(Tue, 16 Aug 2016 19:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Antoine Beaupré <anarcat@debian.org>:
Extra info received and forwarded to list. Copy sent to mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>.
(Tue, 16 Aug 2016 19:03:03 GMT) (full text, mbox, link).
Message #46 received at 806034@bugs.debian.org (full text, mbox, reply):
On 2016-08-15 02:50:49, Simon McVittie wrote:
> On Sat, 13 Aug 2016 at 13:35:01 -0400, anarcat wrote:
>> I have made an upload to mark me and etienne
>> as uploaders and MPD as the maintainer team. I hope everything is in
>> order!
>
> I'm sure it is, but please push your changes to pkg-mpd git :-)
I wish I could:
[1019]anarcat@angela:gmpc$ git push
Décompte des objets: 14, fait.
Delta compression using up to 2 threads.
Compression des objets: 100% (13/13), fait.
Écriture des objets: 100% (14/14), 1.71 KiB | 0 bytes/s, fait.
Total 14 (delta 9), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to repository database ./objects
remote: fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To ssh://anarcat@git.debian.org/git/pkg-mpd/gmpc.git
! [remote rejected] master -> master (unpacker error)
error: impossible de pousser des références vers 'ssh://anarcat@git.debian.org/git/pkg-mpd/gmpc.git
I forgot how that's supposed to work, sorry.
A.
--
Nature hides her secret because of her essential loftiness, but not by
means of ruse.
- Albert Einstein
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 16 Sep 2016 07:28:31 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:05:41 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.