-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
warning: undefining the allocator of T_DATA class OraNumber appears running ruby-oci8 against Ruby 3.2.0dev.
It is likely due to https://bugs.ruby-lang.org/issues/18007
Steps to reproduce
$ ruby -v
ruby 3.2.0dev (2022-02-17T16:54:28Z master 7757ccb504) [x86_64-linux]
$ ruby setup.rb config
$ ruby setup.rb setup
$ make checkActual result:
/home/yahonda/src/github.com/kubo/ruby-oci8/ext/oci8/oci8lib_320.so: warning: undefining the allocator of T_DATA class OraNumber` warning appears
$ make check
ruby -w setup.rb setup
---> lib
---> lib/oci8
<--- lib/oci8
---> lib/dbd
<--- lib/dbd
<--- lib
---> ext
---> ext/oci8
make
make[1]: Entering directory '/home/yahonda/src/github.com/kubo/ruby-oci8/ext/oci8'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/yahonda/src/github.com/kubo/ruby-oci8/ext/oci8'
<--- ext/oci8
<--- ext
ruby -w setup.rb test
mkdir -p ./test
/home/yahonda/.rbenv/versions/3.2.0-dev/bin/ruby -w -I/home/yahonda/src/github.com/kubo/ruby-oci8/ext/oci8 -I/home/yahonda/src/github.com/kubo/ruby-oci8/lib -I/home/yahonda/src/github.com/kubo/ruby-oci8/support -I/home/yahonda/src/github.com/kubo/ruby-oci8/test /home/yahonda/src/github.com/kubo/ruby-oci8/test/test_all.rb
/home/yahonda/src/github.com/kubo/ruby-oci8/ext/oci8/oci8lib_320.so: warning: undefining the allocator of T_DATA class OraNumber
/home/yahonda/src/github.com/kubo/ruby-oci8/test/test_object.rb:5: warning: method redefined; discarding old inspect
Run options: --seed 49916
# Running:
..................................................................unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKB)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKT)
unsupported return type (MDSYS.SDO_GEOMETRY.ST_COORDDIM)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML311)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML311)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML311)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML311)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML321)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML321)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML321)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GML321)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_KML)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_GEOJSON)
..................../home/yahonda/src/github.com/kubo/ruby-oci8/lib/oci8/oci8.rb:360: warning: Use OCI8.charset_id2name instead of OCI8#charset_id2name.
Skip test_bind_string_as_nchar. It needs Oracle server whose database chracter set is incompatible with unicode.
.............................................................................................................../home/yahonda/src/github.com/kubo/ruby-oci8/lib/oci8/oci8.rb:360: warning: Use OCI8.charset_id2name instead of OCI8#charset_id2name.
.....................
Finished in 44.484593s, 4.9006 runs/s, 318.9419 assertions/s.
218 runs, 14188 assertions, 0 failures, 0 errors, 0 skips
$Metadata
Metadata
Assignees
Labels
No labels