From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.bugs Subject: bug#20093: master: setting merge-generics duplicate-binding-handler @ expand time raises an error Date: Thu, 12 Mar 2015 00:17:18 -0300 Message-ID: <20150312001718.5d1ae438@capac> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/oiidVvOT=R3xMv2hUDCq1t="; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1426130367 27886 80.91.229.3 (12 Mar 2015 03:19:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2015 03:19:27 +0000 (UTC) To: 20093@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Mar 12 04:19:14 2015 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YVteS-0000xQ-33 for guile-bugs@m.gmane.org; Thu, 12 Mar 2015 04:19:12 +0100 Original-Received: from localhost ([::1]:57865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVteR-0006mx-9d for guile-bugs@m.gmane.org; Wed, 11 Mar 2015 23:19:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVteL-0006jo-W3 for bug-guile@gnu.org; Wed, 11 Mar 2015 23:19:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVteI-0000XB-FW for bug-guile@gnu.org; Wed, 11 Mar 2015 23:19:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVteI-0000X7-DC for bug-guile@gnu.org; Wed, 11 Mar 2015 23:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YVteI-0006Ss-26 for bug-guile@gnu.org; Wed, 11 Mar 2015 23:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Pirotte Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 12 Mar 2015 03:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20093 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.142613028524779 (code B ref -1); Thu, 12 Mar 2015 03:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Mar 2015 03:18:05 +0000 Original-Received: from localhost ([127.0.0.1]:43310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVtdM-0006Rb-ID for submit@debbugs.gnu.org; Wed, 11 Mar 2015 23:18:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43632) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YVtdK-0006R6-EP for submit@debbugs.gnu.org; Wed, 11 Mar 2015 23:18:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVtdE-0000Ij-45 for submit@debbugs.gnu.org; Wed, 11 Mar 2015 23:17:57 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVtdE-0000Ib-13 for submit@debbugs.gnu.org; Wed, 11 Mar 2015 23:17:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVtdC-0006Zu-Sy for bug-guile@gnu.org; Wed, 11 Mar 2015 23:17:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVtd9-0000I1-Ii for bug-guile@gnu.org; Wed, 11 Mar 2015 23:17:54 -0400 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:41295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVtd9-0000Ef-9W for bug-guile@gnu.org; Wed, 11 Mar 2015 23:17:51 -0400 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 5941AA04C166 for ; Thu, 12 Mar 2015 04:17:29 +0100 (CET) Original-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 48zDj-t6gs4v for ; Thu, 12 Mar 2015 04:17:22 +0100 (CET) Original-Received: from capac (unknown [179.210.40.186]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 392CBA04C163 for ; Thu, 12 Mar 2015 04:17:22 +0100 (CET) X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7748 Archived-At: --Sig_/oiidVvOT=R3xMv2hUDCq1t= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello guilers, Hi Andy, Following our brief chat on irc, yesterday, here is he bug I was referring = to: GNU Guile 2.1.0.322-eb3d6 setting merge-generics duplicate-binding-handler @ expand time raises an error. a) here is a short test case: --8<---------------cut here---------------start------------->8--- #! /bin/sh # -*- mode: scheme; coding: utf-8 -*- exec guile -e main -s $0 "$@" !# (eval-when (expand load eval) (use-modules (oop goops)) (default-duplicate-binding-handler '(merge-generics replace warn-override-core warn last))) (define (main args) (display "hello\n")) --8<---------------cut here---------------start------------->8--- =3D> david@capac:~/alto/projects/guile-tests/2.2/goops/duplicate-binding-handler= 76 $ ./hello=20 ;;; note: source file /usr/alto/projects/guile-tests/2.2/goops/duplicate-bi= nding-handler/./hello ;;; newer than compiled /home/david/.cache/guile/ccache/2.2-LE-8-3.6/= usr/alto/projects/guile-tests/2.2/goops/duplicate-binding-handler/hello.go ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /usr/alto/projects/guile-tests/2.2/goops/duplicate-binding-ha= ndler/./hello ;;; WARNING: compilation of /usr/alto/projects/guile-tests/2.2/goops/duplic= ate-binding-handler/./hello failed: ;;; ERROR: No applicable method for #< merge-generics (3)> in call= Error while printing exception. hello! b) here is how it propagates, 'just' trying to import 2 gnome modules: --8<---------------cut here---------------start------------->8--- #! /bin/sh # -*- mode: scheme; coding: utf-8 -*- exec guile -e main -s $0 "$@" !# (eval-when (expand load eval) (use-modules (oop goops)) (default-duplicate-binding-handler '(merge-generics replace warn-override-core warn last))) (use-modules (gnome-2) (gnome gobject) (gnome glib)) (define (main args) (display "hello!\n")) --8<---------------cut here---------------start------------->8--- =3D> david@capac:~/alto/projects/guile-tests/2.2/goops/duplicate-binding-handler= 40 $ ./hello ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /usr/alto/projects/guile-tests/2.2/goops/duplicate-binding-ha= ndler/./hello ;;; WARNING: compilation of /usr/alto/projects/guile-tests/2.2/goops/duplic= ate-binding-handler/./hello failed: ;;; ERROR: No applicable method for #< merge-generics (3)> in call= Error while printing exception. Backtrace: In ice-9/boot-9.scm: 3275: 19 [try-module-autoload _ _] 2611: 18 [save-module-excursion #] 3295: 17 [#] In unknown file: ?: 16 [primitive-load-path "gnome/gw/glib" #] In gnome/gw/glib.scm: 15: 15 [#] In unknown file: ?: 14 [load-extension "libgw-guile-gnome-glib" "gw_init_wrapset_gnome_gl= ib"] In ice-9/boot-9.scm: 2999: 13 [#> # = _ _ ...] 3275: 12 [try-module-autoload _ _] 2611: 11 [save-module-excursion #] 3295: 10 [#] In unknown file: ?: 9 [primitive-load-path "gnome/gw/generics" #] In gnome/gw/generics.scm: 35: 8 [#f] In ice-9/boot-9.scm: 3136: 7 [define-module* _ #:filename _ #:pure _ #:version _ #:duplicates ..= .] 3074: 6 [resolve-interface (gnome gobject generics) #:select ...] 2999: 5 [#> # _= _ ...] 3275: 4 [try-module-autoload _ _] 2611: 3 [save-module-excursion #] 3295: 2 [#] In unknown file: ?: 1 [primitive-load-path "gnome/gobject/generics" ...] In gnome/gobject/generics.scm: 130: 0 [()] gnome/gobject/generics.scm:130:0: In procedure (): gnome/gobject/generics.scm:130:0: In procedure module-lookup: Unbound varia= ble: david@capac:~/alto/projects/guile-tests/2.2/goops/duplicate-binding-handler= 41 $=20 Cheers, David --Sig_/oiidVvOT=R3xMv2hUDCq1t= Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVAQU+AAoJEPN0/ZOjBXrXTCMH+wagII0Eh0Xhf8W/eKK3pdU/ 1eYjklpL/kXC/69p8VmYGhvVFPnN6ID75zKBPo52fEb8zWK9q5jV9RhOBOSgv0gu HOpPZZ7x8DyRRP+wRPvXh/Ss7q3JOLfsjz6M9rV4a6o2Mpw9KDSnGxCvKw5s1Avx mVG4qBasvgooYjqCihm48RRnCXEwSQg7t50HcvtEq0XWxwxfsOXdwx5tYnjgnMlX b28oQ9k+eHC+nUAAZqkrNdGcwNnlVrfBcXsY6iMg06hNBkzrwtTihvT7KgbsVSbl 3uXAfxzkUPVYY/y9hK/xUvGl/AOSevCrNFkHbHB02jEMeZRCPT+arrnSoEisYls= =oNSQ -----END PGP SIGNATURE----- --Sig_/oiidVvOT=R3xMv2hUDCq1t=--