A clean checkout seems to give a broken build. The javah part of the build generates header files in one directory which the C files later try to use by a different name in a different directory.
The full build transcript is as follows:
$ svn co
https://jikesrvm.svn.sourceforge.net/svnroot/jikesrvm/rvmroot/trunk
jikesrvm.clean
$ cd jikesrvm.clean
$ ANT_OPTS="-Xmx384M" ant -Dconfig.name=prototype -Drvm.debug-symbols=true -Dhost.name=x86_64-linux -Dcomponents.cache.dir=$HOME/projects/classpath/jikesrvm/cache
Buildfile: build.xml
compile-vmmagic-stub:
[mkdir] Created dir: /home/andrew/projects/classpath/jikesrvm.clean/target/vmmagic-stub/classes
[javac] Compiling 39 source files to /home/andrew/projects/classpath/jikesrvm.clean/target/vmmagic-stub/classes
compile-mmtk:
[mkdir] Created dir: /home/andrew/projects/classpath/jikesrvm.clean/target/mmtk/classes
[javac] Compiling 286 source files to /home/andrew/projects/classpath/jikesrvm.clean/target/mmtk/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[jar] Building jar: /home/andrew/projects/classpath/jikesrvm.clean/target/mmtk/mmtk.jar
check-host-name:
check-host-properties:
check-config-properties:
check-target-properties:
include-gcspy-check:
prepare-ant-tasks:
[mkdir] Created dir: /home/andrew/projects/classpath/jikesrvm.clean/target/tasks/classes
[javac] Compiling 14 source files to /home/andrew/projects/classpath/jikesrvm.clean/target/tasks/classes
[javac] Note: /home/andrew/projects/classpath/jikesrvm.clean/tools/ant-tasks/src/org/jikesrvm/tools/template/GenerateFromTemplate.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
check-components-properties:
[mkdir] Created dir: /home/andrew/projects/classpath/jikesrvm.clean/components
prepare-ant-tasks:
ensure:
[echo] ecj does not exist or is of the wrong version. Rebuilding...
prepare-ant-tasks:
init-ecj-properties:
fetch:
[mkdir] Created dir: /home/andrew/projects/classpath/jikesrvm.clean/components/ecj/3.2/ecj-3.2
[echo] Copying from cache to /home/andrew/projects/classpath/jikesrvm.clean/components/ecj/3.2/ecj-3.2/ecj.jar...
[copy] Copying 1 file to /home/andrew/projects/classpath/jikesrvm.clean/components/ecj/3.2/ecj-3.2
build:
[propertyfile] Creating new property file: /home/andrew/projects/classpath/jikesrvm.clean/components/components.properties
prepare-ant-tasks:
ensure:
[echo] classpath does not exist or is of the wrong version. Rebuilding...
prepare-ant-tasks:
init-ecj-properties:
fetch:
[mkdir] Created dir: /home/andrew/projects/classpath/jikesrvm.clean/components/ecj/3.2/ecj-3.2
[echo] Copying from cache to /home/andrew/projects/classpath/jikesrvm.clean/components/ecj/3.2/ecj-3.2/ecj.jar...
[copy] Copying 1 file to /home/andrew/projects/classpath/jikesrvm.clean/components/ecj/3.2/ecj-3.2
build:
[propertyfile] Creating new property file: /home/andrew/projects/classpath/jikesrvm.clean/components/components.properties
prepare-ant-tasks:
ensure:
[echo] classpath does not exist or is of the wrong version. Rebuilding...
prepare-ant-tasks:
init-classpath-properties:
get-classpath-from-web:
[mkdir] Created dir: /home/andrew/projects/classpath/jikesrvm.clean/components/classpath/97.1p4
[echo] Copying from cache to /home/andrew/projects/classpath/jikesrvm.clean/components/classpath/97.1p4/classpath-0.97.1.tar.gz...
[copy] Copying 1 file to /home/andrew/projects/classpath/jikesrvm.clean/components/classpath/97.1p4
get-classpath-from-cvs:
fetch:
patch-classpath-web:
[patch] patching file java/lang/Thread.java
[patch] patching file java/lang/ThreadLocal.java
[patch] patching file java/lang/InheritableThreadLocal.java
[patch] patching file java/lang/ThreadLocalMap.java
[patch] patching file gnu/classpath/CPStringBuffer.java
[patch] patching file gnu/classpath/CPStringBuffer.java
[patch] patching file gnu/classpath/CPStringBuilder.java
[patch] patching file java/lang/reflect/Modifier.java
[patch] patching file vm/reference/java/lang/reflect/Constructor.java
[patch] patching file vm/reference/java/lang/reflect/Field.java
[patch] patching file vm/reference/java/lang/reflect/Method.java
[patch] patching file gnu/classpath/CPStringBuilder.java
[patch] patching file gnu/java/awt/font/OpenTypeFontPeer.java
[patch] patching file gnu/java/awt/font/autofit/Edge.java
[patch] patching file gnu/java/awt/font/autofit/LatinBlue.java
[patch] patching file gnu/java/awt/font/autofit/Segment.java
[patch] patching file gnu/java/awt/font/autofit/Width.java
[patch] patching file gnu/java/awt/font/opentype/truetype/Point.java
[patch] patching file gnu/java/awt/java2d/ActiveEdges.java
[patch] patching file gnu/java/awt/peer/GnomeDesktopPeer.java
[patch] patching file gnu/java/awt/peer/KDEDesktopPeer.java
[patch] patching file gnu/java/awt/peer/x/XFontPeer.java
[patch] patching file gnu/java/lang/CPStringBuilder.java
[patch] patching file gnu/java/lang/ClassHelper.java
[patch] patching file gnu/java/lang/reflect/GenericSignatureParser.java
[patch] patching file gnu/java/lang/reflect/TypeSignature.java
[patch] patching file gnu/java/net/protocol/http/ChunkedInputStream.java
[patch] patching file gnu/java/net/protocol/http/Cookie.java
[patch] patching file gnu/java/net/protocol/http/HTTPConnection.java
[patch] patching file gnu/java/net/protocol/http/Headers.java
[patch] patching file gnu/java/net/protocol/http/Request.java
[patch] patching file java/lang/reflect/Modifier.java
[patch] patching file java/util/Formatter.java
[patch] patching file vm/reference/java/lang/reflect/Constructor.java
[patch] patching file vm/reference/java/lang/reflect/Field.java
[patch] patching file vm/reference/java/lang/reflect/Method.java
[patch] patching file gnu/java/lang/CPStringBuilder.java
[patch] patching file java/lang/reflect/Constructor.java
[patch] patching file java/lang/reflect/Field.java
[patch] patching file java/lang/reflect/Method.java
[patch] patching file vm/reference/java/lang/reflect/Constructor.java
[patch] patching file vm/reference/java/lang/reflect/Field.java
[patch] patching file vm/reference/java/lang/reflect/Method.java
[patch] patching file vm/reference/java/lang/reflect/VMConstructor.java
[patch] patching file vm/reference/java/lang/reflect/VMField.java
[patch] patching file vm/reference/java/lang/reflect/VMMethod.java
[patch] patching file java/lang/reflect/Constructor.java
[patch] patching file java/lang/reflect/Field.java
[patch] patching file java/lang/reflect/Method.java
[patch] patching file vm/reference/java/lang/reflect/VMConstructor.java
[patch] patching file vm/reference/java/lang/reflect/VMField.java
[patch] patching file vm/reference/java/lang/reflect/VMMethod.java
[patch] patching file java/lang/reflect/AccessibleObject.java
[patch] patching file java/lang/reflect/Constructor.java
[patch] patching file java/lang/reflect/Field.java
[patch] patching file java/lang/reflect/Method.java
[patch] patching file vm/reference/java/lang/reflect/VMConstructor.java
[patch] patching file vm/reference/java/lang/reflect/VMField.java
[patch] patching file vm/reference/java/lang/reflect/VMMethod.java
[patch] patching file java/lang/reflect/Constructor.java
[patch] patching file java/lang/reflect/Field.java
[patch] patching file java/lang/reflect/Method.java
[patch] patching file vm/reference/java/lang/reflect/VMConstructor.java
[patch] patching file vm/reference/java/lang/reflect/VMField.java
[patch] patching file vm/reference/java/lang/reflect/VMMethod.java
[patch] patching file java/util/zip/ZipEntry.java
[patch] patching file java/util/concurrent/CopyOnWriteArrayList.java
[patch] patching file java/nio/Buffer.java
[patch] patching file java/nio/ByteBufferImpl.java
[patch] patching file java/nio/ByteBuffer.java
[patch] patching file java/nio/CharBufferImpl.java
[patch] patching file java/nio/CharBuffer.java
[patch] patching file java/nio/CharSequenceBuffer.java
[patch] patching file java/nio/CharViewBufferImpl.java
[patch] patching file java/nio/DirectByteBufferImpl.java
[patch] patching file java/nio/DoubleBufferImpl.java
[patch] patching file java/nio/DoubleBuffer.java
[patch] patching file java/nio/DoubleViewBufferImpl.java
[patch] patching file java/nio/FloatBufferImpl.java
[patch] patching file java/nio/FloatBuffer.java
[patch] patching file java/nio/FloatViewBufferImpl.java
[patch] patching file java/nio/IntBufferImpl.java
[patch] patching file java/nio/IntBuffer.java
[patch] patching file java/nio/IntViewBufferImpl.java
[patch] patching file java/nio/LongBufferImpl.java
[patch] patching file java/nio/LongBuffer.java
[patch] patching file java/nio/LongViewBufferImpl.java
[patch] patching file java/nio/MappedByteBufferImpl.java
[patch] patching file java/nio/MappedByteBuffer.java
[patch] patching file java/nio/ShortBufferImpl.java
[patch] patching file java/nio/ShortBuffer.java
[patch] patching file java/nio/ShortViewBufferImpl.java
[patch] patching file java/lang/Byte.java
[patch] patching file java/lang/Character.java
[patch] patching file java/lang/Double.java
[patch] Hunk #1 succeeded at 103 (offset -1 lines).
[patch] Hunk #2 succeeded at 270 (offset -1 lines).
[patch] Hunk #3 succeeded at 290 (offset -1 lines).
[patch] Hunk #4 succeeded at 503 (offset -1 lines).
[patch] patching file java/lang/Float.java
[patch] Hunk #1 succeeded at 102 (offset -2 lines).
[patch] Hunk #2 succeeded at 283 (offset -2 lines).
[patch] Hunk #3 succeeded at 297 (offset -2 lines).
[patch] Hunk #4 succeeded at 512 (offset -2 lines).
[patch] patching file java/lang/Integer.java
[patch] patching file java/lang/Long.java
[patch] patching file java/lang/Short.java
[patch] patching file java/util/ArrayList.java
[patch] patching file java/util/Vector.java
[patch] Hunk #1 succeeded at 903 (offset -6 lines).
[patch] Hunk #2 succeeded at 918 (offset -6 lines).
patch-classpath-cvs:
patch:
build:
[exec] checking build system type... x86_64-unknown-linux-gnu
[exec] checking host system type... x86_64-unknown-linux-gnu
[exec] checking target system type... x86_64-unknown-linux-gnu
[exec] checking for a BSD-compatible install... /usr/bin/install -c
[exec] checking whether build environment is sane... yes
[exec] checking for gawk... gawk
[exec] checking whether make sets $(MAKE)... yes
[exec] checking how to create a ustar tar archive... gnutar
[exec] checking for style of include used by make... GNU
[exec] checking for gcc... /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32
[exec] checking for C compiler default output file name... a.out
[exec] checking whether the C compiler works... yes
[exec] checking whether we are cross compiling... no
[exec] checking for suffix of executables...
[exec] checking for suffix of object files... o
[exec] checking whether we are using the GNU C compiler... yes
[exec] checking whether /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 accepts -g... yes
[exec] checking for /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 option to accept ISO C89... none needed
[exec] checking dependency style of /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32... gcc3
[exec] checking how to run the C preprocessor... /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -E
[exec] checking for grep that handles long lines and -e... /bin/grep
[exec] checking for egrep... /bin/grep -E
[exec] checking for ANSI C header files... yes
[exec] checking for sys/types.h... yes
[exec] checking for sys/stat.h... yes
[exec] checking for stdlib.h... yes
[exec] checking for string.h... yes
[exec] checking for memory.h... yes
[exec] checking for strings.h... yes
[exec] checking for inttypes.h... yes
[exec] checking for stdint.h... yes
[exec] checking for unistd.h... yes
[exec] checking dssi.h usability... no
[exec] checking dssi.h presence... no
[exec] checking for dssi.h... no
[exec] checking whether ln -s works... yes
[exec] checking for a BSD-compatible install... /usr/bin/install -c
[exec] checking whether we are using the GNU C++ compiler... yes
[exec] checking whether /usr/bin/g++ -w -pipe -ggdb3 -O -fPIC -m32 accepts -g... yes
[exec] checking dependency style of /usr/bin/g++ -w -pipe -ggdb3 -O -fPIC -m32... gcc3
[exec] checking for a sed that does not truncate output... /bin/sed
[exec] checking for ld used by /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32... /usr/x86_64-pc-linux-gnu/bin/ld
[exec] checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
[exec] checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
[exec] checking for BSD-compatible nm... /usr/bin/nm -B
[exec] checking how to recognise dependent libraries... pass_all
[exec] checking dlfcn.h usability... yes
[exec] checking dlfcn.h presence... yes
[exec] checking for dlfcn.h... yes
[exec] checking how to run the C++ preprocessor... /usr/bin/g++ -w -pipe -ggdb3 -O -fPIC -m32 -E
[exec] checking for g77... no
[exec] checking for xlf... no
[exec] checking for f77... no
[exec] checking for frt... no
[exec] checking for pgf77... no
[exec] checking for cf77... no
[exec] checking for fort77... no
[exec] checking for fl32... no
[exec] checking for af77... no
[exec] checking for xlf90... no
[exec] checking for f90... no
[exec] checking for pgf90... no
[exec] checking for pghpf... no
[exec] checking for epcf90... no
[exec] checking for gfortran... gfortran
[exec] checking whether we are using the GNU Fortran 77 compiler... yes
[exec] checking whether gfortran accepts -g... yes
[exec] checking the maximum length of command line arguments... 32768
[exec] checking command to parse /usr/bin/nm -B output from /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 object... ok
[exec] checking for objdir... .libs
[exec] checking for ar... ar
[exec] checking for ranlib... ranlib
[exec] checking for strip... strip
[exec] checking if /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 supports -fno-rtti -fno-exceptions... yes
[exec] checking for /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 option to produce PIC... -fPIC
[exec] checking if /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 PIC flag -fPIC works... yes
[exec] checking if /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 static flag -static works... yes
[exec] checking if /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 supports -c -o file.o... yes
[exec] checking whether the /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_i386) supports shared libraries... yes
[exec] checking whether -lc should be explicitly linked in... no
[exec] checking dynamic linker characteristics... GNU/Linux ld.so
[exec] checking how to hardcode library paths into programs... immediate
[exec] checking whether stripping libraries is possible... yes
[exec] checking if libtool supports shared libraries... yes
[exec] checking whether to build shared libraries... yes
[exec] checking whether to build static libraries... no
[exec] configure: creating libtool
[exec] appending configuration tag "CXX" to libtool
[exec] checking for ld used by /usr/bin/g++ -w -pipe -ggdb3 -O -fPIC -m32... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_i386
[exec] checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_i386) is GNU ld... yes
[exec] checking whether the /usr/bin/g++ -w -pipe -ggdb3 -O -fPIC -m32 linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_i386) supports shared libraries... yes
[exec] checking for /usr/bin/g++ -w -pipe -ggdb3 -O -fPIC -m32 option to produce PIC... -fPIC
[exec] checking if /usr/bin/g++ -w -pipe -ggdb3 -O -fPIC -m32 PIC flag -fPIC works... yes
[exec] checking if /usr/bin/g++ -w -pipe -ggdb3 -O -fPIC -m32 static flag -static works... yes
[exec] checking if /usr/bin/g++ -w -pipe -ggdb3 -O -fPIC -m32 supports -c -o file.o... yes
[exec] checking whether the /usr/bin/g++ -w -pipe -ggdb3 -O -fPIC -m32 linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_i386) supports shared libraries... yes
[exec] checking dynamic linker characteristics... GNU/Linux ld.so
[exec] checking how to hardcode library paths into programs... immediate
[exec] appending configuration tag "F77" to libtool
[exec] checking if libtool supports shared libraries... yes
[exec] checking whether to build shared libraries... yes
[exec] checking whether to build static libraries... no
[exec] checking for gfortran option to produce PIC... -fPIC
[exec] checking if gfortran PIC flag -fPIC works... yes
[exec] checking if gfortran static flag -static works... yes
[exec] checking if gfortran supports -c -o file.o... yes
[exec] checking whether the gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_i386) supports shared libraries... yes
[exec] checking dynamic linker characteristics... GNU/Linux ld.so
[exec] checking how to hardcode library paths into programs... immediate
[exec] checking for gcc... (cached) /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32
[exec] checking whether we are using the GNU C compiler... (cached) yes
[exec] checking whether /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 accepts -g... (cached) yes
[exec] checking for /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 option to accept ISO C89... (cached) none needed
[exec] checking dependency style of /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32... (cached) gcc3
[exec] checking whether /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 and cc understand -c and -o together... yes
[exec] checking how to run the C preprocessor... /usr/bin/gcc -w -pipe -ggdb3 -O -fPIC -m32 -E
[exec] checking _
attribute_((,,))... yes
[exec] checking _
attribute_((unused))... yes
[exec] checking for ANSI C header files... (cached) yes
[exec] checking size of void *... 4
[exec] checking whether byte ordering is bigendian... no
[exec] checking for unistd.h... (cached) yes
[exec] checking for sys/types.h... (cached) yes
[exec] checking sys/config.h usability... no
[exec] checking sys/config.h presence... no
[exec] checking for sys/config.h... no
[exec] checking sys/ioctl.h usability... yes
[exec] checking sys/ioctl.h presence... yes
[exec] checking for sys/ioctl.h... yes
[exec] checking asm/ioctls.h usability... yes
[exec] checking asm/ioctls.h presence... yes
[exec] checking for asm/ioctls.h... yes
[exec] checking for inttypes.h... (cached) yes
[exec] checking for stdint.h... (cached) yes
[exec] checking utime.h usability... yes
[exec] checking utime.h presence... yes
[exec] checking for utime.h... yes
[exec] checking sys/utime.h usability... no
[exec] checking sys/utime.h presence... no
[exec] checking for sys/utime.h... no
[exec] checking sys/filio.h usability... no
[exec] checking sys/filio.h presence... no
[exec] checking for sys/filio.h... no
[exec] checking sys/time.h usability... yes
[exec] checking sys/time.h presence... yes
[exec] checking for sys/time.h... yes
[exec] checking sys/select.h usability... yes
[exec] checking sys/select.h presence... yes
[exec] checking for sys/select.h... yes
[exec] checking crt_externs.h usability... no
[exec] checking crt_externs.h presence... no
[exec] checking for crt_externs.h... no
[exec] checking fcntl.h usability... yes
[exec] checking fcntl.h presence... yes
[exec] checking for fcntl.h... yes
[exec] checking sys/mman.h usability... yes
[exec] checking sys/mman.h presence... yes
[exec] checking for sys/mman.h... yes
[exec] checking magic.h usability... yes
[exec] checking magic.h presence... yes
[exec] checking for magic.h... yes
[exec] checking sys/event.h usability... no
[exec] checking sys/event.h presence... no
[exec] checking for sys/event.h... no
[exec] checking sys/epoll.h usability... yes
[exec] checking sys/epoll.h presence... yes
[exec] checking for sys/epoll.h... yes
[exec] checking ifaddrs.h usability... yes
[exec] checking ifaddrs.h presence... yes
[exec] checking for ifaddrs.h... yes
[exec] checking netinet/in_systm.h usability... yes
[exec] checking netinet/in_systm.h presence... yes
[exec] checking for netinet/in_systm.h... yes
[exec] checking netinet/ip.h usability... yes
[exec] checking netinet/ip.h presence... yes
[exec] checking for netinet/ip.h... yes
[exec] checking net/if.h usability... yes
[exec] checking net/if.h presence... yes
[exec] checking for net/if.h... yes
[exec] checking for library containing inet_pton... none required
[exec] checking for ftruncate... yes
[exec] checking for fsync... yes
[exec] checking for select... yes
[exec] checking for gethostname... yes
[exec] checking for socket... yes
[exec] checking for strerror... yes
[exec] checking for fork... yes
[exec] checking for pipe... yes
[exec] checking for execve... yes
[exec] checking for open... yes
[exec] checking for close... yes
[exec] checking for lseek... yes
[exec] checking for fstat... yes
[exec] checking for read... yes
[exec] checking for readv... yes
[exec] checking for write... yes
[exec] checking for writev... yes
[exec] checking for htonl... yes
[exec] checking for memset... yes
[exec] checking for htons... yes
[exec] checking for connect... yes
[exec] checking for getsockname... yes
[exec] checking for getpeername... yes
[exec] checking for bind... yes
[exec] checking for listen... yes
[exec] checking for accept... yes
[exec] checking for recvfrom... yes
[exec] checking for send... yes
[exec] checking for sendto... yes
[exec] checking for setsockopt... yes
[exec] checking for getsockopt... yes
[exec] checking for time... yes
[exec] checking for mktime... yes
[exec] checking for gethostbyname_r... yes
[exec] checking for localtime_r... yes
[exec] checking for strerror_r... yes
[exec] checking for fcntl... yes
[exec] checking for statvfs... yes
[exec] checking for mmap... yes
[exec] checking for munmap... yes
[exec] checking for mincore... yes
[exec] checking for msync... yes
[exec] checking for madvise... yes
[exec] checking for getpagesize... yes
[exec] checking for sysconf... yes
[exec] checking for lstat... yes
[exec] checking for readlink... yes
[exec] checking for inet_aton... yes
[exec] checking for inet_addr... yes
[exec] checking for inet_pton... yes
[exec] checking for getifaddrs... yes
[exec] checking for kqueue... no
[exec] checking for kevent... no
[exec] checking for epoll_create... yes
[exec] checking for getloadavg... yes
[exec] checking for magic_open in -lmagic... yes
[exec] checking whether struct sockaddr_in6 is in netinet/in.h... yes
[exec] checking whether time.h and sys/time.h may both be included... yes
[exec] checking whether struct tm is in sys/time.h or time.h... time.h
[exec] checking for