From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id y/ojNAB4b2BXXQAAgWs5BA (envelope-from ) for ; Thu, 08 Apr 2021 23:39:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kH3oLAB4b2CAKwAAbx9fmQ (envelope-from ) for ; Thu, 08 Apr 2021 21:39:12 +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 1624A14DB1 for ; Thu, 8 Apr 2021 23:39:12 +0200 (CEST) Received: from localhost ([::1]:51168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUcMo-0005hP-2e for larch@yhetil.org; Thu, 08 Apr 2021 17:39:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUcMg-0005fh-Q3 for bug-guix@gnu.org; Thu, 08 Apr 2021 17:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUcMg-0008MX-JC for bug-guix@gnu.org; Thu, 08 Apr 2021 17:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUcMg-00035O-GO for bug-guix@gnu.org; Thu, 08 Apr 2021 17:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47569: =?UTF-8?Q?=E2=80=98qt-build-system=E2=80=99?= retains too many references via wrappers Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Apr 2021 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47569 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 47569-submit@debbugs.gnu.org id=B47569.161791793611849 (code B ref 47569); Thu, 08 Apr 2021 21:39:02 +0000 Received: (at 47569) by debbugs.gnu.org; 8 Apr 2021 21:38:56 +0000 Received: from localhost ([127.0.0.1]:48477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUcMa-000353-EK for submit@debbugs.gnu.org; Thu, 08 Apr 2021 17:38:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUcMY-00034q-Lz for 47569@debbugs.gnu.org; Thu, 08 Apr 2021 17:38:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52160) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUcMT-0008AD-Er; Thu, 08 Apr 2021 17:38:49 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33440 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lUcMT-0002E2-0P; Thu, 08 Apr 2021 17:38:49 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87czvczbsv.fsf@inria.fr> <87blaurbya.fsf@gmail.com> <878s5wseaz.fsf@gnu.org> <87r1jnmu0v.fsf@gnu.org> <87zgybl35g.fsf@gnu.org> <87eeflopk9.fsf@gmail.com> Date: Thu, 08 Apr 2021 23:38:45 +0200 In-Reply-To: <87eeflopk9.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 07 Apr 2021 15:35:50 -0400") Message-ID: <87im4w8niy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: 47569@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617917952; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=5PXS3Z/0wjviOpUlYcv7+ou1EvskywQnFA+xSSbDBZM=; b=OiL1XEB4xc/B+dI3+++Jle1qaX/6X6DEDNjn16K4aOO5bJ1YFXMALJV9tVKd/0iTN3E74n q10iFNcyc2NKyBNjmNGn8QiKJJ30gLeb3BN0o8Qrza7ntboqeu+3GXWjffrvm76qQQCxkk knokXon8t8xFENhi59kFvfwvap7Bi8PZXbzhARJJePJbX1vlzfdxC/q7uhgw0mr+3z5tOf eAbBnOaQM+Ni1/JpLESc72NKkM6fBoOQUZ4QLpoWnYtbp7pJ7+edihITvnIKUh/vVjWzni lqYSu7X7myGpHpDk4/CvTkVkOybQDcIX5FZiH4/qEF5X2kNcUykf1fuEfBtGVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617917952; a=rsa-sha256; cv=none; b=H8IkhjvvmqatIxl5oKtVvCrVLsjNxZ3t0OsgFS8Mk4hgHWMLonjYmO3hapZESdtvqmtlsq hh+X8LThl75ch/vOBABdekAFfJd3tLn5xZ6+st9/9ZtfNRQOAGNkAiiWY413AjgbOGuJ36 DZVlk56zyEPN4GFq3g5B4jeacYIjf+6/e3u/YaBZrDxUoGsOg2HAMH6n+c14nu83IthSMW p7AqEUHmp+FmOPySkwZP0TTc48js8KwPOZxKdp1lrOg+9tCRYJHYJpEGTsdpmIawMtMfRK 9Zxxb1+e1XCdX5pKil0TOPXvYhCnvE13GHOhN7UfHX87tXqmxgylEa6grbUeqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Spam-Score: -1.44 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: 1624A14DB1 X-Spam-Score: -1.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: Um7m0Ngk7H3/ Maxim Cournoyer skribis: > Thanks for the patch! I built jami-qt with it; the closure size was > reduced from 2.7 GiB to 2.2 GiB (there's probably more to do, but it's a > good start!). It seems to work just as well as before the change, from > a cursory look. Regarding the closure size, the top packages and the usual suspects: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix size ktouch | head store item total s= elf /gnu/store/rv567nsh90bqz5gfh6sh1g84jccxcifa-llvm-11.0.0 220.0 = 148.6 11.4% /gnu/store/7disnxqw8i3n4zhw5s0xj9kkdckkmr1p-mesa-20.2.4 389.1 = 141.6 10.9% /gnu/store/j7110r2rhs9pdypx2x0h8nx4r082fbdk-qtbase-5.15.2 976.2 = 80.0 6.2% /gnu/store/rz42ba0my9vrgbkjpkzr2drmnjk5ah50-python-3.8.2 171.4 = 79.8 6.1% /gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2 146.2 = 57.1 4.4% /gnu/store/a5m2xzsv3ff1gsh4pkdxbv99nchmlkhq-mozjs-60.2.3-2 248.3 = 54.7 4.2% /gnu/store/18hp7flyb3yid3yp49i6qcdq0sbi5l1n-guile-3.0.2 132.8 = 53.2 4.1% /gnu/store/ckwyq3y43i33s5fl9hb6c51418rh1qwj-icu4c-66.1 110.2 = 38.1 2.9% /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31 38.4 = 36.7 2.8% --8<---------------cut here---------------end--------------->8--- There=E2=80=99s a preliminary patch to improve the LLVM situation at . I=E2=80=99m sure we can also do a bet= ter job on the size of those other things. A bit of a shame that mozjs shows up here; that=E2=80=99s because of Polkit: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix graph --path ktouch mozjs@60 -t references /gnu/store/179ifxjb2kvapzydsnkh2vylhnx79kkk-ktouch-20.12.1 /gnu/store/2z5nfmzxhqaalcrswp8nn3yk5ys8q261-kauth-5.70.0 /gnu/store/vg0lwx182c63icfj60bi4gfk4s9bh1rf-polkit-qt-1-0.112.0 /gnu/store/9zijxjyrpg54csx3sam8hmsvrjgqw4zm-polkit-0.116 /gnu/store/a5m2xzsv3ff1gsh4pkdxbv99nchmlkhq-mozjs-60.2.3-2 --8<---------------cut here---------------end--------------->8--- (It=E2=80=99ll be worse when Polkit depends on Rust=E2=80=A6) Ludo=E2=80=99.