From: Andrey Utkin <andrey_utkin@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: empty directories in ${D}
Date: Sat, 31 Mar 2018 20:46:56 +0100 [thread overview]
Message-ID: <20180331194656.GA13748@undo-autkin> (raw)
In-Reply-To: <CAAr7Pr8vYtjan7wmghTae7mWKa48ML1=kWbhujoK0hk1BLwiYA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]
On Thu, Mar 29, 2018 at 11:57:06AM -0400, Alec Warner wrote:
> On Thu, Mar 29, 2018 at 11:47 AM, Michael Orlitzky <mjo@gentoo.org> 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.
> >
> >
> So we could simply change the PMS to keep the empty directories?
>
> Why is removing them *better* is my question.
Right, I am not aware why PMS has left this explicitly undefined. Have
read through https://bugs.gentoo.org/644366 but there's no hint on why,
too. I appreciate mjo's proposal. I think it would be good for ebuild
maintainer to have a switch "empty dirs are ok by default". The
disagreement seems to be based on a prejudice and distrust towards
upstreams' build systems.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 1014 bytes --]
next prev parent reply other threads:[~2018-03-31 19:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-29 14:39 [gentoo-dev] rfc: empty directories in ${D} William Hubbs
2018-03-29 14:47 ` Michał Górny
2018-03-29 15:15 ` Fabian Groffen
2018-03-29 15:26 ` William Hubbs
2018-03-29 15:28 ` Alec Warner
2018-03-29 15:47 ` Michael Orlitzky
2018-03-29 15:57 ` Alec Warner
2018-03-29 16:12 ` Michael Orlitzky
2018-03-31 19:46 ` Andrey Utkin [this message]
2018-03-31 21:00 ` Michał Górny
2018-04-01 10:31 ` Ciaran McCreesh
2018-03-29 15:57 ` William Hubbs
2018-03-29 16:24 ` Michael Orlitzky
2018-03-29 16:34 ` William Hubbs
2018-03-29 17:00 ` Michał Górny
2018-03-29 21:12 ` Paweł Hajdan, Jr.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180331194656.GA13748@undo-autkin \
--to=andrey_utkin@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox