[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build reproducibility



On Tue, Mar 24, 2009 at 01:37:21AM +0100, Luca Niccoli wrote:
> Hi mentors,
> 
> I would like to adopt grcm.
> I'm repackaging it from scratch, since it used a rules file I was not
> confident with and didn't have a patch system.
> I need to regenerate ./configure with autoconf; I'm doing it by
> putting autoconf in the rules file.
> The problem is that this way if I build the source package twice in a
> row I get different diff.gz (the second one contains the new configure
> script).
> AFAICS the binary packages are the same - they both use the
> regenerated configure.
> The package builds twice in a row without other problems.
> Is this ok? Should I arrange a hack to copy the original configure and
> put it back in place with the clean rule?

remove it in your clean target. since you're regenerating it, it'll be
fine if it's not there already. and removed files don't show up in the
.diff.gz.

you should use dh_clean t(1)o remove it. (just add it to debian/clean if
you're using debhelper compatibility level 7)

> Thanks,
> 
> Luca
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
_________________________
Ryan Niebur
ryanryan52@gmail.com

Attachment: signature.asc
Description: Digital signature


Reply to: