From unknown Fri Sep 05 17:59:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25527 <25527@debbugs.gnu.org> To: bug#25527 <25527@debbugs.gnu.org> Subject: Status: PostgreSQL retains references to ld-wrapper and coreutils Reply-To: bug#25527 <25527@debbugs.gnu.org> Date: Sat, 06 Sep 2025 00:59:59 +0000 retitle 25527 PostgreSQL retains references to ld-wrapper and coreutils reassign 25527 guix submitter 25527 ludo@gnu.org (Ludovic Court=C3=A8s) severity 25527 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 03:57:53 2017 Received: (at submit) by debbugs.gnu.org; 25 Jan 2017 08:57:53 +0000 Received: from localhost ([127.0.0.1]:41495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWJOr-0007jR-FV for submit@debbugs.gnu.org; Wed, 25 Jan 2017 03:57:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWJOq-0007jG-8A for submit@debbugs.gnu.org; Wed, 25 Jan 2017 03:57:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWJOk-0004R6-7s for submit@debbugs.gnu.org; Wed, 25 Jan 2017 03:57:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cWJOk-0004Qz-5F for submit@debbugs.gnu.org; Wed, 25 Jan 2017 03:57:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWJOi-0006H9-G1 for bug-guix@gnu.org; Wed, 25 Jan 2017 03:57:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWJOe-0004Np-LB for bug-guix@gnu.org; Wed, 25 Jan 2017 03:57:44 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWJOe-0004Nj-Hr for bug-guix@gnu.org; Wed, 25 Jan 2017 03:57:40 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:38984 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cWJOd-0002cA-U6 for bug-guix@gnu.org; Wed, 25 Jan 2017 03:57:40 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: bug-guix@gnu.org Subject: PostgreSQL retains references to ld-wrapper and coreutils X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?utf-8?Q?Pluvi=C3=B4se?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 25 Jan 2017 09:57:36 +0100 Message-ID: <874m0n4iv3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -8.2 (--------) X-Debbugs-Envelope-To: submit 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: -8.2 (--------) As of 04fa4cdf95a004bda4d63b6578b53e154a4d4679: --8<---------------cut here---------------start------------->8--- $ guix size postgresql store item total s= elf /gnu/store/awmx27f02la7sc4s63jxsdczclsf63gj-postgresql-9.5.5 200.5 = 20.0 10.0% /gnu/store/c7lm5innppxm53bf5w7i99d59kjdyx27-ld-wrapper-0 152.8 = 0.0 0.0% /gnu/store/6slzn4ixcjlhy3av3biglqfli9pwxcn9-guile-2.0.12 103.4 = 12.7 6.3% /gnu/store/4xxd00drj8gjcr84xdfna44qak2vhwmf-binutils-2.27 87.6 = 49.3 24.6% /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25 78.8 = 14.4 7.2% /gnu/store/9l52vcmb1ambc3ypf7nxn38ac0976yyf-tar-1.29 76.0 = 2.6 1.3% /gnu/store/iz6rbi4r00jhwzbccnsbq1bbrbdi6h3d-readline-7.0 68.0 = 1.3 0.6% /gnu/store/k0x973sjylvi746ib2xn4v1hjp855qq1-readline-7.0 68.0 = 1.3 0.6% /gnu/store/yi8a0206zpqf6qijkn70938jj8l6s87b-ncurses-6.0 66.7 = 5.7 2.9% /gnu/store/xydfiifs9slq0wv6n8j6p26icn2ihn88-ncurses-6.0 66.7 = 5.7 2.9% /gnu/store/qj5sazmlzqbn2nlm7vxj6wjns0mm5x79-libunistring-0.9.6 65.4 = 4.5 2.2% /gnu/store/frxwbfah0l9fr0j398vg3avsrmdfajnj-gmp-6.1.1 63.6 = 2.6 1.3% /gnu/store/ykdzlcdyjjfhivids91d1xs36hmzrrp6-gmp-6.1.1 63.6 = 2.6 1.3% /gnu/store/janggjcj3c1a2wf5p6zrgxk50jdy0ibx-libgc-7.4.2 62.7 = 1.1 0.6% /gnu/store/dp61fnsknp4mi58vnq8jy0wyp0nl2id3-pkg-config-0.29 62.3 = 1.3 0.6% /gnu/store/xw9jv7krgy86f5pvnrc77zph25562n1n-acl-2.2.52 61.7 = 0.4 0.2% /gnu/store/27ygdlznld2s6bk8mw2hmbhbh517ahaq-libcap-2.24 61.4 = 0.1 0.1% /gnu/store/a64w9dq219a8d9k4mfz76mnzph9wsvfj-zlib-1.2.8 61.3 = 0.4 0.2% /gnu/store/hgg7bzyq84ny3b1j17c4hkdpx5xmvnw0-attr-2.4.47 61.2 = 0.2 0.1% /gnu/store/p153bawa5szcv4z6br9jrbwv3zq6qv5m-libffi-3.2.1 61.1 = 0.1 0.1% /gnu/store/lb6z629zg8p5raip9m9k2sris87qsgdn-libltdl-2.4.6 61.1 = 0.1 0.1% /gnu/store/cdi08kw7r6r684w8mk0xq0dkgpjhfpmd-gcc-4.9.4-lib 61.0 = 22.7 11.3% /gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0 50.7 = 5.4 2.7% /gnu/store/bm0gfw4jkw8gd0vpnnzrb6z0xncrbx3p-readline-7.0 45.3 = 1.3 0.6% /gnu/store/hdrli1v7q3107w842s7di8rid82xlfvl-ncurses-6.0 44.0 = 5.7 2.8% /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24 38.3 = 36.8 18.4% /gnu/store/rvgmixpmsq5lqr9qflhkm70kg7a4rys2-bash-static-4.4.0 1.4 = 1.4 0.7% /gnu/store/idcrs9pr86mw3f5ya87ijhczn6zywxs6-libatomic-ops-7.4.2 0.6 = 0.6 0.3% total: 200.5 MiB --8<---------------cut here---------------end--------------->8--- We should at least remove the dependency on ld-wrapper, which is probably not justified. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 21 18:13:31 2020 Received: (at 25527) by debbugs.gnu.org; 21 Oct 2020 22:13:31 +0000 Received: from localhost ([127.0.0.1]:50838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVMMN-0006t5-Cy for submit@debbugs.gnu.org; Wed, 21 Oct 2020 18:13:31 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:40397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVMML-0006sr-Vg for 25527@debbugs.gnu.org; Wed, 21 Oct 2020 18:13:30 -0400 Received: by mail-wm1-f50.google.com with SMTP id k18so4291636wmj.5 for <25527@debbugs.gnu.org>; Wed, 21 Oct 2020 15:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=s17CLNvZqhkzEtJXqGsWhCHu9fMKXWU2fTETlg0qfPU=; b=oEL++Z4PzCuNBtXSfkjQKFrCMdca45YZYYucjqpppEixc0QVcO8T97WGBuI+pEVjRe kJMLVH87iHbAJnWqFnNfCz1cgCiULO8C6qF2rlT3DU4g/SV805yV4eeckkvOwCW9j/NA bUTxNP2nGAG3ygfcE4HjNg4b/Rpr7K0FXB9YhXHmQHLLCsfPjtUsPf/TvD3iSfOzEeSU c3o2Ne3abYthBPdvsF9hRdFmRGYr2zg64IMewnyuocs95Wn3+poVroHLeILKdktHSd+8 l7dL+LumnlBZPh5K2Jbkw28oQgBL9hVGr8Inor5bS/E+nGAnWVSPPfsRqVl4igIzgT+Y 3rjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=s17CLNvZqhkzEtJXqGsWhCHu9fMKXWU2fTETlg0qfPU=; b=dhAchma3iLwYCM9K3herL5kFoCUcb4FmpcXgu6OfbNlN54nh5wo/sdU8yQ7VUEQ9p1 oztavjpyfZTQPw9PBt5qiQoooqahybX2uVfg5H2Cpk/B1qnn9atI/yNm1legdkybaDnZ xZxE8mD9PV1IXju/b20+qjmZ1azqS+2tF9cbhAgv9pCCejnXnyDi7iygb58o/VvlyUCI pvIDPSkeq7Ybh6rIVigwNQXAd1f4H6ELy7QW8zk9i4dwNiEbvansFwYejeL+4avdb9VZ JCt6qDUGQuPe2WD6vbryDG0LkBL/qprwYlY+3GHsk98UaZPuXTzCpk99xQ6f8usSabWq HUpg== X-Gm-Message-State: AOAM532jJDhzzzJiNyP3abVfBhk5p0+00APscKH/jp/rZWh389KfTlP9 F9qRSoXfj94Wf8LVPZdhWZkiYekYBfs= X-Google-Smtp-Source: ABdhPJyONHRqan6FZioXV6AAeX7+RmaRsGXmUTlbUNJGQImkmTPY3wVdxoPiP8LMZlvnYpS/6m9p1w== X-Received: by 2002:a1c:9e0e:: with SMTP id h14mr5344350wme.18.1603318403848; Wed, 21 Oct 2020 15:13:23 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z15sm6309791wrq.24.2020.10.21.15.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 15:13:23 -0700 (PDT) From: zimoun To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#25527: PostgreSQL retains references to ld-wrapper and coreutils References: <874m0n4iv3.fsf@gnu.org> Date: Thu, 22 Oct 2020 00:13:22 +0200 In-Reply-To: <874m0n4iv3.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 25 Jan 2017 09:57:36 +0100") Message-ID: <86ft672pod.fsf@gmail.com> 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: 0.0 (/) 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: -1.0 (-) Dear, On Wed, 25 Jan 2017 at 09:57, ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > As of 04fa4cdf95a004bda4d63b6578b53e154a4d4679: Comparing with 58af4c9621af02cc4e2bb5692d4b377084b0fcc6. > $ guix size postgresql > store item total = self > /gnu/store/4xxd00drj8gjcr84xdfna44qak2vhwmf-binutils-2.27 87.6 = 49.3 24.6% > /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24 38.3 = 36.8 18.4% > /gnu/store/cdi08kw7r6r684w8mk0xq0dkgpjhfpmd-gcc-4.9.4-lib 61.0 = 22.7 11.3% > /gnu/store/awmx27f02la7sc4s63jxsdczclsf63gj-postgresql-9.5.5 200.5 = 20.0 10.0% > /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25 78.8 = 14.4 7.2% > /gnu/store/6slzn4ixcjlhy3av3biglqfli9pwxcn9-guile-2.0.12 103.4 = 12.7 6.3% [...] > /gnu/store/c7lm5innppxm53bf5w7i99d59kjdyx27-ld-wrapper-0 152.8 = 0.0 0.0% > total: 200.5 MiB --8<---------------cut here---------------start------------->8--- $ guix size postgresql store item total s= elf /gnu/store/m1z7cdbqsqyp9xnjw5cvlb4a7gkcg3m4-binutils-2.34 93.0 = 54.6 21.4% /gnu/store/0m0vd873jp61lcm4xa3ljdgx381qa782-guile-3.0.2 132.8 = 53.2 20.9% /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31 38.4 = 36.7 14.4% /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib 71.0 = 32.6 12.8% /gnu/store/2w144h8kp0pzngi5zziay3pz0hxqii6i-postgresql-11.6 254.6 = 24.2 9.5% /gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32 88.0 = 17.0 6.7% /gnu/store/a45p39mgqvfd8kjwibyr0q42k1mw7gmf-util-linux-2.35.1-lib 80.0 = 9.0 3.5% /gnu/store/dkzivzn17qilmqdfpyps62b395wxhshh-openssl-1.1.1f 77.4 = 6.4 2.5% [...] /gnu/store/mpa04aq8lblbcviyxywxcsb1zbi0mf39-ld-wrapper-0 187.5 = 0.1 0.0% total: 254.6 MiB --8<---------------cut here---------------end--------------->8--- > We should at least remove the dependency on ld-wrapper, which is > probably not justified. The command =E2=80=9Cguix graph postgresql -t bag | dot -Tpdf > /tmp/psql.p= df=E2=80=9D shows that this =E2=80=99ld-wrapper-0=E2=80=9C comes from =E2=80=98util-lin= ux=E2=80=99. Therefore, is it affordable to remove this dependency? All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 06:05:42 2020 Received: (at 25527) by debbugs.gnu.org; 23 Oct 2020 10:05:42 +0000 Received: from localhost ([127.0.0.1]:55395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVtx8-0002fi-61 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 06:05:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVtx6-0002fR-7l for 25527@debbugs.gnu.org; Fri, 23 Oct 2020 06:05:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38346) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVtx1-0007JO-1H; Fri, 23 Oct 2020 06:05:35 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55066 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kVtx0-0007Zy-F7; Fri, 23 Oct 2020 06:05:34 -0400 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 Brumaire an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 23 Oct 2020 12:05:32 +0200 In-Reply-To: <86ft672pod.fsf@gmail.com> (zimoun's message of "Thu, 22 Oct 2020 00:13:22 +0200") Message-ID: <873625s1eb.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, zimoun skribis: > The command =E2=80=9Cguix graph postgresql -t bag | dot -Tpdf > /tmp/psql= .pdf=E2=80=9D > shows that this =E2=80=99ld-wrapper-0=E2=80=9C comes from =E2=80=98util-l= inux=E2=80=99. Therefore, is > it affordable to remove this dependency? I think you=E2=80=99re mistaken: :-) --8<---------------cut here---------------start------------->8--- $ guix graph -t references --path postgresql ld-wrapper /gnu/store/2w144h8kp0pzngi5zziay3pz0hxqii6i-postgresql-11.6 /gnu/store/mpa04aq8lblbcviyxywxcsb1zbi0mf39-ld-wrapper-0 $ guix graph -t references --path $(guix build util-linux | grep '[0-9]$') = ld-wrapper guix graph: error: no path from '/gnu/store/j3vz21b9xgf244z1ivllj61i8975qx6= r-util-linux-2.35.1' to '/gnu/store/mpa04aq8lblbcviyxywxcsb1zbi0mf39-ld-wra= pper-0' --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 07:15:15 2020 Received: (at 25527) by debbugs.gnu.org; 23 Oct 2020 11:15:15 +0000 Received: from localhost ([127.0.0.1]:55529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVv2Q-0006wN-Ox for submit@debbugs.gnu.org; Fri, 23 Oct 2020 07:15:15 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:40824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVv2N-0006no-Sd for 25527@debbugs.gnu.org; Fri, 23 Oct 2020 07:15:12 -0400 Received: by mail-wm1-f47.google.com with SMTP id k18so1075795wmj.5 for <25527@debbugs.gnu.org>; Fri, 23 Oct 2020 04:15:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=LxckxbS+VbT0js6a4AbsbbDxGwi5GZTFDeuRNsyverk=; b=rp0XRsEi/WWUESLgpPHCxfUBiwPb9DCmG6Q1b7ZxdKeQPZMxIHbbyZJt+KMQMHZ0mU KfWUwOPT65vmoMNDmma8eCAXUurLsFsC9Czk6IWuK4pqwYZx94mqaPcweej1gZRMuVZg TdzWeu7ICn07dOWpCtUK0LO0omtZLVOhdmWuf3gWIwR+lxYVlT7rIsgPovYdF8eET8uM f87wQcQUUZUxF1uwiA83oGRK3baU4zcpYBHtjBFuRnmorXoly+cjiKrqlcqq3pPxXKDS xOlH1Q+aK3hKUdSZxdgNSbwi2OzvgCn3/RjDudrrYeGbbeanB6JsxcYfno//aj9UhKqg muzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=LxckxbS+VbT0js6a4AbsbbDxGwi5GZTFDeuRNsyverk=; b=Kv2q/vtfxfhqCLcdrVDS2dIUz8BHmgTMeFVib8LtDGwuHatTI6hHYu0pUpxubkA0bE C0So6/5VxU4ITZ6zNa33k1HP6sq8ToUlWOa7v0sn9/MpYLvqqNNxseSrecldAls5KA+n tEcRf0UKqyLtoamanixV57NDMd77c43NarMZsT8gJ8P5nq0rGOyIL3z2sM0hZRNKasfB 2XL8mlpX4UTaTbxc8PWB6jrnFFbeNWLWrcUEu2gsHC4rxoVBr08APxcERuwtnJpMkTQF MvYqib+7zwgcj638EBcQoS9Ww2zk0XMAwZVlZFLGaWtgHH7QdyxL1FrPyW9nWNxYZuht +fXQ== X-Gm-Message-State: AOAM531Z9KtlicnxR6ELhXOR83/xBwylggygSlIvmhXqaQ6RRjUuEg0d R5r+PTphY8RNQsyTeiuRn70e3AqhBC8= X-Google-Smtp-Source: ABdhPJzq9EAYNW3TFdkRqd0A+e7rtg0CWcj8SgYoiv2XgXHk+SIIBpwdnBScVBEXMd6+z8yZrl2R1w== X-Received: by 2002:a1c:dc43:: with SMTP id t64mr1852767wmg.6.1603451702799; Fri, 23 Oct 2020 04:15:02 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id f17sm2717695wme.22.2020.10.23.04.15.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 04:15:02 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= 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> Date: Fri, 23 Oct 2020 13:15:01 +0200 In-Reply-To: <873625s1eb.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 23 Oct 2020 12:05:32 +0200") Message-ID: <87eelp6vnu.fsf@gmail.com> 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: 0.0 (/) 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: -1.0 (-) Hi, On Fri, 23 Oct 2020 at 12:05, Ludovic Court=C3=A8s wrote: > I think you=E2=80=99re mistaken: :-) Indeed! Thank you for the explanation. 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 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? All the best, simon 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 20 12:57:50 2020 Received: (at 25527-done) by debbugs.gnu.org; 20 Dec 2020 17:57:50 +0000 Received: from localhost ([127.0.0.1]:45568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kr2xp-0004fn-QE for submit@debbugs.gnu.org; Sun, 20 Dec 2020 12:57:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kr2xn-0004fa-JR for 25527-done@debbugs.gnu.org; Sun, 20 Dec 2020 12:57:47 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50073) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kr2xi-0004GD-Bu; Sun, 20 Dec 2020 12:57:42 -0500 Received: from host-37-191-236-253.lynet.no ([37.191.236.253]:56558 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kr2xg-0000hV-15; Sun, 20 Dec 2020 12:57:41 -0500 From: Marius Bakke To: Ludovic =?utf-8?Q?Court=C3=A8s?= , 25527-done@debbugs.gnu.org Subject: Re: bug#25527: PostgreSQL retains references to ld-wrapper and coreutils In-Reply-To: <874m0n4iv3.fsf@gnu.org> References: <874m0n4iv3.fsf@gnu.org> Date: Sun, 20 Dec 2020 18:57:36 +0100 Message-ID: <87wnxc7433.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 25527-done 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 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) skriver: > As of 04fa4cdf95a004bda4d63b6578b53e154a4d4679: > > --8<---------------cut here---------------start------------->8--- > $ guix size postgresql > store item total = self > /gnu/store/awmx27f02la7sc4s63jxsdczclsf63gj-postgresql-9.5.5 200.5 = 20.0 10.0% > /gnu/store/c7lm5innppxm53bf5w7i99d59kjdyx27-ld-wrapper-0 152.8 = 0.0 0.0% > /gnu/store/6slzn4ixcjlhy3av3biglqfli9pwxcn9-guile-2.0.12 103.4 = 12.7 6.3% > /gnu/store/4xxd00drj8gjcr84xdfna44qak2vhwmf-binutils-2.27 87.6 = 49.3 24.6% > /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25 78.8 = 14.4 7.2% > /gnu/store/9l52vcmb1ambc3ypf7nxn38ac0976yyf-tar-1.29 76.0 = 2.6 1.3% > /gnu/store/iz6rbi4r00jhwzbccnsbq1bbrbdi6h3d-readline-7.0 68.0 = 1.3 0.6% > /gnu/store/k0x973sjylvi746ib2xn4v1hjp855qq1-readline-7.0 68.0 = 1.3 0.6% > /gnu/store/yi8a0206zpqf6qijkn70938jj8l6s87b-ncurses-6.0 66.7 = 5.7 2.9% > /gnu/store/xydfiifs9slq0wv6n8j6p26icn2ihn88-ncurses-6.0 66.7 = 5.7 2.9% > /gnu/store/qj5sazmlzqbn2nlm7vxj6wjns0mm5x79-libunistring-0.9.6 65.4 = 4.5 2.2% > /gnu/store/frxwbfah0l9fr0j398vg3avsrmdfajnj-gmp-6.1.1 63.6 = 2.6 1.3% > /gnu/store/ykdzlcdyjjfhivids91d1xs36hmzrrp6-gmp-6.1.1 63.6 = 2.6 1.3% > /gnu/store/janggjcj3c1a2wf5p6zrgxk50jdy0ibx-libgc-7.4.2 62.7 = 1.1 0.6% > /gnu/store/dp61fnsknp4mi58vnq8jy0wyp0nl2id3-pkg-config-0.29 62.3 = 1.3 0.6% > /gnu/store/xw9jv7krgy86f5pvnrc77zph25562n1n-acl-2.2.52 61.7 = 0.4 0.2% > /gnu/store/27ygdlznld2s6bk8mw2hmbhbh517ahaq-libcap-2.24 61.4 = 0.1 0.1% > /gnu/store/a64w9dq219a8d9k4mfz76mnzph9wsvfj-zlib-1.2.8 61.3 = 0.4 0.2% > /gnu/store/hgg7bzyq84ny3b1j17c4hkdpx5xmvnw0-attr-2.4.47 61.2 = 0.2 0.1% > /gnu/store/p153bawa5szcv4z6br9jrbwv3zq6qv5m-libffi-3.2.1 61.1 = 0.1 0.1% > /gnu/store/lb6z629zg8p5raip9m9k2sris87qsgdn-libltdl-2.4.6 61.1 = 0.1 0.1% > /gnu/store/cdi08kw7r6r684w8mk0xq0dkgpjhfpmd-gcc-4.9.4-lib 61.0 = 22.7 11.3% > /gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0 50.7 = 5.4 2.7% > /gnu/store/bm0gfw4jkw8gd0vpnnzrb6z0xncrbx3p-readline-7.0 45.3 = 1.3 0.6% > /gnu/store/hdrli1v7q3107w842s7di8rid82xlfvl-ncurses-6.0 44.0 = 5.7 2.8% > /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24 38.3 = 36.8 18.4% > /gnu/store/rvgmixpmsq5lqr9qflhkm70kg7a4rys2-bash-static-4.4.0 1.4 = 1.4 0.7% > /gnu/store/idcrs9pr86mw3f5ya87ijhczn6zywxs6-libatomic-ops-7.4.2 0.6 = 0.6 0.3% > total: 200.5 MiB > --8<---------------cut here---------------end--------------->8--- > > We should at least remove the dependency on ld-wrapper, which is > probably not justified. This is because PostgreSQL installs its Makefile(!), which contain absolute references to various build tools. I pushed a fix to 'staging' in e693617f559f49d1d2606dd5ad997e444b9ad1b5 that adjusts the Makefile to use relative references. (not sure whether it should be installed at all, but that is for a future bug report) The size of postgresql@13 decreased from 256.3 MiB to 137.9 MiB(!!). Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCgAtFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl/fkJEPHG1hcml1c0Bn bnUub3JnAAoJEKKgbfKjOlT60R0H/2TEU9McdG/JHztwdzw4gfSB3kWGFVr1+luQ Y4OLLmAwiROXr5kGgsM+zcpng031/l8jFu0wxpsb72YIhfVUCf5oygcW9r51EjFA 23QPxNDdkTKBENAE8dyT4fRf1H7BeZCrMfqr1O2pD4RokI4TsnprUmfRmi9gtVNh GFhJKrPvwRPQnKQTHldNDCRKCXwSqMqFOTBQWa/UzXbry6T/6Xjsj4AuVF2xV6JK y69E3XpwhQ4E6ma+VaOQpxndjWotC1vWkwDpH022qQDW8wcQqkf2awsBCEkV6wW2 wZ3hVQad07bkgaAP+Cw9WTy/F/GX1rwk7Xa+VQCyHuLjXAbCkEE= =kS2U -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 17:59:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 18 Jan 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator