unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Skyler <skyvine@protonmail.com>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Identifying cause of local package build
Date: Tue, 23 May 2023 19:36:25 +0000	[thread overview]
Message-ID: <zZz_PS_IahaY49EMai_78Z4y7yYMykBEmhuICQwJB4PbLoxCjlFjUqeBfp6E5BVxQPUq64NtgsH2s1pPlPnaly1OFCu3Dwho__k1gDJm6rw=@protonmail.com> (raw)
In-Reply-To: <86ild9z6i3.fsf@gmail.com>

Thank you for the replies! The `guix refresh --list-transitive` command was helpful for what I was trying to do, although I now think I was going down the wrong path.

While checking things in my system, I noticed that the guix command that was invoked under a root shell pointed to a different binary than under my user's shell. I assumed that having different versions of guix simultaneously operating on the same store could cause lots of problems which are difficult to explain, so I decided to reinstall the system from scratch, which did not seem too troublesome since guix's commitment to declarative configuration makes re-installation very easy. I had some issues where I saw error messages similar to https://issues.guix.gnu.org/56005, which was speculated to be due to difficulties communicating with the server. So I just waited a few days each time this happened and re-tried, and eventually I got the bare-bones config from the installer ISO to install to my machine.

However, I am still seeing a similar problem to before, when I try to `guix home reconfigure` the process starts building git-minimal. I stopped it immediately instead of waiting to see how far it got because this seemed to be the same behavior. I also found that `guix repl` produces an error that the __libc_pthread_init symbol is undefined in libpthread.so, although readelf tells me that the symbol exists. The symbol value is null which seems weird but I don't spend a lot of time looking at readelf output and every symbol in the '.rela.plt' section has a null value, so maybe this is expected. The error occurs if I run guile without any arguments, from the guile-wrapper used by guix. Running the system guile command works fine.

Also, the error only occurs in the guix from `~/.config/guix/current/bin/guix`. This runs by default because it is in my path first, but if I run `/run/current-system/profile/bin/guix repl` then the program executes without issue. I'm not sure if the one in /run is an older version that I shouldn't use or if it's the one that I should be getting when I run plain guix (without a path). IIUC, `guix pull` is supposed to update the files in `~/.config/guix/current` to be the correct ones, and the guile-wrapper is pointing to an absolute path of libpthread in the store as it should, so I'm not sure how this error is occurring. The system has not changed much from the bare-bones config, I just added tmux, vim, and nss-certs to make the TTY easier to use and make sure I could download https urls.

This seems strange. I'm going to keep looking into this, but hoping that something above might sound familiar to someone.


  reply	other threads:[~2023-05-24 14:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28 21:33 Identifying cause of local package build Skyler via
2023-05-01 14:26 ` Felix Lechner via
2023-05-03 17:09 ` Simon Tournier
2023-05-23 19:36   ` Skyler [this message]
2023-05-24 20:56     ` Skyler Ferris via
2023-05-25 18:31       ` Simon Tournier
2023-05-25 19:47         ` Eugen Stan

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='zZz_PS_IahaY49EMai_78Z4y7yYMykBEmhuICQwJB4PbLoxCjlFjUqeBfp6E5BVxQPUq64NtgsH2s1pPlPnaly1OFCu3Dwho__k1gDJm6rw=@protonmail.com' \
    --to=skyvine@protonmail.com \
    --cc=help-guix@gnu.org \
    --cc=zimon.toutoune@gmail.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.
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).