GNU bug report logs - #40071
Cross-compiled package closure size.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Mathieu Othacehe <m.othacehe@HIDDEN>; Keywords: moreinfo; dated Sun, 15 Mar 2020 11:32:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) moreinfo. Request was from Simon Tournier <zimon.toutoune@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 40071 <at> debbugs.gnu.org:


Received: (at 40071) by debbugs.gnu.org; 20 Oct 2022 08:56:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 20 04:56:52 2022
Received: from localhost ([127.0.0.1]:32931 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1olRMC-0006YO-9t
	for submit <at> debbugs.gnu.org; Thu, 20 Oct 2022 04:56:52 -0400
Received: from mail-wr1-f54.google.com ([209.85.221.54]:37793)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1olRM9-0006Xt-6I
 for 40071 <at> debbugs.gnu.org; Thu, 20 Oct 2022 04:56:51 -0400
Received: by mail-wr1-f54.google.com with SMTP id bv10so33182028wrb.4
 for <40071 <at> debbugs.gnu.org>; Thu, 20 Oct 2022 01:56:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=AFP+ja5aEMNZm/UoVLm9aOYJRc7YJA9tvbYFBXKB+ic=;
 b=NCPgn/mZS5JSBmyM/XDxw2Xv+oK0K4WZKWE9S7ww8IhI+3/8Dbbxvh0ukJVo/k+0bY
 AxgFEowuQouMSlHpl33H0y2OrSTNEzfw74NbG/xn93XT0r3h8Rl30GKNAhiZmtWSLiRd
 qaHNpl9qxoGX6q3vIGlg7AdaisqGhBrAP9GaBey/b6FAzc3pmasKjwNUUcT4P7ydrypD
 IcXsahBPJj5GxvvPbMxxBdoxEKhLSh3GYUefVtuHeqpm5AOZi10CJSi5wqm4Yjjx5ePp
 fxuegehJ5d6Akhom1l6bqAmiG04wgYoT3/ei01sOei/rvWg5iTYk3osLm21j/MRR6RuT
 EFkg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=AFP+ja5aEMNZm/UoVLm9aOYJRc7YJA9tvbYFBXKB+ic=;
 b=gMRCDt2Vdz6hpqnIMwG+hKBS3I6iVNduixysQlCG00qnSj13zLSe1ISBzTsjCSJfDx
 xqDqOeTLS2VHUGDw5t+Hu8ZZ/JIe0dsz+V1Jvuc4Tf+g8my38iHJbJmW8paZw9YL55WJ
 4+GbZ3amb+7EecwRiffLXfFqxcqcUzOyZbLdKSSAbSBQtmUQfM5uYSjQfUtTh2/tldtU
 B4dAyKz53DuHCTvjdoDDoUFqSgKD0KRN/uzuSNsnE8VVEgXwOCdVWR0FsXr769Hn7TSU
 Tcz5C+xbOjUB8q9XoCowRj5bp0pU1dMeTwoucmaRJIk+g/jzf1LUlMCnQ6PndytgtFCw
 q/iQ==
X-Gm-Message-State: ACrzQf2LFFNupeLJvst+7jgrmdpFofF4MdwU/4XH8PqkxAGOX3sg4fd+
 rWzdoVaUinTfkDspt/ZZESuIyUpNlbk=
X-Google-Smtp-Source: AMsMyM788w4XfQmGYsn/JkzRdqh5fs56GeliuSJM1/5y0abYbDiLONtjhb2rQfqK6A2EY1fVdCL3+w==
X-Received: by 2002:a05:6000:1565:b0:22f:1407:9bfd with SMTP id
 5-20020a056000156500b0022f14079bfdmr7694080wrz.620.1666256203606; 
 Thu, 20 Oct 2022 01:56:43 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 g7-20020a05600c4ec700b003c409244bb0sm2473418wmq.6.2022.10.20.01.56.43
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 20 Oct 2022 01:56:43 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Mathieu Othacehe <m.othacehe@HIDDEN>
Subject: Re: bug#40071: Cross-compiled package closure size.
References: <874kuplurj.fsf@HIDDEN>
Date: Tue, 18 Oct 2022 17:47:53 +0200
In-Reply-To: <874kuplurj.fsf@HIDDEN> (Mathieu Othacehe's message of "Sun,
 15 Mar 2020 12:31:12 +0100")
Message-ID: <871qr5kuae.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 40071
Cc: 40071 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Hi Mathieu,

On dim., 15 mars 2020 at 12:31, Mathieu Othacehe <m.othacehe@HIDDEN> wrote:

> mathieu@elbruz ~/guix [env]$ guix size /gnu/store/14ygibryjr7mcly0q9mb8306hlg16nhq-hello-2.10
> store item                                                       total    self
> /gnu/store/vm2gaw5jk1zr1x9qzj4z52qjxvrh0nk9-glibc-cross-aarch64-linux-gnu-2.31   158.9    71.4  38.2%
> /gnu/store/w00jb174abikqpznadwzvvgwl3r7qfzd-glibc-2.31              38.4    36.7  19.6%
> /gnu/store/08vqg0s77dnff7rz90b0h87n2rfyaszg-gcc-7.5.0-lib           71.0    32.6  17.5%
> /gnu/store/vqsixs9ks4chpjynhizkpdd1gdshv87h-gcc-cross-aarch64-linux-gnu-7.5.0-lib   186.8    27.9  14.9%
> /gnu/store/fgrpk8r46k34pyqv6xkbi8gbv997dbpx-gcc-cross-sans-libc-aarch64-linux-gnu-7.5.0-lib    80.8     9.8   5.2%
> /gnu/store/zf5603c5l6ilgyg35gqfkn82v3k9hbri-linux-libre-headers-cross-aarch64-linux-gnu-5.4.20     5.1     5.1   2.7%
> /gnu/store/6hhsxa3vvbh8gvcfjw4k5sfk1qrhkcrf-bash-static-5.0.16       1.6     1.6   0.9%
> /gnu/store/nvc3r588745kkj159lm1pa4xz5g99rqd-bash-static-5.0.16       1.6     1.6   0.9%
> /gnu/store/14ygibryjr7mcly0q9mb8306hlg16nhq-hello-2.10             187.0     0.2   0.1%

Well, using Guix 729ce5f, the situation is sadly similar,

--8<---------------cut here---------------start------------->8---
7$ guix size $(guix build hello --target=aarch64-linux-gnu)
store item                                                       total    self
/gnu/store/fhnvh4qw8ln2i83pfhlccivwxma89q4x-glibc-cross-aarch64-linux-gnu-2.33    48.1    46.4  30.8%
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33              38.3    36.6  24.3%
/gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib          71.7    33.4  22.1%
/gnu/store/a8i28a0wjpfw40jiz3xdigkpwwdmfcrb-gcc-cross-aarch64-linux-gnu-10.3.0-lib   150.5    30.7  20.4%
/gnu/store/4f304c7dp68hkcp1zi1i07zm8nfvvyp7-bash-static-5.1.8        1.7     1.7   1.1%
/gnu/store/720rj90bch716isd8z7lcwrnvz28ap4y-bash-static-5.1.8        1.7     1.7   1.1%
/gnu/store/rys78r4j72zh45xchq87x2y30ya8mzvi-hello-2.12.1           150.7     0.2   0.1%
total: 150.7 MiB
--8<---------------cut here---------------end--------------->8---

> The native glibc, gcc-lib and one of the two bash-static packages should
> be removed.

What is the next step to tackle that?


For reference,

> [1]: https://lists.gnu.org/archive/html/bug-guix/2020-03/msg00170.html

<http://issues.guix.gnu.org/issue/40071>

Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#40071; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Mar 2020 11:31:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 15 07:31:20 2020
Received: from localhost ([127.0.0.1]:34281 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jDRUG-0000JT-FE
	for submit <at> debbugs.gnu.org; Sun, 15 Mar 2020 07:31:20 -0400
Received: from lists.gnu.org ([209.51.188.17]:33533)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <m.othacehe@HIDDEN>) id 1jDRUE-0000IG-Uz
 for submit <at> debbugs.gnu.org; Sun, 15 Mar 2020 07:31:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44143)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <m.othacehe@HIDDEN>) id 1jDRUD-0005Tn-Je
 for bug-guix@HIDDEN; Sun, 15 Mar 2020 07:31:18 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <m.othacehe@HIDDEN>) id 1jDRUC-0000zO-Bz
 for bug-guix@HIDDEN; Sun, 15 Mar 2020 07:31:17 -0400
Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:33129)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <m.othacehe@HIDDEN>)
 id 1jDRUC-0000rX-3B
 for bug-guix@HIDDEN; Sun, 15 Mar 2020 07:31:16 -0400
Received: by mail-wm1-x331.google.com with SMTP id r7so11179496wmg.0
 for <bug-guix@HIDDEN>; Sun, 15 Mar 2020 04:31:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=user-agent:from:to:subject:date:message-id:mime-version;
 bh=KoKZvJz863yenGWxt4MoBPqr9akK59b44XiMIBRygLA=;
 b=EbgNUOVHf4bAhuy01UtJILsHxu5khg565+hRHecR/efUTMW1LYs5kUPpSKKhq7VoWM
 nLTkIFeOa4ufODk/PmkCtPydRjsmLlsDbpf1DoOq89CvBMCM+XrMmr4CVBfYuQbf7kxo
 L+8XXN2r80pV/xbk30jfLVzXsY2T3u5j4I85jpWYqoQGFj/7N9LXVxnx1xJ1AKnuEi3x
 GOouY6M/eFu+Qm9YePh5f9dkbgCfGpoSJP2DzmVZ1PyFREIV4QfHvwdkyhSs/04zrfbv
 XnsfaLPI1x48km1IXKz7Z2Jn/PKwWeowc6ygP+jYHD6tWxHJRhf8U2WOkVoDBkA0y/ta
 AZdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:user-agent:from:to:subject:date:message-id
 :mime-version;
 bh=KoKZvJz863yenGWxt4MoBPqr9akK59b44XiMIBRygLA=;
 b=kMFqfRoMskhwny7dNO1m5MmYuNWmzsWc+wNErJq9vaVR6JZKSMC4UYXNQtVTDJh04h
 PDG0galcDKd+88pNbXFxrAsP0yIyGCtpJUOI12eoYqIJhaO22NV8LxLoiRzT06jsaPlD
 QSvt8KVLHtYGrqORENY6G7nQYaZELcQVPX2iUZQXdXvVnydi2+sozW4WHXS9uvqR0phY
 kNlFy3lK2Z2vlw5OOEHhdxWkm2YjXorVEdbMFfSxwL+W596NWQLVUp0MtP0Zq5pttBx5
 0dspOGDESmWCsYpPnrft8ZFQvVd7owH3xsNsWXVRq1JgXjFLaYAJkdnGaZbaf1JCGF/B
 Xj6w==
X-Gm-Message-State: ANhLgQ0WL7qccxdq+5GhFsDZ0kpVzui+mr5uHcPUefzcPiS8TFzPqDzC
 TXFXSt1Op2ki5rTbJIoyeMt6kOTT
X-Google-Smtp-Source: ADFU+vvWLKOznfGY+KHurRfJJbSuZLSFSGRmw2puaAVJdTEX880eSSTA15RYF/D9xkob9cec2zayxw==
X-Received: by 2002:a7b:cd13:: with SMTP id f19mr22738380wmj.10.1584271874457; 
 Sun, 15 Mar 2020 04:31:14 -0700 (PDT)
Received: from cervin ([2a01:e0a:fa:a50:709f:c263:3a05:fdf9])
 by smtp.gmail.com with ESMTPSA id e1sm77794507wrx.90.2020.03.15.04.31.13
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 15 Mar 2020 04:31:13 -0700 (PDT)
User-agent: mu4e 1.2.0; emacs 26.3
From: Mathieu Othacehe <m.othacehe@HIDDEN>
To: bug-guix@HIDDEN 
Subject: Cross-compiled package closure size.
Date: Sun, 15 Mar 2020 12:31:12 +0100
Message-ID: <874kuplurj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::331
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


Hello,

After applying the patch proposed here[1], the closure of cross-compiled
"hello" still contains unwanted packages.

--8<---------------cut here---------------start------------->8---
mathieu@elbruz ~/guix [env]$ guix size /gnu/store/14ygibryjr7mcly0q9mb8306hlg16nhq-hello-2.10
store item                                                       total    self
/gnu/store/vm2gaw5jk1zr1x9qzj4z52qjxvrh0nk9-glibc-cross-aarch64-linux-gnu-2.31   158.9    71.4  38.2%
/gnu/store/w00jb174abikqpznadwzvvgwl3r7qfzd-glibc-2.31              38.4    36.7  19.6%
/gnu/store/08vqg0s77dnff7rz90b0h87n2rfyaszg-gcc-7.5.0-lib           71.0    32.6  17.5%
/gnu/store/vqsixs9ks4chpjynhizkpdd1gdshv87h-gcc-cross-aarch64-linux-gnu-7.5.0-lib   186.8    27.9  14.9%
/gnu/store/fgrpk8r46k34pyqv6xkbi8gbv997dbpx-gcc-cross-sans-libc-aarch64-linux-gnu-7.5.0-lib    80.8     9.8   5.2%
/gnu/store/zf5603c5l6ilgyg35gqfkn82v3k9hbri-linux-libre-headers-cross-aarch64-linux-gnu-5.4.20     5.1     5.1   2.7%
/gnu/store/6hhsxa3vvbh8gvcfjw4k5sfk1qrhkcrf-bash-static-5.0.16       1.6     1.6   0.9%
/gnu/store/nvc3r588745kkj159lm1pa4xz5g99rqd-bash-static-5.0.16       1.6     1.6   0.9%
/gnu/store/14ygibryjr7mcly0q9mb8306hlg16nhq-hello-2.10             187.0     0.2   0.1%
--8<---------------cut here---------------end--------------->8---

The native glibc, gcc-lib and one of the two bash-static packages should
be removed.

The gcc-cross-sans-libc-aarch64-linux-gnu-7.5.0-lib may also be removed.

Ideally, we would have a closure similar to the native one, with
something like this:

--8<---------------cut here---------------start------------->8---
/gnu/store/vm2gaw5jk1zr1x9qzj4z52qjxvrh0nk9-glibc-cross-aarch64-linux-gnu-2.31   158.9    71.4  38.2%
/gnu/store/vqsixs9ks4chpjynhizkpdd1gdshv87h-gcc-cross-aarch64-linux-gnu-7.5.0-lib   186.8    27.9  14.9%
/gnu/store/6hhsxa3vvbh8gvcfjw4k5sfk1qrhkcrf-bash-static-5.0.16       1.6     1.6   0.9%
/gnu/store/14ygibryjr7mcly0q9mb8306hlg16nhq-hello-2.10             187.0     0.2   0.1%
--8<---------------cut here---------------end--------------->8---

Thanks,

Mathieu

[1]: https://lists.gnu.org/archive/html/bug-guix/2020-03/msg00170.html




Acknowledgement sent to Mathieu Othacehe <m.othacehe@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#40071; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 24 Oct 2023 09:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.