Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby 2.7 is EOL since 2023-03-31 #1090

Open
garloff opened this issue Jan 28, 2025 · 3 comments
Open

ruby 2.7 is EOL since 2023-03-31 #1090

garloff opened this issue Jan 28, 2025 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation housekeeping Internal housekeeping

Comments

@garloff
Copy link
Member

garloff commented Jan 28, 2025

This means that

  • bugs and security issues won't be addressed
  • an increasing number of gems won't work with it any longer

Currently we see this:

Post-install message from i18n:
PSA: I18n will be dropping support for Ruby < 3.2 in the next major release (April 2025), due to Ruby's end of life for 3.1 and below (https://endoflife.date/ruby). Please upgrade to Ruby 3.2 or newer by April 2025 to continue using future versions of this gem.
fatal: detected dubious ownership in repository at '/github/workspace'
To add an exception for this directory, call:

	git config --global --add safe.directory /github/workspace
/github/workspace/vendor/bundle/ruby/2.7.0/gems/google-protobuf-3.25.6-x86_64-linux/lib/google/protobuf/descriptor_pb.rb:13: [BUG] Segmentation fault at 0x00000000000043f0
ruby 2.7.8p225 (2023-03-30 revision 1f4d455848) [x86_64-linux-musl]

-- Control frame information -----------------------------------------------
c:0046 p:---- s:0226 e:000225 CFUNC  :add_serialized_file
c:0045 p:0037 s:0221 e:000220 TOP    /github/workspace/vendor/bundle/ruby/2.7.0/gems/google-protobuf-3.25.6-x86_64-linux/lib/google/protobuf/descriptor_pb.rb:13 [FINISH]
c:0044 p:---- s:0212 e:000211 CFUNC  :require
[...]
@garloff garloff added documentation Improvements or additions to documentation housekeeping Internal housekeeping labels Jan 28, 2025
@garloff garloff self-assigned this Jan 28, 2025
@garloff
Copy link
Member Author

garloff commented Jan 28, 2025

We have two options:
(a) Somehow find a way to get the website to build again at least for the months to come, maybe by using a different protobuf version ...
(b) Update ruby to a newer version and sort out version dependencies that might hold us back, creating a longer term solution

If (a) turns out to be significantly easier, it would be good enough from my perspective ...

@garloff
Copy link
Member Author

garloff commented Jan 28, 2025

It seems indeed that pinning google-protobuf to 3.25.5 (instead of 3.25.6) addresses the build issue.

garloff added a commit that referenced this issue Jan 28, 2025
3.25.6 has broken the build with a segfault(!).

This is the temporary solution for issue #1090.

Signed-off-by: Kurt Garloff <[email protected]>
fkr pushed a commit that referenced this issue Jan 28, 2025
3.25.6 has broken the build with a segfault(!).

This is the temporary solution for issue #1090.

Signed-off-by: Kurt Garloff <[email protected]>
garloff added a commit that referenced this issue Jan 28, 2025
3.25.6 has broken the build with a segfault(!).

This is the temporary solution for issue #1090.

Signed-off-by: Kurt Garloff <[email protected]>
garloff added a commit that referenced this issue Jan 28, 2025
* Bump jekyll from 4.3.4 to 4.4.0

Bumps [jekyll](https://github.com/jekyll/jekyll) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](jekyll/jekyll@v4.3.4...v4.4.0)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Pin google-protobuf to 3.25.5 for now.

3.25.6 has broken the build with a segfault(!).

This is the temporary solution for issue #1090.

Signed-off-by: Kurt Garloff <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Kurt Garloff <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kurt Garloff <[email protected]>
@garloff
Copy link
Member Author

garloff commented Jan 28, 2025

Partially addressed in #1092.
At least it fixes the build ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation housekeeping Internal housekeeping
Projects
Status: No status
Development

No branches or pull requests

2 participants