Ticket #11510 (closed defect: invalid)
lang/sbcl-1.0.3 fails to compile
| Reported by: | evenson@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | High | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: |
Description
lang/sbcl-1.0.3 fails to compile, due to undefined special variables *ALLOC-INTERVAL*, *MAX-SAMPLES*, and *SAMPLE-INTERVAL* needed by the included contrib from sb-posix. I have not looked upstream between SBCL versions to see where the problem might lie.
Tail of output from "port -v upgrade sbcl":
; file: /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_sbcl/work/sbcl-1.0.3/contrib/sb-sprof/sb-sprof.lisp ; in: DEFSTRUCT SAMPLES ; (DEFSTRUCT (SB-SPROF::SAMPLES) ; (VECTOR (MAKE-ARRAY (* SB-SPROF:*MAX-SAMPLES* 10 2)) :TYPE SIMPLE-VECTOR) ; (SB-SPROF::TRACE-COUNT 0 :TYPE SB-INT:INDEX) ; (SB-SPROF::INDEX 0 :TYPE SB-INT:INDEX) ; (SB-SPROF::MODE NIL :TYPE (MEMBER :CPU :ALLOC)) ; (SB-SPROF::SAMPLE-INTERVAL SB-SPROF:*SAMPLE-INTERVAL* :TYPE NUMBER) ; (SB-SPROF::ALLOC-INTERVAL SB-SPROF:*ALLOC-INTERVAL* :TYPE NUMBER) ; (SB-SPROF::MAX-DEPTH MOST-POSITIVE-FIXNUM :TYPE NUMBER) ; (SB-SPROF::MAX-SAMPLES SB-SPROF:*MAX-SAMPLES* :TYPE SB-INT:INDEX)) ; --> PROGN DEFUN PROGN EVAL-WHEN SB-IMPL::%DEFUN ; ==> ; (IF #:N-SUPPLIED-868 #:G834-DEFAULTING-TEMP SB-SPROF:*ALLOC-INTERVAL*) ; ; caught WARNING: ; undefined variable: *ALLOC-INTERVAL*
; ==> ; (IF #:N-SUPPLIED-869 #:G836-DEFAULTING-TEMP SB-SPROF:*MAX-SAMPLES*) ; ; caught WARNING: ; undefined variable: *MAX-SAMPLES*
; ==> ; (IF #:N-SUPPLIED-867 #:G833-DEFAULTING-TEMP SB-SPROF:*SAMPLE-INTERVAL*) ; ; caught WARNING: ; undefined variable: *SAMPLE-INTERVAL*
; ; caught WARNING: ; These variables are undefined: ; *ALLOC-INTERVAL* *MAX-SAMPLES* *SAMPLE-INTERVAL* ; ; compilation unit finished ; caught 4 WARNING conditions
; SYS:CONTRIB;SB-SPROF;SB-SPROF.FASL.NEWEST written ; compilation finished in 0:00:01 * true
WARNING! Some of the contrib modules did not build successfully or pass their self-tests. Failed contribs:"
sb-posix
Error: Target com.apple.build returned: shell command "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_sbcl/work/sbcl-0.9.16-x86-darwin/src/runtime/sbcl --core /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_sbcl/work/sbcl-0.9.16-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null" " returned error 1 Command output: ; undefined variable: *ALLOC-INTERVAL*
; ==> ; (IF #:N-SUPPLIED-869 #:G836-DEFAULTING-TEMP SB-SPROF:*MAX-SAMPLES*) ; ; caught WARNING: ; undefined variable: *MAX-SAMPLES*
; ==> ; (IF #:N-SUPPLIED-867 #:G833-DEFAULTING-TEMP SB-SPROF:*SAMPLE-INTERVAL*) ; ; caught WARNING: ; undefined variable: *SAMPLE-INTERVAL*
; ; caught WARNING: ; These variables are undefined: ; *ALLOC-INTERVAL* *MAX-SAMPLES* *SAMPLE-INTERVAL* ; ; compilation unit finished ; caught 4 WARNING conditions
; SYS:CONTRIB;SB-SPROF;SB-SPROF.FASL.NEWEST written ; compilation finished in 0:00:01 * true
WARNING! Some of the contrib modules did not build successfully or pass their self-tests. Failed contribs:"
sb-posix

