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: Sun, 07 Apr 2019 12:31:15 -0500 Message-ID: <877ec5n2n0.fsf@gmail.com> References: <87ef6q3muf.fsf@gmail.com> <87lg0y1xut.fsf@elephly.net> <875zs2313w.fsf@gmail.com> <87imw21jpk.fsf@elephly.net> <87wokh1zc0.fsf@gmail.com> <87k1g6ncss.fsf@gmail.com> <87r2aeg96d.fsf@elephly.net> <87ftqun8ce.fsf@gmail.com> <87mul2fr1x.fsf@elephly.net> 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]:35213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDBdi-0006ti-Db for help-guix@gnu.org; Sun, 07 Apr 2019 13:31:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hDBde-0006DE-I6 for help-guix@gnu.org; Sun, 07 Apr 2019 13:31:30 -0400 Received: from mail-it1-x133.google.com ([2607:f8b0:4864:20::133]:35628) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hDBdc-00064i-HM for help-guix@gnu.org; Sun, 07 Apr 2019 13:31:24 -0400 Received: by mail-it1-x133.google.com with SMTP id w15so17303166itc.0 for ; Sun, 07 Apr 2019 10:31:18 -0700 (PDT) In-Reply-To: <87mul2fr1x.fsf@elephly.net> (Ricardo Wurmus's message of "Sun, 07 Apr 2019 05:11:06 +0200") 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: Ricardo Wurmus Cc: help-guix@gnu.org Ricardo Wurmus writes: > Oh, well, that=E2=80=99s definitely not right. Guix does not download > individual files when fetching packages =E2=80=94 it downloads archives t= hat > definitely do contain the .go files. So the question is=E2=80=A6 where d= id they > go once =E2=80=9Cguix pull=E2=80=9D finished? Yeah, I don't know! Mostly I'm trying to dig into this edge-case of trying to get malformed packages back into a known state. I imagine that will come up from time to time on users' machines, for various reasons. > Does =E2=80=9Cguix gc --verify=3Drepair,contents=E2=80=9D (run as root) r= eally not tell > you anything useful? Here is the output, verbatim: #+BEGIN_EXAMPLE sudo guix gc --verify=3Drepair,contents Password:=20 guile: warning: failed to install locale ;;; note: source file /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-mo= dule-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-mo= dule-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-mo= dule-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-mo= dule-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 reading the store... checking path existence... checking hashes... Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. #+END_EXAMPLE So, unfortunately not :( And these messages continue. As a user, I would have definitely expected this command to have found an issue. --=20 Katherine