Closed stanhu closed 3 years ago
Hmm, it's still failing: https://travis-ci.com/github/kwilczynski/ruby-magic/jobs/500000739
Hi @stanhu,
Hmm, it's still failing: https://travis-ci.com/github/kwilczynski/ruby-magic/jobs/500000739
We've seen this before, the encoding-related crash.
Let me see what I can do about this.
Krzysztof
Hi,
Oh bugger. I though, I could just enable debug to see what is going on, but no... you need to request it from Travis CI as per:
running-build-in-debug-mode/#enabling-debug-mode
Well, let me do it. Might take a while.
Krzysztof
I also see this failure in GitLab CI: https://gitlab.com/stanhu/ruby-magic/-/jobs/1197317644
Hi @stanhu,
I also see this failure in GitLab CI: https://gitlab.com/stanhu/ruby-magic/-/jobs/1197317644
I see. Let me check this locally, but at the first glance it looks like TruffleRuby outputs different format of when you use the rb_warn()
function.
Krzysztof
Hi @stanhu,
The commit https://github.com/kwilczynski/ruby-magic/commit/1093895642960628e87b1cfef80df3c3befbdaf0 should hopefully address this issue.
Also, paging @eregon, as this seem like another difference Ruby vs TruffleRuby that might be worth looking into.
Krzysztof
Hi @eregon, any comment on the output difference?
Should I open an issue regarding this?
Krzysztof
@kwilczynski Yes, an issue on the truffleruby repo would be best, it seems TruffleRuby is missing a warning:
prefix? Is it for rb_warn() or so?
ruby_types -> magic_ruby_types