Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Yet another USE flag problem
Date: Mon, 04 Jan 2021 15:12:25
Message-Id: cfa3cad4-58e1-0379-e22a-d8da30929340@gmail.com
In Reply to: Re: [gentoo-user] Yet another USE flag problem by Bertram Scharpf
1 On 1/4/21 4:15 AM, Bertram Scharpf wrote:
2 > On Monday, 04. Jan 2021, 07:09:06 +0100, Arve Barsnes wrote:
3 >> On Mon, 4 Jan 2021 at 06:05, Bertram Scharpf <lists@×××××××××××××××.de> wrote:
4 >>> As far as I see, I defined _exactly_ _one_ _of_ them:
5 >>
6 >> Please show what USE flags you've defined for either this package or
7 >> LUA. Hard to give advice without knowing your config.
8 >
9 > # emerge --info | grep -i lua
10 > LUA_SINGLE_TARGET="lua5-1"
11 > LUA_TARGETS="lua5-1"
12 > USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
13 > USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."
14 >
15 > # grep -rnHi lua /etc/portage
16 > /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" # luajit
17 > /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
18 > /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
19 > /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
20 > /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2 ~amd64
21 >
22 > Here's another time how emerge complains:
23 >
24 > - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_lua5-1, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')
25 >
26 > As far as I understand this, emerge tells me to remove the
27 > use flag "lua_single_target_lua5-1" because the use flag
28 > "lua_single_target_lua5-1" is required.
29 >
30 > What could I try next?
31 >
32 >
33 > Bertram
34 >
35 >
36
37 It looks like you have multiple lua USE-flags selected, and the package
38 requires only one to be selected.
39
40 Whats the output of `emerge -pv neovim`?
41
42 Dan

Replies

Subject Author
Re: [gentoo-user] Yet another USE flag problem Bertram Scharpf <lists@×××××××××××××××.de>