emacs-minimal-28.1-builder: Unknown # object: "#<"

  • Done
  • quality assurance status badge
Details
2 participants
  • Maxime Devos
  • Fredrik Salomonsson
Owner
unassigned
Submitted by
Fredrik Salomonsson
Severity
normal
F
F
Fredrik Salomonsson wrote on 14 May 2022 20:55
(address . bug-guix@gnu.org)
87mtfkx7u0.fsf@posteo.net
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)
(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
M
M
Maxime Devos wrote on 14 May 2022 23:21
b0ad52be299eebdf02238156dc3795599e232089.camel@telenet.be
Toggle quote (2 lines)
> 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.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYoAdYhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7uPCAP9u/67Tjruz1JzmWaSHT8o92ffI
cWLPBlTA7sRkfUs5ywD/VgEyZP1IdIJ9f4EyqPMkWJQpPuFWsZrVj4igjhWhqgE=
=+RAU
-----END PGP SIGNATURE-----


F
F
Fredrik Salomonsson wrote on 15 May 2022 20:35
Closing thread
(address . 55415-done@debbugs.gnu.org)
878rr2zlsa.fsf@posteo.net
Looks like the patches in https://issues.guix.gnu.org/issue/55419solved
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
Closed
?