[CentOS-devel] FYI: centos reproduceability

Jeff Johnson

n3npq at mac.com
Fri Apr 24 14:40:20 UTC 2009

On Apr 24, 2009, at 10:31 AM, David Hrbác( <hrbac.conf at seznam.cz> wrote:

> Farkas Levente napsal(a):
>> hi,
>> as it was told that centos can be reproduced and all rpm build in  
>> mock i
>> just made a quick test and try to rebuild all centos-5.3 srpms. the
>> result not too bad but far from perfect. the setup was a fresh i386
>> centos-5.3 minimal install + yum update + install  
>> mock-0.6.13-1.el5_2.3
>> (the result was almost the same even worse with 2 srpms with
>> mock-0.9.14-1.el5).
>> from 1186 srpms
> Hi Farkas,
> what is you method to obtain rmp build list with correct dependencies?
> Could you share how you automate it?

One way to automate is with repeated passes across a manifest of builds.

Install successes, remove (or repeat that works too) from manifest,
lather rinse repeat.

That usually converges pretty fast, like maybe 5-10 passes.

Ordering the manifest is often not too hard.

Repeated traverses of a manifest has the distinct advantage that it does
depend on the quality of build dependencies, which can be unreliable
outside of an exactly identical build system process. Farkas was using  
mock iirc.

73 de Jeff

More information about the CentOS-devel mailing list