From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: GNU Guile 2.9.8 Released [beta] Date: Sun, 19 Jan 2020 03:43:00 +0800 Message-ID: References: <87woaa3rq4.fsf@pobox.com> <871rsb54fb.fsf@pobox.com> <87k15yqo4o.fsf@pobox.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c10f52059c6f440c" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="50605"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sat Jan 18 20:43:28 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1isu0F-000D79-OD for guile-devel@m.gmane-mx.org; Sat, 18 Jan 2020 20:43:27 +0100 Original-Received: from localhost ([::1]:44346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isu0E-0006jW-M0 for guile-devel@m.gmane-mx.org; Sat, 18 Jan 2020 14:43:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52597) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isu02-0006hd-Hs for guile-devel@gnu.org; Sat, 18 Jan 2020 14:43:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isu01-0004AQ-79 for guile-devel@gnu.org; Sat, 18 Jan 2020 14:43:14 -0500 Original-Received: from mail-yb1-xb2c.google.com ([2607:f8b0:4864:20::b2c]:38461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isu01-0004A2-0v for guile-devel@gnu.org; Sat, 18 Jan 2020 14:43:13 -0500 Original-Received: by mail-yb1-xb2c.google.com with SMTP id c13so7830884ybq.5 for ; Sat, 18 Jan 2020 11:43:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Tob6OpYaHaKmqbqGE0iB4/PzhK1IQbBf4QJin3scS3s=; b=FPBxNJjyqPnXQ5Yn7gHNGm+kT+bKtAvzfVyK8Ee9pSePFCQg2MKl4AzzxpHYO5HlFN LSZ79EBj2yYfDq8aDsff70knx1CWOynPkfasaA0uUjQKj3hHI9NPx7T7RIvpgDfh+DCl 7BqmWr9zgykgjaOGwyNeepihrf7YmnbIhjYkE/9LsilwSZKnh9tycY5lowQNGPx2yqdp 3UzBgMOJnPJ39d6+KABPflsRXAE5CJk6cjP+kOHoVfaZmd4hmJOQmAdXqvwDD51FV5SN l6GMYFUvVHP/gSSt9v28yAsGDG9TKLYdFbO463Ycw3X36DalEdHPDArYeBRTwiwjaT4k IUqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Tob6OpYaHaKmqbqGE0iB4/PzhK1IQbBf4QJin3scS3s=; b=g1o4eBytsCdAhQNKxOZOpjNJp63heCbFnnY2huIOB6eFCRyQDTwsU0JedOiaFi0k++ KQSgEAG1vFmkQwxoWjpmmsrym5+NTqmzfaZfTW8Zijc1xuq+CiftYQQnl55BmBXYWj3A Sx5p7tm3CcUSad/9x3iCWVgV3IvDXbJV8V5xRRVU+TN32E3+2OjqdjI8TWbcaBJybhfx c3Em2TM33BONTpF2rs7bz8ANohnG3kSfD3mvuB/mW4OnGsziFDA3uMFtqJQJ332db7zX a9JYxnMFL414oWIfeptY5mcMuonqVth4AMmvMH312yG1zIm2OYBhsfh4fJPzMYBrm2Ys 1Sdw== X-Gm-Message-State: APjAAAVS56TMbOyV0SOilqGxh8cQOl8yQxWppxWWGUQjTsbJ5GQBGK21 WOEA4n0DjUdB08LGgaDv1fvb8wUqWEZYignc11k= X-Google-Smtp-Source: APXvYqy7OI1c0BoCBWbvJxAbKIW42QKxJnI0Ak2mvRuRGoyj5Z4CqTS9PZt6yc3EBu9lCmlcXPT+mPty/nRPlnyn4O8= X-Received: by 2002:a25:2d5a:: with SMTP id s26mr34636043ybe.84.1579376592357; Sat, 18 Jan 2020 11:43:12 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::b2c X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20299 Archived-At: --000000000000c10f52059c6f440c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Just a report, the same compiling error existing in Guile-3.0.0. Best regards. On Tue, Jan 14, 2020 at 4:49 PM Nala Ginrut wrote: > Hi Wingo! > Here're update: > 1. 2.9.9 didn't fix this issue > > 2. I imported r6rs record-type in (artanis utils), and this module was > imported in almost every artanis modules. > I do use r6rs specific record API to introspect the internal things for > debugging in Artanis. > And I imported r6rs define-record-type in server-context.scm > I guess there're some name conflicting. > > > > On Sat, Jan 11, 2020 at 6:33 PM Andy Wingo wrote: > >> On Wed 08 Jan 2020 15:22, Nala Ginrut writes: >> >> > In unknown file: >> > 4 (primitive-load-path "artanis/server/server-context" #<= =E2=80=A6>) >> > In ice-9/eval.scm: >> > 626:19 3 (_ #) >> > 155:9 2 (_ #) >> > In ice-9/boot-9.scm: >> > 1153:19 1 (_ _ _ _ _ _ _) >> > 1655:16 0 (raise-exception _ #:continuable? _) >> > >> > ice-9/boot-9.scm:1655:16: In procedure raise-exception: >> > Wrong number of arguments to #> ice-9/boot-9.scm:1153:19 (a b c d e f)> >> > >> ------------------------------------------------------------------------= -------------------------------------------- >> > >> > Any hint that I can figure out whait's incompatible? >> >> Gosh we need to improve this info. Anyway the procedure at >> boot-9.scm:1153:19 is a record constructor, for a record with 6 fields. >> Apparently somewhere in (artanis server server-context) is calling it >> with the wrong number of arguments. What do you use for records? Do >> you have your own abstraction or do you use R6RS records or something? >> Perhaps something in artanis relied on the way that R6RS records used to >> implement single inheritance, as a chain of objects instead of a flat >> record. Or perhaps the adaptations to R6RS records in Guile introduced >> a bug. I am interested to know the answer :) >> >> Andy >> > --000000000000c10f52059c6f440c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just a report, the same compiling error existing in G= uile-3.0.0.

Best regards.


On T= ue, Jan 14, 2020 at 4:49 PM Nala Ginrut <nalaginrut@gmail.com> wrote:
Hi Wingo!
Here= 're update:
1. 2.9.9 didn't fix this issue

=
2. I imported r6rs record-type in (artanis utils), and this modu= le was imported in almost every artanis modules.
I do use r6rs sp= ecific record API to introspect the internal things for debugging in Artani= s.
And I imported r6rs define-record-type in server-context.s= cm
I guess there're some name conflicting.



On Sat, Jan 11, 2020 at 6:33 PM Andy Wingo <wingo@pobox.com> wrote:
On Wed 08 Jan 2020= 15:22, Nala Ginrut <nalaginrut@gmail.com> writes:

> In unknown file:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4 (primitive-load-path "= artanis/server/server-context" #<=E2=80=A6>)
> In ice-9/eval.scm:
>=C2=A0 =C2=A0 626:19=C2=A0 3 (_ #<directory (artanis server server-c= ontext) 5624d6b3=E2=80=A6>)
>=C2=A0 =C2=A0 =C2=A0155:9=C2=A0 2 (_ #<directory (artanis server ser= ver-context) 5624d6b3=E2=80=A6>)
> In ice-9/boot-9.scm:
>=C2=A0 =C2=A01153:19=C2=A0 1 (_ _ _ _ _ _ _)
>=C2=A0 =C2=A01655:16=C2=A0 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1655:16: In procedure raise-exception:
> Wrong number of arguments to #<procedure 5624d66ee4a0 at ice-9/boot= -9.scm:1153:19 (a b c d e f)>
> ----------------------------------------------------------------------= ----------------------------------------------
>
> Any hint that I can figure out whait's incompatible?

Gosh we need to improve this info.=C2=A0 Anyway the procedure at
boot-9.scm:1153:19 is a record constructor, for a record with 6 fields.
Apparently somewhere in (artanis server server-context) is calling it
with the wrong number of arguments.=C2=A0 What do you use for records?=C2= =A0 Do
you have your own abstraction or do you use R6RS records or something?
Perhaps something in artanis relied on the way that R6RS records used to implement single inheritance, as a chain of objects instead of a flat
record.=C2=A0 Or perhaps the adaptations to R6RS records in Guile introduce= d
a bug.=C2=A0 I am interested to know the answer :)

Andy
--000000000000c10f52059c6f440c--