Re: Haiku problems with sb-manual

Alexandru Popa <[email protected]> Wed, 5 Aug 2026 05:02:17 +0000
Newsgroups gmane.lisp.steel-bank.devel
Message-ID <CAL2wRjTSdY+Hbdx_Vs9H=QzOHkTPFndwAVBRYj1b271PHXZbwA@mail.gmail.com>
--===============9132361932596963179==
Content-Type: multipart/alternative; boundary="0000000000009ced60065845ad91"

--0000000000009ced60065845ad91
Content-Type: text/plain; charset="UTF-8"

The Haiku package SBCL is built from release ZIP archive published on
GitHub. The very same archive compiles without problems manually. The
package creation involves re-creating the minimal Haiku system in isolated
environment, chroot in there, unpacking the archive and building it. There
are perhaps several layers of re-direction while reading symlinks or
hardlinks or both, but this is for system files, not for archive.

I can see in file explorer the file contrib/sb-manual/doc/sb-aclrepl.lisp,
and it doesn't appear like a symlink. Its contents is
"../../sb-aclrepl/manual.lisp", a link to actual file. The relative path
also seems to be valid. However, when I run:

(with-open-file (s "contriv/sb-manual/doc/sb-aclrepl.lisp")
  (read-line s))

SBCL 2.6.6 reports condition:

debugger invoked on a FILE-DOES-NOT-EXIST in thread
#<THREAD "main thread" RUNNING {1100030003}>:
  The file

#P"/boot/home/haikuports/dev-lisp/sbcl/work-2.6.7/sources/sbcl-sbcl-2.6.7/contriv/sb-manual/doc/sb-aclrepl.lisp"
  does not exist:
    No such file or directory

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CREATE   ] Reopen with :if-does-not-exist :create
  1: [CONTINUE ] Retry opening.
  2: [USE-VALUE] Try opening a different file.
  3: [ABORT    ] Exit debugger, returning to top level.


Is this tree a git checkout, from a tar ball or a zip file?
>
> What does this do when evaluated in sbcl/?
>
>     (with-open-file (s "contrib/sb-manual/doc/sb-aclrepl.lisp")
>       (read-line s))
>

--0000000000009ced60065845ad91
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">The Haiku package SBCL is built from rele=
ase ZIP archive published on GitHub. The very same archive compiles without=
 problems manually.=C2=A0The package creation involves re-creating the mini=
mal Haiku system in isolated environment, chroot in there, unpacking the ar=
chive and building it. There are perhaps several layers of re-direction whi=
le reading symlinks or hardlinks or both, but this is for system files, not=
 for archive.</div><div><br></div><div>I can see in file explorer the file =
contrib/sb-manual/doc/sb-aclrepl.lisp, and it doesn&#39;t appear like a sym=
link. Its contents is &quot;../../sb-aclrepl/manual.lisp&quot;, a link to a=
ctual file. The relative path also seems to be valid. However, when I run:<=
/div><div><br></div><div>(with-open-file (s &quot;contriv/sb-manual/doc/sb-=
aclrepl.lisp&quot;)</div><div>=C2=A0 (read-line s))</div><div><br></div><di=
v>SBCL 2.6.6 reports condition:</div><div></div><div><br></div><div>debugge=
r invoked on a FILE-DOES-NOT-EXIST in thread<br>#&lt;THREAD &quot;main thre=
ad&quot; RUNNING {1100030003}&gt;:<br>=C2=A0 The file<br>=C2=A0 #P&quot;/bo=
ot/home/haikuports/dev-lisp/sbcl/work-2.6.7/sources/sbcl-sbcl-2.6.7/contriv=
/sb-manual/doc/sb-aclrepl.lisp&quot;<br>=C2=A0 does not exist:<br>=C2=A0 =
=C2=A0 No such file or directory<br><br>Type HELP for debugger help, or (SB=
-EXT:EXIT) to exit from SBCL.<br><br>restarts (invokable by number or by po=
ssibly-abbreviated name):<br>=C2=A0 0: [CREATE =C2=A0 ] Reopen with :if-doe=
s-not-exist :create<br>=C2=A0 1: [CONTINUE ] Retry opening.<br>=C2=A0 2: [U=
SE-VALUE] Try opening a different file.<br>=C2=A0 3: [ABORT =C2=A0 =C2=A0] =
Exit debugger, returning to top level.<br><br></div><div><br></div><div cla=
ss=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is thi=
s tree a git checkout, from a tar ball or a zip file?<br>
<br>
What does this do when evaluated in sbcl/?<br>
<br>
=C2=A0 =C2=A0 (with-open-file (s &quot;contrib/sb-manual/doc/sb-aclrepl.lis=
p&quot;)<br>
=C2=A0 =C2=A0 =C2=A0 (read-line s))<br>
</blockquote></div>
</div>

--0000000000009ced60065845ad91--


--===============9132361932596963179==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============9132361932596963179==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Sbcl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-devel

--===============9132361932596963179==--