rdpstaff / RDPTools

Collection of commonly used RDP Tools for easy building
49 stars 52 forks source link

Installation failed on Mac M1 #36

Open RubyDeerLu opened 1 year ago

RubyDeerLu commented 1 year ago

Dear RDPstaffers,

I am trying to install RDPTools on Mac M1, I install the package following the instructions online, I tries jdk6\7\8,ant 1.9.16, but I keep getting the following error:

ant -f Clustering/build.xml jar Buildfile: /usr/local/RDPTools/Clustering/build.xml

download-ivy: [get] Getting: http://insecure.repo1.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/ivy-2.1.0-rc2.jar [get] To: /var/root/.ant/lib/ivy.jar [get] Not modified - so not downloaded

init-ivy:

resolve: [ivy:retrieve] :: Ivy 2.1.0-rc2 - 20090704004254 :: http://ant.apache.org/ivy/ :: [ivy:retrieve] :: loading settings :: file = /usr/local/RDPTools/Clustering/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: edu.cme.rdp#clustering;working@LuBook2.local [ivy:retrieve] confs: [default] [ivy:retrieve] found com.sun.xml.bind#jaxb-impl;2.2.7 in public [ivy:retrieve] found com.sun.xml.bind#jaxb-core;2.2.7 in public [ivy:retrieve] found javax.xml.bind#jaxb-api;2.2.7 in public [ivy:retrieve] found com.sun.istack#istack-commons-runtime;2.16 in public [ivy:retrieve] found com.sun.xml.fastinfoset#FastInfoset;1.2.12 in public [ivy:retrieve] found javax.xml.bind#jsr173_api;1.0 in public [ivy:retrieve] found commons-cli#commons-cli;1.2 in public [ivy:retrieve] found junit#junit;4.8.2 in public [ivy:retrieve] found commons-codec#commons-codec;1.8 in public [ivy:retrieve] found junit#junit;4.11 in public [ivy:retrieve] found org.hamcrest#hamcrest-core;1.3 in public [ivy:retrieve] found commons-io#commons-io;2.4 in public [ivy:retrieve] :: resolution report :: resolve 467ms :: artifacts dl 29ms [ivy:retrieve] :: evicted modules: [ivy:retrieve] junit#junit;3.8.1 by [junit#junit;4.8.2] in [default] [ivy:retrieve] junit#junit;4.8.2 by [junit#junit;4.11] in [default] [ivy:retrieve] junit#junit;4.10 by [junit#junit;4.11] in [default]

|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |   14  |   0   |   0   |   3   ||   21  |   0   |
---------------------------------------------------------------------

[ivy:retrieve] :: retrieving :: edu.cme.rdp#clustering [ivy:retrieve] confs: [default] [ivy:retrieve] 0 artifacts copied, 21 already retrieved (0kB/10ms)

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-ap-cmdline-properties:

-init-macrodef-javac-with-processors:

-init-macrodef-javac-without-processors:

-init-macrodef-javac:

-init-macrodef-test-impl:

-init-macrodef-junit-init:

-init-macrodef-junit-single:

-init-test-properties:

-init-macrodef-junit-batch:

-init-macrodef-junit:

-init-macrodef-junit-impl:

-init-macrodef-testng:

-init-macrodef-testng-impl:

-init-macrodef-test:

-init-macrodef-junit-debug:

-init-macrodef-junit-debug-batch:

-init-macrodef-junit-debug-impl:

-init-macrodef-test-debug-junit:

-init-macrodef-testng-debug:

-init-macrodef-testng-debug-impl:

-init-macrodef-test-debug-testng:

-init-macrodef-test-debug:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-debug:

-init-macrodef-java:

-init-presetdef-jar:

-init-ap-cmdline-supported:

-init-ap-cmdline:

init:

-deps-jar-init: [delete] Deleting: /usr/local/RDPTools/Clustering/build/built-jar.properties

deps-jar:

-warn-already-built-jar: [propertyfile] Updating property file: /usr/local/RDPTools/Clustering/build/built-jar.properties

-check-call-dep:

-maybe-call-dep:

download-ivy: [get] Getting: http://insecure.repo1.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/ivy-2.1.0-rc2.jar [get] To: /var/root/.ant/lib/ivy.jar [get] Not modified - so not downloaded

init-ivy:

resolve: [ivy:retrieve] :: loading settings :: file = /usr/local/RDPTools/AlignmentTools/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: edu.cme.rdp#AlignmentTools;working@LuBook2.local [ivy:retrieve] confs: [default] [ivy:retrieve] found commons-lang#commons-lang;2.6 in public [ivy:retrieve] found junit#junit;3.8.1 in public [ivy:retrieve] found commons-cli#commons-cli;1.2 in public [ivy:retrieve] :: resolution report :: resolve 105ms :: artifacts dl 7ms

|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |   3   |   0   |   0   |   0   ||   7   |   0   |
---------------------------------------------------------------------

[ivy:retrieve] :: retrieving :: edu.cme.rdp#AlignmentTools [ivy:retrieve] confs: [default] [ivy:retrieve] 0 artifacts copied, 7 already retrieved (0kB/2ms)

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-ap-cmdline-properties:

-init-macrodef-javac-with-processors:

-init-macrodef-javac-without-processors: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:javac

-init-macrodef-javac: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:depend

-init-macrodef-test-impl:

-init-macrodef-junit-init:

-init-macrodef-junit-single:

-init-test-properties:

-init-macrodef-junit-batch:

-init-macrodef-junit:

-init-macrodef-junit-impl:

-init-macrodef-testng:

-init-macrodef-testng-impl:

-init-macrodef-test:

-init-macrodef-junit-debug:

-init-macrodef-junit-debug-batch:

-init-macrodef-junit-debug-impl:

-init-macrodef-test-debug-junit:

-init-macrodef-testng-debug:

-init-macrodef-testng-debug-impl:

-init-macrodef-test-debug-testng:

-init-macrodef-test-debug:

-init-debug-args:

-init-macrodef-nbjpda: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:nbjpdastart

-init-macrodef-debug: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:debug

-init-macrodef-java: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:java

-init-presetdef-jar:

-init-ap-cmdline-supported:

-init-ap-cmdline:

init:

-deps-jar-init:

deps-jar:

-warn-already-built-jar: [propertyfile] Updating property file: /usr/local/RDPTools/Clustering/build/built-jar.properties

-check-call-dep:

-maybe-call-dep:

download-ivy: [get] Getting: http://insecure.repo1.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/ivy-2.1.0-rc2.jar [get] To: /var/root/.ant/lib/ivy.jar [get] Not modified - so not downloaded

init-ivy:

resolve: [ivy:retrieve] :: loading settings :: file = /usr/local/RDPTools/ReadSeq/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: edu.cme.rdp#ReadSeq;working@LuBook2.local [ivy:retrieve] confs: [default] [ivy:retrieve] found commons-lang#commons-lang;2.6 in public [ivy:retrieve] found junit#junit;3.8.1 in public [ivy:retrieve] found commons-cli#commons-cli;1.2 in public [ivy:retrieve] found commons-io#commons-io;2.4 in public [ivy:retrieve] found junit#junit;4.10 in public [ivy:retrieve] found org.hamcrest#hamcrest-core;1.1 in public [ivy:retrieve] :: resolution report :: resolve 214ms :: artifacts dl 11ms [ivy:retrieve] :: evicted modules: [ivy:retrieve] junit#junit;3.8.1 by [junit#junit;4.10] in [default]

|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |   6   |   0   |   0   |   1   ||   11  |   0   |
---------------------------------------------------------------------

[ivy:retrieve] :: retrieving :: edu.cme.rdp#ReadSeq [ivy:retrieve] confs: [default] [ivy:retrieve] 0 artifacts copied, 11 already retrieved (0kB/26ms)

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-ap-cmdline-properties:

-init-macrodef-javac-with-processors:

-init-macrodef-javac-without-processors: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:javac

-init-macrodef-javac: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:depend

-init-macrodef-test-impl:

-init-macrodef-junit-init:

-init-macrodef-junit-single:

-init-test-properties:

-init-macrodef-junit-batch:

-init-macrodef-junit:

-init-macrodef-junit-impl:

-init-macrodef-testng:

-init-macrodef-testng-impl:

-init-macrodef-test:

-init-macrodef-junit-debug:

-init-macrodef-junit-debug-batch:

-init-macrodef-junit-debug-impl:

-init-macrodef-test-debug-junit:

-init-macrodef-testng-debug:

-init-macrodef-testng-debug-impl:

-init-macrodef-test-debug-testng:

-init-macrodef-test-debug:

-init-debug-args:

-init-macrodef-nbjpda: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:nbjpdastart

-init-macrodef-debug: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:debug

-init-macrodef-java: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:java

-init-presetdef-jar:

-init-ap-cmdline-supported:

-init-ap-cmdline:

init:

-deps-jar-init:

deps-jar:

-warn-already-built-jar: [propertyfile] Updating property file: /usr/local/RDPTools/Clustering/build/built-jar.properties

-check-automatic-build:

-clean-after-automatic-build:

-verify-automatic-build:

-pre-pre-compile:

-pre-compile:

-copy-persistence-xml:

-compile-depend:

-do-compile: [javac] Compiling 73 source files to /usr/local/RDPTools/ReadSeq/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 5 [javac] error: Source option 5 is no longer supported. Use 7 or later. [javac] error: Target option 5 is no longer supported. Use 7 or later.

BUILD FAILED /usr/local/RDPTools/Clustering/nbproject/build-impl.xml:896: The following error occurred while executing this line: /usr/local/RDPTools/Clustering/nbproject/build-impl.xml:1470: The following error occurred while executing this line: /usr/local/RDPTools/AlignmentTools/nbproject/build-impl.xml:896: The following error occurred while executing this line: /usr/local/RDPTools/AlignmentTools/nbproject/build-impl.xml:1414: The following error occurred while executing this line: /usr/local/RDPTools/ReadSeq/nbproject/build-impl.xml:920: The following error occurred while executing this line: /usr/local/RDPTools/ReadSeq/nbproject/build-impl.xml:300: Compile failed; see the compiler error output for details.

Total time: 4 seconds make: *** [Clustering/dist/Clustering.jar] Error 1

Any idea on how to go about it?

Thanks.