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: Wed, 10 Apr 2019 11:24:22 -0500 Message-ID: <871s29q155.fsf@gmail.com> References: <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> <877ec5n2n0.fsf@gmail.com> <87h8b9f14s.fsf@elephly.net> <87wok2ortk.fsf@gmail.com> <20190410160428.GA4187@jurong> 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]:43793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEG1g-0003FN-0k for help-guix@gnu.org; Wed, 10 Apr 2019 12:24:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEG1c-00023N-9A for help-guix@gnu.org; Wed, 10 Apr 2019 12:24:38 -0400 Received: from mail-it1-x144.google.com ([2607:f8b0:4864:20::144]:33528) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hEG1Y-0001ta-EM for help-guix@gnu.org; Wed, 10 Apr 2019 12:24:34 -0400 Received: by mail-it1-x144.google.com with SMTP id v8so5942684itf.0 for ; Wed, 10 Apr 2019 09:24:25 -0700 (PDT) In-Reply-To: <20190410160428.GA4187@jurong> (Andreas Enge's message of "Wed, 10 Apr 2019 18:04:28 +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: Andreas Enge Cc: help-guix@gnu.org Andreas Enge writes: > Hello, > > On Wed, Apr 10, 2019 at 09:31:03AM -0500, Katherine Cox-Buday wrote: >> Ricardo Wurmus writes: >>=20 >> > You said that there are no .go files, yet Guile keeps saying that the >> > source file >> > /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/share/gu= ile/site/2.2/gcrypt/hash.scm >> > is newer than the compiled >> > /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/lib/guil= e/2.2/site-ccache/gcrypt/hash.go >> > >> > Does the second file really not exist while the first one does? >>=20 >> Correct: >>=20 >> #+BEGIN_EXAMPLE >> ls -a >> /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/share/guil= e/site/2.2/gcrypt >> . .. base16.scm base64.scm common.scm hash.scm hmac.scm >> package-config.scm pk-crypto.scm random.scm utils.scm >> #+END_EXAMPLE > > notice that the .go file is in a different subdirectory of the package > directory. Gosh, I am embarassed. The compiled files are indeed in the path Guile was helpfully trying to point me at: #+BEGIN_EXAMPLE $ ls -a /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/lib= /guile/2.2/site-ccache/gcrypt/ . .. base16.go base64.go common.go hash.go hmac.go package-config.= go pk-crypto.go random.go utils.go #+END_EXAMPLE So I went back and took Ricardo's advice and looked at the time's involved: #+BEGIN_EXAMPLE $ stat /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/shar= e/guile/site/2.2/gcrypt/hash.scm=20 File: =E2=80=98/gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-= union/share/guile/site/2.2/gcrypt/hash.scm=E2=80=99 Size: 5366 Blocks: 16 IO Block: 4096 regular file Device: fc02h/64514d Inode: 137942 Links: 1 Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2019-04-10 09:29:22.008888969 -0500 Modify: 2018-12-25 17:02:43.755150339 -0600 Change: 2018-12-25 17:02:43.755150339 -0600 Birth: - #+END_EXAMPLE #+BEGIN_EXAMPLE $ stat /gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-union/lib/= guile/2.2/site-ccache/gcrypt/hash.go=20 File: =E2=80=98/gnu/store/cd6rjv3qhhghr59wpq4fksfr84d5dsdf-guix-module-= union/lib/guile/2.2/site-ccache/gcrypt/hash.go=E2=80=99 Size: 77485 Blocks: 152 IO Block: 4096 regular file Device: fc02h/64514d Inode: 137925 Links: 1 Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2019-04-06 16:56:32.259721626 -0500 Modify: 2018-12-25 17:02:43.753150336 -0600 Change: 2018-12-25 17:02:43.753150336 -0600 Birth: - #+END_EXAMPLE It looks like the scheme file is fractions of a second newer than the compiled file. So, pulling on this thread: 1. This looks like this has been an issue since I installed Guix. Did I do something wrong? 2. I feel like, regardless of the root-cause, some Guix command should be able to correct this issue for me, without necessarily having to know what went wrong or why. Thank you all! And thoughts? --=20 Katherine