Received: (at submit) by debbugs.gnu.org; 22 Nov 2019 23:12:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 22 18:12:19 2019 Received: from localhost ([127.0.0.1]:55699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iYI65-0007Cn-3F for submit <at> debbugs.gnu.org; Fri, 22 Nov 2019 18:12:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:41655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1iYI5y-0007CZ-ES for submit <at> debbugs.gnu.org; Fri, 22 Nov 2019 18:12:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48244) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1iYI5x-0000T0-DG for bug-Guix@HIDDEN; Fri, 22 Nov 2019 18:12:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1iYI5x-0008PA-9x for bug-Guix@HIDDEN; Fri, 22 Nov 2019 18:12:09 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60130 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1iYI5w-0001vH-R6 for bug-Guix@HIDDEN; Fri, 22 Nov 2019 18:12:09 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: bug-Guix@HIDDEN Subject: =?utf-8?Q?=E2=80=98wine64-staging=E2=80=99?= is very expensive to build X-Debbugs-Cc: Rutger Helling <rhelling@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 Frimaire an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 23 Nov 2019 00:12:07 +0100 Message-ID: <87r21z7bg8.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.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: -3.3 (---) Hello, I noticed that =E2=80=98wine64-staging=E2=80=99 is our most expensive packa= ge to build. Initially I was surprised because it only has a couple of nodes more in its <package> object than =E2=80=98wine-staging=E2=80=99: --8<---------------cut here---------------start------------->8--- ludo@ribbon ~/src/guix$ guix graph wine-staging |grep 'label =3D ' |wc -l 509 ludo@ribbon ~/src/guix$ guix graph wine64-staging |grep 'label =3D ' |wc -l 511 --8<---------------cut here---------------end--------------->8--- However, that single additional node leads to the duplication of the whole derivation graph on x86_64-linux: --8<---------------cut here---------------start------------->8--- ludo@ribbon ~/src/guix$ guix graph -t derivation wine-staging |grep 'label = =3D ' |wc -l 2738 ludo@ribbon ~/src/guix$ guix graph -t derivation wine64-staging |grep 'labe= l =3D ' |wc -l 4598 --8<---------------cut here---------------end--------------->8--- This is because =E2=80=98wine-staging=E2=80=99 has a hard-coded =E2=80=98#:= system "i686-linux"=E2=80=99, whereas =E2=80=98wine64-staging=E2=80=99 is (unsurprisingly :-)) built on x= 86_64-linux. (The same problem happens with =E2=80=98wine=E2=80=99 vs. =E2=80=98wine64= =E2=80=99.) Likewise, =E2=80=98guix size wine64=E2=80=99 shows that every dependency ap= pears twice (one 32-bit, one 64-bit), and thus the total size is twice that of =E2=80=98wine=E2=80=99. Rutger, is there something that can be done to avoid this? Apparently only JSON files are copied from =E2=80=98wine-staging=E2=80=99 into =E2=80= =98wine64-staging=E2=80=99, but maybe they refer to 32-bit shared libraries or something? Thanks, Ludo=E2=80=99.
Ludovic Courtès <ludo@HIDDEN>
:rhelling@HIDDEN, bug-guix@HIDDEN
.
Full text available.rhelling@HIDDEN, bug-guix@HIDDEN
:bug#38336
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.