Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: empty directories in ${D}
Date: Thu, 29 Mar 2018 16:24:48
Message-Id: c3f04b24-8b79-bbdd-f59d-89eb0a4b62d7@gentoo.org
In Reply to: Re: [gentoo-dev] rfc: empty directories in ${D} by William Hubbs
1 On 03/29/2018 11:57 AM, William Hubbs wrote:
2 >>
3 >> The PMS says that empty directories are undefined, so the portage
4 >> behavior of installing them and leaving them alone leads to
5 >> incompatibilities. Ebuilds rely on the portage behavior, and if another
6 >> PM (within its rights) deletes them, then the package breaks with the
7 >> non-portage PM.
8 >
9 > Maybe so, but you just made the argument for doing nothing different in
10 > current eapis and proposing stripping empty directories in eapi 7.
11 > However, this should be stripping empty directories combined with
12 > failing the emerge.
13
14 If we strip them only in EAPI=7, then that still leaves all of these
15 packages broken with respect to the PMS in the other EAPIs.
16
17 Stripping the empty directories isn't my favorite approach, but leaving
18 things broken looks bad on paper too.

Replies

Subject Author
Re: [gentoo-dev] rfc: empty directories in ${D} William Hubbs <williamh@g.o>