[PATCH] Sort file list for debuginfo extraction

Robert Schiele rschiele at gmail.com
Wed May 18 18:36:31 UTC 2011


On Wed, May 18, 2011 at 03:43:13PM +0200, devzero2000 wrote:
> Perhaps it is more portable or reproducible between different locale use
> "LANG=C sort " in the pipe and use this everywhere find is used in

Yes, good point.  Enforcing the C locale is probably a good idea to increase
the chance of reproducible results, even across systems with different locale.

> find-debuginfo.sh, just in case.

I personally prefer to do my patches as least intrusive as possible and thus
fixed only the place where I saw a problem.  If RPM maintainers think though
there are more places a similar change is appropriate I for sure won't object
this idea.

> IMSHO, the fact that  the build can be truly reproducible in general is a myth,
> but i digress.

I have invested a lot of my lifetime in buildsystems and in general making
builds reproducible works for me when three conditions are met:

1. The build process is properly isolated from external information that is
   not controlled by the build process. (This is the condition violated here.)

2. There are no race conditions in the build process.

3. There is no hardware issue on the build machine.

Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20110518/d5a5e06b/attachment.asc>


More information about the Rpm-list mailing list