From christoph.oppawsky at t-online.de Fri Dec 8 09:18:47 2006 From: christoph.oppawsky at t-online.de (christoph.oppawsky at t-online.de) Date: Fri, 08 Dec 2006 10:18:47 +0100 Subject: [cl-containers-devel] error when using CMUCL &In-Reply-To=A0057F80-13E0-48EF-A89D-A32038025167@metab Message-ID: <1GsbsV-2KLIgq0@fwd29.aul.t-online.de> An HTML attachment was scrubbed... URL: From gwking at metabang.com Fri Dec 8 19:21:06 2006 From: gwking at metabang.com (Gary King) Date: Fri, 8 Dec 2006 14:21:06 -0500 Subject: [cl-containers-devel] error when using CMUCL &In-Reply-To=A0057F80-13E0-48EF-A89D-A32038025167@metab In-Reply-To: <1GsbsV-2KLIgq0@fwd29.aul.t-online.de> References: <1GsbsV-2KLIgq0@fwd29.aul.t-online.de> Message-ID: <4D70D97C-48F1-4E1F-BD7F-1BB885804452@metabang.com> Hi Christoph, Thanks for this excellent problem report. I'll update CL-Containers's load order shortly. On Dec 8, 2006, at 4:18 AM, christoph.oppawsky at t-online.de wrote: > Hi, > > I'm experiencing the same problem using cmucl-19c (gentoo > port,x86). Initially I want to use cl-graph, all packages needed > were retrieved via darcs yesterday. > > -----slime debugger----- > Execution of a form compiled with errors: > (DEFMETHOD INITIALIZE-INSTANCE :AFTER ((METABANG.CL- > CONTAINERS::OBJECT > ... > -----end slime debugger----- > > I narrowed it down to > > dev/containers.lisp:(defmethod initialize-instance :after ((object > stable-associative-container). > > While trying to load-compile the file by hand I got: > > -----slime debugger----- > -+ Errors (2) > |-- (during macroexpansion) > | Error in function PCL::CPL-ERROR: While computing the class > precedence list of the class named STABLE-ASSOCIATIVE-CONTAINER: > The class named ASSOCIATIVE-CONTAINER-MIXIN is a forward referenced > class. The class named ASSOCIATIVE-CONTAINER-MIXIN is a direct > superclass of the class named STABLE-ASSOCIATIVE-CONTAINER.. > `-- (during macroexpansion) > Error in function PCL::CPL-ERROR: While computing the class > precedence list of the class named STABLE-ASSOCIATIVE-CONTAINER: > The class named ASSOCIATIVE-CONTAINER-MIXIN is a forward referenced > class. The class named ASSOCIATIVE-CONTAINER-MIXIN is a direct > superclass of the class named STABLE-ASSOCIATIVE-CONTAINER.. > -----end slime debugger----- > > Loading dev/basic-operations.lisp by hand (because of (defclass* > key-value-iteratable-container-mixin (iteratable-container-mixin) > needed by STABLE-ASSOCIATIVE-CONTAINER) didn't help either. > > So finally I load-compiled associative.lisp (whcih contains the > ASSOCIATIVE-CONTAINER-MIXIN) by hand and the error message > dissapeeared, cl-container got loaded. No tests so far :-) > > Cheers, > Christoph > > > > _______________________________________________ > cl-containers-devel mailing list > cl-containers-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-containers-devel -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwking at metabang.com Sun Dec 10 03:18:41 2006 From: gwking at metabang.com (Gary King) Date: Sat, 9 Dec 2006 22:18:41 -0500 Subject: [cl-containers-devel] error when using CMUCL &In-Reply-To=A0057F80-13E0-48EF-A89D-A32038025167@metab In-Reply-To: <1GsbsV-2KLIgq0@fwd29.aul.t-online.de> References: <1GsbsV-2KLIgq0@fwd29.aul.t-online.de> Message-ID: I've just released 0.9.2 which rearranged the load order a bit and moved some class defs around. If you have time, please let me know if this works for you "out of the box" thanks, On Dec 8, 2006, at 4:18 AM, christoph.oppawsky at t-online.de wrote: > Hi, > > I'm experiencing the same problem using cmucl-19c (gentoo > port,x86). Initially I want to use cl-graph, all packages needed > were retrieved via darcs yesterday. > > -----slime debugger----- > Execution of a form compiled with errors: > (DEFMETHOD INITIALIZE-INSTANCE :AFTER ((METABANG.CL- > CONTAINERS::OBJECT > ... > -----end slime debugger----- > > I narrowed it down to > > dev/containers.lisp:(defmethod initialize-instance :after ((object > stable-associative-container). > > While trying to load-compile the file by hand I got: > > -----slime debugger----- > -+ Errors (2) > |-- (during macroexpansion) > | Error in function PCL::CPL-ERROR: While computing the class > precedence list of the class named STABLE-ASSOCIATIVE-CONTAINER: > The class named ASSOCIATIVE-CONTAINER-MIXIN is a forward referenced > class. The class named ASSOCIATIVE-CONTAINER-MIXIN is a direct > superclass of the class named STABLE-ASSOCIATIVE-CONTAINER.. > `-- (during macroexpansion) > Error in function PCL::CPL-ERROR: While computing the class > precedence list of the class named STABLE-ASSOCIATIVE-CONTAINER: > The class named ASSOCIATIVE-CONTAINER-MIXIN is a forward referenced > class. The class named ASSOCIATIVE-CONTAINER-MIXIN is a direct > superclass of the class named STABLE-ASSOCIATIVE-CONTAINER.. > -----end slime debugger----- > > Loading dev/basic-operations.lisp by hand (because of (defclass* > key-value-iteratable-container-mixin (iteratable-container-mixin) > needed by STABLE-ASSOCIATIVE-CONTAINER) didn't help either. > > So finally I load-compiled associative.lisp (whcih contains the > ASSOCIATIVE-CONTAINER-MIXIN) by hand and the error message > dissapeeared, cl-container got loaded. No tests so far :-) > > Cheers, > Christoph > > > > _______________________________________________ > cl-containers-devel mailing list > cl-containers-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-containers-devel -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM -------------- next part -------------- An HTML attachment was scrubbed... URL: From christoph.oppawsky at t-online.de Mon Dec 11 09:09:13 2006 From: christoph.oppawsky at t-online.de (christoph.oppawsky at t-online.de) Date: Mon, 11 Dec 2006 10:09:13 +0100 Subject: [cl-containers-devel] error when using CMUCL In-Reply-To: References: <1GsbsV-2KLIgq0@fwd29.aul.t-online.de> Message-ID: <1Gth9t-0Lwt2e0@fwd33.aul.t-online.de> >I've just released 0.9.2 which rearranged the load order a bit and >moved some class defs around. If you have time, please let me know if >this works for you "out of the box" >thanks, Hi Gary, thanks for the quick replies. Sorry, the 0.9.2 fix (from cl-containers_latest.tar.gz) did not work out for my CMUCL configuration . I still get the initial error message with the (DEFMETHOD INITIALIZE-INSTANCE :AFTER ((METABANG.CL-CONTAINERS::OBJECT METABANG.CL-CONTAINERS:STABLE-ASSOCIATIVE-CONTAINER) [...] during compilation of CONTAINERS.LISP. >From looking at CL-CONTAINERS.ASD I get the impression that CONTAINERS also depends-on ASSOCIATIVE (for the ASSOCIATIVE-CONTAINER-MIXIN) which is not marked down in the file. Unluckily I have no idea how to resolve this right now as ASSOCIATIVE depends on BASIC-OPERATIONS which again depends on CONTAINERS. I'm no ASDF-guru but I will try some things out tonight. Cheers, Christoph From gwking at metabang.com Mon Dec 11 13:33:36 2006 From: gwking at metabang.com (Gary King) Date: Mon, 11 Dec 2006 08:33:36 -0500 Subject: [cl-containers-devel] error when using CMUCL In-Reply-To: <1Gth9t-0Lwt2e0@fwd33.aul.t-online.de> References: <1GsbsV-2KLIgq0@fwd29.aul.t-online.de> <1Gth9t-0Lwt2e0@fwd33.aul.t-online.de> Message-ID: I will look some more. thanks for checking. On Dec 11, 2006, at 4:09 AM, christoph.oppawsky at t-online.de wrote: > >> I've just released 0.9.2 which rearranged the load order a bit and >> moved some class defs around. If you have time, please let me know if >> this works for you "out of the box" >> thanks, > > Hi Gary, > > thanks for the quick replies. > > Sorry, the 0.9.2 fix (from cl-containers_latest.tar.gz) did not > work out > for my CMUCL configuration . I still get the initial error message > with > the > > (DEFMETHOD INITIALIZE-INSTANCE :AFTER ((METABANG.CL-CONTAINERS::OBJECT > METABANG.CL-CONTAINERS:STABLE-ASSOCIATIVE-CONTAINER) [...] > > during compilation of CONTAINERS.LISP. > > From looking at CL-CONTAINERS.ASD I get the impression that > CONTAINERS > also depends-on ASSOCIATIVE (for the ASSOCIATIVE-CONTAINER-MIXIN) > which > is not marked down in the file. Unluckily I have no idea how to > resolve > this right now as ASSOCIATIVE depends on BASIC-OPERATIONS which again > depends on CONTAINERS. I'm no ASDF-guru but I will try some things out > tonight. > > Cheers, Christoph > > > > -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From gwking at metabang.com Fri Dec 15 18:39:50 2006 From: gwking at metabang.com (Gary King) Date: Fri, 15 Dec 2006 13:39:50 -0500 Subject: [cl-containers-devel] error when using CMUCL &In-Reply-To=A0057F80-13E0-48EF-A89D-A32038025167@m In-Reply-To: <1Guzmu-1Wh9Dk0@fwd27.aul.t-online.de> References: <1GsbsV-2KLIgq0@fwd29.aul.t-online.de> <1Guzmu-1Wh9Dk0@fwd27.aul.t-online.de> Message-ID: <3A3462C6-536C-48D0-8BAE-71B8A775762B@metabang.com> On Dec 14, 2006, at 6:14 PM, christoph.oppawsky at t-online.de wrote: > Hi Gary, > > I finally might have some good news for you. After some attempts I > moved. Hi Christoph, This is great! Thanks for finding and fiddling. I'll incorporate this and look over the warniings and get out a new version. > > > ;;; > ----------code- > snippet------------------------------------------------- > > (defclass* key-value-iteratable-container-mixin > (iteratable-container-mixin) > ()) > > ;;; > ---------------------------------------------------------------------- > - > > from BASIC-OPERATIONS.LISP to CONTAINERS.LISP, just after > > ;;; ----------code-snippet-from-CONTAINERS.LISP > --------------------------- > > (defclass* iteratable-container-mixin (searchable-container-mixin) > ()) > > [... inserted here ...] > > ;;; > ---------------------------------------------------------------------- > - > > The error is gone, leaving me alone with some warnings > > ;;; ----------slime > compiler-notes----------------------------------------- > -+ Warnings (11) > |-- --> PROGN PCL::LOAD-DEFMETHOD PCL::LOAD-DEFMETHOD LIST* LIST* > LAMBDA > | --> FUNCTION MACROLET PCL::FAST-LEXICAL-METHOD-FUNCTIONS > | --> PCL::BIND-FAST-LEXICAL-METHOD-MACROS MACROLET > | --> PCL::BIND-LEXICAL-METHOD-FUNCTIONS PCL::CALL-NEXT-METHOD-BIND > LET > | --> FLET PCL::WITH-REBOUND-ORIGINAL-ARGUMENTS LET PCL::BIND-ARGS > LET* > | --> PCL::PV-BINDING PCL::PV-BINDING1 PCL::PV-ENV LET LET BLOCK > PROGN > | --> PCL::PV-SET-SLOT-VALUE LET THE > | ==> > | ; NIL > | The binding of PCL::.VALUE. is not a (VALUES DLIST-CONTAINER-NODE > &REST T): > | NIL > |-- --> PROGN PCL::LOAD-DEFMETHOD PCL::LOAD-DEFMETHOD LIST* LIST* > LAMBDA > | --> FUNCTION MACROLET PCL::FAST-LEXICAL-METHOD-FUNCTIONS > | --> PCL::BIND-FAST-LEXICAL-METHOD-MACROS MACROLET > | --> PCL::BIND-LEXICAL-METHOD-FUNCTIONS PCL::CALL-NEXT-METHOD-BIND > LET > | --> FLET PCL::WITH-REBOUND-ORIGINAL-ARGUMENTS LET PCL::BIND-ARGS > LET* > | --> PCL::PV-BINDING PCL::PV-BINDING1 PCL::PV-ENV LET LET BLOCK > PROGN > | --> PCL::PV-SET-SLOT-VALUE LET THE > | ==> > | ; NIL > | The binding of PCL::.VALUE. is not a (VALUES DLIST-CONTAINER-NODE > &REST T): > | NIL > |-- COMPILE-FILE warned while performing # > on > | #. > |-- COMPILE-FILE failed while performing # > on > | #. > |-- --> PROGN PCL::LOAD-DEFMETHOD PCL::LOAD-DEFMETHOD LIST* LIST* > LAMBDA > | --> FUNCTION MACROLET PCL::FAST-LEXICAL-METHOD-FUNCTIONS > | --> PCL::BIND-FAST-LEXICAL-METHOD-MACROS MACROLET > | --> PCL::BIND-LEXICAL-METHOD-FUNCTIONS PCL::CALL-NEXT-METHOD-BIND > LET > | --> FLET PCL::WITH-REBOUND-ORIGINAL-ARGUMENTS LET PCL::BIND-ARGS > LET* > | --> PCL::PV-BINDING PCL::PV-BINDING1 PCL::PV-ENV LET LET > | --> PCL::SLOT-VECTOR-OR-NIL WHEN COND IF PROGN IF > | --> PCL::FSC-INSTANCE-SLOTS KERNEL:%FUNCALLABLE-INSTANCE-INFO > | ==> > | ; C::OBJECT > | Result is a VECTOR, not a (VALUES &OPTIONAL FUNCTION &REST T). > |-- --> PROGN PCL::LOAD-DEFMETHOD PCL::LOAD-DEFMETHOD LIST* LIST* > LAMBDA > | --> FUNCTION MACROLET PCL::FAST-LEXICAL-METHOD-FUNCTIONS > | --> PCL::BIND-FAST-LEXICAL-METHOD-MACROS MACROLET > | --> PCL::BIND-LEXICAL-METHOD-FUNCTIONS PCL::CALL-NEXT-METHOD-BIND > LET > | --> FLET PCL::WITH-REBOUND-ORIGINAL-ARGUMENTS LET PCL::BIND-ARGS > LET* > | --> PCL::PV-BINDING PCL::PV-BINDING1 PCL::PV-ENV LET LET > | --> PCL::SLOT-VECTOR-OR-NIL WHEN COND IF PROGN IF > | --> PCL::FSC-INSTANCE-SLOTS KERNEL:%FUNCALLABLE-INSTANCE-INFO > | ==> > | ; C::OBJECT > | Result is a VECTOR, not a (VALUES &OPTIONAL FUNCTION &REST T). > |-- --> PROGN PCL::LOAD-DEFMETHOD PCL::LOAD-DEFMETHOD LIST* LIST* > LAMBDA > | --> FUNCTION MACROLET PCL::FAST-LEXICAL-METHOD-FUNCTIONS > | --> PCL::BIND-FAST-LEXICAL-METHOD-MACROS MACROLET > | --> PCL::BIND-LEXICAL-METHOD-FUNCTIONS PCL::CALL-NEXT-METHOD-BIND > LET > | --> FLET PCL::WITH-REBOUND-ORIGINAL-ARGUMENTS LET PCL::BIND-ARGS > LET* > | --> PCL::PV-BINDING PCL::PV-BINDING1 PCL::PV-ENV LET LET > | --> PCL::SLOT-VECTOR-OR-NIL WHEN COND IF PROGN IF > | --> PCL::FSC-INSTANCE-SLOTS KERNEL:%FUNCALLABLE-INSTANCE-INFO > | ==> > | ; C::OBJECT > | Result is a VECTOR, not a (VALUES &OPTIONAL FUNCTION &REST T). > |-- --> PROGN PCL::LOAD-DEFMETHOD PCL::LOAD-DEFMETHOD LIST* LIST* > LAMBDA > | --> FUNCTION MACROLET PCL::FAST-LEXICAL-METHOD-FUNCTIONS > | --> PCL::BIND-FAST-LEXICAL-METHOD-MACROS MACROLET > | --> PCL::BIND-LEXICAL-METHOD-FUNCTIONS PCL::CALL-NEXT-METHOD-BIND > LET > | --> FLET PCL::WITH-REBOUND-ORIGINAL-ARGUMENTS LET PCL::BIND-ARGS > LET* > | --> PCL::PV-BINDING PCL::PV-BINDING1 PCL::PV-ENV LET LET > | --> PCL::SLOT-VECTOR-OR-NIL WHEN COND IF PROGN IF > | --> PCL::FSC-INSTANCE-SLOTS KERNEL:%FUNCALLABLE-INSTANCE-INFO > | ==> > | ; C::OBJECT > | Result is a ARRAY, not a (VALUES &OPTIONAL FUNCTION &REST T). > |-- --> PROGN PCL::LOAD-DEFMETHOD PCL::LOAD-DEFMETHOD LIST* LIST* > LAMBDA > | --> FUNCTION MACROLET PCL::FAST-LEXICAL-METHOD-FUNCTIONS > | --> PCL::BIND-FAST-LEXICAL-METHOD-MACROS MACROLET > | --> PCL::BIND-LEXICAL-METHOD-FUNCTIONS PCL::CALL-NEXT-METHOD-BIND > LET > | --> FLET PCL::WITH-REBOUND-ORIGINAL-ARGUMENTS LET PCL::BIND-ARGS > LET* > | --> PCL::PV-BINDING PCL::PV-BINDING1 PCL::PV-ENV LET LET > | --> PCL::SLOT-VECTOR-OR-NIL WHEN COND IF PROGN IF > | --> PCL::FSC-INSTANCE-SLOTS KERNEL:%FUNCALLABLE-INSTANCE-INFO > | ==> > | ; C::OBJECT > | Result is a ARRAY, not a (VALUES &OPTIONAL FUNCTION &REST T). > |-- COMPILE-FILE warned while performing # > on > | #. > `-- COMPILE-FILE failed while performing # > on > #. > ;;; > ---------------------------------------------------------------------- > - > > Everything gets loaded, I can go on with loading CL-GRAPH and generate > some > graphs. > -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From gwking at metabang.com Fri Dec 15 18:44:49 2006 From: gwking at metabang.com (Gary King) Date: Fri, 15 Dec 2006 13:44:49 -0500 Subject: [cl-containers-devel] error when using CMUCL &In-Reply-To=A0057F80-13E0-48EF-A89D-A32038025167@m In-Reply-To: <1Guzmu-1Wh9Dk0@fwd27.aul.t-online.de> References: <1GsbsV-2KLIgq0@fwd29.aul.t-online.de> <1Guzmu-1Wh9Dk0@fwd27.aul.t-online.de> Message-ID: <815ACB20-801D-4A5B-8AB8-1E6BA6F7A8EF@metabang.com> > So finally just one question. How do I invoke the test system (with > LIFT?), I didn't manage to do that. If I've set things up correctly for my projects, you can just > (asdf:oop 'asdf:test-op 'the-project-name-goes-here) I'm not sure I've gotten to all of the projects I maintain so I'll try to check that too. The real issue is that there are not nearly enough tests so passing the test suite is not much of a comfort in hard times. > Thanks in advance, you have a really powerful system build up here > and I > will need some time to grokk it :-) Well, there is good stuff here and I'm glad you're looking at it. I'm sure that there are lots of rough edges that can be improved! -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From gwking at metabang.com Sat Dec 16 18:12:47 2006 From: gwking at metabang.com (Gary King) Date: Sat, 16 Dec 2006 13:12:47 -0500 Subject: [cl-containers-devel] CMU Compiler warnings for cl-containers In-Reply-To: <1Guzmu-1Wh9Dk0@fwd27.aul.t-online.de> References: <1GsbsV-2KLIgq0@fwd29.aul.t-online.de> <1Guzmu-1Wh9Dk0@fwd27.aul.t-online.de> Message-ID: <4B85FC31-8840-46A2-A06A-404DFF292109@metabang.com> On Dec 14, 2006, at 6:14 PM, christoph.oppawsky at t-online.de wrote: > ;;; ----------slime > compiler-notes----------------------------------------- > -+ Warnings (11) > |-- --> PROGN PCL::LOAD-DEFMETHOD PCL::LOAD-DEFMETHOD LIST* LIST* > LAMBDA snip > | --> PCL::PV-SET-SLOT-VALUE LET THE > | ==> > | ; NIL > | The binding of PCL::.VALUE. is not a (VALUES DLIST-CONTAINER-NODE > &REST T): > | NIL > |-- COMPILE-FILE warned while performing # > | #. I believe this is caused by the defclass for dlist-container. It has (first-element nil ia type dlist-container-node) but nil isn't a dlist-container-node so the type clause is bogus and CMUCL is smart enough to complain. Assuming I'm right, I'll have a patch out later today with a fix for them. -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM