You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[15092/20234]
TestRDocOptions#test_init_with_encoding/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/ext/psych/lib/psych.rb:233: warning: already initialized constant Psych::LIBYAML_VERSION
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/.ext/common/psych.rb:233: warning: previous definition of LIBYAML_VERSION was here
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/ext/psych/lib/psych.rb:235: warning: already initialized constant Psych::NOT_GIVEN
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/.ext/common/psych.rb:235: warning: previous definition of NOT_GIVEN was here
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/ext/psych/lib/psych.rb:271: warning: method redefined; discarding old load
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/.ext/common/psych.rb:271: warning: previous definition of load was here
...
This is caused by double requiring ext/psych/lib/psych.rb and its copy file .ext/common/psych.rb.
A similar issue used to happen in fiddle. ruby/fiddle#34
I'm monitoring the number of warnings during test, so this is a bit noisy. Tentatively, I committed the same fix as fiddle directly into ruby master to make my monitoring easy. You can just import the fix if you like. If not, please fix it in your way. (I'm not particular about how to fix.)
Thanks!
The text was updated successfully, but these errors were encountered:
@deivid-rodriguez @tenderlove
The change for #433, which has been merged into ruby/ruby, produces dozens of warnings during
make test-all
in ruby master.http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20200608T123004Z.log.html.gz
This is caused by double requiring
ext/psych/lib/psych.rb
and its copy file.ext/common/psych.rb
.A similar issue used to happen in fiddle. ruby/fiddle#34
I'm monitoring the number of warnings during test, so this is a bit noisy. Tentatively, I committed the same fix as fiddle directly into ruby master to make my monitoring easy. You can just import the fix if you like. If not, please fix it in your way. (I'm not particular about how to fix.)
Thanks!
The text was updated successfully, but these errors were encountered: