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

Bug 111356

Summary: Invalid "( || foo )" DEPEND gives misleading error messages
Product: Portage Development Reporter: Carsten Lohrke (RETIRED) <carlo>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: minor CC: sascha-gentoo-bugzilla
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 115839    
Attachments: start from 0 instead of 1

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.