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 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.

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.

The issue is that if an upstream build system creates a directory, then
the upstream software tries to access the directory without creating
it, there will be runtime breakage.

William

Attachment: signature.asc
Description: Digital signature

Reply via email to