Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904164 - dev-ruby/activejob-7.0.4.3-r1: fails tests: require': cannot load such file -- zeitwerk (LoadError)
Summary: dev-ruby/activejob-7.0.4.3-r1: fails tests: require': cannot load such file -...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-04-11 11:00 UTC by jinqiang zhang
Modified: 2023-04-16 09:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
info.txt (info.txt,6.89 KB, text/plain)
2023-04-11 11:03 UTC, jinqiang zhang
Details
build.log (build.log,7.02 KB, text/plain)
2023-04-11 11:03 UTC, jinqiang zhang
Details
build.log (build.log,2.81 KB, text/plain)
2023-04-11 12:15 UTC, jinqiang zhang
Details
build.log (build.log,2.77 KB, text/plain)
2023-04-11 12:16 UTC, jinqiang zhang
Details
build.log (build.log,2.81 KB, text/plain)
2023-04-11 12:19 UTC, jinqiang zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jinqiang zhang 2023-04-11 11:00:57 UTC
looks like missing dev-ruby/zeitwerk test depend
Comment 1 jinqiang zhang 2023-04-11 11:03:09 UTC
Created attachment 859866 [details]
info.txt

emerge --info
Comment 2 jinqiang zhang 2023-04-11 11:03:10 UTC
Created attachment 859867 [details]
build.log
Comment 3 jinqiang zhang 2023-04-11 11:12:49 UTC
require "zeitwerk" added since v7.0.0
https://github.com/rails/rails/commit/7c09e59bcaac361c0052f9edc5e821436d021b84
Comment 4 jinqiang zhang 2023-04-11 12:15:08 UTC
Created attachment 859869 [details]
build.log

build.log: require websocket-driver
Comment 5 jinqiang zhang 2023-04-11 12:16:23 UTC
Created attachment 859870 [details]
build.log

build.log: after install websocket-driver, still require nio4r.
Comment 6 jinqiang zhang 2023-04-11 12:18:30 UTC
Sorry, these two build.log belong to bug 904166, I misplaced them.
Comment 7 jinqiang zhang 2023-04-11 12:19:32 UTC
Created attachment 859871 [details]
build.log

build.log: require websocket-driver
Comment 8 jinqiang zhang 2023-04-11 12:20:28 UTC
Comment on attachment 859870 [details]
build.log

> * Package:    dev-ruby/actionmailbox-7.0.4.3-r1:7.0
> * Repository: gentoo
> * Maintainer: ruby@gentoo.org
> * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby31 test userland_GNU
> * FEATURES:   network-sandbox preserve-libs sandbox test userpriv usersandbox
>>>> Unpacking source...
> * Running unpack phase for all
>>>> Unpacking rails-7.0.4.3.tgz to /var/tmp/portage/dev-ruby/actionmailbox-7.0.4.3-r1/work/all
>>>> Source unpacked in /var/tmp/portage/dev-ruby/actionmailbox-7.0.4.3-r1/work
>>>> Preparing source in /var/tmp/portage/dev-ruby/actionmailbox-7.0.4.3-r1/work ...
> * Running prepare phase for all
> * Running prepare phase for all
> * Running source copy phase for ruby31
> * Running prepare phase for ruby31
>>>> Source prepared.
>>>> Configuring source in /var/tmp/portage/dev-ruby/actionmailbox-7.0.4.3-r1/work ...
> * Running configure phase for ruby31
>>>> Source configured.
>>>> Compiling source in /var/tmp/portage/dev-ruby/actionmailbox-7.0.4.3-r1/work ...
> * Running compile phase for ruby31
> * Running compile phase for all
>>>> Source compiled.
>>>> Test phase: dev-ruby/actionmailbox-7.0.4.3-r1
> * Running test phase for ruby31
>Could not find compatible versions
>
>Because every version of rails depends on actioncable >= 0
>  and every version of actioncable depends on nio4r ~> 2.0,
>  every version of rails requires nio4r ~> 2.0.
>So, because nio4r ~> 2.0 could not be found in locally installed gems
>  and Gemfile depends on rails >= 0,
>  version solving has failed.
> * ERROR: dev-ruby/actionmailbox-7.0.4.3-r1::gentoo failed (test phase):
> *   tests failed
> * 
> * Call stack:
> *     ebuild.sh, line  136:  Called src_test
> *   environment, line 2187:  Called ruby-ng_src_test
> *   environment, line 1795:  Called _ruby_each_implementation 'each_ruby_test'
> *   environment, line  439:  Called _ruby_invoke_environment 'ruby31' 'each_ruby_test'
> *   environment, line  576:  Called each_ruby_test
> *   environment, line  836:  Called each_fakegem_test
> *   environment, line  796:  Called die
> * The specific snippet of code:
> *               MT_NO_PLUGINS=true ${RUBY} --disable=did_you_mean -S rake ${RUBY_FAKEGEM_TASK_TEST} || die -n "tests failed"
> * 
> * If you need support, post the output of `emerge --info '=dev-ruby/actionmailbox-7.0.4.3-r1::gentoo'`,
> * the complete build log and the output of `emerge -pqv '=dev-ruby/actionmailbox-7.0.4.3-r1::gentoo'`.
> * The complete build log is located at '/var/tmp/portage/dev-ruby/actionmailbox-7.0.4.3-r1/temp/build.log'.
> * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/actionmailbox-7.0.4.3-r1/temp/environment'.
> * Working directory: '/var/tmp/portage/dev-ruby/actionmailbox-7.0.4.3-r1/work/ruby31/rails-7.0.4.3/actionmailbox'
> * S: '/var/tmp/portage/dev-ruby/actionmailbox-7.0.4.3-r1/work/ruby31/rails-7.0.4.3/actionmailbox'
Comment 9 Larry the Git Cow gentoo-dev 2023-04-16 09:52:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=911db0e83493f132fa361ab701e68aab5c6d15f0

commit 911db0e83493f132fa361ab701e68aab5c6d15f0
Author:     jinqiang zhang <peeweep@0x0.ee>
AuthorDate: 2023-04-11 11:15:09 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-04-16 09:51:57 +0000

    dev-ruby/activejob: slot 7.0 add dev-ruby/zeitwerk test depend
    
    Closes: https://bugs.gentoo.org/904164
    Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/activejob/activejob-7.0.4.3-r1.ebuild | 1 +
 dev-ruby/activejob/activejob-7.0.4.3.ebuild    | 1 +
 2 files changed, 2 insertions(+)