On Mo, 2021-08-16 at 14:46 +0200, Fabian Vogt wrote:
Hi,
Am Montag, 16. August 2021, 14:38:02 CEST schrieb Andreas Schwab:
On Aug 13 2021, Fabian Vogt wrote:
As long as the repository builds against SLE/Leap, the prjconf with its onlybuild flags is pulled in and the build enable flag won't suffice.
That is not true. The onlybuild flags are only visible %if "%_project" == "openSUSE:Leap:15.3".
I didn't know that, it's apparently new for 15.3. For 15.2 it's still global. With that setup, all i586 packages outside of the project will try to build, but might turn unresolvable because its deps werent built in the distro.
Interesting facts - but every time I read something like this, I wonder who is supposed to know and remember these special details and exceptions. This is what makes OBS seem like black magic for non-gurus. The various settings in meta data, prjconf, spec files, and some hardcoded prefs in the build service tools work together in ways that seem pretty much unpredictable for me, and threads like this make me believe that I'm not alone. The documentation seems to touch just the tip of the iceberg. If I'm missing something, please educate me. I'm not complaining. I just feel that the high level of wizardry that's required to make certain things work as intended in OBS is detrimental for the overall efficiency of our work, and that everyone would benefit if we could simplify things somehow. Cheers, Martin