Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1529

Summary: portage DEPEND syntax scan broken
Product: Portage Development Reporter: Vitaly Kushneriuk (RETIRED) <vitaly>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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)