[Rpm-maint] [rpm-software-management/rpm] RFE: watermark short-circuit'ed binaries (Issue #3091)

Pavel Raiskup notifications at github.com
Wed May 29 09:46:47 UTC 2024


> They can affect the build in a different way depending whether its run multiple times, there's no guarantee of indempotence there.

It would be nice if we started a separate Mock issue, not to steal the topic here.  Maybe the related #1358.  There are these premises:

- Mock has to repeat the process to calculate the "buildroot fixed point"
- Mock only ever installs "new build deps", as provided by the last `%generate_buildrequires` feature, and never removes any (minus dependency bugs, and DNF bugs)
- The %generate_buildrequires is Turing-complete, and in users' hands, the subsequent runs might well hide the previous outputs, without affecting the buildroot (build finishes fine)

If we repeat %prep, are not going to install anything new by Mock (buildroot unaffected), and we may trigger a %generate_buildrequires misbehavior, and thus well bring a "new variable" into the build process rather than stability/idempotence.

> let the cat out of the bag uncontrollably and prematurely.

Normal evolution? :-) The %generate_buildrequires support has been happening for several years already.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3091#issuecomment-2136998043
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3091/2136998043 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240529/d7adf992/attachment.html>


More information about the Rpm-maint mailing list