Hi, I just ran into a problem starting up-to-date darcs hunchentoot on OpenMCL 1.1 (releases 070408 and 070214, linux-x86-64). I believe this problem is related to the recently added hunchentoot-mp package, as this error doesn't occur in an earlier install of darcs hunchentoot from March, right before the addition of that package.
While trying to load this file: (hello-hunchentoot.lisp) (require :asdf) (asdf:oos 'asdf:load-op :hunchentoot-test) (hunchentoot:start-server :port 4242)
I got this error:
Error: The function MAKE-LOCK is predefined in OpenMCL. While executing: CCL::REDEFINE-KERNEL-FUNCTION, in process listener(1). Type :GO to continue, :POP to abort, :R for a list of available restarts. If continued: Replace the definition of MAKE-LOCK. Type :? for other options.
1 >
If anyone needs any more info, or wants me to test anything to help out, let me know.
Thanks, Joel
Hi,
On Wed, 18 Apr 2007 06:43:47 -0700, "Joel Boehland" jboehland+tbnl@gmail.com wrote:
I just ran into a problem starting up-to-date darcs hunchentoot on OpenMCL 1.1 (releases 070408 and 070214, linux-x86-64).
Just to make this clear - "up-to-date darcs" might or might not be the same as the current Hunchentoot release. It's nice that Luís maintains this repository, but for bug reports you should make sure you're referring to a released version. (Doesn't really matter in this case, though.)
I believe this problem is related to the recently added hunchentoot-mp package, as this error doesn't occur in an earlier install of darcs hunchentoot from March, right before the addition of that package.
While trying to load this file: (hello-hunchentoot.lisp) (require :asdf) (asdf:oos 'asdf:load-op :hunchentoot-test) (hunchentoot:start-server :port 4242)
I got this error:
Error: The function MAKE-LOCK is predefined in OpenMCL. While executing: CCL::REDEFINE-KERNEL-FUNCTION, in process listener(1). Type :GO to continue, :POP to abort, :R for a list of available restarts. If continued: Replace the definition of MAKE-LOCK. Type :? for other options.
1 >
If anyone needs any more info, or wants me to test anything to help out, let me know.
Can you provide a backtrace? Can you try the ASDF:OOS call from a listener and see what happens? Have you made sure to delete old FASL files?
I can't test myself because I don't have a Mac.
Cheers, Edi.
Hi Edi, Just a quick clarification: I am running the linux port (x86-64) of OpenMCL. I have tried OpenMCL snapshots 070214 and 070408 and a version updated from cvs yesterday. Between each try, I delete all the .lx64fsl files. On each of these OpenMCL versions, with the most recent hunchentoot, I get this error. With hunchentoot version 0.7.2, I don't get this error.
The following is a transcript captured using gnu screen, where I try your suggestions and have captured a back trace. I will also attach it, since gmail may mess up the formatting. If you think of anything else you'd like me to do to help, please let me know.
Thanks, Joel
------------------------------------------------------------------------------- joel@buckaroo-home:systems$ find .. -name '*.lx64fsl' -exec rm {} ; joel@buckaroo-home:systems$ rlwrap openmcl64 Welcome to OpenMCL Version 1.1-pre-070408 (LinuxX8664)! ? (require :asdf) :ASDF ("ASDF") ? (asdf:oos 'asdf:load-op :hunchentoot-test) ; loading system definition from hunchentoot-test.asd into #<Package "ASDF0"> ; registering #<SYSTEM :HUNCHENTOOT-TEST #x300040E5D95D> as HUNCHENTOOT-TEST ; loading system definition from cl-who.asd into #<Package "ASDF0"> ; registering #<SYSTEM :CL-WHO #x300040E45AAD> as CL-WHO ; loading system definition from hunchentoot.asd into #<Package "ASDF0"> ; registering #<SYSTEM :HUNCHENTOOT #x300040E6E8CD> as HUNCHENTOOT ; loading system definition from url-rewrite.asd into #<Package "ASDF0"> ; registering #<SYSTEM :URL-REWRITE #x300040E92D5D> as URL-REWRITE ; loading system definition from rfc2388.asd into #<Package "ASDF0"> ; registering #<SYSTEM :RFC2388 #x300040EBAC6D> as RFC2388 ; loading system definition from md5.asd into #<Package "ASDF0"> ; registering #<SYSTEM MD5 #x300040EA4C0D> as MD5 ; loading system definition from cl+ssl.asd into #<Package "ASDF0"> ; registering #<SYSTEM :CL+SSL #x300040ED14BD> as CL+SSL ; loading system definition from flexi-streams.asd into #<Package "ASDF0"> ; registering #<SYSTEM :FLEXI-STREAMS #x300040EFAFAD> as FLEXI-STREAMS ; registering #<SYSTEM :FLEXI-STREAMS-TEST #x300040EE54CD> as FLEXI-STREAMS-TEST ; loading system definition from trivial-gray-streams.asd into #<Package "ASDF0"> ; registering #<SYSTEM :TRIVIAL-GRAY-STREAMS #x300040F065ED> as TRIVIAL-GRAY-STREAMS ; loading system definition from cffi.asd into #<Package "ASDF0"> ; registering #<SYSTEM CFFI #x300040F5EC5D> as CFFI ; loading system definition from cl-ppcre.asd into #<Package "ASDF0"> ; registering #<SYSTEM :CL-PPCRE #x300040F66EED> as CL-PPCRE ; loading system definition from cl-base64.asd into #<Package "ASDF0"> ; registering #<SYSTEM CL-BASE64 #x300040DF6A1D> as CL-BASE64 ; registering #<SYSTEM CL-BASE64-TESTS #x300040E2F54D> as CL-BASE64-TESTS ; loading system definition from chunga.asd into #<Package "ASDF0"> ; registering #<SYSTEM :CHUNGA #x300040E51B4D> as CHUNGA ;Compiler warnings for "/home/joel/work/webdev/hunchentoot/flexi-streams/stream.lisp" : ; Unused lexical variable STREAM, in (SET-ENCODING-TABLE (T)) inside an anonymous lambda form. ; Unused lexical variable STREAM, in (SET-ENCODING-HASH (T)) inside an anonymous lambda form. ; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL #x300040DE12FD> on #<CL-SOURCE-FILE "stream" #x300040DDA80D>. ; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE)>, in process listener(1). ;Compiler warnings for "/home/joel/work/webdev/hunchentoot/chunga/input.lisp" : ; Unused lexical variable OBJECT, in (CHUNKED-INPUT-STREAM-EXTENSIONS (T)). ; Unused lexical variable OBJECT, in (CHUNKED-INPUT-STREAM-TRAILERS (T)). ; Unused lexical variable OBJECT, in (CHUNKED-STREAM-INPUT-CHUNKING-P (T)). ; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL #x300040DF723D> on #<CL-SOURCE-FILE "input" #x300040DF831D>. ; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE)>, in process listener(1). ;Compiler warnings for "/home/joel/work/webdev/hunchentoot/chunga/output.lisp" : ; Unused lexical variable OBJECT, in (CHUNKED-STREAM-OUTPUT-CHUNKING-P (T)). ; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL #x300040DF723D> on #<CL-SOURCE-FILE "output" #x300040DF7B2D>. ; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE)>, in process listener(1).
Error: The function MAKE-LOCK is predefined in OpenMCL. While executing: CCL::REDEFINE-KERNEL-FUNCTION, in process listener(1). Type :GO to continue, :POP to abort, :R for a list of available restarts. If continued: Replace the definition of MAKE-LOCK. Type :? for other options.
1 > :B (2AAAAACBB658) : 0 (REDEFINE-KERNEL-FUNCTION 'MAKE-LOCK) 541 (2AAAAACBB670) : 1 (FSET 'MAKE-LOCK #<Compiled-function MAKE-LOCK (Non-Global) #x30004149E1EF>) 397 (2AAAAACBB698) : 2 (%DEFUN #<Compiled-function MAKE-LOCK (Non-Global) #x30004149E1EF> [...]) 397 (2AAAAACBB6C0) : 3 (%FASLOAD "/home/joel/work/webdev/hunchentoot/hunchentoot/port-mcl.lx64fsl" [...]) 1629 (2AAAAACBB768) : 4 (FUNCALL #'#CCL::ATTEMPT-LOAD #P"/home/joel/work/webdev/hunchentoot/hunchentoot/port-mcl.lx64fsl") 101 (2AAAAACBB788) : 5 (%LOAD #P"/home/joel/work/webdev/hunchentoot/hunchentoot/port-mcl.lx64fsl" NIL 'CCL::%FASL-READ-BYTE :ERROR :DEFAULT) 2477 (2AAAAACBB8C0) : 6 (LOAD #P"/home/joel/work/webdev/hunchentoot/hunchentoot/port-mcl.lx64fsl" [...]) 997 (2AAAAACBB960) : 7 (FUNCALL #'#<#<STANDARD-METHOD ASDF:PERFORM (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)>> #<LOAD-OP NIL #x300040DF6AFD> #<CL-SOURCE-FILE "port-mcl" #x300040DC6C9D>) 261 (2AAAAACBB9B0) : 8 (%%BEFORE-AND-AFTER-COMBINED-METHOD-DCODE '(NIL #<#> . 5864062285646)) 893 (2AAAAACBBA20) : 9 (%%STANDARD-COMBINED-METHOD-DCODE '(NIL # #<#>) 5864062285646) 261 (2AAAAACBBA88) : 11 (OPERATE 'ASDF:LOAD-OP :HUNCHENTOOT-TEST [...]) 1653 (2AAAAACBBB68) : 12 (CALL-CHECK-REGS 'ASDF:OOS [...]) 229 (2AAAAACBBBA0) : 13 (TOPLEVEL-EVAL '(ASDF:OOS # :HUNCHENTOOT-TEST) [...]) 429 (2AAAAACBBBF0) : 14 (READ-LOOP [...]) 1893 (2AAAAACBBDF8) : 15 (TOPLEVEL-LOOP) 133 (2AAAAACBBE28) : 16 (FUNCALL #'#<Anonymous Function #x300040425BCF>) 133 (2AAAAACBBE40) : 17 (FUNCALL #'#<Anonymous Function #x30004056E68F>) 773 (2AAAAACBBEC8) : 18 (RUN-PROCESS-INITIAL-FORM #<TTY-LISTENER listener(1) [Active] #x300040D6BDBD> '(#)) 701 (2AAAAACBBF48) : 19 (FUNCALL #'#<Anonymous Function #x30004043A40F> #<TTY-LISTENER listener(1) [Active] #x300040D6BDBD> '(#)) 397 (2AAAAACBBF98) : 20 (FUNCALL #'#<Anonymous Function #x30004041B42F>) 365 1 > ------------------------------------------------------------------------------- On 4/18/07, Edi Weitz edi@agharta.de wrote:
Hi,
On Wed, 18 Apr 2007 06:43:47 -0700, "Joel Boehland" jboehland+tbnl@gmail.com wrote:
I just ran into a problem starting up-to-date darcs hunchentoot on OpenMCL 1.1 (releases 070408 and 070214, linux-x86-64).
Just to make this clear - "up-to-date darcs" might or might not be the same as the current Hunchentoot release. It's nice that Luís maintains this repository, but for bug reports you should make sure you're referring to a released version. (Doesn't really matter in this case, though.)
I believe this problem is related to the recently added hunchentoot-mp package, as this error doesn't occur in an earlier install of darcs hunchentoot from March, right before the addition of that package.
While trying to load this file: (hello-hunchentoot.lisp) (require :asdf) (asdf:oos 'asdf:load-op :hunchentoot-test) (hunchentoot:start-server :port 4242)
I got this error:
Error: The function MAKE-LOCK is predefined in OpenMCL. While executing: CCL::REDEFINE-KERNEL-FUNCTION, in process listener(1). Type :GO to continue, :POP to abort, :R for a list of available restarts. If continued: Replace the definition of MAKE-LOCK. Type :? for other options.
1 >
If anyone needs any more info, or wants me to test anything to help out, let me know.
Can you provide a backtrace? Can you try the ASDF:OOS call from a listener and see what happens? Have you made sure to delete old FASL files?
I can't test myself because I don't have a Mac.
Cheers, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
On Wed, 18 Apr 2007 11:10:48 -0700, "Joel Boehland" jboehland+tbnl@gmail.com wrote:
The following is a transcript captured using gnu screen, where I try your suggestions and have captured a back trace.
Could you please try the new release and check if this fixes it?
Thanks for the report, Edi.