On 11/11/17 23:00, Adrian Bunk wrote: > On Sat, Nov 11, 2017 at 07:50:15PM +0000, Christian Blum wrote: >> Hi Adrian, > > Hi Christian, > >> I have looked a bit closer; the error only occurs if the original sources >> get modified in some way (in my case by a patch that introduces a symbol, >> "charshunt_hook"); it seems that only then the target is run that executes >> "pppd -V". It looks like this: >> >> dh_makeshlibs --package=ppp -- -c2 -edebian/ppp/usr/sbin/pppd -V > > -c2 is passed to dpkg-gensymbols and means > Level 2 fails if some new symbols have been introduced > > The point of it is to error out when a new symbol is missing in the > symbols file, therefore the error you get after adding a symbol without > adding it to the symbols file is exactly what is supposed to happen.
Hi Adrian, Christian, Adrian: I'm glad someone else appears to understand my intentions with this mechanism! I believe I have fully documented this in debian/README.source, but please do let me know if something is missing from there. Perhaps the debian/rules can more explicitly point at the README.source in case a build fails in this location? Cheers, Chris -- Chris Boot bo...@debian.org