Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654784 - Portage masked-by warning picks up ")" if dependency in DEPEND is masked
Summary: Portage masked-by warning picks up ")" if dependency in DEPEND is masked
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-04 01:25 UTC by Manuel Rüger (RETIRED)
Modified: 2018-05-20 08:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2018-05-04 01:25:50 UTC
Since ruby:2.2 got masked for removal I'm seeing this error message when running emerge:

- www-apps/redmine-3.3.5::mrueg (masked by: invalid: DEPEND: expected: dependency string, got: ')', token 2 in '/var/db/pkg/www-apps/redmine-3.3.5/DEPEND')

Content of DEPEND:
dev-lang/ruby:2.2


It should probably raise that 'dev-lang/ruby:2.2' is an invalid DEPEND instead of ')'.
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2018-05-04 02:41:28 UTC
Might be a problem with ruby-ng.eclass generated deps as well, CCing ruby@
Comment 2 Hans de Graaff gentoo-dev Security 2018-05-20 08:11:32 UTC
That ebuild only supports ruby21 and ruby22. Both a now a no-op, so the dependency string will contain something like "( )" leading to the error.

I guess the ruby eclasses could provide a more sensible error when no supported ruby targets are found in USE_RUBY.