Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111356 - Invalid "( || foo )" DEPEND gives misleading error messages
Summary: Invalid "( || foo )" DEPEND gives misleading error messages
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2005-11-03 05:57 UTC by Carsten Lohrke (RETIRED)
Modified: 2005-12-17 02:53 UTC (History)
1 user (show)

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


Attachments
start from 0 instead of 1 (invalid-or-dep-error.patch,420 bytes, patch)
2005-11-03 06:29 UTC, Jason Stubbs (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2005-11-03 05:57:15 UTC
Tried to emerge a new ebuild from my overlay via "emerge =krusader-1.60.1",
which resulted in

Calculating dependencies -!!! Invalid db entry: /var/db/pkg//sec-policy
!!! Invalid db entry: /var/db/pkg//x11-plugins
!!! Invalid db entry: /var/db/pkg//sys-kernel
!!! Invalid db entry: /var/db/pkg//dev-cpp

[ ... ]

!!! Invalid db entry: /var/db/pkg//games-fps
!!! Invalid db entry: /var/db/pkg//games-mud
!!! Invalid db entry: /var/db/pkg//games-rpg
visible(): invalid cat/pkg-v: /skel

emerge: there are no ebuilds to satisfy "k".
(dependency required by "kde-misc/krusader-1.60.1" [ebuild])


With the few lines added to poratge.py as Jason proposed in Bug 107003 bug, the
output is the following:


emerge =krusader-1.60.1
Calculating dependencies -caller: cp_list('/')


!!! Problem in =kde-misc/krusader-1.60.1 dependencies.
!!!  exceptions


so it's my stupid fault, since I added 

RDEPEND="${DEPEND}
	kde? ( || kde-base/konqueror >=kde-base/kdebase-3.3 )"

missing obviously some some parentheses. Is it possible to get such a reasonable
output without patching, instead this weird error message, please!?
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-11-03 06:29:19 UTC
Created attachment 72014 [details, diff]
start from 0 instead of 1
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-12-17 02:53:45 UTC
Released in 2.1_pre1.