Okay this is a more exact way to reproduce the bug. (I'm just not filling in the dependencies). gbp-clone git://github.com/periapt/w3c-sgml-lib.git cd w3c-sgml-lib/ pristine-tar checkout ../w3c-sgml-lib_1.3.orig.tar.gz dpkg-buildpackage -us -uc