Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768177 - www-apps/redmine need different version of dev-ruby/sprockets at the same time
Summary: www-apps/redmine need different version of dev-ruby/sprockets at the same time
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-01 05:46 UTC by Snow Shih
Modified: 2021-02-01 10:09 UTC (History)
4 users (show)

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


Attachments
emerge info and redmine log (redmine.log,36.21 KB, text/x-log)
2021-02-01 06:26 UTC, Snow Shih
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Snow Shih 2021-02-01 05:46:41 UTC
$cat /etc/portage/package.use/redmine
www-apps/redmine fastcgi imagemagick ldap markdown mysql passenger

$sudo emerge -avp www-apps/redmine

[blocks B      ] <dev-ruby/sprockets-3.7.2-r1:3[ruby_targets_ruby26(-)] ("<dev-ruby/sprockets-3.7.2-r1:3[ruby_targets_ruby26(-)]" is hard blocking dev-ruby/sprockets-4.0.2)

Total: 82 packages (82 new), Size of downloads: 85,872 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-ruby/sprockets-3.7.2:3/3::gentoo, ebuild scheduled for merge) pulled in by
    <dev-ruby/sprockets-4:*[ruby_targets_ruby26(-)] required by (dev-ruby/sass-rails-5.0.8:5.0/5.0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby26 -ruby25"
    >=dev-ruby/sprockets-2.8:*[ruby_targets_ruby26(-)] required by (dev-ruby/sass-rails-5.0.8:5.0/5.0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby26 -ruby25"

  (dev-ruby/sprockets-4.0.2:4/4::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-ruby/sprockets-3.0.0:*[ruby_targets_ruby26(-)] required by (dev-ruby/sprockets-rails-3.2.2:3/3::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" RUBY_TARGETS="ruby26 -ruby25"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-01 06:03:05 UTC
Is your system fully up to date?

Please run: emerge -p -uvDU @world. Also provide emerge --info.

Have you truncated the output at all? We can't debug without all of the information.

It does seem odd that sprockets-rails isn't satisfied by the :3 slot.
Comment 2 Snow Shih 2021-02-01 06:26:11 UTC
Created attachment 685365 [details]
emerge info and redmine log
Comment 3 Azamat H. Hackimov 2021-02-01 10:08:52 UTC
Reassiging to @ruby: need to change dev-ruby/sprockets-rails dependecy - properly restrict dev-ruby/sprockets with only slot 3:

https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-ruby/sprockets-rails/sprockets-rails-3.2.2.ebuild#n26

-	>=dev-ruby/sprockets-3.0.0:*"
+	dev-ruby/sprockets:3"


As temporary workaround, mask >=dev-ruby/sprockets-4.