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 E9FBE1382C5 for ; Thu, 29 Mar 2018 16:34:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB61EE095A; Thu, 29 Mar 2018 16:34:49 +0000 (UTC) Received: from mail-qk0-x241.google.com (mail-qk0-x241.google.com [IPv6:2607:f8b0:400d:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CB78E0948 for ; Thu, 29 Mar 2018 16:34:49 +0000 (UTC) Received: by mail-qk0-x241.google.com with SMTP id j73so6582700qke.6 for ; Thu, 29 Mar 2018 09:34:49 -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=LmCFEL/Cfdv52KVaXY/VIeTjZRBX6a2+t2PSHdYK+Lk=; b=ki2Xz6c5wRe3IvSmBVbKZLTOwF/80hlvjqZCd6yCUOOXbGHXx6MUdr6dsYeHaZME+7 sdXmzW2wzqInDihw88RWdmACpOElpk354j+IYLanbaTmR2JRPFYLmLO8XLc0h30ngBSj 19b6L3LEPZpQze6TC3fi3YmlbtMbdt4te6aukYDUazNzlnbau8uXMWaNazXU8y5+22mD dQzR1CrpuVxPDj1Jnt42/cuZH1Q9DV3Z6h9Divg4xVSSk0E80NbMRKews6RwwcrW6RJs EQ2qLn5qNoHtdJTbzZC6zPHULgviEYcc3qPhxM79GXX+PxUwI6WkxttTYGUHafKICkEc FifQ== 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=LmCFEL/Cfdv52KVaXY/VIeTjZRBX6a2+t2PSHdYK+Lk=; b=IRqL3o4+vCQ9KmwG7yRIvBg8xk0hqtawiTrvz7Ws7Ri/XZow+7p3FlGmftyxkBhwHa eRvFBqSYwCUN/HRjpcgUHVpuvBtr22iGt4G7aSXwcWJnQXGe8ZyLDkCjTDNvaVJ7XMPF rr2RxZi/xl05uZlzu0JpKchiF1K0sHBrAOftQGrniOOfhvLG9i2eJKcrojldMQd5wSd5 9EUdithK9aiBRNihnve7mYo5t3oq//HrYB9uqcRKl3Oe/mRtAm0+7dtwz+fFgl5bARVH np5AFK6ZcqBwytzDRI3LPfqrcojiokWEfj1V5GCACwYQlbnqmuFdpdTs6vODD5qHaBUS 2Vmw== X-Gm-Message-State: AElRT7HXh/zb2SPmk2VOCcWfhaNy/a6zkNahRtwl3+iEXV8TM7Sa5neU pijIx2C48xdDlrffAwky5fBagg== X-Google-Smtp-Source: AIpwx4+OMsEDCXPmIlhZyepo5z0opHY8QySmE8d+8vUKSJPZWzuqetU371mlKu4TQ53ICvUJIMu3Ug== X-Received: by 10.55.175.129 with SMTP id y123mr12041007qke.179.1522341288280; Thu, 29 Mar 2018 09:34:48 -0700 (PDT) Received: from whubbs1.gaikai.biz ([100.42.103.5]) by smtp.gmail.com with ESMTPSA id q100sm4996573qkh.43.2018.03.29.09.34.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Mar 2018 09:34:47 -0700 (PDT) Sender: William Hubbs Received: (nullmailer pid 17180 invoked by uid 1000); Thu, 29 Mar 2018 16:34:46 -0000 Date: Thu, 29 Mar 2018 11:34:46 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Cc: mjo@gentoo.org Subject: Re: [gentoo-dev] rfc: empty directories in ${D} Message-ID: <20180329163446.GA17159@whubbs1.gaikai.biz> Mail-Followup-To: gentoo-dev@lists.gentoo.org, mjo@gentoo.org References: <20180329143952.GA10523@linux1.home> <1522334871.1006.23.camel@gentoo.org> <20180329155710.GA15777@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="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) X-Archives-Salt: 15187fd2-25d7-4ff8-b717-5f6e602387a5 X-Archives-Hash: 7a59e4c4c9f0a823b266e6fdb2210716 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 29, 2018 at 12:24:38PM -0400, Michael Orlitzky wrote: > On 03/29/2018 11:57 AM, William Hubbs wrote: > >> > >> The PMS says that empty directories are undefined, so the portage > >> behavior of installing them and leaving them alone leads to > >> incompatibilities. Ebuilds rely on the portage behavior, and if another > >> PM (within its rights) deletes them, then the package breaks with the > >> non-portage PM. > >=20 > > Maybe so, but you just made the argument for doing nothing different in > > current eapis and proposing stripping empty directories in eapi 7. > > However, this should be stripping empty directories combined with > > failing the emerge. >=20 > If we strip them only in EAPI=3D7, then that still leaves all of these > packages broken with respect to the PMS in the other EAPIs. >=20 > Stripping the empty directories isn't my favorite approach, but leaving > things broken looks bad on paper too. If we are going to strip the empty directories, we should hard fail the emerge at the same time. Otherwise there is no way to know whether the package we successfully install will now run. William --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCWr0VoQAKCRBuVBb0MMRl OPMVAJ9Z7SogkfZ4hEFCiB97hY6cITo0WwCfUWzS1GGqtxPxO0Y06vxKxzuvpaM= =kmXY -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4--