From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 92148139694 for ; Sat, 1 Jul 2017 16:54:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23490274022; Sat, 1 Jul 2017 16:54:02 +0000 (UTC) Received: from mail-oi0-x242.google.com (mail-oi0-x242.google.com [IPv6:2607:f8b0:4003:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BCEFA23406B for ; Sat, 1 Jul 2017 16:54:01 +0000 (UTC) Received: by mail-oi0-x242.google.com with SMTP id l130so15409281oib.2 for ; Sat, 01 Jul 2017 09:54:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=ek0ew8ywM5ZT4W8X9ksZ5w1aioi99Nec2EQRdKkjDmM=; b=utHLqMvuLnPl03qdWMJ+exkBaBecXH14ICHpyLQx8RQrb2LoigHvlEPV+a1vClk0R8 HShkDkSuXt9aaddESolew08vqcQGTlevlygW2fesQI+Yw/1rOw/KqoMyguxnioNMk0jQ S34kt7N2HI+FZkTnXFk60SbB/kJY9f5B43P/vFDRiIJj1sJZuyjt361ryOVIFsZ5D+ZI xuCSRSB0M/q8HrEZY9rG08N9LoDxxmbAyAAkQnc/+C7LyOo0BCUINIQ3bBAqQLKv30QE 5wBgmnNVSOjECGGeolY39jkFlUw4J1xnpPHzeD9rZtV4IofQTmE+HJClU4Bu7c4BLpdJ ruyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=ek0ew8ywM5ZT4W8X9ksZ5w1aioi99Nec2EQRdKkjDmM=; b=RHFrcwmZI3NMEHJJ3LfyHcPtGKyGiaarhU1N1/+qHZBrcy1KD7w4WshZv03IPnywfc PdZp97RgdpEJE0nvpW5kzA8kEsiCAY+LBC43VT7T2B1MbWP1MX3/zMih14IqF+oqmtNf WLPy657RiMpko7uSPBz6eUpxkrFp/Q8BW87SdYcQdGhyK4cgbhCZDsG4A9e8Vwv6d9tp FPFKyir09D/gLdkv1HglMJz2ooZ6phQkGvFRdvCCwnQQZhWLRYZElEO5CIj39ToFjok/ YhiC1GAFrspbT7Vvn8PsIZfEeKnUEYtiZ9PVjkCGW+4N5xamaUmwiQKgwJLLHvnBYhy4 ZJZg== X-Gm-Message-State: AKS2vOweUJY2bbzNQ0bRqXyf2ZdMuezp65fUUUlMxnqeVZDgO39fIlUk jmmiXuvcolFBzw== X-Received: by 10.202.91.8 with SMTP id p8mr19110144oib.197.1498928040814; Sat, 01 Jul 2017 09:54:00 -0700 (PDT) Received: from linux1 (cpe-66-68-34-247.austin.res.rr.com. [66.68.34.247]) by smtp.gmail.com with ESMTPSA id t130sm17411737oig.3.2017.07.01.09.53.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Jul 2017 09:54:00 -0700 (PDT) Sender: William Hubbs Received: (nullmailer pid 27005 invoked by uid 1000); Sat, 01 Jul 2017 16:53:59 -0000 Date: Sat, 1 Jul 2017 11:53:59 -0500 From: William Hubbs To: Azamat Hackimov Cc: gentoo-dev@lists.gentoo.org, rafaelmartins@gentoo.org Subject: Re: [gentoo-dev] lua upgrade plan Message-ID: <20170701165359.GB13095@linux1.home> Mail-Followup-To: Azamat Hackimov , gentoo-dev@lists.gentoo.org, rafaelmartins@gentoo.org References: <20170630171606.GA7044@whubbs1.gaikai.biz> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) X-Archives-Salt: af853ac5-a20c-47cf-8172-2a7d2892a2bb X-Archives-Hash: 7c06c4ae9b7dfb11ad6620479587e5f8 --TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 01, 2017 at 01:16:02PM +0500, Azamat Hackimov wrote: > 2017-06-30 22:16 GMT+05:00 William Hubbs : >=20 > > All, > > > > Upstream does not support liblua as a shared library, and they do not > > support installing multiple versions of lua onto a system. After > > conferring with the other lua maintainer, the decision has been made to > > remove this custom support from our lua package as well. This has been > > talked about many times upstream. >=20 >=20 > Lua devs very "hostile" to Linux distributers. I don't see why we should = do > as they want to do. > They not have open vcs to simply see what they changes in new release, th= ey > don't accepts > patches for system integration. They didn't even elementary easy-to-use > build system. Just > look to another distributives, they all do versioned and shared libraries > of Lua 5.{1,2,3}. Fedora > devs did custom Autotools-based buildsystem, Debian - provided pkg-config > files. There also > exists excellent LuaDist framework - still outdated, yes, but we can take > from them CMake > buildsystem to provide better integration into Gentoo enviroment. You have > so many options > but you still want to follow unwelcome Lua rules. It is Gentoo's policy to stay as close to upstream as possible. However, there are a couple of things that I can say about lua from what I've seen so far. > > They do not want it, and using liblua as a shared library causes > > performance issues. > > >=20 > Why, we live in XXI century, where this argument came from? What about > security, did you > forgot about it? How do you planning to do backward compatibility with old > lua5.1 libraries > and projects? They definitely have breakage since lua 5.2 and 5.3 not > compatible with each > other. Why Lua can't have same eclass as multislotted Python or Ruby? Lua > ecosystem not > so big, about 500 packages so why there no even little efforts to make Lua > support in Gentoo > better? Portage has improved handling security issues like the ones with static libraries a lot from what I understand by making --with-bdeps y the default setting most of the time. The lua build system seems to have a way to tell it to support older things, there is a LUA_COMPAT_ALL compile flag. We'll have to see what that does when it hits ~arch. See this article for why using liblua as a shared library is not recommended. http://article.gmane.org/gmane.comp.lang.lua.general/18519 Yes, it talks about the interpretor, but it goes further and really discourages even making a shared library available. >=20 > --=20 > From Siberia with Love! William --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCWVfTogAKCRBuVBb0MMRl OJnHAKCSqwYiFSU0GeZJbOqAPhJivm5kZACeO3z2bizs09hGXuBghOABlez/rEA= =4f9K -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu--