From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 08 17:38:56 2021 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: bug#47569: =?utf-8?Q?=E2=80=98qt-build-system=E2=80=99?= retains too many references via wrappers 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47569 Cc: 47569@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.7 (-) 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.