Subject: bug#43747: closed (Re: bug#43747: Spurious Guile warnings when working on a channel)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 30 Sep 2021 21:48:02 +0000

Your bug report

#43747: Spurious Guile warnings when working on a channel

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
43747: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43747
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#43747: Spurious Guile warnings when working on a channel
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Thu, 30 Sep 2021 23:47:26 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> skribis:

> When someone’s working on a channel, it’s typical to have that channel
> already in your ‘guix’ and to use ‘guix build -L /path/to/checkout PKG’
> to test a package from a working copy of the channel.  Here’s what it
> looks like:
>
> $ cat ~/.config/guix/past-channels.scm 
> (cons (channel
>         (name 'guix-past)
>         (url "https://gitlab.inria.fr/guix-hpc/guix-past")
>         (introduction
>          (make-channel-introduction
>           "0c119db2ea86a389769f4d2b9c6f5c41c027e336"
>           (openpgp-fingerprint
>            "3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5"))))
>       %default-channels)
> $ guix pull -p /tmp/test -C ~/.config/guix/past-channels.scm
>
> [...]
>
> $ /tmp/test/bin/guix build -L ~/src/guix-past/modules [email-masked] -n
> ;;; note: source file /home/ludo/src/guix-past/modules/past/packages/assembly.scm
> ;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/assembly.go

Fixed in bedcba8f5cb6ab861d5379795fdb3698841c14b9.

Ludo’.

Subject: Spurious Guile warnings when working on a channel
From: Ludovic Courtès <[email-masked]>
To: <[email-masked]>
Date: Thu, 01 Oct 2020 17:50:45 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Guix!

When someone’s working on a channel, it’s typical to have that channel
already in your ‘guix’ and to use ‘guix build -L /path/to/checkout PKG’
to test a package from a working copy of the channel.  Here’s what it
looks like:

--8<---------------cut here---------------start------------->8---
$ cat ~/.config/guix/past-channels.scm 
(cons (channel
        (name 'guix-past)
        (url "https://gitlab.inria.fr/guix-hpc/guix-past")
        (introduction
         (make-channel-introduction
          "0c119db2ea86a389769f4d2b9c6f5c41c027e336"
          (openpgp-fingerprint
           "3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5"))))
      %default-channels)
$ guix pull -p /tmp/test -C ~/.config/guix/past-channels.scm

[...]

$ /tmp/test/bin/guix build -L ~/src/guix-past/modules [email-masked] -n
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/assembly.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/assembly.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/autotools.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/autotools.go
;;; found fresh local cache at /home/ludo/.cache/guile/ccache/3.0-LE-8-4.3/home/ludo/src/guix-past/modules/past/packages/autotools.scm.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/backup.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/backup.go
;;; found fresh local cache at /home/ludo/.cache/guile/ccache/3.0-LE-8-4.3/home/ludo/src/guix-past/modules/past/packages/backup.scm.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/guile-xyz.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/guile-xyz.go
;;; found fresh local cache at /home/ludo/.cache/guile/ccache/3.0-LE-8-4.3/home/ludo/src/guix-past/modules/past/packages/guile-xyz.scm.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/boost.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/boost.go
;;; found fresh local cache at /home/ludo/.cache/guile/ccache/3.0-LE-8-4.3/home/ludo/src/guix-past/modules/past/packages/boost.scm.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/graphviz.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/graphviz.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/maths.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/maths.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/maths.scm
;;;       newer than compiled /home/ludo/.cache/guile/ccache/3.0-LE-8-4.3/home/ludo/src/guix-past/modules/past/packages/maths.scm.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/perl.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/perl.go
;;; found fresh local cache at /home/ludo/.cache/guile/ccache/3.0-LE-8-4.3/home/ludo/src/guix-past/modules/past/packages/perl.scm.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/python.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/python.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/python.scm
;;;       newer than compiled /home/ludo/.cache/guile/ccache/3.0-LE-8-4.3/home/ludo/src/guix-past/modules/past/packages/python.scm.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/statistics.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/statistics.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/simgrid.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/simgrid.go
;;; found fresh local cache at /home/ludo/.cache/guile/ccache/3.0-LE-8-4.3/home/ludo/src/guix-past/modules/past/packages/simgrid.scm.go
;;; note: source file /home/ludo/src/guix-past/modules/past/packages/web.scm
;;;       newer than compiled /gnu/store/6b0ww9dxvfig7wdxqcyjs0hlw331la4z-guix-past/lib/guile/3.0/site-ccache/past/packages/web.go
/gnu/store/nah91czddjcb72ghx9kh2z6jwad0kh4d-autoconf-2.59
--8<---------------cut here---------------end--------------->8---

The problem as can be seen above is that all these Guile warnings are
confusing at best and useless: there’s nothing the user can do about
them.

Ludo’.