From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: GNU Guile 2.9.8 Released [beta] Date: Wed, 8 Jan 2020 22:22:37 +0800 Message-ID: References: <87woaa3rq4.fsf@pobox.com> <871rsb54fb.fsf@pobox.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000829f8a059ba1a0fd" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="8011"; mail-complaints-to="usenet@blaine.gmane.org" Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jan 08 15:23:18 2020 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ipCEk-000x4l-Lr for guile-devel@m.gmane.org; Wed, 08 Jan 2020 15:23:06 +0100 Original-Received: from localhost ([::1]:44744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipCEj-0005TI-Hs for guile-devel@m.gmane.org; Wed, 08 Jan 2020 09:23:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47368) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipCEU-0005T4-SH for guile-devel@gnu.org; Wed, 08 Jan 2020 09:22:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipCET-00023A-E5 for guile-devel@gnu.org; Wed, 08 Jan 2020 09:22:50 -0500 Original-Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]:33987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipCET-000232-91 for guile-devel@gnu.org; Wed, 08 Jan 2020 09:22:49 -0500 Original-Received: by mail-yb1-xb29.google.com with SMTP id l7so1526447ybp.1 for ; Wed, 08 Jan 2020 06:22:49 -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=w8Lw56DxfDxWpiKu2ChVDaDVDPyHWTIiF1685Fruq6Q=; b=ugnA7cCr7nG2jW0pTS6/Zyo8qSQLDgRlPJ2rnGo2efwdCyFsQbHmykTegulJiehrDm BXn9xbcwnQA74FlN0yt3ENnQQZEiOcBFoIWA1G4G0mf1LqA/h3QQhnZOTe4FqI845X0h yFQCOLm2yZvNkmbzQvAqhZqUIJTQcoDEwbmYjKHoHTcxtonMOKPvJBtCoROZ3OJkmlON DTKBUfa5xiNUJzv3i20TDGTUOMs1TAKjI4jltJ16KD6iwN7w/3nxFGaZALVdGuE4s9sc i8c7+pweeUf/y/KomqzpLXMNa66kydhCS2UiJrFQQFC2sZMVtyzQZU+dcTPUo+/LxIBT 94ew== 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=w8Lw56DxfDxWpiKu2ChVDaDVDPyHWTIiF1685Fruq6Q=; b=kcSHe7NAvhSSfQwbfFu9TXFX1m+6xDlbvat23U4/nQ7QFMTxvbCJCMjFn3e/nekBUn Yp46uVBAcUwDYWWURvXA2tQi1yV9K8OOS2Zc+CuLuYYQ1pSr9JjtyFzg63lFNBe0OrD1 WPIb9k5xtHga3wJ9B/EfyzXSpGho+RT0g8JF66oNQCIb5cBj/GEXCUYYBmF/6LpjpJFn y5nH/rEShlAvfck+BqgBXvH7VUb1aOJkTWQZWxD6AjFZ1k+WwGGtS2zXE1iFvSaNUpcE H7a4xPEyl3kQyL+QYM+me5wwzSEQbK8D9G0E8VRhE8u2+0QzLbAyZIfuVVQKefc4v83V dgjQ== X-Gm-Message-State: APjAAAWpg8PNs7S2bcQ3sqvfqLe5n/KxMF+MBWUOnm8lNrM8A0vJiQ7s DFejclLcmIvIhg9vADf0LZRbmkPW5VVwPe7z94brMqrdfY94Kg== X-Google-Smtp-Source: APXvYqzox2XDJIagTlq9ej7svgBMOBtlmIe63ioff6nYuo/d2Eyl72NiwMwcbFVjUiqFtzqRmfQMFwzy9kU2SMxlDwI= X-Received: by 2002:a25:d785:: with SMTP id o127mr3896398ybg.342.1578493368506; Wed, 08 Jan 2020 06:22:48 -0800 (PST) In-Reply-To: <871rsb54fb.fsf@pobox.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::b29 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.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:20244 Archived-At: --000000000000829f8a059ba1a0fd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable When I was trying to compile Artanis with Guile-2.9.8, it throw error like this: ---------------------------------------------------------------------------= ---------------- WARNING: (artanis utils): imported module (rnrs) overrides core binding `record-accessor' Backtrace: In ice-9/psyntax.scm: 285:10 19 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) =E2= =80=A6) In ice-9/eval.scm: 293:34 18 (_ #) In ice-9/boot-9.scm: 3366:4 17 (define-module* _ #:filename _ #:pure _ #:version _ # _ =E2=80= =A6) 3379:24 16 (_) 222:29 15 (map1 (((artanis utils)) ((artanis config)) ((# #)) # =E2=80= =A6)) 222:29 14 (map1 (((artanis config)) ((artanis irregex)) ((# =E2=80=A6)) = =E2=80=A6)) 222:29 13 (map1 (((artanis irregex)) ((artanis server #)) ((=E2=80=A6)) = =E2=80=A6)) 222:17 12 (map1 (((artanis server server-context)) ((artanis =E2=80=A6))= =E2=80=A6)) 3283:17 11 (resolve-interface (artanis server server-context) # _ # =E2= =80=A6) In ice-9/threads.scm: 390:8 10 (_ _) In ice-9/boot-9.scm: 3209:13 9 (_) In ice-9/threads.scm: 390:8 8 (_ _) In ice-9/boot-9.scm: 3493:20 7 (_) 2792:4 6 (save-module-excursion #) 3513:26 5 (_) 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 # ---------------------------------------------------------------------------= ----------------------------------------- Any hint that I can figure out whait's incompatible? Thanks! On Wed, Jan 8, 2020 at 5:43 AM Andy Wingo wrote: > On Tue 07 Jan 2020 21:00, Stefan Israelsson Tampe > writes: > > > Bump! > > > > Great, but loading an extension like: > > > > (catch #t > > (lambda () > > (throw #t) > > (load-extension "libguile-persist" "persist_init") (pk 1)) > > (lambda x > > (let ((file > > (%search-load-path "src/.libs/libguile-persist.so"))) > > (if > > file > > (catch #t > > (lambda () > > (load-extension file "persist_init")) > > (lambda x > > (warn > > "libguile-persist is not loadable!"))) > > (warn > > "libguile-persist is not present, did you forget to make > it?"))))) > > > > And then have line like > > > > (pk 5 serialize-vm-ra) > > > > Loading this module prints > > (5 #f) > > > > Worked in releases before. > > Surely this test case can be shortened? All the load-extension bits > appear to not be necessary, right? > > Andy > > --000000000000829f8a059ba1a0fd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When I was trying to compile Artanis with Guile-2.9.8= , it throw error like this:
-------------------------------------= ------------------------------------------------------
WARNING: (= artanis utils): imported module (rnrs) overrides core binding `record-acces= sor'
Backtrace:
In ice-9/psyntax.scm:
=C2=A0 =C2=A0285:10 19 (= parse _ (("placeholder" placeholder)) (()) _ c&e (eval) =E2= =80=A6)
In ice-9/eval.scm:
=C2=A0 =C2=A0293:34 18 (_ #<module (#{ = g189}#) 5624d6ebb320>)
In ice-9/boot-9.scm:
=C2=A0 =C2=A03366:4 17= (define-module* _ #:filename _ #:pure _ #:version _ # _ =E2=80=A6)
=C2= =A0 3379:24 16 (_)
=C2=A0 =C2=A0222:29 15 (map1 (((artanis utils)) ((art= anis config)) ((# #)) # =E2=80=A6))
=C2=A0 =C2=A0222:29 14 (map1 (((arta= nis config)) ((artanis irregex)) ((# =E2=80=A6)) =E2=80=A6))
=C2=A0 =C2= =A0222:29 13 (map1 (((artanis irregex)) ((artanis server #)) ((=E2=80=A6)) = =E2=80=A6))
=C2=A0 =C2=A0222:17 12 (map1 (((artanis server server-contex= t)) ((artanis =E2=80=A6)) =E2=80=A6))
=C2=A0 3283:17 11 (resolve-interfa= ce (artanis server server-context) # _ # =E2=80=A6)
In ice-9/threads.scm= :
=C2=A0 =C2=A0 390:8 10 (_ _)
In ice-9/boot-9.scm:
=C2=A0 3209:13= =C2=A09 (_)
In ice-9/threads.scm:
=C2=A0 =C2=A0 390:8 =C2=A08 (_ _)<= br>In ice-9/boot-9.scm:
=C2=A0 3493:20 =C2=A07 (_)
=C2=A0 =C2=A02792:= 4 =C2=A06 (save-module-excursion #<procedure 5624d6abe0f0 at ice-=E2=80= =A6>)
=C2=A0 3513:26 =C2=A05 (_)
In unknown file:
=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A04 (primitive-load-path "artanis/server/ser= ver-context" #<=E2=80=A6>)
In ice-9/eval.scm:
=C2=A0 =C2= =A0626:19 =C2=A03 (_ #<directory (artanis server server-context) 5624d6b= 3=E2=80=A6>)
=C2=A0 =C2=A0 155:9 =C2=A02 (_ #<directory (artanis s= erver server-context) 5624d6b3=E2=80=A6>)
In ice-9/boot-9.scm:
=C2= =A0 1153:19 =C2=A01 (_ _ _ _ _ _ _)
=C2=A0 1655:16 =C2=A00 (raise-except= ion _ #: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&= #39;s incompatible?

Thanks!



On Wed, Jan 8, 2020 at 5:43 AM Andy Wingo <wingo@pobox.com> wrote:
On Tue 07 Jan 2020 21:00, Stefan Israelss= on Tampe <s= tefan.itampe@gmail.com> writes:

> Bump!
>
> Great, but loading an extension like:
>
> (catch #t
>=C2=A0 =C2=A0(lambda ()
>=C2=A0 =C2=A0 =C2=A0(throw #t)
>=C2=A0 =C2=A0 =C2=A0(load-extension "libguile-persist" "= persist_init") (pk 1))
>=C2=A0 =C2=A0(lambda x=C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0(let ((file=C2=A0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (%search-load-path "src/= .libs/libguile-persist.so")))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(if
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 file
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (catch #t
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (lambda ()=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (load-extension file "pe= rsist_init"))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (lambda x
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (warn
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"libguile-persist = is not loadable!")))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (warn
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"libguile-persist is not present= , did you forget to make it?")))))
>
> And then have=C2=A0 line like
>
> (pk 5 serialize-vm-ra)
>
> Loading this module prints
> (5 #f)
>
> Worked in releases before.

Surely this test case can be shortened?=C2=A0 All the load-extension bits appear to not be necessary, right?

Andy

--000000000000829f8a059ba1a0fd--