[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] Silence run-time warnings for SRFI-3[45]
From: |
Ludovic Courtès |
Subject: |
[PATCH 0/2] Silence run-time warnings for SRFI-3[45] |
Date: |
Mon, 25 Nov 2019 17:45:53 +0100 |
Hi!
As it stands, Guix on Guile 2.9.5 produces lots of warnings:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build libreoffice -nd
WARNING: (guix build utils): imported module (srfi srfi-35) overrides core
binding `&error'
WARNING: (guix utils): imported module (srfi srfi-35) overrides core binding
`&error'
WARNING: (guix serialization): imported module (srfi srfi-35) overrides core
binding `&error'
WARNING: (guix base32): imported module (srfi srfi-35) overrides core binding
`&error'
WARNING: (guix store): imported module (srfi srfi-35) overrides core binding
`&error'
WARNING: (guix derivations): imported module (srfi srfi-35) overrides core
binding `&error'
WARNING: (guix gexp): imported module (srfi srfi-35) overrides core binding
`&error'
WARNING: (guix packages): imported module (srfi srfi-35) overrides core binding
`&error'
WARNING: (guix modules): imported module (srfi srfi-35) overrides core binding
`&error'
WARNING: (guix profiles): imported module (srfi srfi-35) overrides core binding
`&error'
WARNING: (guix build gremlin): imported module (srfi srfi-35) overrides core
binding `&error'
/gnu/store/lyyllcqa1hq7k3zrv03m2h3xz4a6qawx-libreoffice-6.3.3.2.drv
--8<---------------cut here---------------end--------------->8---
These patches address that. The first one restores #:replace for
srfi-34 (as was the case in Guile 2.x), and the second one adds
#:replace for srfi-35.
Let me know what you think!
Overall, I think we should be cautious with run-time warnings
because they’re hard to turn off and there’s nothing the user
(as in: the Guix user) can do about it.
Ludo’.
Ludovic Courtès (2):
srfi-34: Replace the 'raise' core binding.
srfi-35: Replace '&error'.
module/srfi/srfi-34.scm | 10 +++++++---
module/srfi/srfi-35.scm | 6 ++++--
2 files changed, 11 insertions(+), 5 deletions(-)
--
2.24.0