GNU bug report logs - #72921
Building emacs-yaml with emacs takes approximately eternity

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: Tomas Volf <~@wolfsden.cz>; dated Sat, 31 Aug 2024 21:03:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 72921) by debbugs.gnu.org; 1 Sep 2024 06:48:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 01 02:48:01 2024
Received: from localhost ([127.0.0.1]:32965 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1skeNU-0004hz-L9
	for submit <at> debbugs.gnu.org; Sun, 01 Sep 2024 02:48:00 -0400
Received: from mail-wm1-f66.google.com ([209.85.128.66]:54585)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1skeNS-0004hj-OM
 for 72921 <at> debbugs.gnu.org; Sun, 01 Sep 2024 02:47:59 -0400
Received: by mail-wm1-f66.google.com with SMTP id
 5b1f17b1804b1-42bb72a5e0bso27471945e9.1
 for <72921 <at> debbugs.gnu.org>; Sat, 31 Aug 2024 23:46:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1725173153; x=1725777953; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=rfmsribdCMTOwIn3oO+ll6BbRMqkiqrYlrSj0O4q1DU=;
 b=KW4lztUu1JFwxY0J1is4fw/5AWG2LA0xRSwjxi70yKIAQKdKJctzne5stcnRqShL8K
 8ONOJEkJYUP+qmQQU7HJfA74Ns09jLowemgDUt4Wya0LRL6ZQI2N2cVjcrx1U4Pu29ir
 eU/J5nusHvjENlNG6E2OxzDx7oGdKhgqydvWuAU3AJxvQKPO4V4OqCHtBaYLH/vc/Uv0
 eQvuhKaHFF644YTUMvPP2MU6BnlndGLGEPp35y50+RaERLoCTzsmMunVhEofxOHRViNy
 wyBlIABofRJ9/Ed4FUs+Oh/OgGg+N4/6+RjIkdBysMM5oVsJPyF0lm9lPOG+eYwCLrSs
 pc4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1725173153; x=1725777953;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=rfmsribdCMTOwIn3oO+ll6BbRMqkiqrYlrSj0O4q1DU=;
 b=LeM/HyR0VSK6+GJVFr1jx2blolB9iucIBOigaSQB37iMpftDLPKZSiP1TO9i1+VUW3
 VCsGnv3/xBSO1PcgHJawUNau5hn1VGyo5g+MS5WZrzjjPlHCv3nKj6DnONM7hoWBMfrQ
 zY6e+Yv/E0hz1w590cJ3ZLI0tpd/zmjDF4qsJwYKmOYhC1+UvTDmhZXV6gFrMumuNAnZ
 c304AZFm3wk3SpdKzwhS+Z1TuOlD7avKwe1SH+g7Pn0Pup8lDXZ/iepb5qL+vGrtgNDQ
 UgZTRBIj+blIDrOJmRh4PPLz2EnnAHpc35zKEaZLzc1vuTVRW0HGeA1mJm5ZwkEeFgwD
 3lcA==
X-Forwarded-Encrypted: i=1;
 AJvYcCVODMKODYrGIuBwR5Kf0tMQcSeIrLLr+Io0VLDkkkfUmRVZIOW9wa6hoyNPkJo4H4Ym7wRZ7Q==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YynEn2OW+HsC8iYqQhOWeoq+V81mBR+8wD6HyrXNmaXY1yIyCXI
 q4YOELlD2J0nzyT3BZxoycOszdUW3vgMmsSwulBPn4S42ZWjWMdE
X-Google-Smtp-Source: AGHT+IGye+yF8WonKbOaqF1yB+1X0DrZ4ZXaEh31+ewEp5ovRQO+nca1ODluZ3jkxGK+ACoLPx5TcQ==
X-Received: by 2002:a05:600c:4455:b0:425:5ec3:570b with SMTP id
 5b1f17b1804b1-42bb01fcfb6mr75735605e9.35.1725173153191; 
 Sat, 31 Aug 2024 23:45:53 -0700 (PDT)
Received: from lumine.fritz.box (85-127-20-124.dsl.dynamic.surfer.at.
 [85.127.20.124]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-42ba639671dsm131012015e9.5.2024.08.31.23.45.52
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 31 Aug 2024 23:45:52 -0700 (PDT)
Message-ID: <4b00fcb4424a4cd31d058ad79f8804edf5bffa77.camel@HIDDEN>
Subject: Re: Building emacs-yaml with emacs takes approximately eternity
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Tomas Volf <~@wolfsden.cz>, 72921 <at> debbugs.gnu.org
Date: Sun, 01 Sep 2024 08:45:50 +0200
In-Reply-To: <87a5gsl84w.fsf@HIDDEN>
References: <87a5gsl84w.fsf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.48.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 72921
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: -1.0 (-)

Am Samstag, dem 31.08.2024 um 23:01 +0200 schrieb Tomas Volf:
> The emacs-yaml package is configured to build against emacs-minimal,
> which seems to work.=C2=A0 When you however switch to emacs package, it
> takes way to long to build, much longer than compiling for example
> firefox package.=C2=A0 That feels off.
>=20
> --8<---------------cut here---------------start------------->8---
> $ time guix time-machine -q --
> commit=3Db8327cb31199fb9f4ebed6c53a59601d41def5a1 -- build --check --
> no-grafts -q --with-input=3Demacs-minimal=3Demacs-minimal emacs-yaml
> /gnu/store/8lqdd8yna92zqgsgip396a1wbyhr5pfn-emacs-yaml-0.5.5
> 12.573 secs
> $ time guix time-machine -q --
> commit=3Db8327cb31199fb9f4ebed6c53a59601d41def5a1 -- build --check --
> no-grafts -q --with-input=3Demacs-minimal=3Demacs emacs-yaml
> /gnu/store/ja9xfndhfafjczp6n7qfy1h21hvdpd5j-emacs-yaml-0.5.5
> 2869.878 secs
> --8<---------------cut here---------------end--------------->8---
>=20
> The difference is huge.=C2=A0 The process taking vast majority of the tim=
e
> (in the emacs version) is this one:
>=20
> --8<---------------cut here---------------start------------->8---
> 32393 guixbuil 47:10 {.emacs-29.4-rea}
> /gnu/store/y7yhpgi48klqpadrmfknl4bln9c4n05y-emacs-29.4/bin/emacs -no-
> comp-spawn -Q --batch -l /tmp/guix-build-emacs-yaml-0.5.5.drv-
> 0/emacs-int-comp-yaml-pbHFU3.el
> --8<---------------cut here---------------end--------------->8---
>=20
> I do not know enough to even guess what could be the problem, but it
> was suggested I should bug-report this.
This issue has already been reported updstream [1], but not addressed
yet: What takes so long between emacs-minimal and plain emacs is the
fact that plain emacs does native compilation. =20

emacs-build-system currently uses native compilation whenever that is
supported by the emacs used to build.  Perhaps we should allow for some
choice here =E2=80=93 ideas welcome.

Cheers

[1] https://github.com/zkry/yaml.el/issues/53




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

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


Received: (at submit) by debbugs.gnu.org; 31 Aug 2024 21:02:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 31 17:02:17 2024
Received: from localhost ([127.0.0.1]:57703 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1skVEf-0004XR-HO
	for submit <at> debbugs.gnu.org; Sat, 31 Aug 2024 17:02:17 -0400
Received: from lists.gnu.org ([209.51.188.17]:37516)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <~@wolfsden.cz>) id 1skVEd-0004XC-QL
 for submit <at> debbugs.gnu.org; Sat, 31 Aug 2024 17:02:16 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1skVDg-00078S-Rs
 for bug-guix@HIDDEN; Sat, 31 Aug 2024 17:01:16 -0400
Received: from wolfsden.cz ([37.205.8.62])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1skVDe-0005Hx-QK
 for bug-guix@HIDDEN; Sat, 31 Aug 2024 17:01:16 -0400
Received: by wolfsden.cz (Postfix, from userid 104)
 id 3A0B726FB30; Sat, 31 Aug 2024 21:01:10 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1725138070; bh=10R3+LgGoM0I0JKY5/FoOKlxX55CIhzlPFCOf61BHvU=;
 h=From:To:Subject:Date;
 b=hMG42HMYxKK5ug9AIz45KlKWbRBJf9Jrwvvs6POdixGs26leniFiAT1wcc4yxdMxE
 N7FSFJ/24q3AdEOCwvSweQwPW0v7XzZabplqciWmGrwZyWJyPxdKRbsWvViZQXYlQC
 vblX6lURHiFRIWTFZ0/q9cdq9o9gDp0Dz5T5oeH+HP3jhFDlK7ND8sY47IVsRi4NKl
 ZRPohreX4rwbiIvnT0/jNVeFbOgzq9cvYUgVa7mUmGDANlkGYI/s8Yp68SGX+ES4Sz
 172DX/1yfSlQAutGBGVUrX7WedOVM1yCFGXhSXjVRTiBljAJCQxnagimREO+7ZFhBa
 Dl3Dysx33LZnhe/iml9BBvlFQrquYg+a/KQKuAvkhCjx2Z77oC3cnH2wsxDMuxcmed
 Giuafx3P8pkFB6LpmXKMimSiVlCsVBiWGtiAw2O40dh9XPndbQIiEJDp+jvdLXXC4y
 dhw13gEYEpZqlP4pJPhufWsW2zsgSwfVQyfyoqCfNNyamGXPCCN/uSoi82PJqfOhNV
 Cqkxev0XVL6d/ahQI6qsflnEMf1DOSYyGhJhtiNeWE0o6YDMzsSD3iClqU4t9udNcF
 cuA+qQx9nSkrKI7BtjUD53bXwe54kY838g3yNoK+LzUk0gJkyxVKwu7aKfqM1lj8UO
 tgXdYT4GGhrMfcnqs1wtSErI=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE,
 URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6
Received: from localhost (unknown [128.0.188.242])
 by wolfsden.cz (Postfix) with ESMTPSA id 6C45026FB2D
 for <bug-guix@HIDDEN>; Sat, 31 Aug 2024 21:01:09 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1725138069; bh=10R3+LgGoM0I0JKY5/FoOKlxX55CIhzlPFCOf61BHvU=;
 h=From:To:Subject:Date;
 b=fWgr+eZrR2/8DIz1aVzCNZC0ZEJrVLlyvZtZ+dzGJLYNmXyjhxiOrp2vHSc/Rm0rc
 4QreFAu2uYQ/OE0TSnE70Udnl2edV66V9wHXwOj/FhkR7UeiEqFSi8MLIBl+vFJtWw
 i9WYJ+nx4LHSLEWqZlv+73LGDtAYeMjzenSrRxwX2ws2uEZGuEvhhdqR1igy5XIz50
 O0+8EyaIXd1UmRk8jtIJZajeMoGx8pHujQo9jUxW9AqswqksolIHon9Y/X3nk8Qc9W
 E/ji9QzE1CNQm+pLivXEUO/rkwoAXHqc41f3oJRtZnhfDM+QaAQwXAH/KCMyjqYFI+
 Uu/zavpP0afPpR2wLimCzULwJ8GDrEiH2DWnAlM48q1TPl/xxcUYl51ITM3c9jKAgQ
 8CNd9nzTmjOSRqSjsinjshmBMbcFrBlVi1l9rnajWteFF5KYVeTw0wxudJbIItZcJX
 74IIUT3pwsd7GAWiNQesN9tV+ooG2KrjAelesKhpc99ERqAuhQcPEguPyhABVyQf7N
 2h0+9499E1Fq4mV3YsDIm7rNSVObR2bunsTSe/U+UdcqyxAUY4JNGALTWJjYvqRiLb
 VpWeULJpnVGT9P09WU+3GCpGk+6sN2nndlTWtEmrmbBVf0xyfJCF795vYiRLhU1BK7
 0MCqu7PkmqRhFsMJ0zzSFM60=
From: Tomas Volf <~@wolfsden.cz>
To: bug-guix@HIDDEN
Subject: Building emacs-yaml with emacs takes approximately eternity
Mail-Followup-To: bug-guix@HIDDEN
Date: Sat, 31 Aug 2024 23:01:03 +0200
Message-ID: <87a5gsl84w.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz;
 helo=wolfsden.cz
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.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: -2.3 (--)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


The emacs-yaml package is configured to build against emacs-minimal,
which seems to work.  When you however switch to emacs package, it takes
way to long to build, much longer than compiling for example firefox
package.  That feels off.

=2D-8<---------------cut here---------------start------------->8---
$ time guix time-machine -q --commit=3Db8327cb31199fb9f4ebed6c53a59601d41de=
f5a1 -- build --check --no-grafts -q --with-input=3Demacs-minimal=3Demacs-m=
inimal emacs-yaml
/gnu/store/8lqdd8yna92zqgsgip396a1wbyhr5pfn-emacs-yaml-0.5.5
12.573 secs
$ time guix time-machine -q --commit=3Db8327cb31199fb9f4ebed6c53a59601d41de=
f5a1 -- build --check --no-grafts -q --with-input=3Demacs-minimal=3Demacs e=
macs-yaml
/gnu/store/ja9xfndhfafjczp6n7qfy1h21hvdpd5j-emacs-yaml-0.5.5
2869.878 secs
=2D-8<---------------cut here---------------end--------------->8---

The difference is huge.  The process taking vast majority of the time
(in the emacs version) is this one:

=2D-8<---------------cut here---------------start------------->8---
32393 guixbuil 47:10 {.emacs-29.4-rea} /gnu/store/y7yhpgi48klqpadrmfknl4bln=
9c4n05y-emacs-29.4/bin/emacs -no-comp-spawn -Q --batch -l /tmp/guix-build-e=
macs-yaml-0.5.5.drv-0/emacs-int-comp-yaml-pbHFU3.el
=2D-8<---------------cut here---------------end--------------->8---

I do not know enough to even guess what could be the problem, but it was
suggested I should bug-report this.

Cheers,
Tomas

=2D-=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmbThJUOHH5Ad29sZnNk
ZW4uY3oACgkQL7/ufbZ/wakiIxAAtyvkn/w07y7vd+U9Ia3HBZkLI2jSh7uxV9cM
ItH0N8VijlKSNZ+FkbEPOLy0cX4ZOl2IxWuPwWru0X/F0/jxzMLuhNg4tDeIFmdk
tNUe9E6dqC8edW/mlRjp46iYog3Kbswqi0QSptyz/BRnQSGvzt1lovYS53U6Uhnh
5KataskocP5GeTUEioh1Ivd7EjryxRK/eduvk78sv+U2TFFqOYc7me90A8TYcZGk
YYRCwsSFIaxE7Uk6AFpLHR6OXt81y9kGU4TOPXW+r2OxAcobw7ShRBTmnzeobmlO
DEcPgdNSwYSEZY0ate29dJ7yXx3tKHHZFaHz30NisK8X2GdEsnkf/OhHk0T18FdJ
VBDAwKnT8dqWVUg0K7bCLPBhi6DPZoduikNrK1GxJjXplBuiuzyiAcrr9E1f3/sG
utPk+aUOoZfptCtH6ukLyK3+0xFysQHqSdYtawloXrli9GeZ7fL0FezyqwXX2bEs
2Zrmtfic4hz2HDzCZlWk1uw7tWlrPg5BuTrrR02DpSFpQTK4AXDuq4Lp9IosH9hY
qNvrwId2TCgvF9hzenGczADY2Ho2F88sxQnbuF2PZsP5kUMxcIvW+ssZ0zRprD0S
AtBNTxkVIZFspihCvhoxfhyCNng75xoEZeoNG512S8uFPftREuRLNqzDEqteyk+2
NH4hUco=
=/jnY
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Tomas Volf <~@wolfsden.cz>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#72921; 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: Sun, 12 Jan 2025 05:45:02 UTC

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