unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: guile-devel@gnu.org
Cc: wingo@igalia.com, "Ludovic Courtès" <ludo@gnu.org>
Subject: [PATCH 0/2] Silence run-time warnings for SRFI-3[45]
Date: Mon, 25 Nov 2019 17:45:53 +0100	[thread overview]
Message-ID: <20191125164555.15124-1-ludo@gnu.org> (raw)

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




             reply	other threads:[~2019-11-25 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-25 16:45 Ludovic Courtès [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191125164555.15124-1-ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-devel@gnu.org \
    --cc=wingo@igalia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).