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

warning: undefining the allocator of T_DATA class OraNumber #243

Closed
yahonda opened this issue Feb 24, 2022 · 1 comment
Closed

warning: undefining the allocator of T_DATA class OraNumber #243

yahonda opened this issue Feb 24, 2022 · 1 comment

Comments

@yahonda
Copy link
Contributor

yahonda commented Feb 24, 2022

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 check

Actual 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
$
@kubo kubo closed this as completed in e2ebc64 Mar 13, 2022
@kubo
Copy link
Owner

kubo commented Mar 13, 2022

Thanks! I fixed it.

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

No branches or pull requests

2 participants