Gentoo Archives: gentoo-user

From: Ashley Dixon <ash@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] what does this equery display show me?
Date: Wed, 08 Jul 2020 23:46:18
Message-Id: 20200708234514.mue24rltfc7x6pnh@ad-gentoo-main
In Reply to: [gentoo-user] what does this equery display show me? by n952162
1 On Thu, Jul 09, 2020 at 12:46:42AM +0200, n952162 wrote:
2 > Is ncurses dependent on gpm?
3 >
4 >     $ /equery g  sys-libs/ncurses-6.2-r1/
5 >      * Searching for ncurses6.2-r1 in sys-libs ...
6 >
7 >      * dependency graph for sys-libs/ncurses-6.2-r1
8 >      `--  sys-libs/*ncurses*-6.2-r1 amd64
9 >        `--  sys-libs/*gpm*-1.20.7-r2 (sys-libs/gpm) amd64 
10 > [abi_x86_32(-)? abi_x86_64(-)? abi_x86_x32(-)? abi_mips_n32(-)?
11 > abi_mips_n64(-)? abi_mips_o32(-)? abi_riscv_lp64d(-)? abi_riscv_lp64(-)?
12 > abi_s390_32(-)? abi_s390_64(-)?]
13 >     [ sys-libs/ncurses-6.2-r1 stats: packages (2), max depth (1) ]
14
15 It depends whether the `gpm` USE-flag is set or not. From the ncurses ebuild:
16 (See [1] for documentation regarding the ${MULTILIB_USEDEP} eclass variable.)
17
18 DEPEND="gpm? ( sys-libs/gpm[${MULTILIB_USEDEP}] )" [2]
19
20 The list of architectures you're seeing is an expansion of ${MULTILIB_USEDEP}
21 as defined by the `multilib-build` (or in this case, `multilib-minimal` eclass);
22 this can be removed from the output by passing the local option -U to depgraph.
23 As all of these are disabled, I'm guessing you're not running a multi-lib
24 profile.
25
26 > Note that there's a gpm USE flag for ncurses, but it's *--*
27
28 What do you mean, "but it's *--*" ? Do you mean it's disabled ? Equery lists
29 dependencies as specified by the DEPEND ebuild variable, regardless of your own
30 system's USE-flags. Try running the same equery command for something with lots
31 of optional dependencies, such as Firefox, and you'll see the same behaviour.
32
33 [1] https://devmanual.gentoo.org/eclass-reference/multilib-build.eclass/index.html#lbAF
34 [2] https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/ncurses/ncurses-6.2-r1.ebuild#n26
35
36 --
37
38 Ashley Dixon
39 suugaku.co.uk
40
41 2A9A 4117
42 DA96 D18A
43 8A7B B0D2
44 A30E BF25
45 F290 A8AA

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] what does this equery display show me? n952162 <n952162@×××.de>