Found the solution.  By default pbuilder calls dpkg-buildpackage like
so:

DEBBUILDOPTS="$DEBBUILDOPTS -rfakeroot"
dpkg-buildpackage -us -uc $DEBBUILDOPTS

That causes dpkg-buildpackage to rebuild the diff.gz and .dsc files.
Add a -b in there, and it won't.  It also means the resulting .changes
file will only reference the .deb file.  Which is what you want, I
think.

The easy solution is to add a line to your .pbuilderrc:

DEBBUILDOPTS="-b"

-- 
Pbuilder gives a different md5sum for a source .diff.gz archive in result than 
the one it started with
https://bugs.launchpad.net/bugs/118180
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to