ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:122036] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update
@ 2025-05-13  3:19 hsbt (Hiroshi SHIBATA) via ruby-core
  2025-05-13 11:14 ` [ruby-core:122044] " deivid via ruby-core
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2025-05-13  3:19 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #21329 has been reported by hsbt (Hiroshi SHIBATA).

----------------------------------------
Bug #21329: `date_core.so` is broken with the recent MSYS2 update
https://bugs.ruby-lang.org/issues/21329

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
>From https://github.com/ruby/psych/issues/730 and https://github.com/nobu/rdoc/actions/runs/14969443434/job/42046842539#step:5:35

```
Error: test_accept_blank_line(RDocMarkupToAnsiTest): LoadError: 127: The specified procedure could not be found.   - D:/a/rdoc/rdoc/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so
C:/hostedtoolcache/windows/Ruby/3.3.8/x64/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
```

@MSP-Greg investigate that at https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2874726461. 





-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:122044] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update
  2025-05-13  3:19 [ruby-core:122036] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update hsbt (Hiroshi SHIBATA) via ruby-core
@ 2025-05-13 11:14 ` deivid via ruby-core
  2025-05-14  2:09 ` [ruby-core:122085] " hsbt (Hiroshi SHIBATA) via ruby-core
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: deivid via ruby-core @ 2025-05-13 11:14 UTC (permalink / raw)
  To: ruby-core; +Cc: deivid

Issue #21329 has been updated by deivid (David Rodríguez).


Some debugging happening at https://github.com/ruby/date/pull/125 already! Should this be moved to the date repo, by the way?

----------------------------------------
Bug #21329: `date_core.so` is broken with the recent MSYS2 update
https://bugs.ruby-lang.org/issues/21329#change-113193

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
>From https://github.com/ruby/psych/issues/730 and https://github.com/nobu/rdoc/actions/runs/14969443434/job/42046842539#step:5:35

```
Error: test_accept_blank_line(RDocMarkupToAnsiTest): LoadError: 127: The specified procedure could not be found.   - D:/a/rdoc/rdoc/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so
C:/hostedtoolcache/windows/Ruby/3.3.8/x64/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
```

@MSP-Greg investigate that at https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2874726461. 





-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:122085] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update
  2025-05-13  3:19 [ruby-core:122036] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update hsbt (Hiroshi SHIBATA) via ruby-core
  2025-05-13 11:14 ` [ruby-core:122044] " deivid via ruby-core
@ 2025-05-14  2:09 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2025-05-14 18:50 ` [ruby-core:122108] " ntkme (Natsuki Natsume) via ruby-core
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2025-05-14  2:09 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #21329 has been updated by hsbt (Hiroshi SHIBATA).


We need to backport fix if the problem is our side. This ticket is reminder for that.

----------------------------------------
Bug #21329: `date_core.so` is broken with the recent MSYS2 update
https://bugs.ruby-lang.org/issues/21329#change-113240

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
>From https://github.com/ruby/psych/issues/730 and https://github.com/nobu/rdoc/actions/runs/14969443434/job/42046842539#step:5:35

```
Error: test_accept_blank_line(RDocMarkupToAnsiTest): LoadError: 127: The specified procedure could not be found.   - D:/a/rdoc/rdoc/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so
C:/hostedtoolcache/windows/Ruby/3.3.8/x64/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
```

@MSP-Greg investigate that at https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2874726461. 





-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:122108] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update
  2025-05-13  3:19 [ruby-core:122036] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update hsbt (Hiroshi SHIBATA) via ruby-core
  2025-05-13 11:14 ` [ruby-core:122044] " deivid via ruby-core
  2025-05-14  2:09 ` [ruby-core:122085] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2025-05-14 18:50 ` ntkme (Natsuki Natsume) via ruby-core
  2025-05-18  3:39 ` [ruby-core:122179] " valture (Takayuki Kamiyama) via ruby-core
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ntkme (Natsuki Natsume) via ruby-core @ 2025-05-14 18:50 UTC (permalink / raw)
  To: ruby-core; +Cc: ntkme (Natsuki Natsume)

Issue #21329 has been updated by ntkme (Natsuki Natsume).


https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2877229861

The root cause is that the extension is compiled against a newer version of `libwinpthread-1.dll` and headers from msys2, but at the runtime ruby always load `$rubyPrefix\bin\ruby_builtin_dlls\libwinpthread-1.dll` which is an older version.

I don't think there is much we can do here.

As for ruby/setup-ruby, our plan is to downgrade `libwinpthread-1.dll` for all old rubies that bundle the old version of it, so that the compile time version and runtime version would be compatible.

----------------------------------------
Bug #21329: `date_core.so` is broken with the recent MSYS2 update
https://bugs.ruby-lang.org/issues/21329#change-113261

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
>From https://github.com/ruby/psych/issues/730 and https://github.com/nobu/rdoc/actions/runs/14969443434/job/42046842539#step:5:35

```
Error: test_accept_blank_line(RDocMarkupToAnsiTest): LoadError: 127: The specified procedure could not be found.   - D:/a/rdoc/rdoc/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so
C:/hostedtoolcache/windows/Ruby/3.3.8/x64/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
```

@MSP-Greg investigate that at https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2874726461. 





-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:122179] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update
  2025-05-13  3:19 [ruby-core:122036] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update hsbt (Hiroshi SHIBATA) via ruby-core
                   ` (2 preceding siblings ...)
  2025-05-14 18:50 ` [ruby-core:122108] " ntkme (Natsuki Natsume) via ruby-core
@ 2025-05-18  3:39 ` valture (Takayuki Kamiyama) via ruby-core
  2025-05-23 21:03 ` [ruby-core:122263] " ntkme (Natsuki Natsume) via ruby-core
  2025-06-03  7:21 ` [ruby-core:122391] " hsbt (Hiroshi SHIBATA) via ruby-core
  5 siblings, 0 replies; 7+ messages in thread
From: valture (Takayuki Kamiyama) via ruby-core @ 2025-05-18  3:39 UTC (permalink / raw)
  To: ruby-core; +Cc: valture (Takayuki Kamiyama)

Issue #21329 has been updated by valture (Takayuki Kamiyama).


Hello, nice to meet you.

I'm a Windows user.

As for this problem,

in the following folder of msys2 installed by scoop

C:\Users\username\scoop\apps\msys2\current\ucrt64\bin

> libwinpthread-1.dll

> C:\Users\username\scoop\apps\ruby\current\bin\ruby_builtin_dlls

Overwrite the same file above,

> gem uninstall date

> gem install date

This can be solved. There is no need to modify anything else.

I'll leave a comment here.

This helped me avoid the build error in my Windows 11 24H2 environment.

I'll share the information.

[参考: date, issue126](https://github.com/ruby/date/issues/126)

----------------------------------------
Bug #21329: `date_core.so` is broken with the recent MSYS2 update
https://bugs.ruby-lang.org/issues/21329#change-113326

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
From https://github.com/ruby/psych/issues/730 and https://github.com/nobu/rdoc/actions/runs/14969443434/job/42046842539#step:5:35

```
Error: test_accept_blank_line(RDocMarkupToAnsiTest): LoadError: 127: The specified procedure could not be found.   - D:/a/rdoc/rdoc/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so
C:/hostedtoolcache/windows/Ruby/3.3.8/x64/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
```

@MSP-Greg investigate that at https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2874726461. 





-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:122263] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update
  2025-05-13  3:19 [ruby-core:122036] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update hsbt (Hiroshi SHIBATA) via ruby-core
                   ` (3 preceding siblings ...)
  2025-05-18  3:39 ` [ruby-core:122179] " valture (Takayuki Kamiyama) via ruby-core
@ 2025-05-23 21:03 ` ntkme (Natsuki Natsume) via ruby-core
  2025-06-03  7:21 ` [ruby-core:122391] " hsbt (Hiroshi SHIBATA) via ruby-core
  5 siblings, 0 replies; 7+ messages in thread
From: ntkme (Natsuki Natsume) via ruby-core @ 2025-05-23 21:03 UTC (permalink / raw)
  To: ruby-core; +Cc: ntkme (Natsuki Natsume)

Issue #21329 has been updated by ntkme (Natsuki Natsume).


For rubyinstaller2 the issue is fixed with 3.4.4 release, and the fix will be backported to 3.3.9 and 3.2.9 whenever they get released.

----------------------------------------
Bug #21329: `date_core.so` is broken with the recent MSYS2 update
https://bugs.ruby-lang.org/issues/21329#change-113406

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
>From https://github.com/ruby/psych/issues/730 and https://github.com/nobu/rdoc/actions/runs/14969443434/job/42046842539#step:5:35

```
Error: test_accept_blank_line(RDocMarkupToAnsiTest): LoadError: 127: The specified procedure could not be found.   - D:/a/rdoc/rdoc/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so
C:/hostedtoolcache/windows/Ruby/3.3.8/x64/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
```

@MSP-Greg investigate that at https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2874726461. 





-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:122391] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update
  2025-05-13  3:19 [ruby-core:122036] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update hsbt (Hiroshi SHIBATA) via ruby-core
                   ` (4 preceding siblings ...)
  2025-05-23 21:03 ` [ruby-core:122263] " ntkme (Natsuki Natsume) via ruby-core
@ 2025-06-03  7:21 ` hsbt (Hiroshi SHIBATA) via ruby-core
  5 siblings, 0 replies; 7+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2025-06-03  7:21 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #21329 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Closed

There is no action by ruby core side.

----------------------------------------
Bug #21329: `date_core.so` is broken with the recent MSYS2 update
https://bugs.ruby-lang.org/issues/21329#change-113557

* Author: hsbt (Hiroshi SHIBATA)
* Status: Closed
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
>From https://github.com/ruby/psych/issues/730 and https://github.com/nobu/rdoc/actions/runs/14969443434/job/42046842539#step:5:35

```
Error: test_accept_blank_line(RDocMarkupToAnsiTest): LoadError: 127: The specified procedure could not be found.   - D:/a/rdoc/rdoc/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so
C:/hostedtoolcache/windows/Ruby/3.3.8/x64/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
```

@MSP-Greg investigate that at https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2874726461. 





-- 
https://bugs.ruby-lang.org/
______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-06-03  7:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-13  3:19 [ruby-core:122036] [Ruby Bug#21329] `date_core.so` is broken with the recent MSYS2 update hsbt (Hiroshi SHIBATA) via ruby-core
2025-05-13 11:14 ` [ruby-core:122044] " deivid via ruby-core
2025-05-14  2:09 ` [ruby-core:122085] " hsbt (Hiroshi SHIBATA) via ruby-core
2025-05-14 18:50 ` [ruby-core:122108] " ntkme (Natsuki Natsume) via ruby-core
2025-05-18  3:39 ` [ruby-core:122179] " valture (Takayuki Kamiyama) via ruby-core
2025-05-23 21:03 ` [ruby-core:122263] " ntkme (Natsuki Natsume) via ruby-core
2025-06-03  7:21 ` [ruby-core:122391] " hsbt (Hiroshi SHIBATA) via ruby-core

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).