From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mE/+HriQ318OMAAA0tVLHw (envelope-from ) for ; Sun, 20 Dec 2020 17:58:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cIPJGriQ31+AYAAAB5/wlQ (envelope-from ) for ; Sun, 20 Dec 2020 17:58:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 884459403D5 for ; Sun, 20 Dec 2020 17:58:12 +0000 (UTC) Received: from localhost ([::1]:40534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kr2yB-0005pn-46 for larch@yhetil.org; Sun, 20 Dec 2020 12:58:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr2y3-0005oB-AU for bug-guix@gnu.org; Sun, 20 Dec 2020 12:58:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kr2y3-0004QL-2K for bug-guix@gnu.org; Sun, 20 Dec 2020 12:58:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kr2y3-0004gW-27 for bug-guix@gnu.org; Sun, 20 Dec 2020 12:58:03 -0500 Subject: bug#25527: PostgreSQL retains references to ld-wrapper and coreutils Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sun, 20 Dec 2020 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25527 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 25527-done@debbugs.gnu.org Mail-Followup-To: 25527@debbugs.gnu.org, marius@gnu.org, ludo@gnu.org Received: via spool by 25527-done@debbugs.gnu.org id=D25527.160848707017971 (code D ref 25527); Sun, 20 Dec 2020 17:58:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 884459403D5 X-Spam-Score: -4.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: F7eMLb45qyKg --=-=-= 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----- --=-=-=--