freenode/#sbcl - IRC Chatlog
Search
16:21:47
yegortimoshenko
(pathname (osicat:open-temporary-file)) is broken on SBCL. osicat returns fd-stream
16:24:28
pkhuong
osicat's documentation says that the file is unlinked once it has been opened. I'm not sure what pathname you expect for a path that doesn't exist.
16:32:45
oleo
you could reattach it, like in some new struct with a filename and the stream itself ?
16:43:53
jrm
Is there a way to control if/where fasl files are generated? Package building is run as a unprivileged user without a home directory, which gives errors like "(ENSURE-DIRECTORIES-EXIST #P"/nonexistent/.cache/common-lisp/sbcl-1.3.20-bsd-x64/usr/local/lib/common-lisp/alexandria/package.fasl" :VERBOSE NIL :MODE 511)".
16:46:32
jrm
The lisp is just run once to process a texi file before an info file is generated, so the fasl files won't be used again.
16:46:42
foom
jrm: https://common-lisp.net/project/asdf/asdf/Controlling-where-ASDF-saves-compiled-files.html
18:18:30
jsjolen
(destructuring-bind (&optional i &rest opts) (cons 1 . 2)) gives a pretty nasty stacktrace on 1.3.20
18:19:56
jsjolen
Essentially you get a lot of sb-c::ir1- calls until it realises that 2 isn't a list.
18:39:27
jsjolen
Yeah, sorry for the bad news. I read that DESTRUCTURING-BIND had a full re-write recently.