2015-09-01 12:25 GMT+02:00 Andreas Tille <[email protected]>: > On Tue, Sep 01, 2015 at 12:15:36PM +0200, Corentin Desfarges wrote: > > I want to rebuild fw4spl, but I can't install libboost-all-dev on my > system > > (Debian Stretch, up-to-date). > > > > *$ sudo apt-get install libboost-all-dev* > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > Some packages could not be installed. This may mean that you have > > requested an impossible situation or if you are using the unstable > > distribution that some required packages have not yet been created > > or been moved out of Incoming. > > The following information may help to resolve the situation: > > > > The following packages have unmet dependencies: > > libboost-all-dev : Depends: libboost-date-time-dev but it is not going > > to be installed > > Depends: libboost-log-dev but it is not going to be > > installed > > Depends: libboost-thread-dev but it is not going to > > be installed > > Depends: libboost-wave-dev but it is not going to > be > > installed > > E: Unable to correct problems, you have held broken packages. > > That's due to the current gcc-5 /libc++6 transition. >
So is there a way to install it ? > > > When I try with pdebuild after update the base.tgz, I get this error : > > > > *$ sudo pdebuild* > > W: /root/.pbuilderrc does not exist > > dpkg-checkbuilddeps: Unmet build dependencies: libboost-all-dev > > W: Unmet build-dependency in source > > dpkg-buildpackage: warning: using a gain-root-command while being root > > dpkg-buildpackage: source package fw4spl > > dpkg-buildpackage: source version 0.9.2-3 > > dpkg-buildpackage: source distribution unstable > > dpkg-buildpackage: source changed by Corentin Desfarges < > > [email protected]> > > dpkg-source --before-build fw4spl > > dpkg-checkbuilddeps: Unmet build dependencies: libboost-all-dev > > dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; > > aborting > > dpkg-buildpackage: warning: (Use -d flag to override.) > > > > Should pdebuild not install the dependencies itself ? > > That's due to a known pbuilder bug since dpkg-buildpackage now needs a > "-d" option (grrr, I stumbled upon this several times.) I have hacked > around this in my local system: > > $ diff -u /usr/bin/pdebuild pdebuild_fixed > --- /usr/bin/pdebuild 2015-07-20 12:42:45.000000000 +0200 > +++ pdebuild_fixed 2015-09-01 12:17:32.088414900 +0200 > @@ -75,7 +75,7 @@ > if ! dpkg-checkbuilddeps -B ; then > log "W: Unmet build-dependency in source" > fi > - echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} > $DEBBUILDOPTS" | \ > + echo "dpkg-buildpackage -S -d -us -uc -r${BUILDSOURCEROOTCMD} > $DEBBUILDOPTS" | \ > perl -pe 's/(^|\s)-[AbBF](\s|$)/$1$2/g' | \ > /bin/bash > ${PBUILDERROOTCMD} \ > > Hope this helps > I try it this afternoon. Thanks ! > > Andreas. > > -- > http://fam-tille.de > >

