earl-ducaine / cl-garnet

Old, but suprisingly complete toolkit with no dependancies on other non-lisp libraries.
Other
54 stars 9 forks source link

Eliminate remaining warnings in anticipation of submitting to quicklisp #11

Open earl-ducaine opened 7 years ago

earl-ducaine commented 7 years ago

Quicklisp build environment breaks on generated warnings, so the final niggling warnings have to be fixed.

vindarel commented 6 years ago

Hello,

In case you want more traces, this is the "fop stack overflow" error I got trying to quickload Garnet.

I cloned the repo in Quicklisp's local projects and just quickloaded it.

It went up until

Loading #P"/home/vince/quicklisp/local-projects/cl-garnet/src/gesture/gesture-loader"
Loading Gesture Interactor...
...Done Gestures.
Type (demo-unistrokes:do-go) to begin.
Object GRID-OBJ
.
Object MOVING-AGG
Object MOVING-LINE
Object CREATOR-LINE
Object NEW-MOVING-ARROWLINE
Object CREATOR-ARROWLINE
Object MOVING-DOUBLEARROWLINE
Object CREATOR-DOUBLEARROWLINE
Object MOVING-ARROWLINE
Object MOVING-RECT
Object CREATOR-RECT
Object MOVING-ROUNDTANGLE
Object CREATOR-ROUNDTANGLE
Object MOVING-OVAL
Object CREATOR-OVAL
.
Object TEXT-FEEDBACK
.
Object GRID-WIN
.
Object MAIN-MENU
Object TOOL-FEEDBACK
Object TOOLS-MENU
.
Object LINE-FEEDBACK
Object LINE-PALETTE
.
Object PALETTE-FEEDBACK
Object PALETTE-ITEM
Object STIPPLE-PALETTE
Object NIL-PALETTE-ITEM
.
Object COLOR-PALETTE-ITEM
Object COLOR-PALETTE
Object CURRENT-STATE
.
Object WIN
Object TOP-AGG
Object MOVER-GROWER
Object POLYGON-MAKER
.
Object EDIT-POLYLINE-INTER
Object DRAW-WIN
Object TOP-DRAW-AGG
Object NEW-ITEM
Object CREATE-OR-EDIT
.

debugger:

FOP stack underflow
   [Condition of type SIMPLE-ERROR]

Restarts:
 0: [TRY-RECOMPILING] Recompile garnetdraw and try loading it again
 1: [RETRY] Retry loading FASL for #<CL-SOURCE-FILE "org.xoanonos.gui.garnet" "demos" "garnetdraw">.
 2: [ACCEPT] Continue, treating loading FASL for #<CL-SOURCE-FILE "org.xoanonos.gui.garnet" "demos" "garnetdraw"> as having been successful.
 3: [RETRY] Retry ASDF operation.
 4: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
 5: [RETRY] Retry ASDF operation.
 --more--

Backtrace:
  0: (SB-FASL::FOP-STACK-POP-N 7)
  1: (SB-FASL::FOP-FUNCALL*)
  2: (SB-FASL::LOAD-FASL-GROUP #<SB-SYS:FD-STREAM for "file /home/vince/.cache/common-lisp/sbcl-1.2.4.debian-linux-x64/home/vince/quicklisp/local-projects/cl-garnet/src/demos/garnetdraw.fasl" {100D1F8673}>..
  3: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file /home/vince/.cache/common-lisp/sbcl-1.2.4.debian-linux-x64/home/vince/quicklisp/local-projects/cl-garnet/src/demos/garnetdraw.fasl" {100D1F8673}> NI..
  4: ((FLET SB-FASL::LOAD-STREAM :IN LOAD) #<SB-SYS:FD-STREAM for "file /home/vince/.cache/common-lisp/sbcl-1.2.4.debian-linux-x64/home/vince/quicklisp/local-projects/cl-garnet/src/demos/garnetdraw.fasl" {..
  5: (LOAD #P"/home/vince/.cache/common-lisp/sbcl-1.2.4.debian-linux-x64/home/vince/quicklisp/local-projects/cl-garnet/src/demos/garnetdraw.fasl" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST T :EXTERNAL-FORM..

I'm on Debian (LMDE) x64, SBCL 1.2.4

vindarel commented 6 years ago

Yet, I found a demo to work ! (garnet-gadgets:polyline-creator-demo-go) No others.

earl-ducaine commented 6 years ago

Thanks for the report. 1.2.4 is a rather old version of SBCL. I'll see if I can get a version working locally to verify the error, but you might want to download and build the latest stable release and try that in the meantime.