Quoting Holger Levsen (2018-11-14 19:38:17) > On Wed, Nov 14, 2018 at 07:30:44PM +0100, Xavier wrote: > > debrebuild seems to want to compare with old .deb (size ?) > > it should not. it should compare with the hashes in the .buildinfo file.
What the script is doing there in lines 183-187 is to make sure that the files you already have match the hashes in the .buildinfo file. This is done, because the mode of operation of the debrebuild script is to expect a .buildinfo file together with build artifacts to exist (either downloaded from the archive or as a result from a previous run of dpkg-buildpackage, pbuilder or sbuild) and then you run debrebuild to check whether the files you got can be reproduced or not. You now just removed these checks which makes the script quite useless. If you don't want the check, then you also have to let the script do the first build.
signature.asc
Description: signature