| "git clone --depth 1 https://github.com/ruby/ruby.git master" exit with 0. |
| Cloning into 'master'... |
| "./autogen.sh" exit with 0. |
| "autoconf" exit with 0. |
| "/home/opc/ruby/src/master/configure --prefix=/home/opc/ruby/install/master --disable-install-doc --disable-dtrace --disable-yjit" exit with 0. |
| configure: WARNING: does not work; ignore |
| "make update-download -j3" exit with 0. |
| make: rev-parse: Command not found |
| "make update-src -j3" exit with 0. |
| "make after-update -j3" exit with 0. |
| + cp /home/opc/ruby/src/master/enc/jis/props.h.blt /home/opc/ruby/src/master/enc/jis/props.h |
| "make miniruby -j3" exit with 0. |
| In file included from /home/opc/ruby/src/master/include/ruby/internal/assume.h:31, |
| from /home/opc/ruby/src/master/include/ruby/backward/2/assume.h:24, |
| from /home/opc/ruby/src/master/include/ruby/defines.h:72, |
| from /home/opc/ruby/src/master/include/ruby/ruby.h:25, |
| from /home/opc/ruby/src/master/include/ruby/io/buffer.h:16, |
| from /home/opc/ruby/src/master/io_buffer.c:9: |
| /home/opc/ruby/src/master/io_buffer.c: In function ‘ruby_swap128_uint’: |
| /home/opc/ruby/src/master/include/ruby/internal/has/builtin.h:49:33: warning: "RBIMPL_HAS_BUILTIN___builtin_bswap128" is not defined, evaluates to 0 [-Wundef] |
| # define RBIMPL_HAS_BUILTIN(_) (RBIMPL_HAS_BUILTIN_ ## _) |
| ^~~~~~~~~~~~~~~~~~~ |
| /home/opc/ruby/src/master/internal/compilers.h:39:29: note: in expansion of macro ‘RBIMPL_HAS_BUILTIN’ |
| # define __has_builtin(...) RBIMPL_HAS_BUILTIN(__VA_ARGS__) |
| ^~~~~~~~~~~~~~~~~~ |
| /home/opc/ruby/src/master/io_buffer.c:1921:5: note: in expansion of macro ‘__has_builtin’ |
| #if __has_builtin(__builtin_bswap128) |
| ^~~~~~~~~~~~~ |
| /home/opc/ruby/src/master/io_buffer.c: At top level: |
| cc1: warning: unrecognized command line option ‘-Wno-self-assign’ |
| cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ |
| cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ |
| "make ruby -j3" exit with 0. |
| "make all -j3" exit with 0. |
| libffi_version: 3.1.0 |
| "make install -j3" exit with 0. |
| "make yes-btest TESTOPTS='-q -j3'" exit with 0. |
| |
| "make yes-test-basic TESTS='-j3'" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j3'" exit with 0. |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr -j' TESTS='-j3'" exit with 512. |
| 1) |
| CVE-2019-8322 is resisted by sanitising owner names FAILED |
| Mock '#<Gem::Commands::OwnerCommand:0x0000fffee1effb60 @command="owner", @summary="Manage gem owners of a gem on the push server", @program_name="gem owner", @defaults={add: [], remove: []}, @options={}, @option_groups={"Local/Remote": [[["-p", "--[no-]http-proxy [URL]", Gem::URI::HTTP, "Use HTTP proxy for remote operations"], #<Proc:0x0000fffef10f1158 /home/opc/ruby/src/master/lib/rubygems/local_remote_options.rb:92>]], options: [[["-k", "--key KEYNAME", Symbol, "Use the given API key", "from /home/opc/.local/share/gem/credentials"], #<Proc:0x0000fffef10f0c30 /home/opc/ruby/src/master/lib/rubygems/gemcutter_utilities.rb:27>], [["--otp CODE", "Digit code for multifactor authentication", "You can also use the environment variable GEM_HOST_OTP_CODE"], #<Proc:0x0000fffef10f0a50 /home/opc/ruby/src/master/lib/rubygems/gemcutter_utilities.rb:38>], [["-a", "--add NEW_OWNER", "Add an owner by user identifier"], #<Proc:0x0000fffef10f0820 /home/opc/ruby/src/master/lib/rubygems/commands/owner_command.rb:44>], [["-r", "--remove OLD_OWNER", "Remove an owner by user identifier"], #<Proc:0x0000fffef10f0780 /home/opc/ruby/src/master/lib/rubygems/commands/owner_command.rb:48>], [["-h", "--host HOST", "Use another gemcutter-compatible host", " (e.g. https://rubygems.org)"], #<Proc:0x0000fffef10f06b8 /home/opc/ruby/src/master/lib/rubygems/commands/owner_command.rb:54>]]}, @deprecated_options={"owner" => {}}, @parser=nil, @when_invoked=nil>': method say |
| called with unexpected arguments ("- .]2;nyan. ()") |
| /home/opc/ruby/src/master/lib/rubygems/commands/owner_command.rb:83:in 'block (2 levels) in Gem::Commands::OwnerCommand#show_owners' |
| /home/opc/ruby/src/master/lib/rubygems/commands/owner_command.rb:81:in 'Array#each' |
| /home/opc/ruby/src/master/lib/rubygems/commands/owner_command.rb:81:in 'block in Gem::Commands::OwnerCommand#show_owners' |
| /home/opc/ruby/src/master/spec/ruby/security/cve_2019_8322_spec.rb:15:in 'with_response' |
| /home/opc/ruby/src/master/lib/rubygems/commands/owner_command.rb:77:in 'Gem::Commands::OwnerCommand#show_owners' |
| /home/opc/ruby/src/master/spec/ruby/security/cve_2019_8322_spec.rb:19:in 'block (2 levels) in <top (required)>' |
| /home/opc/ruby/src/master/spec/ruby/security/cve_2019_8322_spec.rb:8:in '<top (required)>' |
| 2) |
| An exception occurred during: Mock.verify_count |
| CVE-2019-8322 is resisted by sanitising owner names FAILED |
| Mock '#<Gem::Commands::OwnerCommand:0x0000fffee1effb60 @command="owner", @summary="Manage gem owners of a gem on the push server", @program_name="gem owner", @defaults={add: [], remove: []}, @options={}, @option_groups={"Local/Remote": [[["-p", "--[no-]http-proxy [URL]", Gem::URI::HTTP, "Use HTTP proxy for remote operations"], #<Proc:0x0000fffef10f1158 /home/opc/ruby/src/master/lib/rubygems/local_remote_options.rb:92>]], options: [[["-k", "--key KEYNAME", Symbol, "Use the given API key", "from /home/opc/.local/share/gem/credentials"], #<Proc:0x0000fffef10f0c30 /home/opc/ruby/src/master/lib/rubygems/gemcutter_utilities.rb:27>], [["--otp CODE", "Digit code for multifactor authentication", "You can also use the environment variable GEM_HOST_OTP_CODE"], #<Proc:0x0000fffef10f0a50 /home/opc/ruby/src/master/lib/rubygems/gemcutter_utilities.rb:38>], [["-a", "--add NEW_OWNER", "Add an owner by user identifier"], #<Proc:0x0000fffef10f0820 /home/opc/ruby/src/master/lib/rubygems/commands/owner_command.rb:44>], [["-r", "--remove OLD_OWNER", "Remove an owner by user identifier"], #<Proc:0x0000fffef10f0780 /home/opc/ruby/src/master/lib/rubygems/commands/owner_command.rb:48>], [["-h", "--host HOST", "Use another gemcutter-compatible host", " (e.g. https://rubygems.org)"], #<Proc:0x0000fffef10f06b8 /home/opc/ruby/src/master/lib/rubygems/commands/owner_command.rb:54>]]}, @deprecated_options={"owner" => {}}, @parser=nil, @when_invoked=nil>' expected to receive say("- .]2;nyan.") exactly 1 times |
| but received it 0 times |
| /home/opc/ruby/src/master/spec/ruby/security/cve_2019_8322_spec.rb:8:in '<top (required)>' |
| make: *** [uncommon.mk:966: yes-test-spec] Error 1 |