From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UEqTGDDdaV/2TgAA0tVLHw (envelope-from ) for ; Tue, 22 Sep 2020 11:17:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aNaTFDDdaV/yQgAAbx9fmQ (envelope-from ) for ; Tue, 22 Sep 2020 11:17:04 +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 D50C79402B2 for ; Tue, 22 Sep 2020 11:17:03 +0000 (UTC) Received: from localhost ([::1]:57692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKgIA-0007D8-Kv for larch@yhetil.org; Tue, 22 Sep 2020 07:17:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKgHx-0007Aw-K3 for guix-devel@gnu.org; Tue, 22 Sep 2020 07:16:49 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:43193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKgHv-0006E7-UF for guix-devel@gnu.org; Tue, 22 Sep 2020 07:16:49 -0400 Received: by mail-wr1-x42d.google.com with SMTP id k15so16587905wrn.10 for ; Tue, 22 Sep 2020 04:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=GWHnxRQDX8Fseq29bhXQJIO6Vdou5ZAGfHJzS9AirV8=; b=fwTdPJI6vYHa4/kxnPC9+KdUwGEZpCyD1VJLqBG1Dnq/eKHjntfstoGjMM1Bstid12 17AfRDzWw/2xOJwUWDMfrm3TtFQbhB+bgEEgwrJYLdxizikuaSfi1ad3Gwa8+pyw12/u rtijoqxeP4wYJmFd5F0ZrtF9IJndci8wsjMn53x2iLpZvvJpXcSRRJrbb5lILMCJSUsq uqliP+l9i7pnRfqZFxYkoMBimU8s2hPSfYrpkPqmCY+9j8puf9kgIkRC6u3IkdchB6yQ nz9WBNv6a4k9V2e+nIAmGAOJoMJ0IMMaacWm4TFJ5fWwSe6nttxBLtXZLmO6Ib64lzay a7Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=GWHnxRQDX8Fseq29bhXQJIO6Vdou5ZAGfHJzS9AirV8=; b=AYc2w43F11Y84g7NYUHyTodG8NQ0ODX/Ic9FnmjFm9ylpN7OBPeV9jt6H/JWY6GdnW /FebGiIjgQwOjpT/PIqrZm1Jf0rsT1z6ixEDxQL62LyJSgu201fOAJREWzgMKbbXKLPp 2xjBFU6PoWRf8xfqDCS1qjWhq/1hwWAusyqh5rsKw1HtrP0lBLmN3mMwiveEsKRlwQ9o kBGG+bIzGNBSjh7mRSNe4EjnvdSMoAZsGYvVdo4TuwiNBK2XfVKDhayxC01BnBm5Abe+ nUWtPQXXeRPQjO28OIEV1Y1KbWDuagIGrnOzEPsahkOurJp1V/FVWzXa/Wfi/hGatu5I dggg== X-Gm-Message-State: AOAM530vSxWnkKb3jdVQ+36cuCm2DbbBsOLEeBSOQazvtqfiDCZqwsm4 iHn2XQIRIJRec5bCEn0x2nQLCSHfDy4= X-Google-Smtp-Source: ABdhPJx9JQR9XW2/HBa0pQJRHE8VTdYdn7O/j2IZEW57+0EW2eHaEQ1I/J6cId5kNyrdehva8E+o2Q== X-Received: by 2002:adf:e84a:: with SMTP id d10mr5113807wrn.66.1600773405824; Tue, 22 Sep 2020 04:16:45 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z15sm26183022wrv.94.2020.09.22.04.16.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Sep 2020 04:16:45 -0700 (PDT) From: zimoun To: Guix Devel Subject: Emacs closure at ~900MB? Date: Tue, 22 Sep 2020 13:16:44 +0200 Message-ID: <86wo0mnjs3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_BTC_ID=0.499, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=fwTdPJI6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: jM8jkOj/++kR Dear, I am building Docker images containing only Emacs and I find them really big =E2=80=93=E2=80=93 and I have a low upload bandwidth. Well, using Guix 9e7b265, =E2=80=9Cguix size emacs=E2=80=9D says: --8<---------------cut here---------------start------------->8--- /gnu/store/118xpdazyylxa1rlc68h9lmh38vhxrb4-llvm-10.0.0 210.8 = 139.3 16.2% /gnu/store/1qmd9achfkm1njzxf8hi86q53pmy9sxk-mesa-20.0.7 369.2 = 131.3 15.3% /gnu/store/wn1m7lwnasvwygbaf8ky413qzbm96mys-emacs-27.1 859.7 = 106.2 12.4% /gnu/store/18hp7flyb3yid3yp49i6qcdq0sbi5l1n-guile-3.0.2 132.8 = 53.2 6.2% /gnu/store/9lckq1194qcy4a7kv8bihagd58shj7yr-gtk+-3.24.20 723.7 = 49.0 5.7% /gnu/store/qizplwwgqwyq6qmz1i6jlaib5kgzrgwq-icu4c-66.1 110.2 = 38.1 4.4% /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31 38.4 = 36.7 4.3% /gnu/store/w5msvpf5gimpq9whyjimkzz80n2smw3w-ghostscript-with-cups-9.52 21= 2.2 33.9 3.9% /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib 71.0 = 32.6 3.8% [...] total: 859.7 MiB --8<---------------cut here---------------end--------------->8--- And I am surprised to see the package =E2=80=99llvm=E2=80=99. Is it expect= ed? This package is dragged by mesa, dragged by gtk+. --8<---------------cut here---------------start------------->8--- $ guix graph --path emacs llvm emacs@27.1 gtk+@3.24.20 mesa@20.0.7 llvm@10.0.0 --8<---------------cut here---------------end--------------->8--- Is it possible to reduce the closure size of Emacs? All the best, simon