Gentoo Archives: gentoo-user

From: Bertram Scharpf <lists@×××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Yet another USE flag problem
Date: Mon, 04 Jan 2021 15:32:33
Message-Id: 20210104153225.ce7d545wwgd75bbp@becker.bs.l
In Reply to: Re: [gentoo-user] Yet another USE flag problem by Daniel Frey
1 On Monday, 04. Jan 2021, 07:12:18 -0800, Daniel Frey wrote:
2 > On 1/4/21 4:15 AM, Bertram Scharpf wrote:
3 > > On Monday, 04. Jan 2021, 07:09:06 +0100, Arve Barsnes wrote:
4 > > > On Mon, 4 Jan 2021 at 06:05, Bertram Scharpf <lists@×××××××××××××××.de> wrote:
5 > > > > As far as I see, I defined _exactly_ _one_ _of_ them:
6 > > >
7 > > > Please show what USE flags you've defined for either this package or
8 > > > LUA. Hard to give advice without knowing your config.
9 > >
10 > > # emerge --info | grep -i lua
11 > > LUA_SINGLE_TARGET="lua5-1"
12 > > LUA_TARGETS="lua5-1"
13 > > USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
14 > > USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."
15 > >
16 > > # grep -rnHi lua /etc/portage
17 > > /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" # luajit
18 > > /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
19 > > /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
20 > > /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
21 > > /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2 ~amd64
22 > >
23 > > Here's another time how emerge complains:
24 > >
25 > > - 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 )')
26 > >
27 > > As far as I understand this, emerge tells me to remove the
28 > > use flag "lua_single_target_lua5-1" because the use flag
29 > > "lua_single_target_lua5-1" is required.
30 > >
31 > > What could I try next?
32 > >
33 > >
34 > > Bertram
35 > >
36 > >
37 >
38 > It looks like you have multiple lua USE-flags selected, and the package
39 > requires only one to be selected.
40 >
41 > Whats the output of `emerge -pv neovim`?
42
43 # emerge -pv neovim 1
44
45 These are the packages that would be merged, in order:
46
47 Calculating dependencies... done!
48
49 emerge: there are no ebuilds built with USE flags to satisfy "dev-lua/luv[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?,lua_single_target_lua5-2(-)?]".
50 !!! One of the following packages is required to complete your request:
51 - 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 )')
52 (dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild])
53 (dependency required by "neovim" [argument])
54
55 # emerge --info | grep -i lua 1
56 LUA_SINGLE_TARGET="lua5-1"
57 LUA_TARGETS="lua5-1"
58 USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
59 USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."
60
61 As far as I can see, only one is selected.
62
63 Bertram
64
65
66 --
67 Bertram Scharpf
68 Stuttgart, Deutschland/Germany
69 http://www.bertram-scharpf.de

Replies

Subject Author
Re: [gentoo-user] Yet another USE flag problem Daniel Frey <djqfrey@×××××.com>