From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LrjPZ-0005TH-DQ for garchives@archives.gentoo.org; Thu, 09 Apr 2009 01:50:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0770AE04E3; Thu, 9 Apr 2009 01:50:36 +0000 (UTC) Received: from smtp-out.neti.ee (smtp-out.neti.ee [194.126.126.44]) by pigeon.gentoo.org (Postfix) with ESMTP id 894AAE04E3 for ; Thu, 9 Apr 2009 01:50:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by MXR-4.estpak.ee (Postfix) with ESMTP id B24FC4B7D1 for ; Thu, 9 Apr 2009 04:50:34 +0300 (EEST) X-Virus-Scanned: amavisd-new at Relay4.estpak.ee Received: from smtp-out.neti.ee ([127.0.0.1]) by localhost (MXR-4.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EqcIsM74f5Zv for ; Thu, 9 Apr 2009 04:50:34 +0300 (EEST) Received: from Relayhost2.neti.ee (Relayhost2 [88.196.174.142]) by MXR-4.estpak.ee (Postfix) with ESMTP id 1B3B84B7C9 for ; Thu, 9 Apr 2009 04:50:34 +0300 (EEST) X-SMTP-Auth-NETI-Businesmail: no Subject: Re: [gentoo-dev] Ideas for a (fast) EAPI=3 From: Mart Raudsepp To: gentoo-dev@lists.gentoo.org In-Reply-To: <1236498557.6854.51.camel@neuromancer> References: <1236498557.6854.51.camel@neuromancer> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-cGvVqT1YUO/lnGN0UcN+" Date: Thu, 09 Apr 2009 04:51:06 +0300 Message-Id: <1239241866.29054.38.camel@localhost> 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 X-Mailer: Evolution 2.22.0 X-Archives-Salt: a137a97d-4c74-464e-8b33-65a792da9e2b X-Archives-Hash: f8e70bc4972c4c718c20406c06dc254b --=-cGvVqT1YUO/lnGN0UcN+ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, On Sun, 2009-03-08 at 08:49 +0100, Tiziano M=FCller wrote: > With eapis 1 and 2 we introduced nice features but also a couple of > new > problems. One of them are the use dependencies when the package you > depend on doesn't have the use flag anymore (see [1] for an example). >=20 > So I think it's time for a short eapi bump with some distinct > improvements: >=20 > http://spreadsheets.google.com/ccc?key=3DpPAJXP6shYH78lCXeqRqCUQ >=20 >=20 > Please discuss. Sorry for getting my points of discussion on the details to the list so late. I have covered some of my concerns on the items in meetings and otherwise on IRC, but now I'll try to get to them in further detail and better wording to the mailing list. I'm going to go item-by-item here for the things I don't expect much replies to, and then starting separate threads for those that I do. pkg_pretend =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D No objections. Gives an intermediate step for handling USE flag combination incompatibilities at pretend stage (to not find it failed in the morning), yet has uses outside that as well. So, once there is a way to express those kind of USE flag dependencies outside of pkg_pretend in a better way in a future EAPI, pkg_pretend will still be useful for other (less common) cases and can provide a description of the problem to the user. Use based deps with non-existing USE flags =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D No objections. Implements the missing bit of "built_with_use --missing" Main driving force behind EAPI-3. default src_install =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D No considerable input yet, catching up with the latest thread about src_install bikeshedding doinclude =3D=3D=3D=3D=3D=3D=3D=3D=3D Unnecessary. Might be interesting for automatic executable permission removing, but upstream build systems should be fixed instead for such a big and rare error. ban dosed =3D=3D=3D=3D=3D=3D=3D=3D=3D I don't exactly see a reason for the banning yet, but no objections due to general agreement on it and having no technical objections doins support for symlinks =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D Lacking information. Need to see if the PMS draft has anything about it. The bug and summaries just talk about the support, but no details. Would it be an argument to doins? unpack failing on unknown types =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Uncertain about it's worthiness. Might rather have the opposite with a --strict argument kind of deal. No official objection from me. docompress =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Need some more time to digest through it in relation to PORTAGE_COMPRESS, prepalldocs and co. Will try to follow-up before meeting. properties must be cached properly =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D No opinion, up to the package manager developers. Don't see offhand why it should be an EAPI item at all. Feels like an implementation detail. DEFINED_PHASES must be supported (and cached properly) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D No opinion, up to the package manager developers more or less. Not sure why this needs to be an EAPI item. Hard to see a use case for the variable being available for ebuild usage for it to be necessary to be an EAPI item. By my understanding it is (also?) a required implementation detail to handle pkg_pretend sanely and with minimal time hit. Limit values in $USE to ones in $IUSE: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Seems more of a QA test, but forcing it can make it be caught at start. Don't see why it must be an EAPI item. Just vet the tree of (future?) repoman warnings about it and make it happen for all EAPIs. Impact on overlays is minimal because it is a QA error to not define them and they get what they asked for. Not strongly opposed to it being in the EAPI. --disable-dependency-tracking: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D possible breakage of (custom) configure scripts that don't accept unknown arguments. Would be nice to pass that for most packages, but doing it always with econf seems slightly inappropriate, given the above. Don't think this is an item for fast-tracked EAPI-3. utility commands should die by default =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Would like to see a list of those utility commands that would be made to die by default. ban || ( foo? ( . ) . ) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D It is not the business of an EAPI to start disallowing *DEPEND string constructs. There is no useful alternative provided yet to my knowledge and this is really a QA issue, not an EAPI issue. Not convinced on the sub-optimal use case being the only one, either. Strongly objecting on the grounds that it is not something that should be an EAPI issue. unpack has to handle more types =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Would be nice to get a QA warning when unpacking .lzma, .xz, etc that need a build depend for the unpacker and don't have it yet. Then sounds fine. In separate threads: * Slot operator support * dohard being deprecated Did I miss anything? I'm not even sure anymore where to find a list of items that is current for what's on the table for EAPI-3 right now... --=20 Mart Raudsepp Gentoo Developer Mail: leio@gentoo.org Weblog: http://planet.gentoo.org/developers/leio --=-cGvVqT1YUO/lnGN0UcN+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) iEYEABECAAYFAkndVIoACgkQkeYb6olFHJdMTACg02Syy/ubvrdhgFkAqUCH5nwB 0EAAnisY5SVI2Ga6cksOrtUTtu51engi =NlNo -----END PGP SIGNATURE----- --=-cGvVqT1YUO/lnGN0UcN+--