Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 752825

Summary: net-proxy/haproxy: migrate to lua eclasses
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 757873    

Description Marek Szuba archtester gentoo-dev 2020-11-03 15:37:31 UTC
In order for Gentoo Linux to properly support side-by-side installation of
different versions of Lua (including LuaJIT), please migrate this package as
to lua.eclass (for packages which should support multiple Lua implementations
at the same time, i.e. most likely Lua modules) or lua-single.eclass (for
packages which only have to support one Lua implementation at a time). For
details, consult documentation of respective eclasses as well as
already-migrated ebuilds in the tree.

Please note that since slotted dev-lang/lua is currently masked, your
migrated ebuilds should be masked as well. There is a section of package.mask,
created in September 2020, which you can use for this purpose so that it will
be easier in the future to unmask them all in one go.

Thank you in advance for your effort!
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2020-11-09 08:37:23 UTC
Thanks!
This has been fixed in git now and there is a PR for upstream at https://github.com/haproxy/haproxy/pull/942
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2020-11-09 08:38:02 UTC
Oops. Wrong bug tab. Sorry.
Comment 3 Marek Szuba archtester gentoo-dev 2020-12-01 12:34:09 UTC
USE=lua is masked for this package (it is not compatible with lua-5.1) so while it will eventually have to be migrated to the correct eclass, it does not block the migration to slotted Lua. Resolving this as NEEDINFO as a substitute for LATER, same as with other packages in the same situation.
Comment 4 Marek Szuba archtester gentoo-dev 2021-06-05 16:58:10 UTC
Ping.
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2021-06-06 12:52:27 UTC
My actual plan was to wait until the eclass is stable. I'm not sure if I get to it within the next weeks at all.
Comment 6 Larry the Git Cow gentoo-dev 2021-07-13 11:21:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38538ccf12f3a2631208e35a75dc74e0a712c21

commit b38538ccf12f3a2631208e35a75dc74e0a712c21
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-07-13 10:50:06 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-07-13 11:20:52 +0000

    net-proxy/haproxy: migrate to lua-single.eclass
    
    Identical changes in all the ebuilds, tested on 2.2.5-r2 both with and
    without USE=lua - no problems.  Exactly the same logic as before the
    migration, i.e. only lua5-3 is supported and that is the version that
    should be used even if any others are present (upstream Makefile only
    looks for unversioned "lua" if it cannot explicitly find 5.3, at least
    in the more recent versions anyway).
    
    Changing this without revbumps because USE=lua is still masked on this
    package.
    
    Invoking maintainer time-out on this issue.
    
    Closes: https://bugs.gentoo.org/752825
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-proxy/haproxy/haproxy-1.8.30-r1.ebuild | 9 +++++++--
 net-proxy/haproxy/haproxy-2.0.14-r3.ebuild | 9 +++++++--
 net-proxy/haproxy/haproxy-2.0.22-r1.ebuild | 9 +++++++--
 net-proxy/haproxy/haproxy-2.0.9999.ebuild  | 9 +++++++--
 net-proxy/haproxy/haproxy-2.2.14-r1.ebuild | 9 +++++++--
 net-proxy/haproxy/haproxy-2.2.5-r2.ebuild  | 9 +++++++--
 net-proxy/haproxy/haproxy-2.2.9999.ebuild  | 9 +++++++--
 net-proxy/haproxy/haproxy-2.3.10-r1.ebuild | 9 +++++++--
 net-proxy/haproxy/haproxy-2.3.12.ebuild    | 9 +++++++--
 net-proxy/haproxy/haproxy-2.3.9999.ebuild  | 9 +++++++--
 net-proxy/haproxy/haproxy-2.4.1-r1.ebuild  | 9 +++++++--
 net-proxy/haproxy/haproxy-2.4.2.ebuild     | 9 +++++++--
 net-proxy/haproxy/haproxy-2.4.9999.ebuild  | 9 +++++++--
 13 files changed, 91 insertions(+), 26 deletions(-)