How to solve recursive build when using obs to build debian 10?

Hi, I am using obs to build debian 10 for mipe64el. I have built about 5000 packages. Currently ,I have some problems. I used "rebuild=local" in the meta configuration file. Because when this configuration item is not used, the building seems to be unable to end, but I see from <user-guild> that using this configuration item will cause the built system to be unstable. Does anyone know how to solve it? Thank you!

On Dienstag, 26. Januar 2021, 02:50:35 CET huangyang wrote:
Hi, I am using obs to build debian 10 for mipe64el. I have built about 5000 packages. Currently ,I have some problems. I used "rebuild=local" in the meta configuration file. Because when this configuration item is not used, the building seems to be unable to end,
It might be the case that it takes a long time if you have large build cycles. OBS will repeat building the packages then indeed, but it will end at some point. However, the time increases with the size of the cycles. You may want to check cycles you have (visible in the webui for each repo/arch). But I suspect they might be large since debian sources are not optimised for transitive building AFAIK.
but I see from <user-guild> that using this configuration item will cause the built system to be unstable. Does anyone know how to solve it? Thank you!
well, each build in a cycle can influence other packages. So it might not be a clean bootstrap from our view. You need to trigger you builds manually at least 2 times, maye more dependening how much they influence each other. I would also make use of build-compare functionality to increase efficency, but no one did that yet for non-rpm distros. You would need to create a build-compare package and we would need to add a small hook to the build script to use it also for debian builds. -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany (HRB 247165, AG München), Geschäftsführer: Felix Imendörffer
participants (2)
-
Adrian Schröter
-
huangyang