* Package: dev-ruby/globalid-0.4.2 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: elibc_glibc kernel_linux ruby_targets_ruby25 sparc test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... * Running unpack phase for all ... >>> Unpacking globalid-0.4.2.tar.gz to /var/tmp/portage/dev-ruby/globalid-0.4.2/work/all >>> Source unpacked in /var/tmp/portage/dev-ruby/globalid-0.4.2/work >>> Preparing source in /var/tmp/portage/dev-ruby/globalid-0.4.2/work ... * Running prepare phase for all ... * Running prepare phase for all ... * Running source copy phase for ruby25 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/globalid-0.4.2/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/globalid-0.4.2/work ... * Running compile phase for all ... >>> Source compiled. >>> Test phase: dev-ruby/globalid-0.4.2 * Running test phase for ruby25 ... /usr/bin/ruby25 -w -I"lib:test" -I"/usr/lib/ruby/gems/2.5.0/gems/rake-13.0.1/lib" "/usr/lib/ruby/gems/2.5.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" "test/cases/global_id_test.rb" "test/cases/global_identification_test.rb" "test/cases/global_locator_test.rb" "test/cases/railtie_test.rb" "test/cases/signed_global_id_test.rb" "test/cases/uri_gid_test.rb" "test/cases/verifier_test.rb" Bundler could not find compatible versions for gem "thread_safe": In Gemfile: globalid was resolved to 0.4.2, which depends on activesupport (>= 4.2.0) was resolved to 6.0.2.2, which depends on tzinfo (~> 1.1) was resolved to 1.2.6, which depends on thread_safe (~> 0.1) Could not find gem 'thread_safe (~> 0.1)', which is required by gem 'tzinfo (~> 1.1)', in any of the sources. rake aborted! Command failed with status (6): [ruby -w -I"lib:test" -I"/usr/lib/ruby/gems/2.5.0/gems/rake-13.0.1/lib" "/usr/lib/ruby/gems/2.5.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" "test/cases/global_id_test.rb" "test/cases/global_identification_test.rb" "test/cases/global_locator_test.rb" "test/cases/railtie_test.rb" "test/cases/signed_global_id_test.rb" "test/cases/uri_gid_test.rb" "test/cases/verifier_test.rb" ] Tasks: TOP => test (See full trace by running task with --trace)
After manually merging dev-ruby/thread_safe, then there are new failures: Error: RailtieTest#test_GlobalID.app_for_Blog::Application_defaults_to_blog: LoadError: cannot load such file -- crass test/cases/railtie_test.rb:21:in `block in <class:RailtieTest>' rails test test/cases/railtie_test.rb:20 E
And the latter error does not go away even with this one merged: chroot ~ # equery l dev-ruby/crass * Searching for crass in dev-ruby ... [IP-] [ ] dev-ruby/crass-1.0.4:0
The thread_safe issue was resolved in bug 720290
*** Bug 720408 has been marked as a duplicate of this bug. ***
I can't reproduce this. crass should already be installed as a dependency (via railties -> actionpack -> rails-html-sanitizer -> loofah). If crass is installed and this error remains then it would be useful to know what this returns: ruby -r crass -e "puts Crass.inspect"
It just outputs "Crass".
(In reply to Rolf Eike Beer from comment #6) > It just outputs "Crass". That was my expectation. So we now know it installed correctly and can be required. This also means I don't understand why this failure happens.
(In reply to Rolf Eike Beer from comment #6) > It just outputs "Crass". Same here.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903f9ceadd8dc1d4a36e5d73e6547fb77560b31f commit 903f9ceadd8dc1d4a36e5d73e6547fb77560b31f Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2020-05-16 04:20:40 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2020-05-16 04:20:40 +0000 dev-ruby/loofah: add proper gemspec Closes: https://bugs.gentoo.org/719254 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-ruby/loofah/{loofah-2.5.0.ebuild => loofah-2.5.0-r1.ebuild} | 2 ++ 1 file changed, 2 insertions(+)
Nope, this did only change the error: [IP-] [ ] dev-ruby/loofah-2.5.0-r1:0 Error: RailtieTest#test_GlobalID.app_can_be_set_with_config.global_id.app_=: LoadError: cannot load such file -- loofah test/cases/railtie_test.rb:27:in `block in <class:RailtieTest>' rails test test/cases/railtie_test.rb:25
(In reply to Rolf Eike Beer from comment #10) > Nope, this did only change the error: This upstream does very weird things with version numbers, it turns out.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f295d004b21e35134e6a9afc5f904ad2a788bf68 commit f295d004b21e35134e6a9afc5f904ad2a788bf68 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2020-05-19 13:21:40 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2020-05-19 13:21:54 +0000 dev-ruby/loofah: fix version in gemspec Closes: https://bugs.gentoo.org/719254 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-ruby/loofah/{loofah-2.5.0-r1.ebuild => loofah-2.5.0-r2.ebuild} | 3 +++ 1 file changed, 3 insertions(+)