[
https://issues.apache.org/jira/browse/THRIFT-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113084#comment-13113084
]
Takashi Yonebayashi commented on THRIFT-1355:
---------------------------------------------
1)
Thrift::ProtocolException in 'Thrift::CompactProtocol should deserialize an
empty map to an empty hash'
Required field i32_map is unset!
./spec/../test/debug_proto/gen-rb/debug_proto_test_types.rb:385:in `validate'
./spec/../lib/thrift/serializer/deserializer.rb:29:in `read'
./spec/../lib/thrift/serializer/deserializer.rb:29:in `deserialize'
./spec/compact_protocol_spec.rb:125:
Finished in 3.057992 seconds
This isn't likely to help you since I only get this error because I have thrift
installed elsewhere that fails this test. This means that the ext that was
installed from that directory is still there after I run make. This makes
sense since when I check the ext directory after running rake build_ext (or
make, etc) there are no object files. Running make in the ext directory before
running make in lib/rb fixes the tests.
If you want to reproduce this, run make clean from lib/rb/ext then run make
from lib/rb. If you check lib/rb/ext, the extensions will not have been
compiled.
> Running make in lib/rb doesn't build the native extensions
> ----------------------------------------------------------
>
> Key: THRIFT-1355
> URL: https://issues.apache.org/jira/browse/THRIFT-1355
> Project: Thrift
> Issue Type: Bug
> Components: Ruby - Library
> Reporter: Takashi Yonebayashi
> Assignee: Jake Farrell
> Priority: Minor
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira