[cmucl-imp] Snapshot 2015-06

Raymond Toy toy.raymond at gmail.com
Tue Jun 9 14:28:48 UTC 2015


>>>>> "Fare" == Far  <Far> writes:

    >> The other changes to cmucl include:
    >>
    >> o The UNIX package has been changed; it now only contains just
    >>   enough
    >> to compile all of cmucl.  If you want the rest of old UNIX
    >> package, use (require :unix) to get that.
    >>
    Fare> 1- This breaks ASDF, which assumed it could use unix-getenv
    Fare> and some such.  2- (require :unix) doesn't work in the
    Fare> snapshot.
    Fare>   a- the module is named unix, but the fasl file is called
    Fare>   unix-glibc2.sse2f,
    Fare>      whether that's the reason or not, I get:
    Fare> 0] (require :unix)

    Fare> File-error in function LISP::INTERNAL-LOAD:
    Fare> "modules:load-unix" does not exist.  Error flushed ...
    Fare>   b- if I try to load the file manually, I get a package
    Fare>   lock error:
    Fare> 0] (load
    Fare>    "/home/tunes/local/stow/cmucl/lib/cmucl/lib/contrib/unix/unix-glibc2.sse2f")

    Fare> ; Loading
    Fare> ; #P"/home/tunes/local/stow/cmucl/lib/cmucl/lib/contrib/unix/unix-glibc2.sse2f".

    Fare> Attempt to modify the locked package UNIX, by
    Fare>    redefining function (SETF GROUP-INFO-NAME)
    Fare> Error flushed ...

Dang. I must have missed adding load-unix to the distribution.
load-unix takes care of unlocking the UNIX package, but perhaps
unix-glibc2 should do that itself.

The fact that the file is unix-glibc2 is an implementation detail
where unix.lisp is used everywhere except on linux for historical
reasons.

I'll add unix-getenv to the core in the next snapshot. I'll take a
look through asdf to see if there are other items from the UNIX
package that are needed.

Sorry for the trouble and thanks for the report.

    >> o Issues fixed:
    >> o gitlab issue #1 fixed.
    Fare> Should I be using gitlab to report issues from now on?

That's the preferred way so it doesn't get lost, but the mailing list
is ok too.

--
Ray



More information about the cmucl-imp mailing list