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 3B272139694 for ; Tue, 21 Mar 2017 08:28:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10D50E0CD8; Tue, 21 Mar 2017 08:28:30 +0000 (UTC) Received: from resqmta-po-09v.sys.comcast.net (resqmta-po-09v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:168]) (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 B19ADE0CD0 for ; Tue, 21 Mar 2017 08:28:29 +0000 (UTC) Received: from resomta-po-20v.sys.comcast.net ([96.114.154.244]) by resqmta-po-09v.sys.comcast.net with SMTP id qF9Yc9cMFDKCQqF9YcbqHa; Tue, 21 Mar 2017 08:28:28 +0000 Received: from [192.168.1.13] ([73.201.78.97]) by resomta-po-20v.sys.comcast.net with SMTP id qF9WcGncfZLS3qF9XceQEF; Tue, 21 Mar 2017 08:28:28 +0000 Subject: Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424 To: gentoo-dev@lists.gentoo.org References: <20170316093806.31977-1-mgorny@gentoo.org> <20170320083544.GZ24205@vapier> <22735.42420.523393.768428@a1i15.kph.uni-mainz.de> <20170320121937.7fc31770@gentoo.org> <22735.58203.928628.654288@a1i15.kph.uni-mainz.de> <20170320180140.66dbef67@gentoo.org> <22736.11456.309687.967555@a1i15.kph.uni-mainz.de> From: Joshua Kinard Message-ID: <89c42e1b-2599-2303-63f1-071b2d17bac1@gentoo.org> Date: Tue, 21 Mar 2017 04:28:19 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 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 In-Reply-To: <22736.11456.309687.967555@a1i15.kph.uni-mainz.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfBeSkg/Ddx8G6Q2LDOMUyIN4n/aRlJ6yTNb4DXVqxYHFo5MmVN/tlEMPSlf9gQiuQ4NiFjvGZ9V6ygLpRfn+NuA9/9TieOyR55nS06spOBZlSTtIDASq FS8dqJO0Sm0BppUvLIuJPBr8xQU7uWz7tUQMoiUFVdEwz2iSO8wnW/96j7WTp2Kmq/Cunj1gBovPRg== X-Archives-Salt: 2a394c49-7914-4c69-a212-4689ccda8c07 X-Archives-Hash: 02fb60f7165dac6d202362aa050941ff On 03/20/2017 15:25, Ulrich Mueller wrote: >>>>>> On Mon, 20 Mar 2017, Alexis Ballier wrote: > >> What makes me wonder more are the proposed solutions: So far the >> only proposals I've seen are either inlining *all* the code or >> moving *all* the code into an eclass. Having a quick look at >> autoconf, it seems to me an intermediate solution would work >> perfectly fine for the above goals/rules: Put main.eblit into an >> eclass. The loading code then would access $FILESDIR only in src_* >> phases. This would likely work better for all parties and would >> allow to focus on better specifying this gray area of PMS instead. > > But is it desirable as a goal, that all packages in the tree use > regular eclasses, but two packages (autoconf and glibc) use something > else that is a "grey area"? > > Also, can somebody please point me to the discussion that preceded the > introduction of eblits. AFAICS they appeared sometime in 2007, but I > cannot find anything in our mailing list archives. > > Ulrich I believe the other working name this idea of ebuild code-reuse went under was "elibs". There was a partial GLEP written, enough that it was granted a number, but I forget that number off the top of my head. That said, I think a key problem here is the use of the word "eblit" has become poisoned for various reasons, and this makes the continued use of the term and its current implementation untenable. In general, the concept of code-sharing common blocks of logic between multiple ebuilds in a specific package directory that is not a top-level eclass is not entirely without merit. But the only way this idea can be realized in a suitable manner and be used by far more consumers than today's eblits are, is to either find and finish the old elibs GLEP or start one over from scratch, submit whatever needs submitting via patches to at least PMS and Portage, work through whatever processes are required for approval, and then deploy it in the next EAPI. If anyone is game for working something up or discussing further, let me know. -- Joshua Kinard Gentoo/MIPS kumba@gentoo.org 6144R/F5C6C943 2015-04-27 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic