GNU bug report logs - #55415
emacs-minimal-28.1-builder: Unknown # object: "#<"

Previous Next

Package: guix;

Reported by: Fredrik Salomonsson <plattfot <at> posteo.net>

Date: Sat, 14 May 2022 18:56:02 UTC

Severity: normal

Done: Fredrik Salomonsson <plattfot <at> posteo.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55415 in the body.
You can then email your comments to 55415 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#55415; Package guix. (Sat, 14 May 2022 18:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fredrik Salomonsson <plattfot <at> posteo.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 14 May 2022 18:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Fredrik Salomonsson <plattfot <at> posteo.net>
To: bug-guix <at> gnu.org
Subject: emacs-minimal-28.1-builder: Unknown # object: "#<"
Date: Sat, 14 May 2022 18:55:19 +0000
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




Information forwarded to bug-guix <at> gnu.org:
bug#55415; Package guix. (Sat, 14 May 2022 21:22:02 GMT) Full text and rfc822 format available.

Message #8 received at 55415 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Fredrik Salomonsson <plattfot <at> posteo.net>, 55415 <at> debbugs.gnu.org
Subject: Re: bug#55415: emacs-minimal-28.1-builder: Unknown # object: "#<"
Date: Sat, 14 May 2022 23:21:38 +0200
[Message part 1 (text/plain, inline)]
> 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.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Fredrik Salomonsson <plattfot <at> posteo.net>:
You have taken responsibility. (Sun, 15 May 2022 18:36:02 GMT) Full text and rfc822 format available.

Notification sent to Fredrik Salomonsson <plattfot <at> posteo.net>:
bug acknowledged by developer. (Sun, 15 May 2022 18:36:02 GMT) Full text and rfc822 format available.

Message #13 received at 55415-done <at> debbugs.gnu.org (full text, mbox):

From: Fredrik Salomonsson <plattfot <at> posteo.net>
To: 55415-done <at> debbugs.gnu.org
Subject: Closing thread
Date: Sun, 15 May 2022 18:35:33 +0000
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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 13 Jun 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 92 days ago.

Previous Next


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