Make buildSRPMFromSCM faster?

Al Dunsmuir al.dunsmuir at sympatico.ca
Sun Jul 20 00:57:17 UTC 2014


On Saturday, July 19, 2014, 8:20:30 PM, Eric Smith wrote:
> On Sat, Jul 19, 2014 at 7:26 AM, Richard Shaw <hobbes1069 at gmail.com> wrote:
>> How about not rebuilding the chroot every time... It's not like you have to
>> worry about leftover BR's from building another package.

> That could lead to packages that happen to build some of the time due
> to an undetected dependency on something that isn't in the BR but
> happens to be in a cached buildroot.

Then you would at least get failure or a working package.

Just  because  a package builds without failure doesn't mean it is the
intended build. A less desirable case would be a package with optional
build  dependencies,  that  gets  built  with different configurations
based  on  the  presence  of  extra packages that happen to be in that
cached buildroot.

Having the required packages for build and no more is important.



More information about the devel mailing list