unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH 0/2] Silence run-time warnings for SRFI-3[45]
@ 2019-11-25 16:45 Ludovic Courtès
  2019-11-25 16:45 ` [PATCH 1/2] srfi-34: Replace the 'raise' core binding Ludovic Courtès
  2019-11-25 16:45 ` [PATCH 2/2] srfi-35: Replace '&error' Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: Ludovic Courtès @ 2019-11-25 16:45 UTC (permalink / raw)
  To: guile-devel; +Cc: wingo, Ludovic Courtès

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-29 11:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-25 16:45 [PATCH 0/2] Silence run-time warnings for SRFI-3[45] Ludovic Courtès
2019-11-25 16:45 ` [PATCH 1/2] srfi-34: Replace the 'raise' core binding Ludovic Courtès
2019-11-26 10:09   ` Andy Wingo
2019-11-26 13:09     ` Ludovic Courtès
2019-11-29 11:00       ` Andy Wingo
2019-11-25 16:45 ` [PATCH 2/2] srfi-35: Replace '&error' Ludovic Courtès
2019-11-26 10:10   ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).