[MacPorts] #15157: sbcl fails strangely during build

MacPorts trac at macosforge.org
Tue Apr 29 22:27:08 PDT 2008


#15157: sbcl fails strangely during build
------------------------------------+---------------------------------------
 Reporter:  fusion at storytotell.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:  Port Bugs                            
Component:  ports                   |     Version:  1.6.0                                
 Keywords:  sbcl lisp               |  
------------------------------------+---------------------------------------
 I'm having a kind of a strange issue with building SBCL. I used to have it
 installed, ran into some issue and started manually installing it. Thought
 I'd take a second look and see if I could figure it out.

 Anyway, I uninstalled it. Now I have tried installing it. This happens:

 {{{

 --->  Fetching sbcl
 --->  Verifying checksum(s) for sbcl
 --->  Extracting sbcl
 --->  Applying patches to sbcl
 --->  Configuring sbcl
 --->  Building sbcl with target all

 Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

 (no restarts: If you didn't do this on purpose, please report it as a
 bug.)

 (SB-IMPL::ENSURE-TRAILING-SLASH "")
 0]

 }}}

 Yup, it basically brings up a Lisp interactive prompt. I have no clue what
 it wants from me here so I type (quit)

 {{{

 Error: Target org.macports.build returned: shell command "unset LD_PREBIND
 && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-0.9.16-x86-darwin/src/runtime/sbcl
 --core
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-0.9.16-x86-darwin/output/sbcl.core
 --disable-debugger --sysinit /dev/null --userinit /dev/null" " returned
 error 2
 Command output: //guessing default target CPU architecture from host
 architecture
 //setting up CPU-architecture-dependent information
 sbcl_arch="x86"
 //setting up symlink src/compiler/target
 //setting up symlink src/assembly/target
 //setting up symlink src/compiler/assembly
 //setting up OS-dependent information
 //finishing
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-1.0.15
 /local-target-features.lisp-expr
 /in canonicalize-whitespace-1
 /$*=./customize-target-features.lisp ./local-target-features.lisp-expr
 ./contrib/sb-bsd-sockets/foo.c ./contrib/sb-posix/foo.c
 ./src/runtime/runtime.c ./src/runtime/target-arch-os.h ./src/runtime
 /target-arch.h ./src/runtime/target-lispregs.h ./src/runtime/target-os.h
 /$scratchfilename=/tmp/canonicalize-whitespace-1.51681.tmp
 //entering make-host-1.sh
 //building cross-compiler, and doing first genesis
 This is SBCL 0.9.16, an implementation of ANSI Common Lisp.
 More information about SBCL is available at <http://www.sbcl.org/>.

 SBCL is free software, provided as is, with absolutely no warranty.
 It is mostly in the public domain; some portions are provided under
 BSD-style licenses.  See the CREDITS and COPYING files in the
 distribution for more information.

 debugger invoked on a TYPE-ERROR: The value -1 is not of type (MOD
 536870911).

 real    1m19.308s
 user    0m0.008s
 sys     0m0.018s
 //entering make-target-1.sh
 //building runtime system and symbol table file
 GNUmakefile:31: genesis/Makefile.features: No such file or directory
 make: *** No rule to make target `genesis/Makefile.features'.  Stop.

 Error: Status 1 encountered during processing.
 }}}

 If I try a second time to install it I get this instead:

 {{{

 --->  Building sbcl with target all
 Error: Target org.macports.build returned: shell command "unset LD_PREBIND
 && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-0.9.16-x86-darwin/src/runtime/sbcl
 --core
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-0.9.16-x86-darwin/output/sbcl.core
 --disable-debugger --sysinit /dev/null --userinit /dev/null" " returned
 error 127
 Command output: sh: make.sh: No such file or directory

 Error: Status 1 encountered during processing.
 }}}

 Not really sure what to tell you about it. SBCL has kind of a wacky build
 system (but a bit better than CMUCL's).

 -- Daniel Lyons

-- 
Ticket URL: <http://trac.macports.org/ticket/15157>
MacPorts </>
Ports system for Mac OS


More information about the macports-tickets mailing list