Re: epel8: BuildrootError: could not init mock buildroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tor 2020-01-30 klockan 17:42 -0800 skrev Kevin Fenzi:
> On Thu, Jan 30, 2020 at 07:57:22AM -0500, Stephen John Smoogen wrote:
> > On Thu, 30 Jan 2020 at 06:06, Jiri Kucera <jkucera@xxxxxxxxxx> wrote:
> > > Hello,
> > > 
> > > when doing `fedpkg scratch-build --target epel8-candidate --srpm
> > > sox-14.4.2.0-29.el8.src.rpm`, I get:
> > > 
> > 
> > So there seems to be something off in koji and the repo is not getting
> > properly regenerated after the repo gets updated. These errors seem to
> > have occurred after we updated koji to the latest release so this may
> > be a change in what koji does.
> 
> I fear it's just bad timing + the external rhel8 repo we have only keeps
> the newest packages (epel7 repos keep the old packages around too). 
> 
> koji has no way to know that an external repo updated and needs
> regeneration, so it just regenerates it when the buildroots that depend
> on it change, ie, for epel8 that means when a stable updates push goes
> out. Since updates pushes have been broken, no regen has happened
> recently. ;( For epel7, it's fine just using the older package, but in
> epel8 it's gone and you see the 404 for it. 
> 
> Updates pushes should be going again so that should help. 
> 
> After that I guess we could try and just do a regen every day no matter
> what? Or add something to the script that updates the repo to fire one
> after anything updates?
> 
> kevin

There is a work-around for this. Since the buildroot is regenerated
when a buildroot override is added, you can repair the buildroot by
adding an override for some random package you don't really need an
override for, see e.g.:

https://bodhi.fedoraproject.org/overrides/castxml-0.2.0-1.el8

It would of course be better if changes to the external repo would be
automatically detected, but until that happens you can work around it.

	Mattias

<<attachment: smime.p7s>>

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux