Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH v2] install-qa-check: Do not install empty directories
Date: Wed, 10 Jan 2018 22:13:34
Message-Id: 1515622407.23302.0.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH v2] install-qa-check: Do not install empty directories by Michael Orlitzky
1 W dniu śro, 10.01.2018 o godzinie 15∶39 -0500, użytkownik Michael
2 Orlitzky napisał:
3 > On 01/10/2018 03:13 PM, Michał Górny wrote:
4 > > Remove empty directories in install-qa-check phase in order to prevent
5 > > Portage from installing them, and therefore from developers relying
6 > > on them being installed.
7 >
8 > This is going to break a lot of packages whose build systems create e.g.
9 > /var/lib/foo and do nothing with it immediately. The ebuild should be
10 > calling keepdir on those paths, but how would anyone know that?
11 >
12
13 I personally think it'd be best to return to having a stable and testing
14 branch of Portage, with the latter targeted at developers who are
15 supposed to test for this kind of breakage and fix it, and the former
16 keeping the safe behavior longer for end users.
17
18 --
19 Best regards,
20 Michał Górny