[asdf-devel] find-system

2010-10-18 Thread Lou Vanek
I am totally confused with the asdf:find-system method.

The symbol is exported but it isn't bound to a function, at least on my system.

About 10 different packages call asdf:find-system but it cannot be
called because it isn't bound.

Asdf:find-system IS declared and defined and exported in asdf.lisp
version 2.009, but when a package tries to call it I get an error.

Yet I can see it's defined in asdf.lisp as:

(defmethod find-system (name optional (error-p t))
  (find-system (coerce-name name) error-p))

(defmethod find-system ((name string) optional (error-p t))
  (catch 'find-system
  ...


CL-USER (apropos find-system)
 ASDF:FIND-SYSTEM
ASDF::FIND-SYSTEM-FALLBACK, Def: FUNCTION
; No value
CL-USER (asdf::find-system :usocket)
; Evaluation aborted on #CCL::UNDEFINED-FUNCTION-CALL #x18634CFE.
CL-USER asdf::*asdf-version*
2.009
CL-USER (lisp-implementation-type)

Clozure Common Lisp
CL-USER (lisp-implementation-version)
Version 1.6-dev-r14367M-trunk  (LinuxX8632)


What am I missing?

Thanks,
Lou Vanek

___
asdf-devel mailing list
asdf-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel


Re: [asdf-devel] find-system

2010-10-18 Thread Faré
Dunno what you're trying to do. Works for me.

$ ccl
Welcome to Clozure Common Lisp Version 1.6-dev-r14324M-trunk  (LinuxX8664)!
? (require :asdf)
:ASDF
(ASDF)
? (asdf:find-system :asdf)
#SYSTEM asdf
? (asdf:asdf-version)
2.008
? (describe 'asdf:find-system)
ASDF:FIND-SYSTEM
Type: SYMBOL
Class: #BUILT-IN-CLASS SYMBOL
Function
EXTERNAL in package: #Package ASDF
Print name: FIND-SYSTEM
Value: #Unbound
Function: #STANDARD-GENERIC-FUNCTION ASDF:FIND-SYSTEM #x3020005370AF
Arglist: (ASDF:SYSTEM OPTIONAL ASDF::ERROR-P)
Plist: NIL

Can you post a transcript of what you're doing, possibly on paste.lisp.org?

[ François-René ÐVB Rideau | ReflectionCybernethics | http://fare.tunes.org ]
Director is a misnomer. You're a hoper. You put all these people together and
you hope it all works out.  — Frank Oz, director of Dirty Rotten Scoundrels




On 18 October 2010 11:18, Lou Vanek lou.va...@gmail.com wrote:
 I am totally confused with the asdf:find-system method.

 The symbol is exported but it isn't bound to a function, at least on my 
 system.

 About 10 different packages call asdf:find-system but it cannot be
 called because it isn't bound.

 Asdf:find-system IS declared and defined and exported in asdf.lisp
 version 2.009, but when a package tries to call it I get an error.

 Yet I can see it's defined in asdf.lisp as:

 (defmethod find-system (name optional (error-p t))
  (find-system (coerce-name name) error-p))

 (defmethod find-system ((name string) optional (error-p t))
  (catch 'find-system
  ...


 CL-USER (apropos find-system)
  ASDF:FIND-SYSTEM
 ASDF::FIND-SYSTEM-FALLBACK, Def: FUNCTION
 ; No value
 CL-USER (asdf::find-system :usocket)
 ; Evaluation aborted on #CCL::UNDEFINED-FUNCTION-CALL #x18634CFE.
 CL-USER asdf::*asdf-version*
 2.009
 CL-USER (lisp-implementation-type)

 Clozure Common Lisp
 CL-USER (lisp-implementation-version)
 Version 1.6-dev-r14367M-trunk  (LinuxX8632)


 What am I missing?

 Thanks,
 Lou Vanek

 ___
 asdf-devel mailing list
 asdf-devel@common-lisp.net
 http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel


___
asdf-devel mailing list
asdf-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel


Re: [asdf-devel] find-system

2010-10-18 Thread Lou Vanek
I just deleted ALL FASLs in ~/.cache/* and ~/.slime/* and that didn't
change anything.


On Mon, Oct 18, 2010 at 3:36 PM, Lou Vanek lou.va...@gmail.com wrote:
 I using asdf version 2.009. That is shown in my first email (in the
 REPL output).

 I'm using the asdf that comes with ccl. I have more than one asdf version
 on my system but they are all older (version 1.x) than the version
 that comes with ccl-trunk (version 2.x).
 Just to be sure, I've moved my old version of ASDF to a place where it
 cannot be found and that didn't change anything, so it definitely is
 not being used.

 I'm not sure what other FASLs I could delete; I'm fairly certain I've
 deleted all old FASLs, but kept only those FASLs that are less than 10
 days old. I don't need to delete old FASLs if they are only 10 days
 old, do I? I updated ccl but I thought that didn't require deleting
 all FASLs since my previous version of ccl-trunk was installed about
 10 or so days ago.


 On Mon, Oct 18, 2010 at 3:23 PM,  dherr...@tentpost.com wrote:
 Lou Vanek wrote:
 http://paste.lisp.org/+2H95

 The only thing that I can think of that has changed is I updated truck
 and rebuilt ccl.
 ? (rebuild-ccl :full t)

 Maybe there's a stale asdf fasl somewhere?  Are you using the asdf bundled
 with ccl or a different copy?

 You didn't show the asdf version...

 - Daniel

 On Mon, Oct 18, 2010 at 2:56 PM, Faré fah...@gmail.com wrote:
 Dunno what you're trying to do. Works for me.

 $ ccl
 Welcome to Clozure Common Lisp Version 1.6-dev-r14324M-trunk
  (LinuxX8664)!
 ? (require :asdf)
 :ASDF
 (ASDF)
 ? (asdf:find-system :asdf)
 #SYSTEM asdf
 ? (asdf:asdf-version)
 2.008
 ? (describe 'asdf:find-system)
 ASDF:FIND-SYSTEM
 Type: SYMBOL
 Class: #BUILT-IN-CLASS SYMBOL
 Function
 EXTERNAL in package: #Package ASDF
 Print name: FIND-SYSTEM
 Value: #Unbound
 Function: #STANDARD-GENERIC-FUNCTION ASDF:FIND-SYSTEM #x3020005370AF
 Arglist: (ASDF:SYSTEM OPTIONAL ASDF::ERROR-P)
 Plist: NIL

 Can you post a transcript of what you're doing, possibly on
 paste.lisp.org?



 ___
 asdf-devel mailing list
 asdf-devel@common-lisp.net
 http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel



___
asdf-devel mailing list
asdf-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel


Re: [asdf-devel] find-system

2010-10-18 Thread Faré
On 18 October 2010 12:46, Lou Vanek lou.va...@gmail.com wrote:
 I just deleted ALL FASLs in ~/.cache/* and ~/.slime/* and that didn't
 change anything.


 On Mon, Oct 18, 2010 at 3:36 PM, Lou Vanek lou.va...@gmail.com wrote:
 I using asdf version 2.009. That is shown in my first email (in the
 REPL output).

 I'm using the asdf that comes with ccl. I have more than one asdf version
 on my system but they are all older (version 1.x) than the version
 that comes with ccl-trunk (version 2.x).
 Just to be sure, I've moved my old version of ASDF to a place where it
 cannot be found and that didn't change anything, so it definitely is
 not being used.

 I'm not sure what other FASLs I could delete; I'm fairly certain I've
 deleted all old FASLs, but kept only those FASLs that are less than 10
 days old. I don't need to delete old FASLs if they are only 10 days
 old, do I? I updated ccl but I thought that didn't require deleting
 all FASLs since my previous version of ccl-trunk was installed about
 10 or so days ago.


Are you starting from a fresh image? Just what are you doing?
If you're compiling CCL yourself, can you post the script you're using?

I compile CCL, dump an image (which doesn't include asdf), start the image,
require asdf, and everything works just great.

Please include EVERYTHING you're doing, from a known state of the world,
or we're unable to reproduce your bug.

Sounds like you're in a weird state where you have loaded an asdf,
then compiled but not loaded another asdf that uninterns some symbols.
Whatever you doing, don't do it.

[ François-René ÐVB Rideau | ReflectionCybernethics | http://fare.tunes.org ]
Resentment is like taking poison and waiting for the other person to die.
— Malachy McCourt

___
asdf-devel mailing list
asdf-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel


Re: [asdf-devel] find-system

2010-10-18 Thread Lou Vanek
I don't have any build scripts (except, perhaps, for the ccl
initialization script, .cll-init.lisp, which I have posted at
paste.lisp.org).

I annotated my original paste at paste.lisp.org with a complete build
from start to finish. Note that find-system works immediately after
compiling, but fails if I quit and restart ccl. I made only a one-line
change to the ccl directory -- I indicated in scripts/ccl where the
build directory is.

In the annotation, 'v' is aliased to vim in bash.


On Mon, Oct 18, 2010 at 5:18 PM, Faré fah...@gmail.com wrote:
 On 18 October 2010 12:46, Lou Vanek lou.va...@gmail.com wrote:
 I just deleted ALL FASLs in ~/.cache/* and ~/.slime/* and that didn't
 change anything.


 On Mon, Oct 18, 2010 at 3:36 PM, Lou Vanek lou.va...@gmail.com wrote:
 I using asdf version 2.009. That is shown in my first email (in the
 REPL output).

 I'm using the asdf that comes with ccl. I have more than one asdf version
 on my system but they are all older (version 1.x) than the version
 that comes with ccl-trunk (version 2.x).
 Just to be sure, I've moved my old version of ASDF to a place where it
 cannot be found and that didn't change anything, so it definitely is
 not being used.

 I'm not sure what other FASLs I could delete; I'm fairly certain I've
 deleted all old FASLs, but kept only those FASLs that are less than 10
 days old. I don't need to delete old FASLs if they are only 10 days
 old, do I? I updated ccl but I thought that didn't require deleting
 all FASLs since my previous version of ccl-trunk was installed about
 10 or so days ago.


 Are you starting from a fresh image? Just what are you doing?
 If you're compiling CCL yourself, can you post the script you're using?

 I compile CCL, dump an image (which doesn't include asdf), start the image,
 require asdf, and everything works just great.

 Please include EVERYTHING you're doing, from a known state of the world,
 or we're unable to reproduce your bug.

 Sounds like you're in a weird state where you have loaded an asdf,
 then compiled but not loaded another asdf that uninterns some symbols.
 Whatever you doing, don't do it.

 [ François-René ÐVB Rideau | ReflectionCybernethics | http://fare.tunes.org ]
 Resentment is like taking poison and waiting for the other person to die.
        — Malachy McCourt


___
asdf-devel mailing list
asdf-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel


Re: [asdf-devel] find-system

2010-10-18 Thread Faré
On 18 October 2010 12:13, Lou Vanek lou.va...@gmail.com wrote:
 http://paste.lisp.org/+2H95

 The only thing that I can think of that has changed is I updated truck
 and rebuilt ccl.
 ? (rebuild-ccl :full t)

OK, the error seems to be that you load asdf from your .ccl-init. That
confuses the hell out of CCL, which while rebuilding compiles but
doesn't load ASDF, which causes the initially loaded ASDF to be
invalidate.

Solutions:
1- Don't do it, or
2- use ccl --no-init to bootstrap your ccl.

Please send a bug report to CCL so that they add --no-init to their
bootstrap script if they don't yet.

[ François-René ÐVB Rideau | ReflectionCybernethics | http://fare.tunes.org ]
Ask not what the government can do for you. Ask what the government is doing
to you. — David Friedman, The Machinery of Freedom, p. 21

___
asdf-devel mailing list
asdf-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel


Re: [asdf-devel] Error writing some output translation

2010-10-18 Thread Faré
 the output-translations layer seems to be working fine and doing its job.
 However, something else seems broken, that supplies the path
 d:/grouptix/d:/lisp/cl-pdf/pdf-template.ofasl to AOT, so something
 is horribly wrong earlier.

 Can you contact me over IRC or Skype (fahree), gtalk (fah...@gmail.com), etc.
 so we may debug this interactively?

 Or programmatically trace about every bound internal symbol in package ASDF
 and send me the output?

That's how to do it:
(eval `(trace ,@(loop :for s :being :each :present-symbol :of :asdf
:when (and (fboundp s) (not (macro-function s))) :collect s)))

the output will be massive. If you can paste.lisp.org and/or compress
and attach it, it would be great.

I suspect truenamize to do something wrong in some case.

Do you know where the d:/grouptix/ comes from?

[ François-René ÐVB Rideau | ReflectionCybernethics | http://fare.tunes.org ]
As the Chinese say, 1001 words is worth more than a picture.  — John McCarthy

___
asdf-devel mailing list
asdf-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel