Gentoo Archives: gentoo-user

From: cal@×××××××××.technology
To: gentoo-user@l.g.o
Cc: Walter Dnes <waltdnes@××××××××.org>
Subject: Re: [gentoo-user] dev-db/sqlite-3.32.3-r1 requires tcl ?!
Date: Sat, 08 Aug 2020 22:56:12
Message-Id: a63cb01e7fec09aa9130e86ab8aae011@mail.meme.technology
In Reply to: [gentoo-user] dev-db/sqlite-3.32.3-r1 requires tcl ?! by Walter Dnes
1 On 2020-08-08 10:57, Walter Dnes wrote:
2 > I noticed when setting up my notebook that tcl got pulled in. The
3 > culprit is dev-db/sqlite-3.32.3-r1. Note the "-tcl" USE flag.
4 >
5 > [thimk][root][~] emerge -pv1 sqlite
6 >
7 > These are the packages that would be merged, in order:
8 >
9 > Calculating dependencies... done!
10 > [ebuild R ] dev-db/sqlite-3.32.3-r1:3::gentoo USE="readline
11 > -debug -doc -icu -secure-delete -static-libs -tcl -test -tools" 0 KiB
12 >
13 > But sqlite-3.32.3-r1.ebuild shows...
14 >
15 > =====================================
16 > if [[ "${PV}" == "9999" ]]; then
17 > BDEPEND=">=dev-lang/tcl-8.6:0
18 > dev-vcs/fossil"
19 > else
20 > BDEPEND="app-arch/unzip
21 > >=dev-lang/tcl-8.6:0"
22 > fi
23 > =====================================
24 >
25 > Which is it? If tcl is required, then the "tcl" USE flag is
26 > misleading
27 > and pointless, and should not show up.
28
29 BDEPEND indicates a build-time dependency on Tcl; I think SQLite3's
30 build
31 system has a hard dependency on Tcl. The "tcl" USE flag is likely
32 controlling whether or not the Tcl interface included with SQLite3 is
33 built and installed.
34
35 [I am not a maintainer of this package]