It works for me Lewis. godep is failing. Go version? If you run ./htrace/htraced/go/gobuild.sh directly, the issue may be clearer? St.Ack
On Wed, May 4, 2016 at 9:00 PM, Lewis John Mcgibbney < [email protected]> wrote: > Hi Folks, > when I attempt to build master branch I get the following error > > lmcgibbn@LMC-032857 /usr/local/incubator-htrace(master) $ mvn -version > Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; > 2015-04-22T04:57:37-07:00) > Maven home: /usr/local/apache-maven-3.3.3 > Java version: 1.8.0_66, vendor: Oracle Corporation > Java home: > /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac" > > mvn clean install -DskipTests -DcreateDependencyReducedPom=false > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building htrace-htraced 4.2.0-incubating-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ htrace-htraced > --- > [INFO] Deleting /usr/local/incubator-htrace/htrace-htraced/target > [INFO] Deleting /usr/local/incubator-htrace/htrace-htraced/go/build > (includes = [], excludes = []) > [INFO] Deleting /usr/local/incubator-htrace/htrace-htraced/go/pkg (includes > = [], excludes = []) > [INFO] > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ > htrace-htraced --- > [INFO] > [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ > htrace-htraced --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory > /usr/local/incubator-htrace/htrace-htraced/src/main/resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ > htrace-htraced --- > [INFO] Compiling 8 source files to > /usr/local/incubator-htrace/htrace-htraced/target/classes > [INFO] > [INFO] --- maven-antrun-plugin:1.7:run (go_compile) @ htrace-htraced --- > [WARNING] Parameter tasks is deprecated, use target instead > [INFO] Executing tasks > > main: > [exec] Installing godep... > [exec] godep: [WARNING]: godep should only be used inside a valid go > package directory and > [exec] godep: [WARNING]: may not function correctly. You are probably > outside of your $GOPATH. > [exec] godep: [WARNING]: Current Directory: > /usr/local/incubator-htrace/htrace-htraced/go > [exec] godep: [WARNING]: $GOPATH: > > /usr/local/incubator-htrace/htrace-htraced/go/build:/usr/local/incubator-htrace/htrace-htraced/go > [exec] /usr/local/incubator-htrace/htrace-htraced/go/build/godep > restore... > [exec] Building 4.2.0-incubating-SNAPSHOT > [4a101e0d1c435937feba9fc876882ffbf71259b1] > [exec] github.com/ugorji/go/codec > [exec] htrace/conf > [exec] github.com/alecthomas/units > [exec] github.com/gorilla/context > [exec] github.com/jmhodges/levigo > [exec] github.com/alecthomas/kingpin > [exec] github.com/gorilla/mux > [exec] htrace/common > [exec] htrace/test > [exec] htrace/client > [exec] htrace/htraced > [exec] htrace/htracedTool > [exec] # htrace/htracedTool > [exec] usage: 6l [options] main.6 > [exec] -1 use alternate profiling code > [exec] -8 assume 64-bit addresses > [exec] -B info > [exec] define ELF NT_GNU_BUILD_ID note > [exec] -C check Go calls to C code > [exec] -D addr > [exec] data address > [exec] -E sym > [exec] entry symbol > [exec] -I interp > [exec] set ELF interp > [exec] -L dir > [exec] add dir to library path > [exec] -H head > [exec] header type > [exec] -K add stack underflow checks > [exec] -O print pc-line tables > [exec] -Q debug byte-register code gen > [exec] -R rnd > [exec] address rounding > [exec] -S check type signatures > [exec] -T addr > [exec] text address > [exec] -V print version and exit > [exec] -W disassemble input > [exec] -X name value > [exec] define string data > [exec] -Z clear stack frame on entry > [exec] -a disassemble output > [exec] -c dump call graph > [exec] -d disable dynamic executable > [exec] -extld ld > [exec] linker to run in external mode > [exec] -extldflags ldflags > [exec] flags for external linker > [exec] -f ignore version mismatch > [exec] -g disable go package data checks > [exec] -installsuffix suffix > [exec] pkg directory suffix > [exec] -k sym > [exec] set field tracking symbol > [exec] -linkmode mode > [exec] set link mode (internal, external, auto) > [exec] -n dump symbol table > [exec] -o outfile > [exec] set output file > [exec] -r dir1:dir2:... > [exec] set ELF dynamic linker search path > [exec] -race > [exec] enable race detector > [exec] -s disable symbol table > [exec] -shared > [exec] generate shared object (implies -linkmode external) > [exec] -tmpdir dir > [exec] leave temporary files in this directory > [exec] -u reject unsafe packages > [exec] -v print link trace > [exec] -w disable DWARF generation > [exec] go install failed. > [exec] # htrace/htraced > [exec] usage: 6l [options] main.6 > [exec] -1 use alternate profiling code > [exec] -8 assume 64-bit addresses > [exec] -B info > [exec] define ELF NT_GNU_BUILD_ID note > [exec] -C check Go calls to C code > [exec] -D addr > [exec] data address > [exec] -E sym > [exec] entry symbol > [exec] -I interp > [exec] set ELF interp > [exec] -L dir > [exec] add dir to library path > [exec] -H head > [exec] header type > [exec] -K add stack underflow checks > [exec] -O print pc-line tables > [exec] -Q debug byte-register code gen > [exec] -R rnd > [exec] address rounding > [exec] -S check type signatures > [exec] -T addr > [exec] text address > [exec] -V print version and exit > [exec] -W disassemble input > [exec] -X name value > [exec] define string data > [exec] -Z clear stack frame on entry > [exec] -a disassemble output > [exec] -c dump call graph > [exec] -d disable dynamic executable > [exec] -extld ld > [exec] linker to run in external mode > [exec] -extldflags ldflags > [exec] flags for external linker > [exec] -f ignore version mismatch > [exec] -g disable go package data checks > [exec] -installsuffix suffix > [exec] pkg directory suffix > [exec] -k sym > [exec] set field tracking symbol > [exec] -linkmode mode > [exec] set link mode (internal, external, auto) > [exec] -n dump symbol table > [exec] -o outfile > [exec] set output file > [exec] -r dir1:dir2:... > [exec] set ELF dynamic linker search path > [exec] -race > [exec] enable race detector > [exec] -s disable symbol table > [exec] -shared > [exec] generate shared object (implies -linkmode external) > [exec] -tmpdir dir > [exec] leave temporary files in this directory > [exec] -u reject unsafe packages > [exec] -v print link trace > [exec] -w disable DWARF generation > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache HTrace ...................................... SUCCESS [ > 4.410 s] > [INFO] htrace-c ........................................... SUCCESS [ > 0.830 s] > [INFO] htrace-core4 ....................................... SUCCESS [ > 5.998 s] > [INFO] htrace-webapp ...................................... SUCCESS [ > 1.078 s] > [INFO] htrace-zipkin ...................................... SUCCESS [ > 9.436 s] > [INFO] htrace-hbase ....................................... SUCCESS [ > 8.365 s] > [INFO] htrace-flume ....................................... SUCCESS [ > 2.017 s] > [INFO] htrace-htraced ..................................... FAILURE [ > 38.837 s] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 01:11 min > [INFO] Finished at: 2016-05-04T21:01:28-07:00 > [INFO] Final Memory: 62M/1490M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-antrun-plugin:1.7:run (go_compile) on > project htrace-htraced: An Ant BuildException has occured: exec returned: 1 > [ERROR] around Ant part ...<exec failonerror="true" > dir="/usr/local/incubator-htrace/htrace-htraced//go/" > executable="./gobuild.sh">... @ 4:108 in > /usr/local/incubator-htrace/htrace-htraced/target/antrun/build-main.xml > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :htrace-htraced > > -- > *Lewis* >
