[rvm-research] RVM build problems
Bowen Alpern <[email protected]> Tue, 23 Aug 2016 17:42:58 -0400
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <CANE6oGNxHvmeqYXttvvDdRqGzLWix0Pd=_UZSdPvs=rHccG-sg@mail.gmail.com> |
Dear RVM researchers,
Tony and I are trying to build the Jikes RVM on a 64 bit intel (arm64)
Ubuntu 16.04 LTS machine. We were not able to get the Quick Start
instruction from the Users Guide to work for us, so we are following the
directions from Chapter 3 (Building Jikes RVM). As we have run into
trouble with the build, we are asking for help from the researchers mailing
list.
We are using
Apache Ant(TM) version 1.9.6 compiled on July 8 2015
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
// note we get similar results with java-8-openjdk-amd64 and
jdk1.6.0_45
We are building on (and for) the x86_64-linux platform.
Our .ant.properties file reads:
host.name=x86_64-linux
config.name=prototype
dist.dir=prototype-dist
build.dir=prototype-build
components.dir=prototype-components
components.cache.dir=prototype-cache
Our ant build was unsuccessful:
...
BUILD FAILED
/home/tony/jikesrvm/build.xml:207: The following error occurred while
executing this line:
/home/tony/jikesrvm/build/base.xml:98: Value of classpath.lib.dir
property is invalid. (${x86_64-linux.classpath.lib.dir}).
Attached are
build.txt (the complete console output for the ant command)
build.xml
base.xml
Any ideas about what we might be doing wrong?
Thanks!
Bowen and Tony
------------------------------------------------------------------------------
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
build.txt
(text/plain, 283.1 KB) - not displayed
base.xml
(text/xml, 6.3 KB)
<!--
~ This file is part of the Jikes RVM project (http://jikesrvm.org).
~
~ This file is licensed to You under the Eclipse Public License (EPL);
~ You may not use this file except in compliance with the License. You
~ may obtain a copy of the License at
~
~ http://www.opensource.org/licenses/eclipse-1.0.php
~
~ See the COPYRIGHT.txt file distributed with this work for information
~ regarding copyright ownership.
-->
<project name="base">
<property file="${jikesrvm.dir}/.ant.properties"/>
<!-- If not set, default the target.name to the host.name -->
<property name="target.name" value="${host.name}"/>
<property name="target.file" location="${jikesrvm.dir}/build/targets/${target.name}.properties"/>
<!-- load host specific properties -->
<property name="host.file" location="${jikesrvm.dir}/build/hosts/${host.name}.properties"/>
<property file="${host.file}"/>
<!-- location of components -->
<property name="components.dir" location="${jikesrvm.dir}/components"/>
<property name="components.file" location="${components.dir}/components.properties"/>
<!-- location of patches against components -->
<property name="components.patch.dir" location="${jikesrvm.dir}/build/components/patches"/>
<!-- location of intermediate directory -->
<property name="build.dir" location="${jikesrvm.dir}/target"/>
<!-- location for image directory -->
<property name="dist.dir" location="${jikesrvm.dir}/dist"/>
<!-- base location for all test results -->
<property name="results.dir" location="${jikesrvm.dir}/results"/>
<!-- by default not working on config variant-->
<property name="config.variant" value=""/>
<!-- **************************************************************************** -->
<!-- * * -->
<!-- * Utility macros common across testing and building infrastructure. * -->
<!-- * * -->
<!-- **************************************************************************** -->
<!-- Macro to setup build name -->
<macrodef name="setBuildName">
<attribute name="property"/>
<attribute name="config"/>
<sequential>
<condition property="config.full-variant" value="${config.variant}profile" else="${config.variant}">
<isset property="config.with-profile"/>
</condition>
<condition property="@{property}"
value="@{config}_${target.name}"
else="@{config}_${config.full-variant}_${target.name}">
<equals arg1="${config.full-variant}" arg2=""/>
</condition>
</sequential>
</macrodef>
<!-- recursive property expansion macro -->
<macrodef name="propertycopy">
<attribute name="name"/>
<attribute name="from"/>
<sequential>
<property name="@{name}" value="${@{from}}"/>
</sequential>
</macrodef>
<!-- Macro to test target property is set -->
<macrodef name="test-property">
<attribute name="name"/>
<attribute name="location"/>
<sequential>
<fail unless="@{name}">
@{name} property not specified. Please specify property in @{location}.
</fail>
</sequential>
</macrodef>
<!-- Macro to test property set to name of executable -->
<macrodef name="test-file">
<attribute name="name"/>
<attribute name="location"/>
<attribute name="msg" default=""/>
<sequential>
<test-property name="@{name}" location="@{location}"/>
<condition property="@{name}_invalid" value="1">
<not>
<available file="${@{name}}"/>
</not>
</condition>
<fail if="@{name}_invalid">
Value of @{name} property is invalid. (${@{name}}).
@{msg}
</fail>
</sequential>
</macrodef>
<target name="check-host-name">
<fail unless="host.name">
host.name property not specified. Please specify property on commandline or in ${jikesrvm.dir}/.ant.properties.
</fail>
</target>
<!-- **************************************************************************** -->
<!-- * * -->
<!-- * Check host and target are identical when building native components * -->
<!-- * * -->
<!-- **************************************************************************** -->
<macrodef name="check-host-and-target-match">
<attribute name="message"/>
<sequential>
<condition property="host_and_target_same" value="true">
<equals arg1="${host.name}" arg2="${target.name}"/>
</condition>
<fail unless="host_and_target_same">
Host and target are not the same and thus @{message}
</fail>
</sequential>
</macrodef>
<!-- **************************************************************************** -->
<!-- * * -->
<!-- * Targets for retrieving Git version * -->
<!-- * * -->
<!-- **************************************************************************** -->
<target name="check-git-present">
<available property="git.present" file=".git" type="dir"/>
<property name="git.exe" value="git"/>
</target>
<target name="extract-git-version" depends="check-git-present" if="git.present">
<exec executable="${git.exe}">
<arg value="rev-parse"/>
<arg value="HEAD"/>
<redirector outputproperty="git.revision" errorproperty="git.revision.erroroutput"/>
</exec>
</target>
<target name="get-git-version" depends="extract-git-version">
<!-- set property if not already set -->
<property name="git.revision" value="Unknown"/>
</target>
<!-- **************************************************************************** -->
<!-- * * -->
<!-- * Targets for subversion * -->
<!-- * * -->
<!-- **************************************************************************** -->
<target name="set-svn-exe">
<property name="svn.exe" value="svn"/>
</target>
</project>
build.xml
(text/xml, 120.9 KB) - not displayed