unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Andrews, Kyle (KC)" via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 60141@debbugs.gnu.org
Subject: bug#60141: Stack smashing detected after first guix pull on fresh Ubuntu 22.04 guix install
Date: Fri, 16 Dec 2022 17:15:37 +0000	[thread overview]
Message-ID: <SJ0P164MB014589973A873837A3E902E6B9E69@SJ0P164MB0145.NAMP164.PROD.OUTLOOK.COM> (raw)

My system administrator just installed guix for me thanks to it being so easy on Ubuntu.

To show it off, I wanted to make a quick demonstration to a colleague on how it makes it easy to create a reproducible python environment using `guix shell`. That command didn't seem to exist on the version of guix available from ubuntu (1.3.0). Not anticipating any problems, I thought I just needed to run `guix pull`.

#+BEGIN_QUOTE
me@ubuntu:~$ guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 8548ba5 (45,920 new commits)...
Building from this channel:
...
#+END_QUOTE

That errored out for me at the "computing derivation" stage the first time I ran it. 

#+BEGIN_QUOTE
./guix/store.scm:1419:15: ERROR:
  1. &store-protocol-error:
      message: "`/usr/bin/guix substitute' died unexpectedly"
      status: 1
guix pull: error: You found a bug: the program '/gnu/store/4fcbgpasw95hrbz7n7pnx6wnsc174vds-compute-guix-derivation'
failed to compute the derivation for Guix (version: "8548ba5847417eabe14aa08fa9861f91743bd3a1"; system: "x86_64-linux";
host version: "1.3.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.
#+END_QUOTE

Thankfully, running `guix pull` again immediately afterwards worked. This left me with the following familiar output.

#+BEGIN_QUOTE
building profile with 1 package...
hint: Consider setting the necessary environment variables by running:

     GUIX_PROFILE="/home/u548962/.config/guix/current"
     . "$GUIX_PROFILE/etc/profile"

Alternately, see `guix package --search-paths -p "/home/u548962/.config/guix/current"'.

hint: After setting `PATH', run `hash guix' to make sure your shell refers to `/home/u548962/.config/guix/current/bin/guix'.
#+END_QOUTE

 Being that this is a foreign distro, I thought I needed to run the hint lines to get the updated guix executable in my current terminal.

Instead, now I see:

#+BEGIN_QUOTE
me@ubuntu:~$ GUIX_PROFILE="/home/me/.config/guix/current"
me@ubuntu:~$ . "$GUIX_PROFILE/etc/profile"
me@ubuntu:~$ hash guix
me@ubuntu:~$ guix shell --help
*** stack smashing detected ***: terminated
Aborted (core dumped)
u548962@mdu20prst01:~$ guix --help
*** stack smashing detected ***: terminated
Aborted (core dumped)
u548962@mdu20prst01:~$ guix
*** stack smashing detected ***: terminated
Aborted (core dumped)
#+END_QUOTE

I was hopeful, but now the guix command does nothing at all.



General Business




             reply	other threads:[~2022-12-17 17:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-16 17:15 Andrews, Kyle (KC) via Bug reports for GNU Guix [this message]
2023-01-12 22:27 ` bug#60141: Follow-up Andrews, Kyle (KC) via Bug reports for GNU Guix
2023-01-13 16:43   ` Andrews, Kyle (KC) via Bug reports for GNU Guix
2023-01-17 15:20     ` bug#60141: Stack smashing detected after first guix pull on fresh Ubuntu 22.04 guix install Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0P164MB014589973A873837A3E902E6B9E69@SJ0P164MB0145.NAMP164.PROD.OUTLOOK.COM \
    --to=bug-guix@gnu.org \
    --cc=60141@debbugs.gnu.org \
    --cc=KCAndrews@dow.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).