help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting rid of "source file [...] newer than compiled" messages


From: Katherine Cox-Buday
Subject: Re: Getting rid of "source file [...] newer than compiled" messages
Date: Sat, 06 Apr 2019 14:39:31 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

I was wondering if anyone had any ideas? This is not blocking me from
doing anything, but it does cause a lot of spam, and it slows operations
down a lot.

Katherine Cox-Buday <address@hidden> writes:

> Ricardo Wurmus <address@hidden> writes:
>
>> Katherine Cox-Buday <address@hidden> writes:
>>
>>> I'm not using Guix from a source checkout. I've issued `guix pull`
>>> (both
>>> under the root account and as my user account) a few times with no
>>> change.
>>
>> Hmm, this should never leave you with an uncompiled Guix.  Can you tell
>> us more about the environment in which this happens?  (e.g. the output
>> of “env” will be fine.)
>
> Here is an example. When I run `guix help` I receive:
>
> #+BEGIN_EXAMPLE
>     ;;; note: source file 
> /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/share/guile/site/2.2/gcrypt/hash.scm
>     ;;;       newer than compiled 
> /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/lib/guile/2.2/site-ccache/gcrypt/hash.go
>     ;;; note: source file 
> /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/share/guile/site/2.2/gcrypt/common.scm
>     ;;;       newer than compiled 
> /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/lib/guile/2.2/site-ccache/gcrypt/common.go
>     ;;; note: source file 
> /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/share/guile/site/2.2/gcrypt/package-config.scm
>     ;;;       newer than compiled 
> /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/lib/guile/2.2/site-ccache/gcrypt/package-config.go
>     ;;; note: source file 
> /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/share/guile/site/2.2/gcrypt/utils.scm
>     ;;;       newer than compiled 
> /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/lib/guile/2.2/site-ccache/gcrypt/utils.go
> #+END_EXAMPLE
>
>
> `env` reports:
>
> #+BEGIN_EXAMPLE
>     GUIX_LOCPATH=/var/services/homes/me/.guix-profile/lib/locale
>     TERM=xterm-256color
>     SHELL=/bin/sh
>     SSH_CLIENT=[redacted ip] 41856 22
>     SSH_TTY=/dev/pts/9
>     LC_ALL=en_US.utf8
>     USER=me
>     GUIX_PROFILE=/var/services/homes/me/.guix-profile
>     PAGER=more
>     MAIL=/var/mail/me
>     
> PATH=/var/services/homes/me/.guix-profile/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
>     PWD=/var/services/homes/me
>     LANG=en_US.utf8
>     SHLVL=1
>     HOME=/var/services/homes/me
>     TERMINFO=/usr/share/terminfo
>     LOGNAME=me
>     SSH_CONNECTION=[redacted ip] 41856 [redacted ip] 22
>     PGDATA=/var/services/pgsql
>     XDG_RUNTIME_DIR=/var/services/homes/me/.local/run
>     GIT_EXEC_PATH=/var/services/homes/me/.guix-profile/bin
>     _=/bin/env
> #+END_EXAMPLE
>
>>> `guix` is symlinked from `/usr/local/bin/guix` to
>>> `/var/guix/profiles/per-user/root/current-guix/bin/guix` which
>>> points to
>>> the latest profile (which is updated when running `guix pull` as root.
>>
>> When using “guix pull” it will install into the current user’s
>> ~/.config/guix/current/.  Are you only using Guix as the root user?
>
> No, I always use my user account, but root contains the symlinks for the
> daemon and CLI. The symlink for `/usr/local/bin/guix` is there from
> installation per step (6) of the manual[1]. I tried running `guix pull`
> as root because running it under my user account wasn't doing anything.
>
> Thank you for troubleshooting this with me.
>
> [1] -
> https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installation.html#Binary-Installation

-- 
Katherine



reply via email to

[Prev in Thread] Current Thread [Next in Thread]