Package: src:libkarma
Version: 0.1.2-2.3
User: [email protected]
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.