[Debian-med-packaging] Bug#822110: odil: FTBFS when built with dpkg-buildpackage -A (chrpath fails)

Santiago Vila sanvila at debian.org
Thu Apr 21 10:20:31 UTC 2016


Package: src:odil
Version: 0.5.0-1
User: sanvila at 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 --builddirectory=build --parallel --with python2
   dh_testdir -i -O--builddirectory=build -O--parallel
   dh_update_autotools_config -i -O--builddirectory=build -O--parallel
   dh_auto_configure -i -O--builddirectory=build -O--parallel
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var
-- The C compiler identification is GNU 5.3.1
-- The CXX 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
-- Detecting C compiler ABI info - done

[... snipped ...]

-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/ApplicationContext.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/Item.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/UserIdentityRQ.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/ImplementationClassUID.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/AReleaseRP.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/AAssociateRJ.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/UserInformation.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/Object.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/RoleSelection.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/PresentationContext.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/PresentationContextAC.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/AAssociateRQ.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/UserIdentityAC.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/AReleaseRQ.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/AAssociateAC.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/UserInformation.txx
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/PresentationContextRQ.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/AAbort.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/AAssociate.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/PDataTF.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/ImplementationVersionName.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/pdu/MaximumLength.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/StoreSCU.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/BasicDirectoryCreator.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/odil/AssociationParameters.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libodil.so.0.5.0
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libodil.so.0
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libodil.so
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
chrpath -d debian/python-odil/usr/lib/python*/dist-packages/odil.so
open: No such file or directory
elf_open: Invalid argument
debian/rules:21: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:11: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------

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

Hint: Try splitting override_dh_install into override_dh_install-arch
and override_dh_install-indep, or, if everything ends up being moved
to override_dh_install-arch, just rename override_dh_install to
override_dh_install-arch.

Thanks.



More information about the Debian-med-packaging mailing list