[Openmcl-devel] Cannot compile ccl-1.7 on linuxx8632

R. Matthew Emerson rme at clozure.com
Sat Jan 7 17:41:23 UTC 2012


On Jan 7, 2012, at 11:10 AM, Andrey G. Grozin wrote:

> Hello *,
> 
> Today I tried to recompile ccl-1.7 on 2 Gentoo linux boxes (both x86 32-bit). On one of them, ccl-1.7 used to compile fine some time ago, and I have working ccl on it. But now I get
> 
> Rebuilding Clozure Common Lisp using Version 1.7-r14925M  (LinuxX8632)
> ;Building lisp-kernel ...> Error of type SIMPLE-ERROR: Error(s) during kernel compilation.
>>                            make: Entering directory 
> `/var/tmp/portage/dev-lisp/clozurecl-1.7/work/ccl-1.7/lisp-kernel/linuxx8632'
>>                            m4 -DLINUX -DX86 -DX8632 -DHAVE_TLS -I../ 
> ../pad.s | as  --32 -o pad.o
>>                            m4 -DLINUX -DX86 -DX8632 -DHAVE_TLS -I../ 
> ../x86-spjump32.s | as  --32 -o x86-spjump32.o
>>                            m4 -DLINUX -DX86 -DX8632 -DHAVE_TLS -I../ 
> ../x86-spentry32.s | as  --32 -o x86-spentry32.o
>>                            m4 -DLINUX -DX86 -DX8632 -DHAVE_TLS -I../ 
> ../x86-subprims32.s | as  --32 -o x86-subprims32.o
>>                            cc -include ../platform-linuxx8632.h -c 
> ../pmcl-kernel.c -DLINUX -D_REENTRANT -DX86 -DX8632 -D_GNU_SOURCE -DHAVE_TLS -DUSE_FUTEX -DSVN_REVISION=Unversioned directory  -g -O2 -Wno-format -m32 -o pmcl-kernel.o
>>                            cc -include ../platform-linuxx8632.h -c 
> ../gc-common.c -DLINUX -D_REENTRANT -DX86 -DX8632 -D_GNU_SOURCE -DHAVE_TLS -DUSE_FUTEX -DSVN_REVISION=Unversioned directory  -g -O2 -Wno-format -m32 -o gc-common.o
>>                            cc -include ../platform-linuxx8632.h -c 
> ../x86-gc.c -DLINUX -D_REENTRANT -DX86 -DX8632 -D_GNU_SOURCE -DHAVE_TLS -DUSE_FUTEX -DSVN_REVISION=Unversioned directory  -g -O2 -Wno-format -m32 -o x86-gc.o
>>                            gcc: gcc: directory: No such file or 
> directory
>>                            directory: No such file or directory
>>                            gcc: directory: No such file or directory
>>                            make: *** [pmcl-kernel.o] Error 1
> 
> This obviously is the result of
> 
> -DSVN_REVISION=Unversioned directory
> 
> (unquoted). Looking at lisp-kernel/linuxx8632/Makefile, I see
> 
> CDEFINES = ... -DSVN_REVISION=$(SVN_REVISION) ...
> 
> Who should set this $(SVN_REVISION) ? What is its correct setting?

That's supposed to be a debugging aid.  The idea is to embed the
Subversion revision number of the source tree used to build the
lisp kernel.  It's not critical to anything.

It's set at the top of the Makefile:

SVN_REVISION=$(shell svnversion || echo "unknown")

Perhaps the output of the svnversion command has changed.  If
that's true, then I suppose we need to update the lisp kernel
makefiles.

As of 1.6.16, the output of svnversion when it's not in a working
copy is documented to be "exported".  Out of curiosity, what's
the output of "svnversion --version" ?




More information about the Openmcl-devel mailing list