[Rpm-maint] [rpm-software-management/rpm] Do not fail if there is no "$temp"/res.* file (#1391)

Ruediger Oertel notifications at github.com
Fri Oct 9 13:03:47 UTC 2020


okay, to the why...
so find-debuginfo fires up multiple threads to split off debuginfo using the run_job function. rpm runs scripts usually with "-e",
so aborts subscripts on error. now if for some reason the debug-splitting tool fails, that job will abort.

Now if you have 8 files that are problematic in the tree, and you have 8 or less jobs, the find-debuginfo will abort as no single
res.$number has been written. If you happen to have more than 8 jobs, the build will succeed, which makes the whole process
somewhat random.

If you really want to abort on encountering errors in the debug split, this would need to be done differently, but here this is just
to get some consistency, regardless on the number of jobs used,

I hope that scheds some light on the idea behind the patch.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1391#issuecomment-706168098
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201009/5347535b/attachment.html>


More information about the Rpm-maint mailing list