Re: [gentoo-dev] rfc: empty directories in ${D}

2018-04-01 Thread Ciaran McCreesh
On Sat, 31 Mar 2018 20:46:56 +0100 Andrey Utkin wrote: > Right, I am not aware why PMS has left this explicitly undefined. Because when we wrote the spec, Portage's actual behaviour on empty directories was extremely tricky to define and depended upon things like whether

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-31 Thread Michał Górny
W dniu sob, 31.03.2018 o godzinie 20∶46 +0100, użytkownik Andrey Utkin napisał: > On Thu, Mar 29, 2018 at 11:57:06AM -0400, Alec Warner wrote: > > On Thu, Mar 29, 2018 at 11:47 AM, Michael Orlitzky wrote: > > > > > On 03/29/2018 11:28 AM, Alec Warner wrote: > > > > > > > > Is

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-31 Thread Andrey Utkin
On Thu, Mar 29, 2018 at 11:57:06AM -0400, Alec Warner wrote: > On Thu, Mar 29, 2018 at 11:47 AM, Michael Orlitzky wrote: > > > On 03/29/2018 11:28 AM, Alec Warner wrote: > > > > > > Is there any particular reason we need to remove them? > > > > > > > The PMS says that empty

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread Paweł Hajdan , Jr .
On 29/03/2018 19:00, Michał Górny wrote: > W dniu czw, 29.03.2018 o godzinie 11∶34 -0500, użytkownik William Hubbs > napisał: >> 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

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread Michał Górny
W dniu czw, 29.03.2018 o godzinie 11∶34 -0500, użytkownik William Hubbs napisał: > 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

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread William Hubbs
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

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread Michael Orlitzky
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,

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread Michael Orlitzky
On 03/29/2018 11:57 AM, Alec Warner wrote: > > So we could simply change the PMS to keep the empty directories? > > Why is removing them *better* is my question. I proposed this idea but basically everyone with a say in the process was against it: https://bugs.gentoo.org/644366 My last

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread William Hubbs
On Thu, Mar 29, 2018 at 11:47:21AM -0400, Michael Orlitzky wrote: > On 03/29/2018 11:28 AM, Alec Warner wrote: > > > > Is there any particular reason we need to remove them? > > > > The PMS says that empty directories are undefined, so the portage > behavior of installing them and leaving them

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread Alec Warner
On Thu, Mar 29, 2018 at 11:47 AM, Michael Orlitzky wrote: > On 03/29/2018 11:28 AM, Alec Warner wrote: > > > > Is there any particular reason we need to remove them? > > > > The PMS says that empty directories are undefined, so the portage > behavior of installing them and

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread Michael Orlitzky
On 03/29/2018 11:28 AM, Alec Warner wrote: > > Is there any particular reason we need to remove them? > 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

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread Alec Warner
On Thu, Mar 29, 2018 at 10:47 AM, Michał Górny wrote: > W dniu czw, 29.03.2018 o godzinie 09∶39 -0500, użytkownik William Hubbs > napisał: > > All, > > > > I just happened to notice the following warning from portage when > > bumping dhcpcd. > > > > > One or more empty

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread William Hubbs
On Thu, Mar 29, 2018 at 05:15:28PM +0200, Fabian Groffen wrote: > On 29-03-2018 16:47:51 +0200, Michał Górny wrote: > > W dniu czw, 29.03.2018 o godzinie 09∶39 -0500, użytkownik William Hubbs > > napisał: > > > All, > > > > > > I just happened to notice the following warning from portage when > >

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread Fabian Groffen
On 29-03-2018 16:47:51 +0200, Michał Górny wrote: > W dniu czw, 29.03.2018 o godzinie 09∶39 -0500, użytkownik William Hubbs > napisał: > > All, > > > > I just happened to notice the following warning from portage when > > bumping dhcpcd. > > > > > One or more empty directories installed to /var:

Re: [gentoo-dev] rfc: empty directories in ${D}

2018-03-29 Thread Michał Górny
W dniu czw, 29.03.2018 o godzinie 09∶39 -0500, użytkownik William Hubbs napisał: > All, > > I just happened to notice the following warning from portage when > bumping dhcpcd. > > > One or more empty directories installed to /var: > > /var/lib/dhcpcd > > If those directories need to be