Re: [gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-24 Thread Jaco Kroon
Hi, >> Hmm, how would that work? >> I have package A with a binary /usr/bin/binA linked to liblua51.so (which in >> your suggestion would change to /usr/lib64/lua5.1/liblua.so) and >> and /usr/bin/binB linked to liblua52.so (or /usr/lib64/lua5.2/liblua.so). >> I don't see any ordering of /usr/lib6

Re: [gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-23 Thread Aisha Tammy
>> >> > > My intention with the suggestion was that the actual library be stored > in /usr/lib64/liblua52.so (or whatever the appropriate name is), but a > symlink used for linking be stored in /usr/lib64/lua5.2/liblua.so. When > you pass "-L /usr/lib64/lua5.2 -llua" to the compiler, it will fin

Re: [gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-23 Thread Aisha Tammy
>> >> > > My intention with the suggestion was that the actual library be stored > in /usr/lib64/liblua52.so (or whatever the appropriate name is), but a > symlink used for linking be stored in /usr/lib64/lua5.2/liblua.so. When > you pass "-L /usr/lib64/lua5.2 -llua" to the compiler, it will fin

Re: [gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-23 Thread Aisha Tammy
On 12/23/20 3:01 PM, Michael Orlitzky wrote: > On 12/23/20 1:14 PM, Aisha Tammy wrote: >> >> I've recently had the same problem for TACC/Lmod which uses >> autotools to get lua versions and lua.cpath and lua.path and did infact >> manage >> to push the horrendously large patch upstream - >> https:

Re: [gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-23 Thread Michael Orlitzky
On 12/23/20 6:04 PM, Aisha Tammy wrote: Yes, this sounds doable and should work > Only problem is that if there is an actual liblua.so with the proper SONAME available in /usr/lib64 (I dunno if Gentoo has any provider of liblua.so with that SONAME, IIRC SLOT=0 currently does that) then it will i

[gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-23 Thread Jonathan Callen
On 12/23/20 4:34 PM, Aisha Tammy wrote: > On 12/23/20 3:01 PM, Michael Orlitzky wrote: >> On 12/23/20 1:14 PM, Aisha Tammy wrote: >>> >>> I've recently had the same problem for TACC/Lmod which uses >>> autotools to get lua versions and lua.cpath and lua.path and did infact >>> manage >>> to push t

Re: [gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-23 Thread Aisha Tammy
On 12/23/20 12:13 PM, Jonathan Callen wrote: > On 12/23/20 9:10 AM, Michael Orlitzky wrote: >> On 12/23/20 8:35 AM, Jaco Kroon wrote: >>> Michael, >>> >>> I'm busy disecting what Marek has done for asterisk as I need to make >>> that work for multiple versions of net-misc/asterisk-16.14.0-r100, not

Re: [gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-23 Thread Michael Orlitzky
On 12/23/20 1:14 PM, Aisha Tammy wrote: I've recently had the same problem for TACC/Lmod which uses autotools to get lua versions and lua.cpath and lua.path and did infact manage to push the horrendously large patch upstream - https://github.com/TACC/Lmod/commit/0913bf05dd7e8f478f69d5297e26d744d

Re: [gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-23 Thread Mike Gilbert
On Wed, Dec 23, 2020 at 1:21 PM Michael Orlitzky wrote: > > On 12/23/20 12:13 PM, Jonathan Callen wrote: > > > > One way this could be done without breaking things might be to create a > > subdirectory of /usr/$(get_libdir) for each version of Lua and creating > > a liblua.a and/or liblua.so symli

Re: [gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-23 Thread Michael Orlitzky
On 12/23/20 12:13 PM, Jonathan Callen wrote: One way this could be done without breaking things might be to create a subdirectory of /usr/$(get_libdir) for each version of Lua and creating a liblua.a and/or liblua.so symlink in that directory pointing to the liblua${VERSION}.* file in /usr/$(get

[gentoo-dev] Re: Slotted Lua + revdeps to be unmasked on Christmas Eve

2020-12-23 Thread Jonathan Callen
On 12/23/20 9:10 AM, Michael Orlitzky wrote: > On 12/23/20 8:35 AM, Jaco Kroon wrote: >> Michael, >> >> I'm busy disecting what Marek has done for asterisk as I need to make >> that work for multiple versions of net-misc/asterisk-16.14.0-r100, not >> merely the one he did it for - perhaps that woul