Debian Bug report logs - #806629
libkarma: FTBFS when built with dpkg-buildpackage -A (dh_clideps fails)

version graph

Package: src:libkarma; Maintainer for src:libkarma is Joe Nahmias <jello@debian.org>;

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

Date: Sun, 29 Nov 2015 16:25:55 UTC

Severity: serious

Tags: patch, sid, stretch

Found in version libkarma/0.1.2-2.3

Fixed in version libkarma/0.1.2-2.5

Done: Sébastien Villemot <sebastien@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, Joe Nahmias <jello@debian.org>:
Bug#806629; Package src:libkarma. (Sun, 29 Nov 2015 16:25:59 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, Joe Nahmias <jello@debian.org>. (Sun, 29 Nov 2015 16:25:59 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: libkarma: FTBFS when built with dpkg-buildpackage -A (dh_clideps fails)
Date: Sun, 29 Nov 2015 16:22:51 +0000
Package: src:libkarma
Version: 0.1.2-2.3
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:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with=cli
   dh_testdir -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- MCS=/usr/bin/mono-csc
	make -j1 MCS=/usr/bin/mono-csc
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cd src && make
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
cc -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o errors.o errors.c

[... snipped ...]

../install-sh -t /<<PKGBUILDDIR>>/debian/tmp/usr/lib/karma-sharp karma-sharp.dll karma-sharp.dll.config
../install-sh -t /<<PKGBUILDDIR>>/debian/tmp/usr/lib/pkgconfig -m 0644 karma-sharp.pc
make[3]: Leaving directory '/<<PKGBUILDDIR>>/karma-sharp'
cd tools && make install
make[3]: Entering directory '/<<PKGBUILDDIR>>/tools'
../install-sh -m 0755 -d /<<PKGBUILDDIR>>/debian/tmp/usr/bin
../install-sh -m 0755 -t /<<PKGBUILDDIR>>/debian/tmp/usr/bin/ riocp chprop karma_helper
../install-sh -m 0755 -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1
../install-sh -m 0755 -t /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1 riocp.1 chprop.1 karma_helper.1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tools'
./install-sh -d -o root -g root -m 0755 /<<PKGBUILDDIR>>/debian/tmp//usr/share/doc/libkarma
./install-sh    -o root -g root -m 0644 THANKS TODO ChangeLog /<<PKGBUILDDIR>>/debian/tmp//usr/share/doc/libkarma
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -i
   dh_installdocs -i
   dh_installchangelogs -i
   dh_perl -i
   dh_link -i
   dh_strip_nondeterminism -i
   dh_compress -i
   dh_fixperms -i
   dh_clifixperms -i
   dh_clistrip -i
   dh_cligacpolicy -i
dh_cligacpolicy: Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.5.7)!
   dh_makeclilibs -i
dh_makeclilibs: Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.8~)!
dh_makeclilibs: debian/libkarma-cil/usr/lib/karma-sharp/karma-sharp.dll has no signature, ignoring
   dh_installcligac -i
   dh_installcliframework -i
   dh_clideps -i
dh_clideps: Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.8~)!
dh_clideps: Error: Missing shlibs entry: libkarma.so.0 or karma for: karma-sharp.dll!
Use of uninitialized value $newpkgref in pattern match (m//) at /usr/bin/dh_clideps line 508, <F> line 2.
Use of uninitialized value $pkgref in concatenation (.) or string at /usr/bin/dh_clideps line 539.
Use of uninitialized value $newpkgref in concatenation (.) or string at /usr/bin/dh_clideps line 539.
dh_clideps: Error: unresolvable module references or missing shlibs entries, please check above errors!
debian/rules:14: 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. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").


Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org, Joe Nahmias <jello@debian.org>:
Bug#806629; Package src:libkarma. (Thu, 14 Jul 2016 22:14:02 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
Extra info received and forwarded to list. Copy sent to Joe Nahmias <jello@debian.org>. (Thu, 14 Jul 2016 22:14:02 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@debian.org>
To: 806629@bugs.debian.org
Subject: libkarma: FTBFS when built with dpkg-buildpackage -A (dh_clideps fails)
Date: Thu, 14 Jul 2016 22:10:00 +0000
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".

If you need help to fix this bug, please tag it as "help".

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


Information forwarded to debian-bugs-dist@lists.debian.org, Joe Nahmias <jello@debian.org>:
Bug#806629; Package src:libkarma. (Fri, 16 Dec 2016 21:54:02 GMT) (full text, mbox, link).


Acknowledgement sent to Sébastien Villemot <sebastien@debian.org>:
Extra info received and forwarded to list. Copy sent to Joe Nahmias <jello@debian.org>. (Fri, 16 Dec 2016 21:54:02 GMT) (full text, mbox, link).


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

From: Sébastien Villemot <sebastien@debian.org>
To: 806629@bugs.debian.org
Subject: Re: Bug#806629: libkarma: FTBFS when built with dpkg-buildpackage -A (dh_clideps fails)
Date: Fri, 16 Dec 2016 22:51:20 +0100
[Message part 1 (text/plain, inline)]
Control: tags -1 + patch pending

Dear Maintainer,

Le dimanche 29 novembre 2015 à 16:22 +0000, Santiago Vila a écrit :
> Package: src:libkarma
> Version: 0.1.2-2.3
> 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:

I am going to upload an NMU of libkarma fixing this bug. The debdiff is
attached. I am going to upload without a delay, according to usual NMU
rules, and given the very close freeze deadlines.

Best,

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://sebastien.villemot.name
  `-      GPG Key: 4096R/381A7594

[libkarma_0.1.2-2.5.diff (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) patch and pending. Request was from Sébastien Villemot <sebastien@debian.org> to 806629-submit@bugs.debian.org. (Fri, 16 Dec 2016 21:54:02 GMT) (full text, mbox, link).


Reply sent to Sébastien Villemot <sebastien@debian.org>:
You have taken responsibility. (Fri, 16 Dec 2016 22:06:03 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Fri, 16 Dec 2016 22:06:03 GMT) (full text, mbox, link).


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

From: Sébastien Villemot <sebastien@debian.org>
To: 806629-close@bugs.debian.org
Subject: Bug#806629: fixed in libkarma 0.1.2-2.5
Date: Fri, 16 Dec 2016 22:04:18 +0000
Source: libkarma
Source-Version: 0.1.2-2.5

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

Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien@debian.org> (supplier of updated libkarma 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: Fri, 16 Dec 2016 22:36:06 +0100
Source: libkarma
Binary: libkarma-dev libkarma0 karma-tools libkarma-cil libkarma-cil-dev
Architecture: source
Version: 0.1.2-2.5
Distribution: unstable
Urgency: medium
Maintainer: Joe Nahmias <jello@debian.org>
Changed-By: Sébastien Villemot <sebastien@debian.org>
Description:
 karma-tools - Rio Karma access library [tools]
 libkarma-cil - Rio Karma access library [CLI runtime library]
 libkarma-cil-dev - Rio Karma access library [CLI library development files]
 libkarma-dev - Rio Karma access library [development files]
 libkarma0  - Rio Karma access library [runtime files]
Closes: 806629
Changes:
 libkarma (0.1.2-2.5) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS when building only arch-indep packages. Implement the
     workaround documented in #830416: when dh_makeshlibs has not been
     called, create a phony shlibs.local so that dh_clideps does not crash.
     (Closes: #806629)
Checksums-Sha1:
 ceb58b9ed624f02a0b95be0c4f50b295e48ab26b 2057 libkarma_0.1.2-2.5.dsc
 217f53639d573abc32cb98cbb0e6f6fc728bdf82 4936 libkarma_0.1.2-2.5.debian.tar.xz
Checksums-Sha256:
 593db4dcaca72cdb5f9cce3d13d09c5c703e67c98573aa4802285a71e286f8a7 2057 libkarma_0.1.2-2.5.dsc
 25d5c8b642e621307abbfeeb253990680ff25e2c2998ed0d5312a01e783ebdc1 4936 libkarma_0.1.2-2.5.debian.tar.xz
Files:
 5797d355ece013fddea0322d22da210a 2057 libs extra libkarma_0.1.2-2.5.dsc
 ef5570a62dece87ce603da59145469b2 4936 libs extra libkarma_0.1.2-2.5.debian.tar.xz

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

iQIzBAEBCAAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAlhUYeYACgkQLOzpNQ7O
vkrlWg//Y6lNuUAxGXpRGG9tOQhFQ978dmzC9crHXP6nmt7rtewixRm3dmY2QDVQ
BRPMgLL4gHYLFW/nTNoZczJvtgLavpaZBj6bsfz/uEAsQI9y+N2Yq0yEvyY9q4T8
UmgI7MGY/QEuxxhFC//MhUdkCiKpAfm03FjTazJumlpzR5Dw86erVKaXCMTs3yDo
Fe5fI1n6gGfp9WvKT/GdCDkFLS9MK72T6tB0ljHK4+EfMwFpXoLyXmdY9vheC+GB
pOXrt/2iyUggLLZjywKp8WcZbIYWde3JYrLDGF6Dvlxi2u4IBLOHlU9XPPbI7Kpq
TzWud/iaOiVccBXI+wWikibY6U6UR1HPoTvTflGY523bOebbuWFYO5/U5Jq7eZie
fDt2a9YmmKxL4oldnA6JMT4Qgr485+1+QU8Yd1kGTnouflY1fw/YM/ygC1lRRWny
jDbQEOAZygvi/gueUERCRPCRN9Z8LT0hzDbbHe2yUcyh5jSPLch4X/yvq21AhZdq
3eM7Wjkz9W3emVVeFBPA7L2B6ZXBeKHzvTK2nSW9m6dLkEM3/r7BIO2E2FmPHOT9
CRb1R4Q1ehA6o7z+NZTvGoBdbgT0yV88HVW8eW/AQqEuuf/5U2zJAEWHlgKQdzZV
nesnjVTo/ns5xgnPAD6VcYaGvDEfTdkWSMokVHnWB/bXdJfW5bM=
=ezJI
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 27 Jan 2017 08:45:24 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:07:24 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.