From mboxrd@z Thu Jan 1 00:00:00 1970 From: Katherine Cox-Buday Subject: Re: Getting rid of "source file [...] newer than compiled" messages Date: Sat, 06 Apr 2019 14:39:31 -0500 Message-ID: <87k1g6ncss.fsf@gmail.com> References: <87ef6q3muf.fsf@gmail.com> <87lg0y1xut.fsf@elephly.net> <875zs2313w.fsf@gmail.com> <87imw21jpk.fsf@elephly.net> <87wokh1zc0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:41959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCrAC-0007qX-RW for help-guix@gnu.org; Sat, 06 Apr 2019 15:39:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCrA9-0002LX-EE for help-guix@gnu.org; Sat, 06 Apr 2019 15:39:39 -0400 Received: from mail-it1-x130.google.com ([2607:f8b0:4864:20::130]:34082) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hCrA6-0002KK-Uu for help-guix@gnu.org; Sat, 06 Apr 2019 15:39:36 -0400 Received: by mail-it1-x130.google.com with SMTP id z17so13622053itc.1 for ; Sat, 06 Apr 2019 12:39:34 -0700 (PDT) Received: from gazelle-pro (172-221-246-205.dhcp.chtrptr.net. [172.221.246.205]) by smtp.gmail.com with ESMTPSA id e11sm9352044iob.48.2019.04.06.12.39.31 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 06 Apr 2019 12:39:32 -0700 (PDT) In-Reply-To: <87wokh1zc0.fsf@gmail.com> (Katherine Cox-Buday's message of "Fri, 29 Mar 2019 10:21:03 -0500") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org 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 writes: > Ricardo Wurmus writes: > >> Katherine Cox-Buday 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 =E2=80=9Cenv=E2=80=9D will be fine.) > > Here is an example. When I run `guix help` I receive: > > #+BEGIN_EXAMPLE > ;;; note: source file /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-gui= x-module-union/share/guile/site/2.2/gcrypt/hash.scm > ;;; newer than compiled /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5= dsdf-guix-module-union/lib/guile/2.2/site-ccache/gcrypt/hash.go > ;;; note: source file /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-gui= x-module-union/share/guile/site/2.2/gcrypt/common.scm > ;;; newer than compiled /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5= dsdf-guix-module-union/lib/guile/2.2/site-ccache/gcrypt/common.go > ;;; note: source file /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-gui= x-module-union/share/guile/site/2.2/gcrypt/package-config.scm > ;;; newer than compiled /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5= dsdf-guix-module-union/lib/guile/2.2/site-ccache/gcrypt/package-config.go > ;;; note: source file /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-gui= x-module-union/share/guile/site/2.2/gcrypt/utils.scm > ;;; newer than compiled /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5= dsdf-guix-module-union/lib/guile/2.2/site-ccache/gcrypt/utils.go > #+END_EXAMPLE > > > `env` reports: > > #+BEGIN_EXAMPLE > GUIX_LOCPATH=3D/var/services/homes/me/.guix-profile/lib/locale > TERM=3Dxterm-256color > SHELL=3D/bin/sh > SSH_CLIENT=3D[redacted ip] 41856 22 > SSH_TTY=3D/dev/pts/9 > LC_ALL=3Den_US.utf8 > USER=3Dme > GUIX_PROFILE=3D/var/services/homes/me/.guix-profile > PAGER=3Dmore > MAIL=3D/var/mail/me > PATH=3D/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=3D/var/services/homes/me > LANG=3Den_US.utf8 > SHLVL=3D1 > HOME=3D/var/services/homes/me > TERMINFO=3D/usr/share/terminfo > LOGNAME=3Dme > SSH_CONNECTION=3D[redacted ip] 41856 [redacted ip] 22 > PGDATA=3D/var/services/pgsql > XDG_RUNTIME_DIR=3D/var/services/homes/me/.local/run > GIT_EXEC_PATH=3D/var/services/homes/me/.guix-profile/bin > _=3D/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 =E2=80=9Cguix pull=E2=80=9D it will install into the current = user=E2=80=99s >> ~/.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 --=20 Katherine