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

version graph

Package: src:horgand; Maintainer for src:horgand is Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>;

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

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

Severity: serious

Tags: patch, sid, stretch

Found in version horgand/1.14-5

Fixed in version horgand/1.14-7

Done: Free Ekanayaka <freee@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, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#806046; Package src:horgand. (Tue, 24 Nov 2015 15:31: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, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Tue, 24 Nov 2015 15:31: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: horgand: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Tue, 24 Nov 2015 15:26:26 +0000
Package: src:horgand
Version: 1.14-5
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_installdirs -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'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/horgand'
  /usr/bin/install -c horgand '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/horgand'
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making install in data
make[2]: Entering directory '/<<PKGBUILDDIR>>/data'
make[3]: Entering directory '/<<PKGBUILDDIR>>/data'
make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/horgand'
 /usr/bin/install -c -m 644 Default.horeb Rhythm_List.txt 130_Houseloop_2.wav AcousticBass.wav crackle_loop01.wav egg_loop01.wav FenderBass.wav FretlessBass.wav frog_loop01.wav funkyfeet1.wav '/<<PKGBUILDDIR>>/debian/tmp/usr/share/horgand'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/data'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/data'
Making install in man
make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1'
 /usr/bin/install -c -m 644 horgand.1 '/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
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>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
cp debian/horgand.wrapper /<<PKGBUILDDIR>>/debian/horgand/usr/bin/horgand
cp: cannot create regular file '/<<PKGBUILDDIR>>/debian/horgand/usr/bin/horgand': No such file or directory
debian/rules:10: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:4: 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, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#806046; Package src:horgand. (Sun, 17 Apr 2016 19:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Sun, 17 Apr 2016 19:21:05 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: 806046@bugs.debian.org
Cc: Debian BTS <control@bugs.debian.org>, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Subject: Re: Bug#806046: horgand: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Sun, 17 Apr 2016 21:16:33 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 806046 + patch
thanks

>    debian/rules override_dh_install
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_install
> cp debian/horgand.wrapper /<<PKGBUILDDIR>>/debian/horgand/usr/bin/horgand
> cp: cannot create regular file '/<<PKGBUILDDIR>>/debian/horgand/usr/bin/horgand': No such file or directory
> debian/rules:10: recipe for target 'override_dh_install' failed

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

The trivial fix is to override dh_install only when creating
arch-dependent packages.

Patch attached.

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

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


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#806046; Package src:horgand. (Wed, 13 Jul 2016 21:21:20 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Wed, 13 Jul 2016 21:21:21 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: 806046@bugs.debian.org
Cc: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Subject: Re: Bug#806046: horgand: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Wed, 13 Jul 2016 23:20:47 +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:26 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:21 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Free Ekanayaka <freee@debian.org> to control@bugs.debian.org. (Wed, 23 Nov 2016 05:09:05 GMT) (full text, mbox, link).


Message sent on to Santiago Vila <sanvila@debian.org>:
Bug#806046. (Wed, 23 Nov 2016 05:09:07 GMT) (full text, mbox, link).


Message #26 received at 806046-submitter@bugs.debian.org (full text, mbox, reply):

From: Free Ekanayaka <freee@debian.org>
To: 806046-submitter@bugs.debian.org
Subject: Bug#806046 marked as pending
Date: Wed, 23 Nov 2016 05:05:54 +0000
tag 806046 pending
thanks

Hello,

Bug #806046 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

    http://git.debian.org/?p=pkg-multimedia/horgand.git;a=commitdiff;h=bb151de

---
commit bb151dec481c9f01aec894a2a38c348a3faca498
Author: Free Ekanayaka <freee@debian.org>
Date:   Wed Nov 23 05:05:13 2016 +0000

    Update changelog for 1.14-7 release

diff --git a/debian/changelog b/debian/changelog
index 9d8d846..7dc34eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+horgand (1.14-7) unstable; urgency=medium
+
+  * Update my mail in Uploaders
+  * Override dh_install only when creating arch-dependent
+    packages (Closes: #806046)
+
+ -- Free Ekanayaka <freee@debian.org>  Wed, 23 Nov 2016 05:04:58 +0000
+
 horgand (1.14-6) unstable; urgency=medium
 
   * Team upload.



Reply sent to Free Ekanayaka <freee@debian.org>:
You have taken responsibility. (Wed, 23 Nov 2016 05:21:03 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Wed, 23 Nov 2016 05:21:03 GMT) (full text, mbox, link).


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

From: Free Ekanayaka <freee@debian.org>
To: 806046-close@bugs.debian.org
Subject: Bug#806046: fixed in horgand 1.14-7
Date: Wed, 23 Nov 2016 05:18:35 +0000
Source: horgand
Source-Version: 1.14-7

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

Debian distribution maintenance software
pp.
Free Ekanayaka <freee@debian.org> (supplier of updated horgand 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: Wed, 23 Nov 2016 05:04:58 +0000
Source: horgand
Binary: horgand horgand-data
Architecture: source all amd64
Version: 1.14-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Free Ekanayaka <freee@debian.org>
Description:
 horgand    - JACK capable organ softsynth
 horgand-data - JACK capable organ softsynth (data files)
Closes: 806046
Changes:
 horgand (1.14-7) unstable; urgency=medium
 .
   * Update my mail in Uploaders
   * Override dh_install only when creating arch-dependent
     packages (Closes: #806046)
Checksums-Sha1:
 a18a745a4225429f70ea2298647de84888d91f52 2152 horgand_1.14-7.dsc
 b2d5477c5eb89303c7d99f02cc14709aa0850f5e 4484 horgand_1.14-7.debian.tar.xz
 c832a3225f1ab23de28406d81946ae864b88a84e 1923182 horgand-data_1.14-7_all.deb
 b7d9939ceff9905e29bec4a7c8194822113ecfff 12058 horgand-dbgsym_1.14-7_amd64.deb
 d9ca930c7779642def7944e9a094ed58e36a84fe 6836 horgand_1.14-7_amd64.buildinfo
 1dcb5c1e4892cfe4f2330cea5f9b898ca724cbb7 84100 horgand_1.14-7_amd64.deb
Checksums-Sha256:
 1c8e0bbfc591c81e3e18ff62dc4c1e153fdd52485e77997cda56e1f7c2e3187d 2152 horgand_1.14-7.dsc
 668ced09210ce2dfd9eab7b00111028844f452192ee74580242c5e28dce18c6c 4484 horgand_1.14-7.debian.tar.xz
 059f4519ee21dd8682f76dcc764fa7b37062bec7bf6ea1cc52e69d688d48ee0c 1923182 horgand-data_1.14-7_all.deb
 8f848ff0fc592745ea265c3231f695e5d7ce4cc45276f64283256befa7a6bcf1 12058 horgand-dbgsym_1.14-7_amd64.deb
 8be76f18d4db697b984e4422af32a70283df9f2c86d2ab1ea5c094026949c1fd 6836 horgand_1.14-7_amd64.buildinfo
 06ebc603a0a57cc8241a8b5086134bbf37ca42e15c045c7b34f59157fdd7a0ea 84100 horgand_1.14-7_amd64.deb
Files:
 42e14c9b48fb3311e02518ab0f0619c8 2152 sound optional horgand_1.14-7.dsc
 f49a1bf7a2824083a0b102c4535374cc 4484 sound optional horgand_1.14-7.debian.tar.xz
 48dd6b36617bf252c256fb76483e7d69 1923182 sound optional horgand-data_1.14-7_all.deb
 9b2349deff0cd1831e31fb1d4b383b9c 12058 debug extra horgand-dbgsym_1.14-7_amd64.deb
 b38e265c400b93a663f20d304c3651f3 6836 sound optional horgand_1.14-7_amd64.buildinfo
 eab886f8641619a8efa038147576b2b7 84100 sound optional horgand_1.14-7_amd64.deb

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

iQIzBAEBCAAdFiEEduexRx7o0Oelk+iWIMqg5+qIVncFAlg1I+kACgkQIMqg5+qI
VnezLw/+JNbG1WbN9TGWX5FE4Uk4OO29PreVJpAPZUskYPFtFl2gyKtO9rAtj/wE
V1u3f2bI2V0EYgYinY9XWh7iiulfVCs01ZgLiHE9zqz0Sc1rGsAVv8kSVUq6Qovl
jV/iRZXDOA5xTumSO2ymeoyu40ax+utp5dQSx3Pm6/OjuJicdmSys3wbB/u9Rj2H
NdU9qk2Hup6iKxByt2yOi9PxFd9hI6q+u9EEvQmnbdg+wGklCJ2VJg+lWqmjS9d0
gM6gVKbxK5jiZe9h7K0TCzf0LlJzn2U/p2jm5PSTCDMPo4tkajvzvjN0Bt0KPxM7
fSL3A50iVVwPSnjSxRGOTdqfSNzJH0ElwEOHkyoSRN/JASnKUc07hv5MBZ1sYSjU
tEpBucD3jH29VW+QBekqXj+B0doI7cCAJIqNJLPNpQbHcCTDViEDDzLhpS4CxfIU
qoDrfxw+U2YiHHdXOQfLol9JNxH2BZVFA7AqggaPRQkYBUx1ETvUftJgdD/t1bGE
bDyZtye5ihbSPSakFlLPRZxmClhYdcFgnO7uzxvsEGLsajL+d+D0kXPD5cL1A06h
QyvrnJm+OkhrZH/8KjA0dhUlFdjq99IvGiLDTHXtqsEyX/pNBzAz+5iANXOQ+hfQ
5vq4giOi6lJnQ5oE62IKkXUHjuGmiD0IvsNSWcVQSLG08hAePkI=
=h7+Z
-----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:33:35 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:50 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.