On Thu, Jul 09, 2020 at 12:46:42AM +0200, n952162 wrote: > Is ncurses dependent on gpm? > > $ /equery g sys-libs/ncurses-6.2-r1/ > * Searching for ncurses6.2-r1 in sys-libs ... > > * dependency graph for sys-libs/ncurses-6.2-r1 > `-- sys-libs/*ncurses*-6.2-r1 amd64 > `-- sys-libs/*gpm*-1.20.7-r2 (sys-libs/gpm) amd64 > [abi_x86_32(-)? abi_x86_64(-)? abi_x86_x32(-)? abi_mips_n32(-)? > abi_mips_n64(-)? abi_mips_o32(-)? abi_riscv_lp64d(-)? abi_riscv_lp64(-)? > abi_s390_32(-)? abi_s390_64(-)?] > [ sys-libs/ncurses-6.2-r1 stats: packages (2), max depth (1) ]
It depends whether the `gpm` USE-flag is set or not. From the ncurses ebuild: (See [1] for documentation regarding the ${MULTILIB_USEDEP} eclass variable.) DEPEND="gpm? ( sys-libs/gpm[${MULTILIB_USEDEP}] )" [2] The list of architectures you're seeing is an expansion of ${MULTILIB_USEDEP} as defined by the `multilib-build` (or in this case, `multilib-minimal` eclass); this can be removed from the output by passing the local option -U to depgraph. As all of these are disabled, I'm guessing you're not running a multi-lib profile. > Note that there's a gpm USE flag for ncurses, but it's *--* What do you mean, "but it's *--*" ? Do you mean it's disabled ? Equery lists dependencies as specified by the DEPEND ebuild variable, regardless of your own system's USE-flags. Try running the same equery command for something with lots of optional dependencies, such as Firefox, and you'll see the same behaviour. [1] https://devmanual.gentoo.org/eclass-reference/multilib-build.eclass/index.html#lbAF [2] https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/ncurses/ncurses-6.2-r1.ebuild#n26 -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA
signature.asc
Description: PGP signature