[Asdf-devel] Need to do uiop:setup-temporary-directory in image built with uiop

Dave Cooper david.cooper at genworks.com
Tue Jun 17 15:36:09 UTC 2014


Dear ASDF maintainer(s),

I just noticed that it is necessary to do

  (uiop:setup-temporary-directory)

in an image which has UIOP built into it, when that image is run on a
different machine or under a different user account (at least on Windows).
Otherwise, the function

  (uiop:temporary-directory)

returns whatever was the temporary directory as computed in the build
environment (in my case it's in the "dcooper8" home directory.

So am I correct that it's pretty much a requirement to call

  (uiop:setup-temporary-directory)

upon startup of an image which contains uiop built into it?

Are there any other functions which should be called to initialize uiop?

Is there a way to achieve this at image dump time instead of startup time
(e.g. clearing the temporary directory entirely so it will be forced to
reset when next demanded in the built image)?

If I'm missing something from the documentation on this please feel free to
slap me in that direction.

Regards

 Dave Cooper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20140617/6c551bee/attachment.html>


More information about the asdf-devel mailing list