You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by GitBox <gi...@apache.org> on 2021/09/13 13:09:45 UTC

[GitHub] [avro] RyanSkraba commented on pull request #1330: AVRO-3203: Fix the Ruby distribution build to work

RyanSkraba commented on pull request #1330:
URL: https://github.com/apache/avro/pull/1330#issuecomment-918173657


   Thanks so much for the fix!  
   
   When I rebase this on master, I get errors with both `./build.sh test` and `./build.sh dist` -- has something changed with the ubuntu 20.04 base image?
   
   ## ./build.sh test:
   
   ```
   + cd lang/ruby
   + rake generate_interop
   rake aborted!
   LoadError: cannot load such file -- echoe
   /home/rskraba/avro/lang/ruby/Rakefile:19:in `<top (required)>'
   /usr/share/rubygems-integration/all/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
   (See full trace by running task with --trace)
   ```
   
   ## ./build.sh dist:
   
   ```
   ~/avro/lang/ruby$ ./build.sh dist
   Successfully installed bundler-1.17.3
   1 gem installed
   Not using rbenv
   Using rake 13.0.6
   Using allison 2.0.3
   Using ast 2.4.2
   Using bundler 2.1.2
   Using rdoc 6.3.2
   Using json_pure 2.5.1
   Using rubyforge 2.0.4
   Using echoe 4.6.6
   Using memory_profiler 1.0.0
   Using multi_json 1.15.0
   Using parallel 1.21.0
   Using parser 3.0.2.0
   Using power_assert 2.0.1
   Using rainbow 3.0.0
   Using regexp_parser 2.1.1
   Using rexml 3.2.5
   Using rubocop-ast 1.11.0
   Using ruby-progressbar 1.11.0
   Using unicode-display_width 2.0.0
   Using rubocop 1.20.0
   Using snappy 0.2.0
   Using test-unit 3.4.6
   Using webrick 1.7.0
   Using zstd-ruby 1.5.0.0
   Bundle complete! 11 Gemfile dependencies, 24 gems now installed.
   Use `bundle info [gemname]` to see where a bundled gem is installed.
   mkdir -p pkg
   Gemspec generated
   mkdir -p pkg/avro-1.11.0.pre1
   rm -f pkg/avro-1.11.0.pre1/CHANGELOG
   ln CHANGELOG pkg/avro-1.11.0.pre1/CHANGELOG
   rm -f pkg/avro-1.11.0.pre1/LICENSE
   ln LICENSE pkg/avro-1.11.0.pre1/LICENSE
   rm -f pkg/avro-1.11.0.pre1/Manifest
   ln Manifest pkg/avro-1.11.0.pre1/Manifest
   rm -f pkg/avro-1.11.0.pre1/NOTICE
   ln NOTICE pkg/avro-1.11.0.pre1/NOTICE
   rm -f pkg/avro-1.11.0.pre1/Rakefile
   ln Rakefile pkg/avro-1.11.0.pre1/Rakefile
   rm -f pkg/avro-1.11.0.pre1/avro.gemspec
   ln avro.gemspec pkg/avro-1.11.0.pre1/avro.gemspec
   mkdir -p pkg/avro-1.11.0.pre1/interop
   rm -f pkg/avro-1.11.0.pre1/interop/test_interop.rb
   ln interop/test_interop.rb pkg/avro-1.11.0.pre1/interop/test_interop.rb
   mkdir -p pkg/avro-1.11.0.pre1/lib
   rm -f pkg/avro-1.11.0.pre1/lib/avro.rb
   ln lib/avro.rb pkg/avro-1.11.0.pre1/lib/avro.rb
   mkdir -p pkg/avro-1.11.0.pre1/lib/avro
   rm -f pkg/avro-1.11.0.pre1/lib/avro/VERSION.txt
   ln lib/avro/VERSION.txt pkg/avro-1.11.0.pre1/lib/avro/VERSION.txt
   rm -f pkg/avro-1.11.0.pre1/lib/avro/data_file.rb
   ln lib/avro/data_file.rb pkg/avro-1.11.0.pre1/lib/avro/data_file.rb
   rm -f pkg/avro-1.11.0.pre1/lib/avro/io.rb
   ln lib/avro/io.rb pkg/avro-1.11.0.pre1/lib/avro/io.rb
   rm -f pkg/avro-1.11.0.pre1/lib/avro/ipc.rb
   ln lib/avro/ipc.rb pkg/avro-1.11.0.pre1/lib/avro/ipc.rb
   rm -f pkg/avro-1.11.0.pre1/lib/avro/logical_types.rb
   ln lib/avro/logical_types.rb pkg/avro-1.11.0.pre1/lib/avro/logical_types.rb
   rm -f pkg/avro-1.11.0.pre1/lib/avro/protocol.rb
   ln lib/avro/protocol.rb pkg/avro-1.11.0.pre1/lib/avro/protocol.rb
   rm -f pkg/avro-1.11.0.pre1/lib/avro/schema.rb
   ln lib/avro/schema.rb pkg/avro-1.11.0.pre1/lib/avro/schema.rb
   rm -f pkg/avro-1.11.0.pre1/lib/avro/schema_compatibility.rb
   ln lib/avro/schema_compatibility.rb pkg/avro-1.11.0.pre1/lib/avro/schema_compatibility.rb
   rm -f pkg/avro-1.11.0.pre1/lib/avro/schema_normalization.rb
   ln lib/avro/schema_normalization.rb pkg/avro-1.11.0.pre1/lib/avro/schema_normalization.rb
   rm -f pkg/avro-1.11.0.pre1/lib/avro/schema_validator.rb
   ln lib/avro/schema_validator.rb pkg/avro-1.11.0.pre1/lib/avro/schema_validator.rb
   mkdir -p pkg/avro-1.11.0.pre1/test
   rm -f pkg/avro-1.11.0.pre1/test/case_finder.rb
   ln test/case_finder.rb pkg/avro-1.11.0.pre1/test/case_finder.rb
   rm -f pkg/avro-1.11.0.pre1/test/random_data.rb
   ln test/random_data.rb pkg/avro-1.11.0.pre1/test/random_data.rb
   rm -f pkg/avro-1.11.0.pre1/test/sample_ipc_client.rb
   ln test/sample_ipc_client.rb pkg/avro-1.11.0.pre1/test/sample_ipc_client.rb
   rm -f pkg/avro-1.11.0.pre1/test/sample_ipc_http_client.rb
   ln test/sample_ipc_http_client.rb pkg/avro-1.11.0.pre1/test/sample_ipc_http_client.rb
   rm -f pkg/avro-1.11.0.pre1/test/sample_ipc_http_server.rb
   ln test/sample_ipc_http_server.rb pkg/avro-1.11.0.pre1/test/sample_ipc_http_server.rb
   rm -f pkg/avro-1.11.0.pre1/test/sample_ipc_server.rb
   ln test/sample_ipc_server.rb pkg/avro-1.11.0.pre1/test/sample_ipc_server.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_datafile.rb
   ln test/test_datafile.rb pkg/avro-1.11.0.pre1/test/test_datafile.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_fingerprints.rb
   ln test/test_fingerprints.rb pkg/avro-1.11.0.pre1/test/test_fingerprints.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_help.rb
   ln test/test_help.rb pkg/avro-1.11.0.pre1/test/test_help.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_io.rb
   ln test/test_io.rb pkg/avro-1.11.0.pre1/test/test_io.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_logical_types.rb
   ln test/test_logical_types.rb pkg/avro-1.11.0.pre1/test/test_logical_types.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_protocol.rb
   ln test/test_protocol.rb pkg/avro-1.11.0.pre1/test/test_protocol.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_schema.rb
   ln test/test_schema.rb pkg/avro-1.11.0.pre1/test/test_schema.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_schema_compatibility.rb
   ln test/test_schema_compatibility.rb pkg/avro-1.11.0.pre1/test/test_schema_compatibility.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_schema_normalization.rb
   ln test/test_schema_normalization.rb pkg/avro-1.11.0.pre1/test/test_schema_normalization.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_schema_validator.rb
   ln test/test_schema_validator.rb pkg/avro-1.11.0.pre1/test/test_schema_validator.rb
   rm -f pkg/avro-1.11.0.pre1/test/test_socket_transport.rb
   ln test/test_socket_transport.rb pkg/avro-1.11.0.pre1/test/test_socket_transport.rb
   rm -f pkg/avro-1.11.0.pre1/test/tool.rb
   ln test/tool.rb pkg/avro-1.11.0.pre1/test/tool.rb
   cd pkg/avro-1.11.0.pre1
   rake aborted!
   ArgumentError: wrong number of arguments (given 2, expected 0)
   /home/rskraba/avro/lang/ruby/.gem/gems/echoe-4.6.6/lib/echoe/rubygems.rb:10:in `validate'
   /home/rskraba/avro/lang/ruby/.gem/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
   Tasks: TOP => dist => gem => pkg/avro-1.11.0.pre1.gem
   (See full trace by running task with --trace)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org