The failure is the following: >>> Test phase: dev-ruby/fast_gettext-1.5.1 * Running test phase for ruby22 ... ....................................................................................................*.........................................................................................$ ......................Could not find gem 'sqlite3' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems. F.............. Pending: (Failures listed here are expected and do not affect your suite's status) 1) FastGettext::TranslationRepository::Merge can work in SAFE mode # No reason given Failure/Error: `ruby spec/cases/safe_mode_can_handle_locales.rb 2>&1`.should == 'true' expected: "true" got: "/usr/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:59:in `require': Insecure operatio...tion_repository.rb:11:in `build'\n\tfrom spec/cases/safe_mode_can_han$ le_locales.rb:4:in `<main>'\n" (using ==) Diff: @@ -1,2 +1,5 @@ -true +/usr/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:59:in `require': Insecure operation - gem_original_require (SecurityError) + from /usr/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:59:in `require' + from /var/tmp/portage/dev-ruby/fast_gettext-1.5.1/work/ruby22/fast_gettext-1.5.1/lib/fast_gettext/translation_repository.rb:11:in `build' + from spec/cases/safe_mode_can_handle_locales.rb:4:in `<main>' # ./spec/fast_gettext/translation_repository/merge_spec.rb:142:in `block (3 levels) in <top (required)>' # ./spec/spec_helper.rb:37:in `pending_if' # ./spec/fast_gettext/translation_repository/merge_spec.rb:141:in `block (2 levels) in <top (required)>' Failures: 1) Iconv also works when Iconv was not found locally Failure/Error: system("bundle exec /usr/bin/ruby22 spec/cases/iconv_fallback.rb").should == true expected: true got: false (using ==) # ./spec/fast_gettext/vendor/iconv_spec.rb:5:in `block (2 levels) in <top (required)>' Finished in 21.17 seconds (files took 4.56 seconds to load) 228 examples, 1 failure, 1 pending Failed examples: rspec ./spec/fast_gettext/vendor/iconv_spec.rb:4 # Iconv also works when Iconv was not found locally * ERROR: dev-ruby/fast_gettext-1.5.1::gentoo failed (test phase): * rspec failed
Created attachment 511732 [details] dev-ruby-fast_gettext-1.5.1-build.log
After dev-ruby/sqlite3 being installed test suite complains about activerecord: * Running test phase for ruby22 ... ....................................................................................................*.......................................................................................... ......................Could not find gem 'activerecord' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems. F.............. Pending: (Failures listed here are expected and do not affect your suite's status) 1) FastGettext::TranslationRepository::Merge can work in SAFE mode # No reason given Failure/Error: `ruby spec/cases/safe_mode_can_handle_locales.rb 2>&1`.should == 'true' expected: "true" got: "/usr/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:59:in `require': Insecure operatio...tion_repository.rb:11:in `build'\n\tfrom spec/cases/safe_mode_can_hand le_locales.rb:4:in `<main>'\n" (using ==) Diff: @@ -1,2 +1,5 @@ -true +/usr/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:59:in `require': Insecure operation - gem_original_require (SecurityError) + from /usr/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:59:in `require' + from /var/tmp/portage/dev-ruby/fast_gettext-1.5.1/work/ruby22/fast_gettext-1.5.1/lib/fast_gettext/translation_repository.rb:11:in `build' + from spec/cases/safe_mode_can_handle_locales.rb:4:in `<main>' # ./spec/fast_gettext/translation_repository/merge_spec.rb:142:in `block (3 levels) in <top (required)>' # ./spec/spec_helper.rb:37:in `pending_if' # ./spec/fast_gettext/translation_repository/merge_spec.rb:141:in `block (2 levels) in <top (required)>' Failures: 1) Iconv also works when Iconv was not found locally Failure/Error: system("bundle exec /usr/bin/ruby22 spec/cases/iconv_fallback.rb").should == true expected: true got: false (using ==) # ./spec/fast_gettext/vendor/iconv_spec.rb:5:in `block (2 levels) in <top (required)>' Finished in 22.15 seconds (files took 4.93 seconds to load) 228 examples, 1 failure, 1 pending
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3c3e2f426c896e41c7ef06aa906f8592a391b5 commit ff3c3e2f426c896e41c7ef06aa906f8592a391b5 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2017-12-28 06:44:02 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2017-12-28 06:44:02 +0000 dev-ruby/fast_gettext: fix tests, bug 642390 Also remove activerecord and associated rails dependencies from the gemspec, otherwise bundler will still require them even if they are no longer needed. Closes: https://bugs.gentoo.org/642390 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-ruby/fast_gettext/fast_gettext-1.5.1.ebuild | 2 +- dev-ruby/fast_gettext/fast_gettext-1.6.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)