[opensuse-factory] How to kick rubygems packages which fails for absence of ruby2.7
Hi, I have several [1] gem2rpm packages which were failed due to absence of ruby2.7. But now ruby2.7 is in factory but they still fail. I've updated one [2] package (just replaced gem and changed version in spec, nothing more) and after that it have been built fine. But others still have error like [3]: ``` ruby2.7 is needed by rubygem-rspectacular-0.70.8-2.3.x86_64 rubygem(ruby:2.7.0:gem2rpm) is needed by rubygem- rspectacular-0.70.8-2.3.x86_64 rubygem(ruby:2.7.0:rdoc) > 3.10 is needed by rubygem- rspectacular-0.70.8-2.3.x86_64 ``` And triggering rebuild (from site or `osc rebuild`) doesn't help. And that happened before (ruby 2.5→2.6 update). Changing just spec file helps. I can't be sure, but it looks like there is some cache which hasn't been updated, but when spec file is changed it's dropped. How to trigger rebuild of such packages correctly? [1] https://build.opensuse.org/project/show/home:NickLion:ruby [2] https://build.opensuse.org/package/show/home:NickLion:ruby/rubygem-solargrap... [3] https://build.opensuse.org/package/live_build_log/home:NickLion:ruby/ rubygem-rspectacular/openSUSE_Tumbleweed/x86_64 -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський
On Fri, 2020-05-08 at 18:39 +0300, Mykola Krachkovsky wrote:
Hi,
I have several [1] gem2rpm packages which were failed due to absence of ruby2.7. But now ruby2.7 is in factory but they still fail. I've updated one [2] package (just replaced gem and changed version in spec, nothing more) and after that it have been built fine. But others still have error like [3]: ``` ruby2.7 is needed by rubygem-rspectacular-0.70.8-2.3.x86_64 rubygem(ruby:2.7.0:gem2rpm) is needed by rubygem- rspectacular-0.70.8-2.3.x86_64 rubygem(ruby:2.7.0:rdoc) > 3.10 is needed by rubygem- rspectacular-0.70.8-2.3.x86_64 ``` And triggering rebuild (from site or `osc rebuild`) doesn't help. And that happened before (ruby 2.5→2.6 update). Changing just spec file helps. I can't be sure, but it looks like there is some cache which hasn't been updated, but when spec file is changed it's dropped.
How to trigger rebuild of such packages correctly?
[1] https://build.opensuse.org/project/show/home:NickLion:ruby [2] https://build.opensuse.org/package/show/home:NickLion:ruby/rubygem-solargrap... [3] https://build.opensuse.org/package/live_build_log/home:NickLion:ruby/ rubygem-rspectacular/openSUSE_Tumbleweed/x86_64
OBS is, for performance reasons, not always spreading all the changes of prjconf macros directly (any change in Factory prjconf would trigger hundreds of recalculations, in most projects for no single package caring for it) To get your project recalculated, the simplest way is to disable the global build flag of the project, wait a few minutes, then re-enable it. OBS should then get the prjconf changes adjusted and either retrigger the builds directly, or you can retrigger them. Cheers, Dominique
пʼятниця, 8 травня 2020 р. 18:46:39 EEST Dominique Leuenberger / DimStar написано:
OBS is, for performance reasons, not always spreading all the changes of prjconf macros directly (any change in Factory prjconf would trigger hundreds of recalculations, in most projects for no single package caring for it)
Well, that makes sense. Are there no some "macro dependencies" to make spreading more selective?
To get your project recalculated, the simplest way is to disable the global build flag of the project, wait a few minutes, then re-enable it. OBS should then get the prjconf changes adjusted and either retrigger the builds directly, or you can retrigger them.
Thanks. I'll try it. -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський
пʼятниця, 8 травня 2020 р. 18:46:39 EEST Dominique Leuenberger / DimStar написано:
To get your project recalculated, the simplest way is to disable the global build flag of the project, wait a few minutes, then re-enable it. OBS should then get the prjconf changes adjusted and either retrigger the builds directly, or you can retrigger them.
Cheers, Dominique
That've worked well, thanks again! Had no need to manually retrigger. -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський
participants (2)
-
Dominique Leuenberger / DimStar
-
Mykola Krachkovsky