Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1529 - portage DEPEND syntax scan broken
Summary: portage DEPEND syntax scan broken
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-04 11:31 UTC by Vitaly Kushneriuk (RETIRED)
Modified: 2011-10-30 22:21 UTC (History)
0 users

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 Vitaly Kushneriuk (RETIRED) gentoo-dev 2002-04-04 11:31:05 UTC
portage-1.8.14 fails to read DEPEND string with more then
one USE flag between (). In case it's invalid syntax, error should be 
reported (and ebuilds using it fixed).
Example : dev-db/postgresql-7.2-r1
it has a line "java? ( >=virtual/jdk >=dev-java/ant-1.3 )" in it's DEPEND
But portage fails to recognize this dependancy:
uranus files # emerge -oep postgresql
These are the packages that I would merge, in order.
Calculating dependencies ...done!
[ebuild  N   ] sys-libs/ncurses-5.2.20020112a to /
[ebuild  N   ] sys-devel/gettext-0.11.1 to /
[ebuild  N   ] sys-devel/libtool-1.4.1-r4 to /
[ebuild  N   ] sys-devel/m4-1.4p to /
[ebuild  N   ] sys-devel/autoconf-2.52d to /
[ebuild  N   ] sys-libs/zlib-1.1.4 to /

PS. Also I remember some ebuild didn't have a space between '?' and '(' and
it didn;t work too.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-04-04 20:11:34 UTC
This may not be the problem.  Try upgrading to portage-1.8.16 and after merging
it type rm /var/cache/edb/dep/*.  If the problem goes away, it was something
else.  Post a follow-up here stating whether that solved the problem or not and
I will follow-up if necessary. 
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-04-16 02:17:35 UTC
works for me with a recent portage (1.8.19)