
On Thu, Feb 27, 2025 at 01:07:29PM +0100, Dominique Leuenberger wrote:
On Thu, 2025-02-27 at 13:09 +0100, Adrian Schröter wrote:
Build flags were often a problem since they could not be transfered into other projects as things like repository names did change. Also problems with old build results lead to issues where content is not rebuildable. So our vision so far is to obsolete them and try to stick to the exclude mechanic only. This can be specified in the package source already (eg. ExcludeArch in spec files or special tags in Dockerfile or kiwi files).
We have no replacement for useforbuild yet. It could be added, but do we have really a usecase for it? In the past it caused mostly trouble. It is easy to add, if there is a usecase.
I mostly use "useforbuild" to 'come out of trouble' in devel projects like Base:System, where bootstrap cycles are a pita;
For other projects that do bootstrapping this is also useful - eg. kernel, and probably pretty much any programming language. Unfortunately, it's now already broken because it does not work with multibuild. When a broken revision of something that is used to build itself is uploaded unless "useforbuild" flag is available it's not possible to fix by simply uploading a new, fixed version. Thanks Michal