unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55415: emacs-minimal-28.1-builder: Unknown # object: "#<"
@ 2022-05-14 18:55 Fredrik Salomonsson
  2022-05-14 21:21 ` Maxime Devos
  2022-05-15 18:35 ` bug#55415: Closing thread Fredrik Salomonsson
  0 siblings, 2 replies; 3+ messages in thread
From: Fredrik Salomonsson @ 2022-05-14 18:55 UTC (permalink / raw)
  To: 55415

Hi,

Getting this error when I try and update my emacs profile after a recent
guix pull:

---8<---------------------------------------------------------------------------
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivations will be built:
  /gnu/store/jwm349jkbx675lsgkgvlgvyyzg89v4vf-emacs-async-1.9.4.drv
  /gnu/store/ah6zl6vdns20nwdhahsspnnbxdr4j0bn-emacs-minimal-28.1.drv
building /gnu/store/ah6zl6vdns20nwdhahsspnnbxdr4j0bn-emacs-minimal-28.1.drv...
ice-9/read.scm:126:4: In procedure read-expr*:
/gnu/store/4i6avyj1sf50dmyg1242grbfacwgm4sa-emacs-minimal-28.1-builder:1:2852: Unknown # object: "#<"
builder for `/gnu/store/ah6zl6vdns20nwdhahsspnnbxdr4j0bn-emacs-minimal-28.1.drv' failed with exit code 1
build of /gnu/store/ah6zl6vdns20nwdhahsspnnbxdr4j0bn-emacs-minimal-28.1.drv failed
View build log at '/var/log/guix/drvs/ah/6zl6vdns20nwdhahsspnnbxdr4j0bn-emacs-minimal-28.1.drv.gz'.
cannot build derivation `/gnu/store/jwm349jkbx675lsgkgvlgvyyzg89v4vf-emacs-async-1.9.4.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/jwm349jkbx675lsgkgvlgvyyzg89v4vf-emacs-async-1.9.4.drv' failed
--------------------------------------------------------------------------->8---

I have narrowed it down to commit
64557bc695f074af3fcf1eeed8f6696921ef18c5

I have commented out my third party channels (flatwhatson and my own plt
channel) and it still fails.

Here is a repro:

guix describe --format=channels:

---8<---------------------------------------------------------------------------
(list (channel
        (name 'guix)
        (url "https://git.savannah.gnu.org/git/guix.git")
        (branch #f)
        (commit
          "64557bc695f074af3fcf1eeed8f6696921ef18c5")
        (introduction
          (make-channel-introduction
            "9edb3f66fd807b096b48283debdcddccfea34bad"
            (openpgp-fingerprint
              "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA")))))
-------------------------------------------------------------------------->8---

Run:

guix pull --commit=64557bc695
guix build emacs-async

I'm on a foreign distro if that makes any difference.

Thanks.

-- 
s/Fred[re]+i[ck]+/Fredrik/g




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

* bug#55415: emacs-minimal-28.1-builder: Unknown # object: "#<"
  2022-05-14 18:55 bug#55415: emacs-minimal-28.1-builder: Unknown # object: "#<" Fredrik Salomonsson
@ 2022-05-14 21:21 ` Maxime Devos
  2022-05-15 18:35 ` bug#55415: Closing thread Fredrik Salomonsson
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Devos @ 2022-05-14 21:21 UTC (permalink / raw)
  To: Fredrik Salomonsson, 55415

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

> Re: bug#55415: emacs-minimal-28.1-builder: Unknown # object: "#<"

Unverified solution: replace this ...

    (arguments
     (substitute-keyword-arguments (package-arguments emacs)
       ((#:configure-flags flags ''())
        `(list "--with-gnutls=no" "--disable-build-details"))
       ((#:phases phases)
        `(modify-phases ,phases
           (delete 'restore-emacs-pdmp)
           (delete 'strip-double-wrap)))))

by

    (arguments
     (substitute-keyword-arguments (package-arguments emacs)
       ((#:configure-flags flags ''())
        #~(list "--with-gnutls=no" "--disable-build-details"))
       ((#:phases phases)
        #~(modify-phases #$phases
            (delete 'restore-emacs-pdmp)
            (delete 'strip-double-wrap)))))

in the package definition of 'emacs-minimal'.  The other package
variants of emacs would also needs this change.  The change to
#:configure-flags is probably unnecessary but I think it's nice for
consistency.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#55415: Closing thread
  2022-05-14 18:55 bug#55415: emacs-minimal-28.1-builder: Unknown # object: "#<" Fredrik Salomonsson
  2022-05-14 21:21 ` Maxime Devos
@ 2022-05-15 18:35 ` Fredrik Salomonsson
  1 sibling, 0 replies; 3+ messages in thread
From: Fredrik Salomonsson @ 2022-05-15 18:35 UTC (permalink / raw)
  To: 55415-done


Looks like the patches in https://issues.guix.gnu.org/issue/55419 solved
the issue. I can no longer reproduce the issue after a guix pull (commit
ebb4302).

Closing this issue.

-- 
s/Fred[re]+i[ck]+/Fredrik/g




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

end of thread, other threads:[~2022-05-15 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-14 18:55 bug#55415: emacs-minimal-28.1-builder: Unknown # object: "#<" Fredrik Salomonsson
2022-05-14 21:21 ` Maxime Devos
2022-05-15 18:35 ` bug#55415: Closing thread Fredrik Salomonsson

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).