The script looks good to me . But I am still in hollydays until Monday
Thank you
Sent from my AndroidEm 15/08/2018 01:11, FeRD <ferdnyc(a)gmail.com> escreveu:
It seems like it should be possible to adapt Fedora releng's failed-build-finder
script (
https://pagure.io/releng/blob/master/f/scripts/find_failures.py) to pull out a
list of builds that meet the criteria for needing a rebuild. Depending on what those
criteria are.
(Like, there's already a date boundary built into the script. But the other criteria
they use are tag and failure state. We'd want to check only the f29 builds, sure, so
tag is useful. But since we want to look at (only certain) successful builds, it's
probably necessary to examine the environment the package was built under, to determine
which version of binutils was used in setting up the buildroot.)
This is my first time looking at the Python koji module, but I see there's a
downloadTaskOutput method of koji.ClientSession — so if nothing else, a script could
simply download the root.log file for every successful build starting from whatever epoch
we choose as a starting point, and grep them all for binutils version. Pull out the ones
with binutils versions matching the "bad" set, and theoretically that's our
rebuild list? But brute-forcey and there may be a cleaner way, but it's what
immediately pops to mind as an approach.
I just
created https://github.com/ferdnyc/rpmfusion-f29rebuild with a copy of the
find_failures.py code, which can serve as a starting point on this. I'll attempt to
poke at it a bit, see if I can get anywhere useful. But I won't pretend I'm the
best person for the job here, so if anyone more familiar with this — in particular, the
Python koji module — wants to grab a stick and join in the poking, the more the merrier.
At the very least, I wouldn't mind another pair of eyes reviewing any code I might
consider running against a big chunk of the
koji.rpmfusion.org database.
On Tue, Aug 14, 2018 at 11:20 AM Nicolas Chauvet <kwizart(a)gmail.com> wrote:
>
> Le jeu. 2 août 2018 à 08:57, Nicolas Chauvet <kwizart(a)gmail.com> a écrit :
> >
> > Le mar. 31 juil. 2018 à 11:36, Dominik 'Rathann' Mierzejewski
> > <dominik(a)greysector.net> a écrit :
> > >
> > > Hi,
> > > the binutils package in Fedora between versions 2.31.1-4.fc29 and
> > > 2.31.1-7.fc29 (inclusive) was producing broken binaries and any package
> > > built with any binutils version in the above range needs to be rebuilt.
> > > See
https://bugzilla.redhat.com/show_bug.cgi?id=1609577 and
> > >
https://pagure.io/releng/issue/7670 for more details.
> >
> > Can anyone contact Florian Weimer or anyone else to know how to detect
> > the broken build ?
> > There is a need for someone to head the rebuild? This includes to
> > build the list of affected or potentially affected packages.
>
> So we are at the branching time on the fedora side, and this issue
> still isn't fixed on our side.
> Please anyone take care of this issue .
>
> --
> -
>
> Nicolas (kwizart)
> _______________________________________________
> rpmfusion-developers mailing list -- rpmfusion-developers(a)lists.rpmfusion.org
> To unsubscribe send an email to rpmfusion-developers-leave(a)lists.rpmfusion.org