Package should depend on sbcl

Bug #224624 reported by Michael Sheldon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stumpwm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Stumpwm requires sbcl to run; the current package doesn't depend on this so when attempting to run it the error: "/usr/bin/stumpwm: 42: sbcl: not found" is displayed.

Revision history for this message
Chet Gray (chetgray) wrote :

StumpWM doesn't technically need sbcl. It needs an implementation of Common Lisp, and CLX (the Common Lisp X interface, basically Xlib for Common Lisp).

The stumpwm package Depends on common-lisp-controller, which helps with making sure there's a CL compiler, and cl-clx-sbcl | cmucl-source | clisp, which are the packages that contain CLX for three different CL implementations, sbcl, cmucl, and clisp, respectively.

However, common-lisp-controller just Suggests sbcl, and cl-clx-sbcl just Recommends sbcl, which is why your situation is happening.

Perhaps stumpwm should Depend on lisp-compiler, a virtual package Provided by sbcl, cmucl, and clisp.

Revision history for this message
Chet Gray (chetgray) wrote :

-------- /usr/bin/stumpwm contains: --------
load_lisp() {
    case "$1" in
        cmucl)
            lisp -eval "$EVAL_LOAD $EVAL_RUN"
            ;;
        sbcl)
            sbcl --eval "$EVAL_LOAD" --eval "$EVAL_RUN"
            ;;
        clisp)
            clisp -x "$EVAL_LOAD $EVAL_RUN"
            ;;
        *)
            echo "Unkown Common Lisp implementation."
            exit 1
            ;;
    esac
}
----------

As StumpWM only works with cmucl, sbcl, and clisp, it really shouldn't Depend on simply any package that Provides lisp-compiler, but on sbcl | cmucl | clisp. I'm confirming this.

Revision history for this message
Chet Gray (chetgray) wrote :

stumpwm should Depend on sbcl | cmucl | clisp

Changed in stumpwm:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.