Skip to content

Instantly share code, notes, and snippets.

View bundler_cve_f35_ruby_2.6_runtest_non_dep_api_warn.log
[mockbuild@0c20d978b71742d9a2748f28467f17a3 cve-2020-36327]$ SERVER=gem-server BUNDLE_WARN_ON_DEPENDENCY_CONFUSION=1 ./runtest.sh
* Arguments
* SERVER: gem-server
* TEST_SILENT: true
* TEST_GEM_VERBOSE:
* TEST_BUNDLE_DEBUG:
* TEST_BUNDLE_VERBOSE:
* TEST_BUNDLE_INSTALL_INDEX:
* Building gem with gemspec file /mnt/cve-2020-36327/test/fixtures/gems/foo/foo.gemspec ...
* Building gem with gemspec file /mnt/cve-2020-36327/test/fixtures/gems/c-0.0.2/c.gemspec ...
View bundler_cve_f35_ruby_2.6_runtest_non_dep_api_raise_error.log
[mockbuild@0c20d978b71742d9a2748f28467f17a3 cve-2020-36327]$ SERVER=gem-server ./runtest.sh
* Arguments
* SERVER: gem-server
* TEST_SILENT: true
* TEST_GEM_VERBOSE:
* TEST_BUNDLE_DEBUG:
* TEST_BUNDLE_VERBOSE:
* TEST_BUNDLE_INSTALL_INDEX:
* Building gem with gemspec file /mnt/cve-2020-36327/test/fixtures/gems/foo/foo.gemspec ...
* Building gem with gemspec file /mnt/cve-2020-36327/test/fixtures/gems/c-0.0.2/c.gemspec ...
View bundler_cve_f35_ruby_2.6_runtest_warn.log
[mockbuild@0c20d978b71742d9a2748f28467f17a3 cve-2020-36327]$ BUNDLE_WARN_ON_DEPENDENCY_CONFUSION=1 ./runtest.sh
* Arguments
* SERVER: geminabox
* TEST_SILENT: true
* TEST_GEM_VERBOSE:
* TEST_BUNDLE_DEBUG:
* TEST_BUNDLE_VERBOSE:
* TEST_BUNDLE_INSTALL_INDEX:
* Building gem with gemspec file /mnt/cve-2020-36327/test/fixtures/gems/foo/foo.gemspec ...
* Building gem with gemspec file /mnt/cve-2020-36327/test/fixtures/gems/c-0.0.2/c.gemspec ...
View bundler_cve_f35_ruby_2.6_runtest_raise_error.log
[mockbuild@0c20d978b71742d9a2748f28467f17a3 cve-2020-36327]$ ./runtest.sh
* Arguments
* SERVER: geminabox
* TEST_SILENT: true
* TEST_GEM_VERBOSE:
* TEST_BUNDLE_DEBUG:
* TEST_BUNDLE_VERBOSE:
* TEST_BUNDLE_INSTALL_INDEX:
* Building gem with gemspec file /mnt/cve-2020-36327/test/fixtures/gems/foo/foo.gemspec ...
* Building gem with gemspec file /mnt/cve-2020-36327/test/fixtures/gems/c-0.0.2/c.gemspec ...
View bundler_cve_f35_ruby_2.6_runtest_raise_error_result.log
$ ./runtest.sh >& runtest.log
$ cat runtest.log
* Arguments
* SERVER: geminabox
* TEST_SILENT: true
* TEST_GEM_VERBOSE:
* TEST_BUNDLE_DEBUG:
* TEST_BUNDLE_VERBOSE:
* TEST_BUNDLE_INSTALL_INDEX:
* Building gem with gemspec file /mnt/cve-2020-36327/test/fixtures/gems/foo/foo.gemspec ...
@junaruga
junaruga / ruby_2.6_make_test-bundler.log
Last active Nov 29, 2021
Fedora 35 Ruby 2.6 make test-bundler log
View ruby_2.6_make_test-bundler.log
$ make test-bundler >& ruby_2.6_make_test-bundler.log
$ cat ruby_2.6_make_test-bundler.log
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems -C "." bin/gem install --no-document \
--install-dir .bundle --conservative "rspec:~> 3.5"
Run options: exclude {:ruby_repo=>true, :bundler=>"=< 1.17", :rubygems_master=>true, :git=>"=< 2.33.1", :rubygems=>"=< 3.0.3.1", :ruby=>"=< 2.6.8", :realworld=>true, :sudo=>true}
.........................................F..........................................................................................................................................................................................................................................FFFFFFFhint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
@junaruga
junaruga / .bashrc
Created Nov 18, 2021
Fedora 35 original bashrc
View .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
View gemirro_error2.log
$ git diff
diff --git a/config.rb b/config.rb
index eef824a..d7f8fe0 100644
--- a/config.rb
+++ b/config.rb
@@ -40,7 +40,7 @@ Gemirro.configuration.configure do
gem 'gem2rpm', '>= 1.0.1'
end
- # define_source 'private-repo', 'http://127.0.0.1:8801' do
View gemirro_error1.log
$ ./test.sh
++ command -v ruby
/usr/local/ruby-2.7.4/bin/ruby
++ ruby -v
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
++ command -v gemirro
/home/jaruga/.gem/ruby/2.7.0/bin/gemirro
++ gemirro --version
gemirro v1.3.0 on ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
+++ pwd
View build-log-ruby-2.6.6-bundler-1.17.2-with-dep-confusion-patch.txt
[20426/20433] YAMLStoreTest#test_yaml_store_files_are_accessed_as_binary_files = 0.21 s
1) Failure:
TestGem#test_looks_for_gemdeps_files_automatically_on_start [/builddir/build/BUILD/ruby-2.6.6/test/rubygems/test_gem.rb:1610]:
Expected: ["b-1", "c-1"]
Actual: []
2) Failure:
TestGem#test_looks_for_gemdeps_files_automatically_on_start_in_parent_dir [/builddir/build/BUILD/ruby-2.6.6/test/rubygems/test_gem.rb:1650]:
Expected: ["b-1", "c-1"]
Actual: []
3) Error: