[cl-debian] Bug#327311: FTBFS: Unable to find sbcl

Matt Kraai kraai at ftbfs.org
Thu Sep 8 17:55:22 UTC 2005


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
-------------- next part --------------
only in patch2:
unchanged:
--- sbcl-0.9.3.72.orig/clean.sh
+++ sbcl-0.9.3.72/clean.sh
@@ -71,7 +71,7 @@
 #     building or testing
 #   test-passed
 #     generated by automatic directory-test-thyself procedure
-find . \( \
+find . -name stage1 -prune -o \( \
 	-type l -o \
 	-name '*~' -o \
 	-name '#*#' -o \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://mailman.common-lisp.net/pipermail/cl-debian/attachments/20050908/bc7d2d0c/attachment.sig>


More information about the Cl-debian mailing list