Gentoo Archives: gentoo-portage-dev

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Re: [PATCH v2 3/3] _emerge.Ebuild*: delay creating DISTDIR shadow until src_unpack
Date: Mon, 29 Jan 2018 08:07:51
Message-Id: 0275aeec-e137-6ca2-9296-df2f1a7a5623@gentoo.org
In Reply to: Re: [gentoo-portage-dev] Re: [PATCH v2 3/3] _emerge.Ebuild*: delay creating DISTDIR shadow until src_unpack by "Michał Górny"
1 On 01/25/2018 10:11 AM, Michał Górny wrote:
2 > W dniu czw, 25.01.2018 o godzinie 10∶07 +0100, użytkownik Michael
3 > Haubenwallner napisał:
4 >> Hi,
5 >>
6 >> ${Subject} ringing a bell here:
7 >>
8 >> dev-db/oracle-instantclient is fetch restricted. As a binary package with
9 >> multiple USE options there's a bunch of files to download - even for
10 >> multiple archs when multilib is active.
11 >>
12 >> So in pkg_nofetch() I'm telling the user whether a file to download is
13 >> "already here" or "still absent", by testing if $A exists in $DISTDIR.
14 >>
15 >> With ${Subject}, I'm wondering if DISTDIR is created for pkg_nofetch too.
16 >>
17 >
18 > You're doing the wrong thing then. DISTDIR is not allowed
19 > in pkg_nofetch().
20
21 Is there a supported way to tell the user exactly which files are still missing?
22
23 > Furthermore, you're touching files whose hashes have
24 > not been verified which is twice wrong.
25
26 Well - does portage actually provide unverified files in the shadow DISTDIR?
27
28 Thanks!
29 /haubi/

Replies