[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#822110: odil: FTBFS when built with dpkg-buildpackage -A (chrpath fails)



I'll take this.

On Thu, Apr 21, 2016 at 04:57:13PM +0200, Julien Lamy wrote:
> Dear all,
> I've committed a fix for #822110 (FTBFS when building only
> arch-independent packages) in the git repository of Odil. Building only
> architecture-independent as well as only architecture-dependent works
> without problem in pbuilders, and the resulting packages are usable.
> 
> If everything looks OK, could I get an upload ?
> 
> Cheers,
> -- 
> Julien
> 
> Le 21/04/2016 12:20, Santiago Vila a écrit :
> > Package: src:odil
> > Version: 0.5.0-1
> > 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 --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.
> > 
> 
> 

-- 
http://fam-tille.de


Reply to: