Package: src:libiio
Version: 0.6.40-1
User: sanv...@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 --parallel --with=cli,python2
   dh_testdir -i -O--parallel
   dh_update_autotools_config -i -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DINSTALL_LIB_DIR=/usr/lib/x86_64-linux-gnu
        cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON 
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc 
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DINSTALL_LIB_DIR=/usr/lib/x86_64-linux-gnu
-- The C compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info

[... snipped ...]

running install_lib
creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7
creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/site-packages
copying build/lib.linux-x86_64-2.7/iio.py -> 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/site-packages
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/site-packages/iio.py to iio.pyc
running install_egg_info
Writing 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/site-packages/libiio-0.6-py2.7.egg-info
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
# jquery.js is provided in another debian package, do not ship one here too
rm debian/tmp/usr/share/doc/libiio0-doc/html/jquery.js
ln -s /usr/share/javascript/jquery/jquery.js 
debian/tmp/usr/share/doc/libiio0-doc/html/jquery.js
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -i -O--parallel
   dh_installdocs -i -O--parallel
   dh_installchangelogs -i -O--parallel
   dh_python2 -i -O--parallel
I: dh_python2 fs:405: renaming libiio-0.6-py2.7.egg-info to libiio-0.6.egg-info
   dh_perl -i -O--parallel
   dh_link -i -O--parallel
   dh_strip_nondeterminism -i -O--parallel
   debian/rules override_dh_compress
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_compress -X.c -X.C
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_fixperms -i -O--parallel
   dh_clifixperms -i -O--parallel
   debian/rules override_dh_clistrip
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clistrip --exclude=mdb
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_cligacpolicy -i -O--parallel
dh_cligacpolicy: Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.5.7)!
   dh_makeclilibs -i -O--parallel
   dh_installcligac -i -O--parallel
   dh_installcliframework -i -O--parallel
   dh_clideps -i -O--parallel
dh_clideps: Error: Missing shlibs entry: libiio.so.0 or libiio.dll for: 
libiio-sharp.dll!
dh_clideps: Error: unresolvable module references or missing shlibs entries, 
please check above errors!
debian/rules:6: 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.

Reply via email to