Gentoo Archives: gentoo-dev

From: Azamat Hackimov <azamat.hackimov@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 0/2] lua-utils.eclass: support LuaJIT and unslotted Lua
Date: Tue, 06 Oct 2020 13:34:42
Message-Id: CAFqVybqiGNcdNL5KAN_1g45imGO0c0V+xxg-ObQYVkeFnect6g@mail.gmail.com
In Reply to: Re: [gentoo-dev] [PATCH 0/2] lua-utils.eclass: support LuaJIT and unslotted Lua by Brian Evans
1 вт, 6 окт. 2020 г. в 15:54, Brian Evans <grknight@g.o>:
2 >
3 > On 10/6/2020 8:45 AM, Azamat Hackimov wrote:
4 > > вт, 6 окт. 2020 г. в 15:04, Marek Szuba <marecki@g.o>:
5 > >>
6 > >> On 2020-10-05 23:17, Azamat Hackimov wrote:
7 > >>
8 > >>>>> Is there a slotmove that can be applied?
9 > >>>>
10 > >>>> I am afraid I do not understand the question. What do you want to move,
11 > >>>> and why?
12 > >>>
13 > >>> Currently portage is mostly lua:5.1 aware and the first thing is move
14 > >>> dev-lang/lua:0 to 5.1 slot by slotmove in profiles/updates:
15 > >>>
16 > >>> slotmove dev-lang/lua 0 5.1
17 > >>
18 > >> The file structure of dev-lang/lua:0 differs from dev-lang/lua:5.x,
19 > >> meaning that introducing such a slot move would require Lua eclasses to
20 > >> treat lua5-1 differently from other targets. In other words, we would
21 > >> *still* need lua0 support but without a clearly distinct name.
22 > >
23 > > So there will be a new stabilized lua:5.1 version as I proposed.
24 > > Again, here is a quick todo list:
25 > >
26 > > 1. slotmove dev-lang/lua
27 > > 2. Change all dependencies to change from lua:0 to lua:5.1
28 > > 3. Stabilize & unmask slotted version 5.1.5-r103
29 > > 4. Release news & rebuild with emerge -a --oneshot $(equery depends
30 > > dev-lang/lua | awk '{print " ="$1}')
31 >
32 > Please don't use 'equery depends' for such things. It shows what *can*
33 > depend and not what *actually* depends on a given system because of
34 > metadata shortcuts. (It won't consider USE for example.)
35 >
36 > If a library name is moving, the best tool is revdep-rebuild with the
37 > --library option with the old soname to look for.
38 >
39 > Brian
40
41 Depend packages can not use a library for linking, so it may be hard
42 to retrieve the actual list with revdep-rebuild.
43
44
45 --
46 From Siberia with Love!