From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 24 09:52:59 2019 Received: (at 22138) by debbugs.gnu.org; 24 Aug 2019 13:52:59 +0000 Received: from localhost ([127.0.0.1]:41724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1WTS-0003Sb-Rx for submit@debbugs.gnu.org; Sat, 24 Aug 2019 09:52:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1WTR-0003SP-Ja for 22138@debbugs.gnu.org; Sat, 24 Aug 2019 09:52:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i1WTI-0002gY-Po; Sat, 24 Aug 2019 09:52:48 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56162 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i1WTI-0005yt-BF; Sat, 24 Aug 2019 09:52:48 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mark H Weaver Subject: Re: bug#22138: Search paths of dependencies are not honored References: <87bn9yk5mf.fsf@gnu.org> <20190801221206.17965136@sybil.lepiller.eu> <87ftmfa8cp.fsf@netris.org> <87d0gw54fz.fsf@gnu.org> Date: Sat, 24 Aug 2019 15:52:46 +0200 In-Reply-To: <87d0gw54fz.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 23 Aug 2019 16:42:08 +0200") Message-ID: <87pnkuwtzl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 22138 Cc: Julien Lepiller , 22138@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > The attached procedure computes the search paths of a package based on > its run-time dependencies. =E2=80=98profile-derivation=E2=80=99 could us= e this to > compute its =E2=80=98etc/profile=E2=80=99 file and its =E2=80=98manifest= =E2=80=99 file. One difficulty with this approach is that search paths are currently a =E2=80=9Chost-side=E2=80=9D feature: there=E2=80=99s a =E2=80=98search-path= s=E2=80=99 field in , which is populated before the profile is actually built. What I suggest above would mean turning search paths into a =E2=80=9Cbuild-= side=E2=80=9D feature, which has some implications. Needs more thought=E2=80=A6 Ludo=E2=80=99.