Dne 13. 12. 22 v 9:29 Vít Ondruch napsal(a):
Few months ago, I have noticed some rumors about mass-prebuild tool
[1]. Since Ruby 3.2 rebuild seems to be nice opportunity to test this
out, I gave it a try. This is my config (there is really not much to
configure ;)) :
~~~
$ cat mpb.config
archs: x86_64
chroot: fedora-rawhide
name: ruby-3.2
packages:
ruby:
src_type: file
src:
/home/vondruch/fedora-scm/own/ruby/ruby-3.2.0~20221212gitece6246057-174.fc38.src.rpm
data: /home/vondruch/fedora-scm/own/ruby/mpb/
verbose: 1
retry: 5
~~~
And here is the resulting repository:
https://copr.fedorainfracloud.org/coprs/vondruch/ruby-3.2
And intermediate results:
~~~
BTW the interpretation of the results is as follows:
Build status of reverse dependencies: —
570 out of 571 builds are done.
1 build is still under check, that is to figure out, if the build
failure is caused by the updated Ruby or if it was already failed
previously:
Pending: 0
Running: 0
Nothing is left to build in the official repo
Success: 527
Number of successful builds.
Under check: 1
One build is still running in the check repo as explained above.
Manual confirmation needed: 11
These are the packages which should deserve out attention. They used to
build but does not build with Ruby 3.2
Failed: 32
These packages were already FTBFS
Vít
~~~
I have briefly checked two failures:
1) rubygem-activesupport -
https://copr.fedorainfracloud.org/coprs/vondruch/ruby-3.2/build/5131908/
Where this might be upstream cure:
https://github.com/rails/rails/commit/e4140140af5832e045bf8196d1bcbe9e527...
2) webkitgtk -
https://copr.fedorainfracloud.org/coprs/vondruch/ruby-3.2/build/5132009/
Obviously, the issue is with independent rubygem-json, which was not
build by mass-prebuild. This is probably tricky due to rubygem-json
being subpackage of ruby while there is also independent RPM.
I'll try to fix these and run another round of builds.
All in all, I am very excited about the mass-prebuild. While there are
certainly areas for improvement, the tool is quite easy to setup and
execute. I'll encourage everybody to give it a try. I'd say that this
can be valuable for testing frameworks updates, which tends to
influence huge dependency chains. Also, I have reported around ~6
tickets and the author is very responsive, so I am quite that next
version will be much better (e.g. the dependency chain will be
properly resolved [2]).
Vít
[1]
https://gitlab.com/fedora/packager-tools/mass-prebuild
[2]
https://gitlab.com/fedora/packager-tools/mass-prebuild/-/issues/56
Dne 12. 12. 22 v 22:27 Vít Ondruch napsal(a):
> Hi everyone,
>
> I have noticed, that my version/release changes were not correct. IRB
> could not require ruby-default-gems:
>
>
https://copr.fedorainfracloud.org/coprs/vondruch/ruby-3.2/build/5126185/
>
> Therefore I have prepared yet another update. You can grab the
> scratch build here:
>
>
https://koji.fedoraproject.org/koji/taskinfo?taskID=95271437
>
> Nothing really interesting there. Although, Bundler have dropped
> bundled tpmdir gem. Less bundling is always good news.
>
> As always, let me know any feedback.
>
> Thx
>
>
> Vít
>
>
>
>