Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12630 - || fails if all of the sub expressions are false
Summary: || fails if all of the sub expressions are false
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
: 12631 12993 13071 13210 13405 (view as bug list)
Depends on: 13176
Blocks:
  Show dependency tree
 
Reported: 2002-12-23 13:37 UTC by SpanKY
Modified: 2011-10-30 22:20 UTC (History)
5 users (show)

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 SpanKY gentoo-dev 2002-12-23 13:37:15 UTC
i have a package that can use gtk, gtk2, or neither ... but it cant
do both at the same time ... so i do this:

|| (
     gtk? ( =x11-libs/gtk+-1* )
     gtk2? ( =x11-libs/gtk+-2* )
)

env USE="gtk gtk2" emerge pkg [works, shows gtk-1]
env USE="-gtk gtk2" emerge pkg [works, shows gtk-2]
env USE="gtk -gtk2" emerge pkg [works, shows gtk-1]
env USE="-gtk -gtk2" emerge pkg
!!! Problem in app-games/gnubg dependancies.
!!! list index out of range
Comment 1 SpanKY gentoo-dev 2002-12-23 13:38:13 UTC
*** Bug 12631 has been marked as a duplicate of this bug. ***
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2002-12-30 08:14:40 UTC
Should have a proper error message in 2.0.46-r5
Comment 3 SpanKY gentoo-dev 2002-12-31 17:09:05 UTC
the resolution i wanted was for this to be valid ...

another point is ethereal ... it allows gtk and gtk2 or none ... but it prefers
gtk over gtk2 ...

root@vapier root # env USE="-*" emerge ethereal -ep

These are the packages that I would merge, in order:

Calculating dependencies \
!!! Problem in net-analyzer/ethereal dependancies.
!!! list index out of range
root@vapier root # emerge -V
Portage 2.0.46-r5 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r3)
Comment 4 SpanKY gentoo-dev 2002-12-31 17:09:19 UTC
*** Bug 12993 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2003-01-02 00:13:20 UTC
*** Bug 13071 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2003-01-04 02:28:49 UTC
*** Bug 13210 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2003-01-10 10:25:47 UTC
*** Bug 13405 has been marked as a duplicate of this bug. ***
Comment 8 Nicholas Jones (RETIRED) gentoo-dev 2003-02-03 06:47:25 UTC
is valid now without matches '|| ( )'