1 |
On Monday, 04. Jan 2021, 13:39:47 +0100, Arve Barsnes wrote: |
2 |
> On Mon, 4 Jan 2021 at 13:15, Bertram Scharpf <lists@×××××××××××××××.de> wrote: |
3 |
> > # grep -rnHi lua /etc/portage |
4 |
> > /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" # luajit |
5 |
> > /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit |
6 |
> > /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit |
7 |
> > /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit |
8 |
> > /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2 ~amd64 |
9 |
> > |
10 |
> > Here's another time how emerge complains: |
11 |
> > |
12 |
> > - 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 )') |
13 |
> > |
14 |
> > As far as I understand this, emerge tells me to remove the |
15 |
> > use flag "lua_single_target_lua5-1" because the use flag |
16 |
> > "lua_single_target_lua5-1" is required. |
17 |
> |
18 |
> As far as I understand it, this is saying that your emerge command is |
19 |
> about to remove that USE flag from neovim, which breaks the |
20 |
> constraint. So basically some other package is stopping your update. |
21 |
|
22 |
If this is what happens, then I miss that emerge tells me |
23 |
the reason why it tries to remove the use flag. |
24 |
|
25 |
> Your original mail mentioned that this was because of dev-lua/luv. You |
26 |
> have in your /etc/portage/package.use/zz-autouse set the luajit flag |
27 |
> on this package. Might this be the problem? |
28 |
|
29 |
> I'm not that familiar with lua, but as far as I understand the output, |
30 |
> app-editors/neovim and dev-lua/luv needs the same LUA_SINGLE_TARGET, |
31 |
> and setting that USE flag on dev-lua/luv might trip up this. Reading |
32 |
> the latest ebuild, this flag has been removed in the ~amd64 package, |
33 |
> so might as well remove it now and see if that fixes your problem. |
34 |
|
35 |
As the name of the file tells, the "zz-autouse" use flags |
36 |
were set a long time ago by - of course - emerge. I tried to |
37 |
remove them, but that didn't change anything. |
38 |
|
39 |
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(-)?]". |
40 |
!!! One of the following packages is required to complete your request: |
41 |
- 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 )') |
42 |
(dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild]) |
43 |
(dependency required by "@selected" [set]) |
44 |
(dependency required by "@world" [argument]) |
45 |
|
46 |
# grep -rnHi '^[^#]*lua' /etc/portage |
47 |
/etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2 ~amd64 |
48 |
|
49 |
|
50 |
I tried to set the single target to "luajit", but that |
51 |
didn't help either: |
52 |
|
53 |
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(-)?]". |
54 |
!!! One of the following packages is required to complete your request: |
55 |
- app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_luajit, 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 )') |
56 |
(dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild]) |
57 |
(dependency required by "@selected" [set]) |
58 |
(dependency required by "@world" [argument]) |
59 |
|
60 |
# grep -rnHi '^[^#]*lua' /etc/portage |
61 |
/etc/portage/make.conf:40:LUA_SINGLE_TARGET="luajit" # lua5-1 |
62 |
/etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit |
63 |
/etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit |
64 |
/etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit |
65 |
/etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2 ~amd64 |
66 |
# emerge --info | grep -i lua |
67 |
LUA_SINGLE_TARGET="luajit" |
68 |
LUA_TARGETS="lua5-1" |
69 |
USE="..." ... LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1" ... |
70 |
USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..." |
71 |
|
72 |
What else could I try? |
73 |
|
74 |
Bertram |
75 |
|
76 |
|
77 |
-- |
78 |
Bertram Scharpf |
79 |
Stuttgart, Deutschland/Germany |
80 |
http://www.bertram-scharpf.de |