News for hackers. Stuff that matters.
Re:In May 2009 O'Reilly agreed to publish a book about Commo... by Annatar on Sunday July 14, 2019 @03:38PM (#20435467)
I would if I knew how; it sure wasn't for lack of my trying to do so, but I don't know enough to pull it off.

By the way expecting that something be fixed by a non-specialist just because something is open source and expecting someone to sink their extremely valuable free time so someone could break and destroy that work again, well, that's not only despicable, it's extremely infuriating.

All the more infuriating as SBCL wouldn't exist without Solaris, which means someone already broke it at least once and here you come expecting me to not only know what to fix, but invest my life into something where my effort would likely be broken upstream again.

This needs to be taken up by the core SBCL team. Meanwhile, pity the time I used to report bugs which just sit there unhandled.

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by rjsw on Sunday July 14, 2019 @06:34PM (#20436671)
If none of the core SBCL team use Solaris then they won't know that SBCL doesn't work on it.

I'm sure that people will suggest things to try if you post details of what you have done to get it to build. Leave out words like "despicable" though.

Your account info states that you want to work with the Solaris successor projects, debugging a complex application is a good way to learn more about an OS.

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by Annatar on Monday July 15, 2019 @03:06AM (#20438732)
I've left as much information as I could, but nobody even bothered taking on the bug. The other bug was "fixed" but no information was provided on when it will be rolled into the next release, so that's not useful either, especially since Lisp cannot be built without a working Lisp first, which doesn't work now, so I've no way to test the fix.

Working on debugging C code and assembler is one thing, working on debugging Lisp another: I have to master Lisp first, but without working SBCL that's not possible and I'm not switching to an inferior OS just to master something I can't later on deploy on illumos / Solaris. I'd spend an inordinate amount of my free time for dubious gain, something I can no longer afford, so much so that I've stopped sinking my precious free time into computers. Why does software often fail to gain acceptance, respectively why does it become successful? Availability.

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by lispm on Monday July 15, 2019 @04:30AM (#20439041)
> since Lisp cannot be built without a working Lisp first

That depends entirely on the Lisp implementation. Some implementations can do this easily.

SBCL supports using another CL implementation. One compiles SBCL with that other compiler and then in a next step this then can compile SBCL.

SBCL supports building with a few selected other implementations. For example I used recently a version of CLISP in the SBCL compilation process. That's described in the INSTALL documentation. CLISP is usually a bit more portable, since it is written in C and does not use a native code compiler.

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by Annatar on Monday July 15, 2019 @12:47PM (#20442593)
SBCL documentation states that it can be built with another Lisp, but that is not true: I've tried with CCL and it failed spectacularly.

I couldn't find a working version of CLISP for Solaris 10 for sparc and i86pc.

Guys, I've built hundreds of packages for Solaris 10 on both sparc and i86pc the number of which can easily compete with the number of packages on "OpenCSW" and I'm telling you that SBCL is so broken on the operating system from which it came that it can no longer be built or run on it without the involvement of the core SBCL team. It needs serious attention.

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by rjsw on Monday July 15, 2019 @03:13PM (#20444119)
CLISP should build from source, it seems to be getting built fine by Joyent pkgsrc bulk builds. Their build of SBCL is failing in C code [1], maybe a Solaris expert could fix this.

The usual reason that SBCL stops building is that something has changed in the OS.

[1] http://us-east.manta.joyent.com/pkgsrc/public/reports/upstre...

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by Annatar on Monday July 15, 2019 @05:16PM (#20445359)
But nothing has changed on my build servers which are running Solaris 10, so OS change cannot be the cause; without additional information, that leaves us with one or more breakage(s) caused by someone in the core SBCL team.
Re:In May 2009 O'Reilly agreed to publish a book about Commo... by rjsw on Monday July 15, 2019 @06:14PM (#20445788)
Did you look at the build log I posted ?
Re:In May 2009 O'Reilly agreed to publish a book about Commo... by Annatar on Tuesday July 16, 2019 @03:28AM (#20448157)
I sure did: it's due to changing the code but not using the correct macro definitions and compiler options from what I could see (I'm on a mobile telephone, on vacation, so lots of the log is cut off). But you also have to realize that Solaris 10 is much older than illumos and I'm telling you that the build breaks on both.

I actually patched that and got past it, half a year ago. The build broke somewhere else after that and it was in Lisp so I had no idea how to fix it. This breakage is just a simple endianess "pre-flight check". SBCL's problems are much more serious then this: they broke it but good.

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by rjsw on Monday July 15, 2019 @03:41AM (#20438871)
There are regular SBCL releases, something that is fixed will appear in a month or less. If you don't have a working SBCL you can bootstrap it using CLISP or cross-compile from a different OS such as FreeBSD.
Re:In May 2009 O'Reilly agreed to publish a book about Commo... by Annatar on Monday July 15, 2019 @12:53PM (#20442668)
CLISP doesn't work on Solaris either and I've no FreeBSD nor the spare time to figure out how to get it to work.

The only Lisp which works is CCL but when I tried to build SBCL with it, the build failed spectacularly.

I then went to use CCL but all the getopts examples are for SBCL and since I'm still learning Lisp I couldn't figure out how to make them work on CCL. So I'm busted.

Post scriptum: it's been around six months since I've opened those bug reports for i86pc and sparc and there are still no new releases:

http://www.sbcl.org/platform-table.html

I wouldn't have written what I have about SBCL and dismal support for Solaris if I hadn't tried to build, debug, package and research it and research throughly I did. As a professional engineer, the first thing I did was read all the documentation and all the INSTALL instructions I could find as well as any other documentation and bug reports I could locate using multiple search engines; the official documentation is very poor for such a big and serious project and in my opinion as an engineer, not very professional at all, especially when compared to corporate documentation efforts. This creates an additional hurdle for someone looking to master Lisp and do so using SBCL. Pity the two intense weeks of my spare time; what a waste of my life since I'm none the smarter or more knowledgeable for it.

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by lispm on Tuesday July 16, 2019 @02:35AM (#20447937)
> The only Lisp which works is CCL

How about ABCL?

> I wouldn't have written what I have about SBCL and dismal support for Solaris

Unfortunately, a niche language implementation & OS combination.

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by Annatar on Tuesday July 16, 2019 @11:56AM (#20451237)
I get an existential crisis when I read "niche implementation" in the context of one of the most important operating systems which changed computing forever and which is a reference implementation for just about any open standard imaginable and that on an IT site full of IT professionals.

Never tried ABCL but will look into it when I get a chance.

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by rjsw on Monday July 15, 2019 @03:17PM (#20444159)
That platform table doesn't represent what will build, only which binary packages are on Sourceforge.

I'm running 1.5.4 on NetBSD/amd64 and can build it on i386, sparc, ppc, arm and arm64.

Re:In May 2009 O'Reilly agreed to publish a book about Commo... by Annatar on Monday July 15, 2019 @05:08PM (#20445296)
NetBSD also happens to be a completely different operating system and pkgsrc is likely to contain NetBSD-specific patches.
Re:In May 2009 O'Reilly agreed to publish a book about Commo... by rjsw on Monday July 15, 2019 @06:14PM (#20445785)
I don't build from pkgsrc.