Re: Issues Building HTrace Master
Thanks for reporting this, Lewis. I can reproduce the issue by go1.4.3 linux/amd64. The cause seems to be HTRACE-361 which replaced link flags from "-X name value" to "-X name=value". I think we should fix gobuild.sh to keep supporting go 1.4 at lease in htrace 4. I filed HTRACE-371. Masatake On 5/6/16 02:49, Colin McCabe wrote: Hmm. The build works for me as well. I also think the Go version would be a good thing to check. We should probably start setting a minimum Go version to avoid build problems. best, Colin On Thu, May 5, 2016, at 08:30, Stack wrote: 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 < lewis.mcgibb...@gmail.com> 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] -1use alternate profiling code [exec] -8assume 64-bit addresses [exec] -B info [exec] define ELF NT_GNU_BUILD_ID note [exec] -Ccheck 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] -Kadd stack underflow checks [exec] -Oprint pc-line tables [exec] -Qdebug byte-register code gen [exec] -R rnd [exec] address rounding [exec] -Scheck type signatures [exec] -T addr [exec] text address [exec] -Vprint version and exit [exec] -Wdisassemble input [exec] -X name value [exec] define string data [exec] -Zclear stack frame on entry [exec] -adisassemble output [exec] -cdump call graph [exec] -ddisable dynamic executable [exec] -extld ld [exec]
Re: Issues Building HTrace Master
Hmm. The build works for me as well. I also think the Go version would be a good thing to check. We should probably start setting a minimum Go version to avoid build problems. best, Colin On Thu, May 5, 2016, at 08:30, Stack wrote: > 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 < > lewis.mcgibb...@gmail.com> 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] -1use alternate profiling code > > [exec] -8assume 64-bit addresses > > [exec] -B info > > [exec] define ELF NT_GNU_BUILD_ID note > > [exec] -Ccheck 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] -Kadd stack underflow checks > > [exec] -Oprint pc-line tables > > [exec] -Qdebug byte-register code gen > > [exec] -R rnd > > [exec] address rounding > > [exec] -Scheck type signatures > > [exec] -T addr > > [exec] text address > > [exec] -Vprint version and exit > > [exec] -Wdisassemble input > > [exec] -X name value > > [exec] define string data > > [exec] -Zclear stack frame on entry > > [exec] -adisassemble output > > [exec] -cdump call graph > > [exec] -ddisable dynamic ex
Re: Issues Building HTrace Master
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 < lewis.mcgibb...@gmail.com> 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] -1use alternate profiling code > [exec] -8assume 64-bit addresses > [exec] -B info > [exec] define ELF NT_GNU_BUILD_ID note > [exec] -Ccheck 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] -Kadd stack underflow checks > [exec] -Oprint pc-line tables > [exec] -Qdebug byte-register code gen > [exec] -R rnd > [exec] address rounding > [exec] -Scheck type signatures > [exec] -T addr > [exec] text address > [exec] -Vprint version and exit > [exec] -Wdisassemble input > [exec] -X name value > [exec] define string data > [exec] -Zclear stack frame on entry > [exec] -adisassemble output > [exec] -cdump call graph > [exec] -ddisable dynamic executable > [exec] -extld ld > [exec] linker to run in external mode > [exec] -extldflags ldflags > [exec] flags for external linker > [exec] -fignore version mismatch > [exec] -gdisable go package data checks > [exec] -installsuffix suffix > [exec] pkg directory suffix > [exec] -k sym > [exec] set field tracking symbol > [exec] -linkmode mode > [exec]