Skip to content

Conversation

flavorjones
Copy link
Collaborator

@flavorjones flavorjones commented Jul 17, 2025

Native runtime rubies:

  • 3.4.1 → 3.4.5
  • 3.3.7 → 3.3.9
  • 3.2.6 → 3.2.9
  • 3.1.6 → 3.1.7

Rbenv (host) rubies:

  • 3.4.1 → 3.4.5
  • 3.1.6 → 3.1.7

cc @marcoroth

@larskanis larskanis force-pushed the flavorjones/bump-ruby-20250717 branch from df22ebb to edabc59 Compare July 21, 2025 10:33
@larskanis larskanis force-pushed the flavorjones/bump-ruby-20250717 branch from 611b738 to d863a1a Compare July 21, 2025 12:01
@marcoroth
Copy link
Contributor

Thanks @flavorjones! Is there a way for me to test it or should I just wait for the release?

@larskanis larskanis force-pushed the flavorjones/bump-ruby-20250717 branch from 541436f to b291fed Compare July 25, 2025 18:08
This fixes configure test for clock_gettime on ruby-3.2.9 and 3.3.9.
Without this the check fails with a linker error.
And without HAVE_CLOCK_GETTIME the compilation of process.c fails with undefined variable errors.

Taken from here:
  oneclick/rubyinstaller2-packages@a547657

ruby-3.2.8 and 3.3.8 don't need this additional flag.

It otherwise fails with:

16 127.7 /usr/local/rake-compiler/sources/ruby-3.2.9/process.c:8389:13: error: 'c' undeclared (first use in this function)
16 127.7  8389 |             c = CLOCK_REALTIME;
16 127.7       |             ^
16 127.7 /usr/local/rake-compiler/sources/ruby-3.2.9/process.c:8389:13: note: each undeclared identifier is reported only once for each function it appears in
16 127.7 /usr/local/rake-compiler/sources/ruby-3.2.9/process.c:8397:13: error: label 'gettime' used but not defined
16 127.7  8397 |             goto gettime;
16 127.7       |             ^~~~
16 127.7 /usr/local/rake-compiler/sources/ruby-3.2.9/process.c: In function 'rb_clock_getres':
16 127.7 /usr/local/rake-compiler/sources/ruby-3.2.9/process.c:8620:13: error: 'c' undeclared (first use in this function)
16 127.7  8620 |             c = CLOCK_REALTIME;
16 127.7       |             ^
16 127.7 /usr/local/rake-compiler/sources/ruby-3.2.9/process.c:8628:13: error: label 'getres' used but not defined
16 127.7  8628 |             goto getres;
16 127.7       |             ^~~~
16 127.7 make: *** [Makefile:468: process.o] Error 1
@larskanis larskanis force-pushed the flavorjones/bump-ruby-20250717 branch from b291fed to 6e1eefc Compare July 25, 2025 18:33
@larskanis
Copy link
Member

All green now - looks good to merge!

@larskanis larskanis merged commit 06e9ed6 into main Jul 26, 2025
151 checks passed
@larskanis larskanis deleted the flavorjones/bump-ruby-20250717 branch July 26, 2025 11:45
marcoroth added a commit to marcoroth/herb that referenced this pull request Aug 1, 2025
We need to stay on Ruby 3.4.1 until `rake-compiler-dock` supports Ruby 3.4.5 in the upcoming version `1.10.0` (see rake-compiler/rake-compiler-dock#160, rake-compiler/rake-compiler-dock#156, and rake-compiler/rake-compiler-dock#162)
marcoroth added a commit to marcoroth/herb that referenced this pull request Aug 1, 2025
We need to stay on Ruby 3.4.1 until `rake-compiler-dock` supports Ruby
3.4.5 in the upcoming version `1.10.0` of `rake-compiler-dock`.

See:
* rake-compiler/rake-compiler-dock#160
* rake-compiler/rake-compiler-dock#156
* rake-compiler/rake-compiler-dock#162)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants