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 ACB971382C5 for ; Thu, 29 Mar 2018 15:26:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8D29E0872; Thu, 29 Mar 2018 15:26:03 +0000 (UTC) Received: from mail-qk0-x243.google.com (mail-qk0-x243.google.com [IPv6:2607:f8b0:400d:c09::243]) (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 44AEEE0864 for ; Thu, 29 Mar 2018 15:26:03 +0000 (UTC) Received: by mail-qk0-x243.google.com with SMTP id j73so6360826qke.6 for ; Thu, 29 Mar 2018 08:26:03 -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=bJtBh/kUw+iGfkWSSMfMVhULFWXwXH2lUWi9jgrbmoM=; b=XF3ZFjk61G42e3Oss7kv7UJUE2Bj1ZAgr7yRDr43fI5cr19h74svhUjp7Y5tQWhZZv DhG/UA6T8hMpH61ugK2AMA/SRntDCI72OLGLhdDmv11e2ADzOAQ40pTtYFPJ2FiHFZv0 CpA9SmvWN+jgGiaQ+8NVfKeBN+pfRtFL3kBdycz8tWoJWr42Me642PbtjA8TxWlYvUWM BO6b3Cbrv85XXscCI0116gKm4MHrnv3InmCqigxKR1L906Uz/spHzc952fgO2rob5hwE 1Z9TxAbxdDcyYTrS5C+ZoiFIMYwUK4Jb7RqXgq1filQDpYWTU0KAz8YO/aCsvUQvsTKh gcIQ== 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=bJtBh/kUw+iGfkWSSMfMVhULFWXwXH2lUWi9jgrbmoM=; b=iHVTx80XO7w7N+K8Ri9r142mIuo3yN/WC+0/yheB8la83Up3b9g8hDOcfkfZQaDvCm oev79vl136qAdg98OEilysCASoRgz8ykQOfTXYX8QDO192FkkZWZS86cUI8YviXy3WRg adKXu/18pWwEXoei/hbb5I5heZIpT3Sk9xSRrpEULVAwtnTmF+ocatDfhLaT2nPpgU43 7uZJsYpPXV2WmtSwZckk+5ti+Bg9fGJRPO9EK/WWqD0CMZwfzSd8E53CtTs5q0QV3suO UHJmW85SnRPo7HtOjhGXWbDeFlzDwTDHhEZ1umA+gjdFgnzJHR8Krere8fjAYyhWv5N7 cyiw== X-Gm-Message-State: AElRT7Gi3ZL1OiwN1k0jzfzM0YAD3zK0Ph8W9V7WX6sppHO5Lrb0mPIc oQzJQX8NOXnk3oNPdkUDxB5ASQ== X-Google-Smtp-Source: AIpwx496jiJb+NwaMMr06CLFkvfF7/XjAcTSLLuhLELR245Gei2Gh1Qmk5aHooxAc04xxVNzvDNYbA== X-Received: by 10.55.214.3 with SMTP id t3mr11471947qki.181.1522337162261; Thu, 29 Mar 2018 08:26:02 -0700 (PDT) Received: from whubbs1.gaikai.biz ([100.42.103.5]) by smtp.gmail.com with ESMTPSA id b201sm4602631qkg.48.2018.03.29.08.26.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Mar 2018 08:26:01 -0700 (PDT) Sender: William Hubbs Received: (nullmailer pid 15700 invoked by uid 1000); Thu, 29 Mar 2018 15:26:00 -0000 Date: Thu, 29 Mar 2018 10:26:00 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Cc: mgorny@gentoo.org Subject: Re: [gentoo-dev] rfc: empty directories in ${D} Message-ID: <20180329152600.GA15664@whubbs1.gaikai.biz> Mail-Followup-To: gentoo-dev@lists.gentoo.org, mgorny@gentoo.org References: <20180329143952.GA10523@linux1.home> <1522334871.1006.23.camel@gentoo.org> <20180329151528.GH24240@gentoo.org> 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="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <20180329151528.GH24240@gentoo.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-Archives-Salt: 2aa574b0-7aeb-411e-967a-5b3dc45c4af3 X-Archives-Hash: 2198c0d0418409520a52c6538f78f7f8 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 29, 2018 at 05:15:28PM +0200, Fabian Groffen wrote: > On 29-03-2018 16:47:51 +0200, Micha=C5=82 G=C3=B3rny wrote: > > W dniu czw, 29.03.2018 o godzinie 09=E2=88=B639=E2=80=89-0500, u=C5=BCy= tkownik William Hubbs > > napisa=C5=82: > > > All, > > >=20 > > > I just happened to notice the following warning from portage when > > > bumping dhcpcd. > > >=20 > > > > One or more empty directories installed to /var: > > > > /var/lib/dhcpcd > > > > If those directories need to be preserved, please make sure to crea= te > > > > or mark them for keeping using 'keepdir'. Future versions of Portage > > > > will strip empty directories from installation image. > > >=20 > > > If we are going to require emptty directories to be marked with > > > keepdir, I think we should hard fail the emerge rather than quietly > > > strip the empty directories. If we just strip the directories, this > > > will, more than likely, lead to broken packages. In the case of dhcpc= d, > > > the upstream build system installs the /var/lib/dhcpcd directory, then > > > dhcpcd writes to the directory. > > >=20 > >=20 > > Are you saying that dozens of packages should suddenly start failing > > for users so that developers would feel more obliged to fix them? > > Provided that the packages are still maintained, and it won't be > > 'hey, we just made it impossible to install this package, maybe someone > > will fix it one day'. >=20 > I agree, packages shouldn't suddenly start failing. Not during install, > not during runtime either. For changes like this EAPIs were invented. Fabian has the right idea I think. If we quietly strip away empty directories installed by upstream build systems, there is a possibility we will cause runtime breakage. If we are going to have breakage, then yes, I would rather it be at emerge time to force us to fix it before runtime breakage hits users. Thanks, William --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCWr0FggAKCRBuVBb0MMRl OOPlAKCAmeWk3uFn71gUpSB/bhu5OwUIggCguftf7uPrBlr3hmO1Mwckp/ceT1A= =c8lP -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--