[buildd-tools-devel] Bug#764504: sbuild: non-reproducible conffile
Roger Leigh
rleigh at codelibre.net
Sun Nov 9 18:47:01 UTC 2014
On Wed, Oct 08, 2014 at 06:07:25PM +0100, Wookey wrote:
> +++ Jakub Wilk [2014-10-08 18:38 +0200]:
> > Source: sbuild
> > Version: 0.64.3-2
> >
> > Contents of /etc/sbuild/sbuild.conf changes with every rebuild, even
> > when nothing in the source package changed. This triggers
> > unnecessary conffile prompts for people who customized the file.
> >
> > The following things vary randomly:
> > - order of items in $external_commands;
> > - order of $crossbuild_core_depends.
>
> Presumably this is not actually new for 0.64.3? These are hashes so do
> not have specified order. Presumably the fix is to sort these before
> outputting them when generating the conf file?
Yes, I would think so.
> > At least the following things vary with build environment:
> > - $build_arch, $host_arch;
> > - $stats_dir.
>
> This is because the file is generated at build-time, which has the
> advantage that it stays up to date when new options appear. These
> could be normalised to canonical examples, I guess. Or one could
> revert to a manually-maintained file, but things will get forgotten if
> done that way. Again, so far as I know the build has been done like
> this for a long time. Roger?
I had not noticed that these were not sorted since they appear to be
for me. Could this have changed with either user locale or Perl
version? For me they appear sorted by category and then variable
name within each category.
I'd certainly think that explicitly sorting would be a useful thing
to add if it's not being sorted implictly.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
More information about the Buildd-tools-devel
mailing list