Gentoo Archives: gentoo-user

From: Arve Barsnes <arve.barsnes@×××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Yet another USE flag problem
Date: Mon, 04 Jan 2021 12:39:59
Message-Id: CAJjrzcWoD3ONjThb-N7KQObnbSg7CCYXNbn4c73LX28u9hv8Jg@mail.gmail.com
In Reply to: Re: [gentoo-user] Yet another USE flag problem by Bertram Scharpf
1 On Mon, 4 Jan 2021 at 13:15, Bertram Scharpf <lists@×××××××××××××××.de> wrote:
2 > # grep -rnHi lua /etc/portage
3 > /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" # luajit
4 > /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
5 > /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
6 > /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
7 > /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2 ~amd64
8 >
9 > Here's another time how emerge complains:
10 >
11 > - 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 )')
12 >
13 > As far as I understand this, emerge tells me to remove the
14 > use flag "lua_single_target_lua5-1" because the use flag
15 > "lua_single_target_lua5-1" is required.
16
17 As far as I understand it, this is saying that your emerge command is
18 about to remove that USE flag from neovim, which breaks the
19 constraint. So basically some other package is stopping your update.
20
21 Your original mail mentioned that this was because of dev-lua/luv. You
22 have in your /etc/portage/package.use/zz-autouse set the luajit flag
23 on this package. Might this be the problem?
24
25 I'm not that familiar with lua, but as far as I understand the output,
26 app-editors/neovim and dev-lua/luv needs the same LUA_SINGLE_TARGET,
27 and setting that USE flag on dev-lua/luv might trip up this. Reading
28 the latest ebuild, this flag has been removed in the ~amd64 package,
29 so might as well remove it now and see if that fixes your problem.
30
31 Regards,
32 Arve

Replies

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