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

Bug 297213

Summary: dev-db/sqlite-3.6.21 conflicting tcl dependencies in ebuild
Product: Gentoo Linux Reporter: Jouni Rinne <l33tmmx>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jouni Rinne 2009-12-16 19:32:11 UTC
Is tcl an optional dependency for sqlite-3.6.21 or not?

RDEPEND="icu? ( dev-libs/icu )
        readline? ( sys-libs/readline )
        tcl? ( dev-lang/tcl )"
DEPEND="${RDEPEND}
        dev-lang/tcl
        doc? ( app-arch/unzip )"
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-16 19:42:53 UTC
(In reply to comment #0)
> Is tcl an optional dependency for sqlite-3.6.21 or not?
> 
> RDEPEND="icu? ( dev-libs/icu )
>         readline? ( sys-libs/readline )
>         tcl? ( dev-lang/tcl )"
> DEPEND="${RDEPEND}
>         dev-lang/tcl
>         doc? ( app-arch/unzip )"
> 

This is obvious that you need tcl to *build* sqlite regardless of USE flags and that if you want tcl support in sqlite (runtime) you get it with the tcl USE flag. (and a --enable-tcl option to configure)



*** This bug has been marked as a duplicate of bug 297113 ***
Comment 2 Jouni Rinne 2009-12-16 20:25:59 UTC
What's the point of 'tcl' use-flag, then? You need to install tcl anyway! That's quite confusing...
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-12-16 21:34:14 UTC
(In reply to comment #2)
> What's the point of 'tcl' use-flag, then? You need to install tcl anyway!
> That's quite confusing...
> 

Wrong, if it's only in DEPEND it allows --depclean to remove it, that's the difference of DEPEND's and RDEPEND's.