[#121791] [Ruby Bug#21298] `ObjectSpace.allocation_class_path` returns inconsistent results depending on `TracePoint` state — "mame (Yusuke Endoh) via ruby-core" <ruby-core@...>

Issue #21298 has been reported by mame (Yusuke Endoh).

6 messages 2025/05/01

[#121830] [Ruby Feature#21309] Can Thread::Mutex be Ractor shareable? — "osyoyu (Daisuke Aritomo) via ruby-core" <ruby-core@...>

Issue #21309 has been reported by osyoyu (Daisuke Aritomo).

11 messages 2025/05/05

[#121837] [Ruby Feature#21311] Namespace on read (revised) — "tagomoris (Satoshi Tagomori) via ruby-core" <ruby-core@...>

Issue #21311 has been reported by tagomoris (Satoshi Tagomori).

109 messages 2025/05/06

[#121941] [Ruby Bug#21315] Finalizers violate the `rb_ractor_confirm_belonging` assertion — "byroot (Jean Boussier) via ruby-core" <ruby-core@...>

Issue #21315 has been reported by byroot (Jean Boussier).

8 messages 2025/05/09

[#121950] [Ruby Bug#21316] Namespaces leak with permanent names — "fxn (Xavier Noria) via ruby-core" <ruby-core@...>

Issue #21316 has been reported by fxn (Xavier Noria).

10 messages 2025/05/09

[#121956] [Ruby Bug#21321] Namespaces do not support extending mixins — "fxn (Xavier Noria) via ruby-core" <ruby-core@...>

Issue #21321 has been reported by fxn (Xavier Noria).

8 messages 2025/05/09

[#121973] [Ruby Bug#21322] Namespaces and builtin classes as arguments and return values — "fxn (Xavier Noria) via ruby-core" <ruby-core@...>

Issue #21322 has been reported by fxn (Xavier Noria).

8 messages 2025/05/10

[#122054] [Ruby Bug#21333] heap-use-after-free caused by rehash during update — "cyruscyliu (Qiang Liu) via ruby-core" <ruby-core@...>

Issue #21333 has been reported by cyruscyliu (Qiang Liu).

9 messages 2025/05/13

[#122086] [Ruby Bug#21337] Using `not` on the RHS of a logical operator becomes valid syntax with Prism — "koic (Koichi ITO) via ruby-core" <ruby-core@...>

Issue #21337 has been reported by koic (Koichi ITO).

7 messages 2025/05/14

[#122101] [Ruby Bug#21340] Bump autoconf version to properly handle C23 bool/stdbool defines — "christo (Chris Alberti) via ruby-core" <ruby-core@...>

Issue #21340 has been reported by christo (Chris Alberti).

12 messages 2025/05/14

[#122114] [Ruby Bug#21341] `Namespace is not a module (TypeError)` without enabling the namespace — "yahonda (Yasuo Honda) via ruby-core" <ruby-core@...>

Issue #21341 has been reported by yahonda (Yasuo Honda).

7 messages 2025/05/15

[#122121] [Ruby Bug#21342] Segfault: invalid keeping_mutexes when using Mutex in Thread then Fiber after GC — "maciej.mensfeld (Maciej Mensfeld) via ruby-core" <ruby-core@...>

Issue #21342 has been reported by maciej.mensfeld (Maciej Mensfeld).

11 messages 2025/05/15

[#122154] [Ruby Feature#21346] Introduce `String#ensure_suffix` — "matheusrich (Matheus Richard) via ruby-core" <ruby-core@...>

Issue #21346 has been reported by matheusrich (Matheus Richard).

21 messages 2025/05/16

[#122164] [Ruby Feature#21347] Add `open_timeout` as an overall timeout option for `Socket.tcp` — "shioimm (Misaki Shioi) via ruby-core" <ruby-core@...>

SXNzdWUgIzIxMzQ3IGhhcyBiZWVuIHJlcG9ydGVkIGJ5IHNoaW9pbW0gKE1pc2FraSBTaGlvaSku

9 messages 2025/05/17

[#122184] [Ruby Misc#21350] Bundled gems lack online documentation — "osyoyu (Daisuke Aritomo) via ruby-core" <ruby-core@...>

Issue #21350 has been reported by osyoyu (Daisuke Aritomo).

8 messages 2025/05/18

[#122218] [Ruby Bug#21357] Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite — "Earlopain (Earlopain _) via ruby-core" <ruby-core@...>

Issue #21357 has been reported by Earlopain (Earlopain _).

7 messages 2025/05/21

[#122228] [Ruby Feature#21359] Introduce `Exception#cause=` for Post-Initialization Assignment — "ioquatix (Samuel Williams) via ruby-core" <ruby-core@...>

SXNzdWUgIzIxMzU5IGhhcyBiZWVuIHJlcG9ydGVkIGJ5IGlvcXVhdGl4IChTYW11ZWwgV2lsbGlh

9 messages 2025/05/22

[#122242] [Ruby Feature#21365] Add `Namespace#eval` — "tenderlovemaking (Aaron Patterson) via ruby-core" <ruby-core@...>

Issue #21365 has been reported by tenderlovemaking (Aaron Patterson).

12 messages 2025/05/22

[#122258] [Ruby Misc#21367] Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/ — "p8 (Petrik de Heus) via ruby-core" <ruby-core@...>

Issue #21367 has been reported by p8 (Petrik de Heus).

11 messages 2025/05/23

[#122277] [Ruby Bug#21371] Proposal to Remove SPARC Architecture Support from Ruby — "ioquatix (Samuel Williams) via ruby-core" <ruby-core@...>

SXNzdWUgIzIxMzcxIGhhcyBiZWVuIHJlcG9ydGVkIGJ5IGlvcXVhdGl4IChTYW11ZWwgV2lsbGlh

10 messages 2025/05/24

[#122343] [Ruby Misc#21385] Namespace: Suggesting a rename — "fxn (Xavier Noria) via ruby-core" <ruby-core@...>

SXNzdWUgIzIxMzg1IGhhcyBiZWVuIHJlcG9ydGVkIGJ5IGZ4biAoWGF2aWVyIE5vcmlhKS4NCg0K

32 messages 2025/05/30

[#122345] [Ruby Feature#21386] Introduce `Enumerable#join_map` — "matheusrich (Matheus Richard) via ruby-core" <ruby-core@...>

SXNzdWUgIzIxMzg2IGhhcyBiZWVuIHJlcG9ydGVkIGJ5IG1hdGhldXNyaWNoIChNYXRoZXVzIFJp

12 messages 2025/05/30

[ruby-core:122017] [Ruby Bug#21328] Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

From: "fagrela (Felipe Agrela) via ruby-core" <ruby-core@...>
Date: 2025-05-11 15:27:19 UTC
List: ruby-core #122017
Issue #21328 has been reported by fagrela (Felipe Agrela).

----------------------------------------
Bug #21328: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
https://bugs.ruby-lang.org/issues/21328

* Author: fagrela (Felipe Agrela)
* Status: Open
* ruby -v: 3.3.8
* Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
We are facing an issue that starts in 05/03/2025

We have an Azure Devops Pipeline that build and test a project, but in the test step we have the following error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

C:/hostedtoolcache/windows/Ruby/3.3.8/x64/lib/ruby/gems/3.3.0/gems/ffi-1.16.3/ext/ffi_c


'/c/hostedtoolcache/windows/Ruby/3.3.8/x64/lib/ruby/gems/3.3.0/gems/ffi-1.16.3/ext/ffi_c/libffi-x64-mingw-ucrt'
2025-05-08T20:17:16.1292182Z            compiling AbstractMemory.c
2025-05-08T20:17:16.1293918Z            AbstractMemory.c: In function 'rbffi_AbstractMemory_Init':
2025-05-08T20:17:16.1379827Z AbstractMemory.c(816,49): error G9F317667: passing argument 3 of 'rb_define_method' from [C:\Users\VssAdministrator\.nuget\packages\gcm.msbuild.sdk\8.0.10-platform-debuggi0004\build\Chef\ChefDependencies.proj] [D:\a\1\s\Tests\ChefUnitTests\ChefUnitTests.csproj]
2025-05-08T20:17:16.1382541Z            incompatible pointer type [-Wincompatible-pointer-types]
2025-05-08T20:17:16.1384491Z              816 |     rb_define_method(classMemory, "put_" #type, memory_put_##type, 2); \
2025-05-08T20:17:16.1386316Z                  |                                                 ^~~~~~~~~~~
2025-05-08T20:17:16.1388056Z                  |                                                 |
2025-05-08T20:17:16.1389784Z            |                                                 VALUE (*)(VALUE,  VALUE,
2025-05-08T20:17:16.1391627Z            VALUE) {aka long long unsigned int (*)(long long unsigned int,  long long
2025-05-08T20:17:16.1393395Z            unsigned int,  long long unsigned int)}
2025-05-08T20:17:16.1395349Z            AbstractMemory.c:833:5: note: in expansion of macro 'INT'
2025-05-08T20:17:16.1397142Z              833 |     INT(int8);
2025-05-08T20:17:16.1398853Z                  |     ^~~
2025-05-08T20:17:16.1400582Z            In file included from
2025-05-08T20:17:16.1402347Z            C:/hostedtoolcache/windows/Ruby/3.3.8/x64/include/ruby-3.3.0/ruby/internal/anyargs.h:78,
2025-05-08T20:17:16.1404181Z            from
2025-05-08T20:17:16.1406077Z            C:/hostedtoolcache/windows/Ruby/3.3.8/x64/include/ruby-3.3.0/ruby/ruby.h:27,
2025-05-08T20:17:16.1407838Z            from
2025-05-08T20:17:16.1409590Z            C:/hostedtoolcache/windows/Ruby/3.3.8/x64/include/ruby-3.3.0/ruby.h:38,
2025-05-08T20:17:16.1411368Z                             from AbstractMemory.c:40:
2025-05-08T20:17:16.1413229Z            C:/hostedtoolcache/windows/Ruby/3.3.8/x64/include/ruby-3.3.0/ruby/internal/method.h:99:61:
2025-05-08T20:17:16.1415037Z            note: expected 'VALUE (*)(void)' {aka 'long long unsigned int (*)(void)'} but
2025-05-08T20:17:16.1417112Z            argument is of type 'VALUE (*)(VALUE,  VALUE,  VALUE)' {aka 'long long unsigned
2025-05-08T20:17:16.1419032Z            int (*)(long long unsigned int,  long long unsigned int,  long long unsigned
2025-05-08T20:17:16.1420785Z            int)'}
2025-05-08T20:17:16.1422532Z            99 | void rb_define_method(VALUE klass, const char *mid, VALUE
2025-05-08T20:17:16.1424350Z            (*func)(ANYARGS), int arity);
2025-05-08T20:17:16.1427260Z            |                                                    
2025-05-08T20:17:16.1429021Z            ~~~~~~~~^~~~~~~~~~~~~~
2025-05-08T20:17:16.1430845Z            AbstractMemory.c:96:1: note: 'memory_put_int8' declared here
2025-05-08T20:17:16.1432652Z               96 | memory_put_##name(VALUE self, VALUE offset, VALUE value) \
2025-05-08T20:17:16.1434412Z                  | ^~~~~~~~~~~
2025-05-08T20:17:16.1436168Z            AbstractMemory.c:259:1: note: in expansion of macro 'NUM_OP'
2025-05-08T20:17:16.1438040Z              259 | NUM_OP(int8, int8_t, NUM2INT, INT2NUM, NOSWAP);
2025-05-08T20:17:16.1439757Z                  | ^~~~~~
2025-05-08T20:17:16.1446346Z AbstractMemory.c(817,49): error G9F317667: passing argument 3 of 'rb_define_method' from [C:\Users\VssAdministrator\.nuget\packages\gcm.msbuild.sdk\8.0.10-platform-debuggi0004\build\Chef\ChefDependencies.proj] [D:\a\1\s\Tests\ChefUnitTests\ChefUnitTests.csproj]
2025-05-08T20:17:16.1448813Z            incompatible pointer type [-Wincompatible-pointer-types]
2025-05-08T20:17:16.1450695Z              817 |     rb_define_method(classMemory, "get_" #type, memory_get_##type, 1); \
2025-05-08T20:17:16.1452471Z                  |                                                 ^~~~~~~~~~~
2025-05-08T20:17:16.1454208Z                  |                                                 |
2025-05-08T20:17:16.1455919Z            |                                                 VALUE (*)(VALUE,  VALUE)
2025-05-08T20:17:16.1457703Z            {aka long long unsigned int (*)(long long unsigned int,  long long unsigned
2025-05-08T20:17:16.1459434Z            int)}
2025-05-08T20:17:16.1461252Z            AbstractMemory.c:833:5: note: in expansion of macro 'INT'
2025-05-08T20:17:16.1463024Z              833 |     INT(int8);
2025-05-08T20:17:16.1464707Z                  |     ^~~


Any ideas or how can we fix that? 




-- 
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/


In This Thread

Prev Next