all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#72921: Building emacs-yaml with emacs takes approximately eternity
@ 2024-08-31 21:01 Tomas Volf
  2024-09-01  6:45 ` Liliana Marie Prikler
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Volf @ 2024-08-31 21:01 UTC (permalink / raw)
  To: 72921

[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]


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.

--8<---------------cut here---------------start------------->8---
$ time guix time-machine -q --commit=b8327cb31199fb9f4ebed6c53a59601d41def5a1 -- build --check --no-grafts -q --with-input=emacs-minimal=emacs-minimal emacs-yaml
/gnu/store/8lqdd8yna92zqgsgip396a1wbyhr5pfn-emacs-yaml-0.5.5
12.573 secs
$ time guix time-machine -q --commit=b8327cb31199fb9f4ebed6c53a59601d41def5a1 -- build --check --no-grafts -q --with-input=emacs-minimal=emacs emacs-yaml
/gnu/store/ja9xfndhfafjczp6n7qfy1h21hvdpd5j-emacs-yaml-0.5.5
2869.878 secs
--8<---------------cut here---------------end--------------->8---

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

--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---

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

Cheers,
Tomas

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-01  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-31 21:01 bug#72921: Building emacs-yaml with emacs takes approximately eternity Tomas Volf
2024-09-01  6:45 ` Liliana Marie Prikler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.