GNU logs - #28837, boring messages


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#28837: Guile 2.2.2: Loading srfi-1 with merge-generics breaks "map" 
Resent-From: Andrew Erlanger <andrew.erlanger@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Sat, 14 Oct 2017 17:39:02 +0000
Resent-Message-ID: <handler.28837.B.150800273628112 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 28837
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: 28837 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guile@HIDDEN 
Received: via spool by submit <at> debbugs.gnu.org id=B.150800273628112
          (code B ref -1); Sat, 14 Oct 2017 17:39:02 +0000
Received: (at submit) by debbugs.gnu.org; 14 Oct 2017 17:38:56 +0000
Received: from localhost ([127.0.0.1]:40488 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1e3QOl-0007JL-PT
	for submit <at> debbugs.gnu.org; Sat, 14 Oct 2017 13:38:55 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54853)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andrew.erlanger@HIDDEN>) id 1e3QGP-000756-Uo
 for submit <at> debbugs.gnu.org; Sat, 14 Oct 2017 13:30:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <andrew.erlanger@HIDDEN>) id 1e3QGJ-0000oD-Rp
 for submit <at> debbugs.gnu.org; Sat, 14 Oct 2017 13:30:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51822)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <andrew.erlanger@HIDDEN>)
 id 1e3QGJ-0000o4-Ow
 for submit <at> debbugs.gnu.org; Sat, 14 Oct 2017 13:30:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45810)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <andrew.erlanger@HIDDEN>) id 1e3QGI-0003Vu-Gl
 for bug-guile@HIDDEN; Sat, 14 Oct 2017 13:30:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <andrew.erlanger@HIDDEN>) id 1e3QGD-0000hz-Iv
 for bug-guile@HIDDEN; Sat, 14 Oct 2017 13:30:10 -0400
Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]:43566)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <andrew.erlanger@HIDDEN>)
 id 1e3QGD-0000hT-E4
 for bug-guile@HIDDEN; Sat, 14 Oct 2017 13:30:05 -0400
Received: by mail-qk0-x231.google.com with SMTP id w134so8445079qkb.0
 for <bug-guile@HIDDEN>; Sat, 14 Oct 2017 10:30:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=38JZ+g8z3ervsU0/NyzGlIVObRghXYLDffy/W3hbo6k=;
 b=rCsgBXNKgKdjnIJES5+lMeI4UDooN7Mod5dkiV1Gd2bncejSF70FSo0yKwbYRISAwh
 LL+0GxKxKjVXKpu5sdZ4d9NpdNJCUdxfdo/n8I+H1XmleN1NvEo4xDVOcbgnJBs8B0dj
 EOA8hpxIhrrpNQDeTn4fIfYRnaN2tTdxQgN7uraajuBVrtTG/8xFJx9ktxIiNkYIGRTj
 FPfhqecwuARP/GSZsdU8VHyxrC7b1+iY2XW86+UWOemVE0Y26ziW+97gqFy3N2e9QAzI
 xCkFFT++eEUUcS/HD4hZtG1iof0XBMsMCvZpPfRlTpuz/AcddTPuBYRJ2sNqse1oHehn
 grTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=38JZ+g8z3ervsU0/NyzGlIVObRghXYLDffy/W3hbo6k=;
 b=PYgxxkAIepsuRPg462xw6BF5Wc4kDGwLwFNED8CTxwZqvIfap18qCQxy2YZ/Lqb22/
 O0o+naUmRNCdkaBcHEhPXFS2onIi6XHlVzu6b3ZyTGT0vBd4eDNSBqMTP73ICu+lWnxQ
 jRSfYo0bn7lsSyDflntoTTZnzlCTlndkuxxcRJ6+LoZEyXMEy/aIDaWZZfaO4mIf4dIA
 SwH09f/n3K4n9C/dmmaPFaQUrMsKfxxsaZGlxwa9NbX+8x30zVKd2y32W9rejydxDDb+
 KaiTE4BUFVIVTPBHEcpf3ykW3Xe7IVObMEYx+BKQbc0T+MFRWrACLY8ullS0TplIdm2O
 e8HA==
X-Gm-Message-State: AMCzsaWOr551//23oYaaDqfnAl9I9ya1BylgGU9t42rYo6P9TKHuRorB
 165TFcXquKam1VF4Ao2sTrXVYA==
X-Google-Smtp-Source: AOwi7QAqjbOz1nbTeYezDofiVobfUK3PbqV+dM9W18Irdx20/S6T8FhjuTUhHHp7hOhes4FyjDpBXw==
X-Received: by 10.55.156.210 with SMTP id f201mr6602389qke.283.1508002203253; 
 Sat, 14 Oct 2017 10:30:03 -0700 (PDT)
Received: from localhost (ool-457a9840.dyn.optonline.net. [69.122.152.64])
 by smtp.gmail.com with ESMTPSA id p6sm2173696qke.64.2017.10.14.10.30.01
 for <bug-guile@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 14 Oct 2017 10:30:02 -0700 (PDT)
From: Andrew Erlanger <andrew.erlanger@HIDDEN>
Date: Sat, 14 Oct 2017 13:30:01 -0400
Message-ID: <871sm5d4di.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Mailman-Approved-At: Sat, 14 Oct 2017 13:38:54 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


Re-creation:

1. Make a directory (I call it 'mytest')

2. In the directory, make a file f.scm containing:

(define-module (mytest f)
  #:use-module (oop goops)
  #:use-module (srfi srfi-1)
  #:duplicates (merge-generics))

3. In the directory, make a file test.scm containing:

(add-to-load-path (dirname (getcwd)))

(use-modules (mytest f))

4. Navigate to the directory in a terminal, and start the Guile REPL.

5. In the REPL, enter the two following commands:

(load "test.scm")

,in (mytest f) map

The last command returns:

While executing meta-command:
ERROR: Unbound variable: map

That is, the 'map' primitive becomes unbound in the context of (mytest
f). Any procedures which both
    (a) relying on map, and
    (b) are defined and exported in (mytest f),
throw the above error as well.

Please let me know if I can clarify.

- Andrew




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Andrew Erlanger <andrew.erlanger@HIDDEN>
Subject: bug#28837: Acknowledgement (Guile 2.2.2: Loading srfi-1 with
 merge-generics breaks "map" )
Message-ID: <handler.28837.B.150800273628112.ack <at> debbugs.gnu.org>
References: <871sm5d4di.fsf@HIDDEN>
X-Gnu-PR-Message: ack 28837
X-Gnu-PR-Package: guile
Reply-To: 28837 <at> debbugs.gnu.org
Date: Sat, 14 Oct 2017 17:39:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guile@HIDDEN

If you wish to submit further information on this problem, please
send it to 28837 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
28837: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28837
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#28837: Guile 2.2.2: Loading srfi-1 with merge-generics breaks "map"
Resent-From: David Pirotte <david@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Tue, 17 Oct 2017 01:13:02 +0000
Resent-Message-ID: <handler.28837.B28837.150820272927838 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 28837
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: Andrew Erlanger <andrew.erlanger@HIDDEN>
Cc: 28837 <at> debbugs.gnu.org
Received: via spool by 28837-submit <at> debbugs.gnu.org id=B28837.150820272927838
          (code B ref 28837); Tue, 17 Oct 2017 01:13:02 +0000
Received: (at 28837) by debbugs.gnu.org; 17 Oct 2017 01:12:09 +0000
Received: from localhost ([127.0.0.1]:44508 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1e4GQS-0007Ev-Q1
	for submit <at> debbugs.gnu.org; Mon, 16 Oct 2017 21:12:08 -0400
Received: from maximusconfessor.all2all.org ([79.99.200.102]:51597)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <david@HIDDEN>) id 1e4GQQ-0007Em-7I
 for 28837 <at> debbugs.gnu.org; Mon, 16 Oct 2017 21:12:07 -0400
Received: from localhost (unknown [192.168.0.2])
 by maximusconfessor.all2all.org (Postfix) with ESMTP id 364F0A04C114;
 Tue, 17 Oct 2017 03:12:05 +0200 (CEST)
Received: from maximusconfessor.all2all.org ([192.168.0.1])
 by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new,
 port 10024)
 with ESMTP id 65PrbGYdm9Mh; Tue, 17 Oct 2017 03:12:00 +0200 (CEST)
Received: from capac (unknown [177.157.201.182])
 by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 7A34AA04C111;
 Tue, 17 Oct 2017 03:11:59 +0200 (CEST)
Date: Mon, 16 Oct 2017 23:11:47 -0200
From: David Pirotte <david@HIDDEN>
Message-ID: <20171016231147.10d67570@capac>
In-Reply-To: <871sm5d4di.fsf@HIDDEN>
References: <871sm5d4di.fsf@HIDDEN>
X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 boundary="Sig_/IPita.zg634rx4jyHX0b0VZ"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--Sig_/IPita.zg634rx4jyHX0b0VZ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Andrew,

> (define-module (mytest f)
>   #:use-module (oop goops)
>   #:use-module (srfi srfi-1)
>   #:duplicates (merge-generics))

You need at least=20

  #:duplicates (merge-generics
                replace)

but as I recommended in an earlier message, you should extend the default s=
et

  #:duplicates (merge-generics
		replace
		warn-override-core
		warn
		last)

> ,in (mytest f) map

> While executing meta-command:
> ERROR: Unbound variable: map

The above will fix your problem.

David

--Sig_/IPita.zg634rx4jyHX0b0VZ
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlnlWNMACgkQ83T9k6MF
eteDyQf/VarfpcIiODsUKjWUPo+eLG+9BPxJEbigcoOy+xJMqZRj/39SF1889j9r
8gc5HlZjnb1tSZq5f21ChRhvlrKQlXScxdc6QkRwQK/aBKB86WDrexY33B0imBth
g1AwH7zjaV00MJ/D9K4RXp4JLc/mFA+CtZWAFVdhHYo4uEXIvjjFlVlP/K95ESBk
lGLKkbzzDte3dxeSDgFKwYqX5tSTNFRYoWj5MR8SQgDPLErebwwra2FCVpchkyAS
VYIlSMgUcfxitPBTdRv8uIQJjzzVT8NzC6dxlrTSi57OegWv47znzLVKz75GzneA
dPcNop/iDGwqR6frmiFmHKgwXAjc7g==
=7cAb
-----END PGP SIGNATURE-----

--Sig_/IPita.zg634rx4jyHX0b0VZ--





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.