From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 16:05:30 2020 Received: (at 25527) by debbugs.gnu.org; 7 Dec 2020 21:05:30 +0000 Received: from localhost ([127.0.0.1]:55647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmNhK-0008LE-8H for submit@debbugs.gnu.org; Mon, 07 Dec 2020 16:05:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmNhI-0008Kz-1A for 25527@debbugs.gnu.org; Mon, 07 Dec 2020 16:05:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36790) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmNhB-0005XH-Ll; Mon, 07 Dec 2020 16:05:22 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49092 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kmNhA-0006Vf-N3; Mon, 07 Dec 2020 16:05:21 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: bug#25527: PostgreSQL retains references to ld-wrapper and coreutils References: <874m0n4iv3.fsf@gnu.org> <86ft672pod.fsf@gmail.com> <873625s1eb.fsf@gnu.org> <87eelp6vnu.fsf@gmail.com> Date: Mon, 07 Dec 2020 22:05:19 +0100 In-Reply-To: <87eelp6vnu.fsf@gmail.com> (zimoun's message of "Fri, 23 Oct 2020 13:15:01 +0200") Message-ID: <87h7oxz5rk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 25527 Cc: 25527@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 (---) Hi, Sorry for the multi-month delay=E2=80=A6 zimoun skribis: > The manual says (emphasis by me): > > References are a subset of the inputs of the derivation; this > subset is AUTOMATICALLY COMPUTED by the build daemon by scanning > all the files in the outputs. > > Therefore, how is it computed? Or what is the entry point to understand > how the build daemon does? The daemon scans build results, nothing fancy. See =E2=80=98scanForReferen= ces=E2=80=99 in the C++ code. > The output is the folder $(guix build postgresql)/, right? So it means > one (or more) file refers to ld-wrapper and coreutils. How can I find > which one? Other said, what are the tools I could use? I=E2=80=99d do like this: --8<---------------cut here---------------start------------->8--- $ grep -r $(guix build ld-wrapper) $(guix build postgresql) /gnu/store/lrll3ibqags97g2hmjv4az9g1xif42g4-postgresql-11.6/lib/pgxs/src/Ma= kefile.global:LD =3D /gnu/store/mpa04aq8lblbcviyxywxcsb1zbi0mf39-ld-wrapper= -0/bin/ld --8<---------------cut here---------------end--------------->8--- HTH! :-) Ludo=E2=80=99.