GNU bug report logs - #70781
"error: make-custom-binary-output-port: unbound variable" after guix home reconfigure

Previous Next

Package: guix;

Reported by: kristofer <at> hjelmtorp.se

Date: Sun, 5 May 2024 11:52:01 UTC

Severity: normal

To reply to this bug, email your comments to 70781 AT debbugs.gnu.org.

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#70781; Package guix. (Sun, 05 May 2024 11:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to kristofer <at> hjelmtorp.se:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 05 May 2024 11:52:02 GMT) Full text and rfc822 format available.

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

From: kristofer <at> hjelmtorp.se
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: "error: make-custom-binary-output-port: unbound variable" after
 guix home reconfigure
Date: Sun, 5 May 2024 12:08:58 +0200 (CEST)
Hello everyone!

I have somehow managed to get my Guix install into an erroneous state.

After running a "guix home reconfigure" I now get this error backtraces error everytime I try to to anything with guix except "guix --help". Which also means I can't do a roll-back (or at least I have not managed to do it).

I'm running Guix on a foreign distro (Debian container on a Chromebook).

dev <at> penguin:~ $ guix pull
Backtrace:
          11 (primitive-load "/home/dev/.config/guix/current/bin/guix")
In guix/ui.scm:
   2312:7 10 (run-guix . _)
  2275:10  9 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1755:12  8 (with-exception-handler _ _ #:unwind? _ # _)
  1749:15  7 (with-exception-handler #<procedure 7f342cb121e0 at ic…> …)
In guix/store.scm:
   662:15  6 (call-with-store #<procedure 7f342ebcd1e0 at guix/scrip…>)
    575:2  5 (open-connection _ #:port _ #:reserve-space? _ # _)
In ice-9/boot-9.scm:
  1755:12  4 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   582:19  3 (_)
   942:11  2 (buffering-output-port _ _)
In ice-9/boot-9.scm:
  1676:22  1 (raise-exception _ #:continuable? _)
  1674:22  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1674:22: In procedure raise-exception:
error: make-custom-binary-output-port: unbound variable

This is the third time I have managed to get into this state.
The first time I had to uninstall and re-install Guix completely, which fixed it. The second time I had Guix installed in to "~/guix-profile/bin" and could use that to roll-back my home environment. 

But this time I don't have that. So I would appreciate any guidance on how to diagnose this and if there are way to get my out of this state without having to uninstall and re-install Guix.

Best Regards 
Kristofer




Information forwarded to bug-guix <at> gnu.org:
bug#70781; Package guix. (Sat, 11 May 2024 08:54:02 GMT) Full text and rfc822 format available.

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

From: Kristofer Hjelmtorp <kristofer.hjelmtorp <at> mailbox.org>
To: "70781 <at> debbugs.gnu.org" <70781 <at> debbugs.gnu.org>
Subject: Same situation in GuixSD install
Date: Sat, 11 May 2024 10:53:34 +0200 (CEST)
[Message part 1 (text/plain, inline)]
I now managed to get the same state on my GuixSD machine.
I can do a "sudo guix system reconfigure" but I can't handle my users guix command.
 
Are re-installation the only option?
 
 
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#70781; Package guix. (Tue, 14 May 2024 09:16:02 GMT) Full text and rfc822 format available.

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

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Kristofer Hjelmtorp <kristofer.hjelmtorp <at> mailbox.org>
Cc: "70781 <at> debbugs.gnu.org" <70781 <at> debbugs.gnu.org>
Subject: Re: bug#70781: Same situation in GuixSD install
Date: Tue, 14 May 2024 11:15:45 +0200
Hello Kristofer.  Even though I do not understand at all how to get into
such a state, it appears using an older guix has helped you before, so
you could try running
/var/guix/profiles/per-user/dev/current-guix-<SOME-NUMBER>-link/bin/guix
instead of guix.

Regards,
Florian




Information forwarded to bug-guix <at> gnu.org:
bug#70781; Package guix. (Tue, 28 May 2024 19:59:02 GMT) Full text and rfc822 format available.

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

From: Kristofer Hjelmtorp <kristofer.hjelmtorp <at> mailbox.org>
To: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
Cc: "70781 <at> debbugs.gnu.org" <70781 <at> debbugs.gnu.org>
Subject: Re: bug#70781: Same situation in GuixSD install
Date: Tue, 28 May 2024 21:57:59 +0200 (CEST)
Hi Florian

Thanks for the response.

With your help I managed to fix my GuixSD install at least.
I couldn't use the "/var/guix/profiles/per-user/dev/current-guix-<SOME-NUMBER>-link/bin/guix" they gave me the same error. But I noticed that there where older Guix Home configuration laying around there and after activating one of those I could roll-back. 

I think the issue was that I had added "guile-next" to my Guix Home config.

> On 05/14/2024 11:15 AM CEST pelzflorian (Florian Pelz) <pelzflorian <at> pelzflorian.de> wrote:
> 
>  
> Hello Kristofer.  Even though I do not understand at all how to get into
> such a state, it appears using an older guix has helped you before, so
> you could try running
> /var/guix/profiles/per-user/dev/current-guix-<SOME-NUMBER>-link/bin/guix
> instead of guix.
> 
> Regards,
> Florian




This bug report was last modified 20 days ago.

Previous Next


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