all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#70781: "error: make-custom-binary-output-port: unbound variable" after guix home reconfigure
@ 2024-05-05 10:08 kristofer
  2024-05-11  8:53 ` bug#70781: Same situation in GuixSD install Kristofer Hjelmtorp via Bug reports for GNU Guix
  0 siblings, 1 reply; 4+ messages in thread
From: kristofer @ 2024-05-05 10:08 UTC (permalink / raw)
  To: 70781

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




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

* bug#70781: Same situation in GuixSD install
  2024-05-05 10:08 bug#70781: "error: make-custom-binary-output-port: unbound variable" after guix home reconfigure kristofer
@ 2024-05-11  8:53 ` Kristofer Hjelmtorp via Bug reports for GNU Guix
  2024-05-14  9:15   ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 4+ messages in thread
From: Kristofer Hjelmtorp via Bug reports for GNU Guix @ 2024-05-11  8:53 UTC (permalink / raw)
  To: 70781@debbugs.gnu.org

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

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?
 
 

[-- Attachment #2: Type: text/html, Size: 548 bytes --]

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

* bug#70781: Same situation in GuixSD install
  2024-05-11  8:53 ` bug#70781: Same situation in GuixSD install Kristofer Hjelmtorp via Bug reports for GNU Guix
@ 2024-05-14  9:15   ` pelzflorian (Florian Pelz)
  2024-05-28 19:57     ` Kristofer Hjelmtorp via Bug reports for GNU Guix
  0 siblings, 1 reply; 4+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-05-14  9:15 UTC (permalink / raw)
  To: Kristofer Hjelmtorp; +Cc: 70781@debbugs.gnu.org

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




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

* bug#70781: Same situation in GuixSD install
  2024-05-14  9:15   ` pelzflorian (Florian Pelz)
@ 2024-05-28 19:57     ` Kristofer Hjelmtorp via Bug reports for GNU Guix
  0 siblings, 0 replies; 4+ messages in thread
From: Kristofer Hjelmtorp via Bug reports for GNU Guix @ 2024-05-28 19:57 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: 70781@debbugs.gnu.org

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




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

end of thread, other threads:[~2024-05-28 19:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-05 10:08 bug#70781: "error: make-custom-binary-output-port: unbound variable" after guix home reconfigure kristofer
2024-05-11  8:53 ` bug#70781: Same situation in GuixSD install Kristofer Hjelmtorp via Bug reports for GNU Guix
2024-05-14  9:15   ` pelzflorian (Florian Pelz)
2024-05-28 19:57     ` Kristofer Hjelmtorp via Bug reports for GNU Guix

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.