that's what I get when I try to build Joshua myself too, even with JOSHUA env variable set; so probably it's something else...
Il giorno mer 30 mar 2016 alle ore 06:44 Apache Jenkins Server < [email protected]> ha scritto: > See <https://builds.apache.org/job/joshua_master/4/changes> > > Changes: > > [post] added JOSHUA env to kenlm build invocation > > ------------------------------------------ > [...truncated 883 lines...] > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/jobs/DistributionalContextSortingJob.java:27: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "sorting"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/jobs/ExtractionJob.java:30: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "extraction"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/jobs/FeatureCollectionJob.java:45: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "collect"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/jobs/OutputJob.java:42: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "collect"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/jobs/ParaphraseAggregationJob.java:29: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "aggregate"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/jobs/ParaphrasePivotingJob.java:35: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "pivoting"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/jobs/WordLexprobJob.java:36: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(theConf, getName()); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/jobs/VocabularyJob.java:31: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "vocabulary"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/tools/ExtractionTool.java:47: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "thrax"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/tools/FeatureTool.java:51: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, String.format("thrax-%s", > featureName)); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/tools/OutputTool.java:48: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "thrax-collect"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/tools/SourceWordGivenTargetWordProbabilityTool.java:52: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "thrax-sgt-word-lexprob"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/hadoop/tools/TargetWordGivenSourceWordProbabilityTool.java:52: > warning: [deprecation] Job(Configuration,String) in Job has been deprecated > [javac] Job job = new Job(conf, "thrax-tgs-word-lexprob"); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/tools/SequenceToGrammar.java:54: > warning: [deprecation] Reader(FileSystem,Path,Configuration) in Reader has > been deprecated > [javac] SequenceFile.Reader reader = new > SequenceFile.Reader(FileSystem.getLocal(config), path, config); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/lib/hadoop-common-2.5.2.jar(org/apache/hadoop/io/DataOutputBuffer.class): > warning: Cannot find annotation method 'value()' in type 'LimitedPrivate' > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/tools/SequenceToSignatures.java:78: > warning: [deprecation] Reader(FileSystem,Path,Configuration) in Reader has > been deprecated > [javac] reader = new > SequenceFile.Reader(FileSystem.getLocal(config), path, config); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/tools/SequenceToSignatures.java:84: > warning: [deprecation] Reader(FileSystem,Path,Configuration) in Reader has > been deprecated > [javac] reader = new SequenceFile.Reader(file_system, path, > config); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/util/SequenceFileCreator.java:24: > warning: [deprecation] > createWriter(FileSystem,Configuration,Path,Class,Class) in SequenceFile has > been deprecated > [javac] SequenceFile.Writer writer = > SequenceFile.createWriter(fs, conf, path, LongWritable.class, Text.class); > [javac] ^ > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/src/edu/jhu/thrax/util/Vocabulary.java:168: > warning: [deprecation] Reader(FileSystem,Path,Configuration) in Reader has > been deprecated > [javac] SequenceFile.Reader reader = new > SequenceFile.Reader(file_system, file.getPath(), conf); > [javac] ^ > [javac] 34 warnings > > jar: > [jar] Building jar: > /x1/jenkins/jenkins-slave/workspace/joshua_master/thrax/bin/thrax.jar > > check-joshua-home: > [echo] JOSHUA = /x1/jenkins/jenkins-slave/workspace/joshua_master > basedir = /x1/jenkins/jenkins-slave/workspace/joshua_master > > berkeleylm: > > clean: > > init: > [mkdir] Created dir: > /x1/jenkins/jenkins-slave/workspace/joshua_master/ext/berkeleylm/jar > [mkdir] Created dir: > /x1/jenkins/jenkins-slave/workspace/joshua_master/ext/berkeleylm/doc > [mkdir] Created dir: > /x1/jenkins/jenkins-slave/workspace/joshua_master/ext/berkeleylm/test-reports > > compile: > [javac] > /x1/jenkins/jenkins-slave/workspace/joshua_master/ext/berkeleylm/build.xml:36: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > [javac] Compiling 87 source files > > jar: > [jar] Building jar: > /x1/jenkins/jenkins-slave/workspace/joshua_master/ext/berkeleylm/jar/berkeleylm.jar > > check-joshua-home: > [echo] JOSHUA = /x1/jenkins/jenkins-slave/workspace/joshua_master > basedir = /x1/jenkins/jenkins-slave/workspace/joshua_master > > version: > [exec] ./scripts/support/write-version.sh: line 8: JOSHUA: unbound > variable > [exec] Result: 1 > > java: > [mkdir] Created dir: > /x1/jenkins/jenkins-slave/workspace/joshua_master/class > [javac] Compiling 232 source files to > /x1/jenkins/jenkins-slave/workspace/joshua_master/class > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > > jar: > [jar] Building jar: > /x1/jenkins/jenkins-slave/workspace/joshua_master/lib/joshua.jar > > giza: > [exec] make: Entering directory > `/x1/jenkins/jenkins-slave/workspace/joshua_master/ext/giza-pp' > [exec] > [exec] > [exec] make -C GIZA++-v2 > [exec] make -C mkcls-v2 > [exec] make[1]: Entering directory > `/x1/jenkins/jenkins-slave/workspace/joshua_master/ext/giza-pp/mkcls-v2' > [exec] g++ -Wall -W -DNDEBUG -O3 -funroll-loops -std=c++11 -c > GDAOptimization.cpp -o GDAOptimization.o > [exec] g++ -Wall -W -DNDEBUG -O3 -funroll-loops -std=c++11 -c > HCOptimization.cpp -o HCOptimization.o > [exec] g++ -Wall -W -DNDEBUG -O3 -funroll-loops -std=c++11 -c > Problem.cpp -o Problem.o > [exec] make[1]: Entering directory > `/x1/jenkins/jenkins-slave/workspace/joshua_master/ext/giza-pp/GIZA++-v2' > [exec] mkdir optimized/ > [exec] g++ -Wall -Wno-parentheses -std=c++11 -O3 -funroll-loops > -DNDEBUG -DWORDINDEX_WITH_4_BYTE -DBINARY_SEARCH_FOR_TTABLE > -DWORDINDEX_WITH_4_BYTE -c Parameter.cpp -o optimized/Parameter.o > [exec] cc1plus: error: unrecognized command line option > '-std=c++11'cc1plus: error: unrecognized command line option > '-std=c++11'cc1plus: error: unrecognized command line option > '-std=c++11'cc1plus: error: unrecognized command line option '-std=c++11' > [exec] > [exec] > [exec] > [exec] make[1]: *** [GDAOptimization.o] Error 1 > [exec] make[1]: *** Waiting for unfinished jobs.... > [exec] make[1]: *** [HCOptimization.o] Error 1 > [exec] make[1]: *** [Problem.o] Error 1 > [exec] make: *** [mkcls-v2] Error 2 > [exec] make: *** Waiting for unfinished jobs.... > [exec] make[1]: *** [optimized/Parameter.o] Error 1 > [exec] make[1]: *** Waiting for unfinished jobs.... > [exec] cc1plus: error: unrecognized command line option '-std=c++11' > [exec] make[1]: *make[1]: Leaving directory > `/x1/jenkins/jenkins-slave/workspace/joshua_master/ext/giza-pp/mkcls-v2' > [exec] g++ -Wall -Wno-parentheses -std=c++11 -O3 -funroll-loops > -DNDEBUG -DWORDINDEX_WITH_4_BYTE -DBINARY_SEARCH_FOR_TTABLE > -DWORDINDEX_WITH_4_BYTE -c myassert.cpp -o optimized/myassert.o > [exec] make[1]: Leaving directory > `/x1/jenkins/jenkins-slave/workspace/joshua_master/ext/giza-pp/GIZA++-v2' > [exec] make: Leaving directory > `/x1/jenkins/jenkins-slave/workspace/joshua_master/ext/giza-pp' > [exec] ** [optimized/myassert.o] Error 1 > [exec] make: *** [gizapp] Error 2 > [exec] Result: 2 > [exec] make: Entering directory > `/x1/jenkins/jenkins-slave/workspace/joshua_master/ext/symal' > [exec] cc -O3 -c -o cmd.o cmd.c > [exec] g++ -O3 -o symal symal.cpp cmd.o > [exec] symal.cpp:44:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:44:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:44:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:44:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:44:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:44:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:44:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:44:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:44:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:44:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:54:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:54:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:54:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:54:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:54:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:54:1: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp: In function 'int main(int, char**)': > [exec] symal.cpp:394:15: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:395:16: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] symal.cpp:414:29: warning: deprecated conversion from string > constant to 'char*' [-Wwrite-strings] > [exec] make: Leaving directory > `/x1/jenkins/jenkins-slave/workspace/joshua_master/ext/symal' > > kenlm: > [exec] CMake Error at CMakeLists.txt:1 (cmake_minimum_required): > [exec] CMake 2.8.8 or higher is required. You are running version > 2.8.7 > [exec] > [exec] > [exec] make: *** No targets specified and no makefile found. Stop. > [exec] cp: cannot stat `bin/query': No such file or directory > [exec] cp: cannot stat `bin/lmplz': No such file or directory > [exec] cp: cannot stat `bin/build_binary': No such file or directory > [exec] g++: error: lm/CMakeFiles/kenlm.dir/*.o: No such file or > directory > [exec] g++: error: util/CMakeFiles/kenlm_util.dir/*.o: No such file > or directory > [exec] g++: error: > util/CMakeFiles/kenlm_util.dir/double-conversion/*.o: No such file or > directory > [exec] -- Configuring incomplete, errors occurred! > [exec] Result: 1 > > parallelize: > [exec] make: Entering directory > `/x1/jenkins/jenkins-slave/workspace/joshua_master/scripts/training/parallelize' > [exec] gcc -g -O2 -o sentserver -pthread -L/usr/local/lib sentserver.c > [exec] gcc -g -O2 -o sentclient -pthread -L/usr/local/lib sentclient.c > [exec] sentclient.c: In function 'main': > [exec] sentclient.c:73:7: warning: ignoring return value of 'write', > declared with attribute warn_unused_result [-Wunused-result] > [exec] sentclient.c:74:7: warning: ignoring return value of 'write', > declared with attribute warn_unused_result [-Wunused-result] > [exec] make: Leaving directory > `/x1/jenkins/jenkins-slave/workspace/joshua_master/scripts/training/parallelize' > > all: > > test: > [exec] TESTS: ./server/http/test.sh ./server/tcp-text/test.sh > ./bn-en/hiero/test-filter.sh ./bn-en/hiero/test-berkeleylm.sh > ./bn-en/hiero/test.sh ./bn-en/hiero/test-classlm.sh ./bn-en/samt/test.sh > ./bn-en/packed/test.sh ./lattice/test.sh ./parser/test.sh > ./pipeline/test-ghkm.sh ./pipeline/test.sh ./lattice-short/test.sh > ./decoder/fragmentlm/test.sh ./decoder/oov-list/test.sh > ./decoder/n-ary/test.sh ./decoder/k-best-extraction/test.sh > ./decoder/phrase/decode/test.sh ./decoder/phrase/decode/test-packed.sh > ./decoder/phrase/constrained/test.sh > ./decoder/phrase/unique-hypotheses/test.sh ./decoder/empty-test/test.sh > ./decoder/segment-oovs/test.sh ./decoder/constrained/test.sh > ./decoder/num_translation_options/test.sh ./decoder/dont-crash/test.sh > ./decoder/rescoring/test.sh ./decoder/regexp-grammar/test.sh > ./decoder/tree-output/test.sh ./decoder/target-bigram/test.sh > ./decoder/denormalization/test.sh ./decoder/source-annotations/test.sh > ./decoder/regexp-grammar-both-rule-types/test.sh > ./decoder/left-state/test.sh ./grammar/sparse-features/test.sh > ./grammar/sparse-features/test-packed.sh ./lm/berkeley/test.sh > ./packed/test.sh ./scripts/support/moses_grammar/test.sh > ./scripts/normalization/test.sh ./thrax/extraction/test.sh > ./thrax/filtering/test-loose.sh ./thrax/filtering/test-exact.sh > ./thrax/filtering/test-fast.sh ./packed-grammar/test.sh > ./packed-grammar/test-multiple.sh > [exec] Running test 'test.sh' in test/./server/http... [01;32mPASSED > [00m > [exec] Running test 'test.sh' in test/./server/tcp-text... > [01;31;31mFAILED [00m > [exec] Running test 'test-filter.sh' in test/./bn-en/hiero... > [01;31;31mFAILED [00m > [exec] Running test 'test-berkeleylm.sh' in test/./bn-en/hiero... > [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./bn-en/hiero... > [01;31;31mFAILED [00m > [exec] Running test 'test-classlm.sh' in test/./bn-en/hiero... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./bn-en/samt... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./bn-en/packed... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./lattice... [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./lattice-short... > [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./decoder/oov-list... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./decoder/n-ary... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./decoder/k-best-extraction... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./decoder/phrase/decode... > [01;31;31mFAILED [00m > [exec] Running test 'test-packed.sh' in > test/./decoder/phrase/decode... [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./decoder/phrase/constrained... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in > test/./decoder/phrase/unique-hypotheses... [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./decoder/empty-test... > [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./decoder/constrained... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in > test/./decoder/num_translation_options... [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./decoder/dont-crash... > [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./decoder/rescoring... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./decoder/regexp-grammar... > [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./decoder/tree-output... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./decoder/target-bigram... > [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./decoder/denormalization... > [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./decoder/source-annotations... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in > test/./decoder/regexp-grammar-both-rule-types... [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./decoder/left-state... > [01;31;31mFAILED [00m > [exec] Running test 'test.sh' in test/./grammar/sparse-features... > [01;32mPASSED [00m > [exec] Running test 'test-packed.sh' in > test/./grammar/sparse-features... [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./lm/berkeley... [01;32mPASSED > [00m > [exec] Running test 'test.sh' in > test/./scripts/support/moses_grammar... [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./thrax/extraction...getmerge: > `thrax/final': No such file or directory > [exec] [01;31;31mFAILED [00m > [exec] Running test 'test-loose.sh' in test/./thrax/filtering... > [01;32mPASSED [00m > [exec] Running test 'test-exact.sh' in test/./thrax/filtering... > [01;32mPASSED [00m > [exec] Running test 'test-fast.sh' in test/./thrax/filtering... > [01;32mPASSED [00m > [exec] Running test 'test.sh' in test/./packed-grammar... > [01;31;31mFAILED [00m > [exec] Running test 'test-multiple.sh' in test/./packed-grammar... > [exec] [01;32mPASSED [00m > [exec] [01;32mPASSED [00m 18 [01;31;31mFAILED [00m 21 > > check-joshua-home: > [echo] JOSHUA = /x1/jenkins/jenkins-slave/workspace/joshua_master > basedir = /x1/jenkins/jenkins-slave/workspace/joshua_master > > documentation: > > BUILD FAILED > /x1/jenkins/jenkins-slave/workspace/joshua_master/build.xml:283: Problem: > failed to create task or type antlib:org.doxygen.tools:doxygen > Cause: The name is undefined. > Action: Check the spelling. > Action: Check that any custom tasks/types have been declared. > Action: Check that any <presetdef>/<macrodef> declarations have taken > place. > No types or tasks have been defined in this namespace yet > > This appears to be an antlib declaration. > Action: Check that the implementing library exists in one of: > -/home/jenkins/tools/ant/latest/lib > -/home/jenkins/.ant/lib > -a directory added on the command line with the -lib argument > > > Total time: 3 minutes 54 seconds > Build step 'Invoke Ant' marked build as failure > Publishing Javadoc >
