
Package: sbcl Version: 0.9.3.72-1 Severity: serious Tags: patch sbcl fails to build because it removes the stage1 sbcl before it tries to use it:
mkdir stage1 mv output/sbcl.core src/runtime/sbcl stage1/ chmod 000 stage1 sh clean.sh || true make[1]: Entering directory `/tmp/buildd/sbcl-0.9.3.72/doc/manual' rm -f *~ *.bak *.orig \#*\# .\#* texput.log *.fasl rm -rf sbcl asdf "docstrings/" rm -f contrib-docs.texi-temp rm -f package-locks.texi-temp rm -f html-stamp tempfiles-stamp rm -f asdf.aux asdf.cp asdf.cps asdf.fn asdf.fns asdf.ky asdf.log asdf.pg asdf.toc asdf.tp asdf.tps asdf.vr asdf.vrs sbcl.aux sbcl.cp sbcl.cps sbcl.fn sbcl.fns sbcl.ky sbcl.log sbcl.pg sbcl.toc sbcl.tp sbcl.tps sbcl.vr sbcl.vrs rm -f sbcl.info sbcl.info-* rm -f asdf.cp asdf.info asdf.pdf asdf.fn asdf.ps asdf.tp asdf.vr rm -f sbcl.cp sbcl.info sbcl.pdf sbcl.fn sbcl.ps sbcl.tp sbcl.vr make[1]: Leaving directory `/tmp/buildd/sbcl-0.9.3.72/doc/manual' chmod 700 stage1 # rebuild again with new version CC=gcc-3.4 CFLAGS="-DSBCL_HOME=/usr/lib/sbcl/ -O2" GNUMAKE=make ./make.sh "`pwd`/stage1/sbcl --core `pwd`/stage1/sbcl.core --sysinit /dev/null --userinit /dev/null --disable-debugger" //starting build: Thu Sep 8 16:28:54 UTC 2005 //SBCL_XC_HOST="/tmp/buildd/sbcl-0.9.3.72/stage1/sbcl --core /tmp/buildd/sbcl-0.9.3.72/stage1/sbcl.core --sysinit /dev/null --userinit /dev/null --disable-debugger" //entering make-config.sh //ensuring the existence of output/ directory //initializing /tmp/buildd/sbcl-0.9.3.72/local-target-features.lisp-expr //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 /tmp/buildd/sbcl-0.9.3.72/local-target-features.lisp-expr //entering make-host-1.sh //building cross-compiler, and doing first genesis make-host-1.sh: line 29: /tmp/buildd/sbcl-0.9.3.72/stage1/sbcl: No such file or directory
real 0m0.003s user 0m0.001s sys 0m0.002s
The following patch makes clean.sh skip the stage1 directory, which fixes this problem. -- Matt