Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354003 - app-benchmarks/phoronix-test-suite-2.8.1-r1: RDEPEND makes equery throw portage exception. Invalid dependency?
Summary: app-benchmarks/phoronix-test-suite-2.8.1-r1: RDEPEND makes equery throw porta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
: 372529 (view as bug list)
Depends on:
Blocks: 349307
  Show dependency tree
 
Reported: 2011-02-07 19:00 UTC by Sebastian Pipping
Modified: 2011-06-24 00:09 UTC (History)
3 users (show)

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


Attachments
Shell session with details (portage_exception.log,1.58 KB, text/plain)
2011-02-07 19:01 UTC, Sebastian Pipping
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2011-02-07 19:00:43 UTC
Is this a valid dependency?

  >=dev-lang/php-5.2[cli,curl,gd,posix,pcntl,pcre(+),truetype]

What's "pcre(+)"?

Shell session attachment in a second.
Comment 1 Sebastian Pipping gentoo-dev 2011-02-07 19:01:12 UTC
Created attachment 261751 [details]
Shell session with details
Comment 2 Zac Medico gentoo-dev 2011-02-07 21:28:19 UTC
(In reply to comment #0)
> What's "pcre(+)"?

That's a valid "USE dependency default", which is new feature in EAPI 4. There's some documentation here:

http://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-eapi-4-metadata-dependencies-use-defaults
http://dev.gentoo.org/~zmedico/portage/doc/man/ebuild.5.html

So, the problem is rooted either in gentoolkit or portage.
Comment 3 Zac Medico gentoo-dev 2011-02-07 21:31:49 UTC
The gentoolkit code is using the old paren_reduce() function, which doesn't support EAPI 4. Portage doesn't use this function anymore, since the functionality has been integrated into the use_reduce() function in >=portage-2.1.9.
Comment 4 Zac Medico gentoo-dev 2011-02-07 22:01:30 UTC
This should fix portage's paren_reduce function to work with EAPI 4:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8735222b77e66850213e2aa6a7ea48e744ba0d4f
Comment 5 Zac Medico gentoo-dev 2011-02-08 01:36:44 UTC
This is fixed in 2.1.9.38 and 2.2.0_alpha22.
Comment 6 Zac Medico gentoo-dev 2011-06-24 00:09:33 UTC
*** Bug 372529 has been marked as a duplicate of this bug. ***