Skip to content

Instantly share code, notes, and snippets.

[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 ...
[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 ...
$ ./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 November 29, 2021 17:27
Fedora 35 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 November 18, 2021 22:46
Fedora 35 original 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"
$ 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
$ ./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
[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:
@junaruga
junaruga / gist:4c4ea8373fe4665ff8d99f60c1db289b
Created July 25, 2021 16:55
simde i686 clang-12.0.1 without flags build error
== 2. tests on clang ==
+ clang --version
clang version 12.0.1 (Fedora 12.0.1-1.fc35)
Target: i686-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
+ clang++ --version
clang version 12.0.1 (Fedora 12.0.1-1.fc35)
Target: i686-pc-linux-gnu
Thread model: posix
<mock-chroot> sh-5.1$ make test-bundler
./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" "rake:~> 12.0"
Run options: exclude {:truffleruby=>true, :jruby=>true, :readline=>false, :permissions=>false, :no_color_tty=>false, :ruby_repo=>true, :bundler=>"!= 2", :git=>"!= 2.32.0", :realworld=>true, :sudo=>true}
...................................................F..F..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................