You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2015/04/18 01:01:59 UTC

[jira] [Resolved] (THRIFT-3102) could not make check for Go Library

     [ https://issues.apache.org/jira/browse/THRIFT-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-3102.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.3

Committed.

This leaves us with some warnings, however fixes the build issue:
{code}
sh: gofmt: Command not found.
WARNING - Running 'gofmt -w gopath/src///some/file.go' failed.
{code}

> could not make check for Go Library
> -----------------------------------
>
>                 Key: THRIFT-3102
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3102
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>    Affects Versions: 0.9.2
>         Environment: OS: CentOS 7.1 x86_64
> golang: 1.4
>            Reporter: Xiaoshuang LU
>            Assignee: Jens Geyer
>            Priority: Blocker
>             Fix For: 0.9.3
>
>
> steps to reproduce
> 1. ./bootstrap.sh
> 2. ./configure --with-boost=/software/boost_1_57_0 --prefix=/home/username/software/thrift-master --with-libevent=/software/libevent-2.0.22 --without-qt4 --without-qt5 --without-c_glib --without-csharp --without-java --without-erlang --without-nodejs --without-lua --without-python --without-perl --without-php --without-php_extension --without-ruby --without-haskell --with-go --without-haxe --without-d --without-cpp
> 3. make
> 4. make check
> {code}
> grep -v list.*map.*list.*map ../../../test/ThriftTest.thrift | grep -v 'set<Insanity>' > ThriftTest.thrift
> ../../../compiler/cpp/thrift  -r IncludesTest.thrift
> No output language(s) specified
> Usage: thrift [options] file
> Use thrift -help for a list of options
> make[3]: *** [gopath] Error 1
> {code}
> make check still does not work even after I modify lib/go/test/Makefile.am (adding --gen go).
> {code}
> GOPATH=`pwd`/gopath /software/go-1.4/bin/go build \
> 			includestest \
> 			binarykeytest \
> 			servicestest \
> 			typedeffieldtest \
> 			refannotationfieldstest \
> 			errortest	\
> 			namestest \
> 			initialismstest
> can't load package: package includestest: cannot find package "includestest" in any of:
> 	/software/go-1.4/src/includestest (from $GOROOT)
> 	~/workshop/thrift-go/lib/go/test/gopath/src/includestest (from $GOPATH)
> can't load package: package binarykeytest: cannot find package "binarykeytest" in any of:
> 	/software/go-1.4/src/binarykeytest (from $GOROOT)
> 	~/workshop/thrift-go/lib/go/test/gopath/src/binarykeytest (from $GOPATH)
> can't load package: package servicestest: cannot find package "servicestest" in any of:
> 	/software/go-1.4/src/servicestest (from $GOROOT)
> 	~/workshop/thrift-go/lib/go/test/gopath/src/servicestest (from $GOPATH)
> can't load package: package typedeffieldtest: cannot find package "typedeffieldtest" in any of:
> 	/software/go-1.4/src/typedeffieldtest (from $GOROOT)
> 	~/workshop/thrift-go/lib/go/test/gopath/src/typedeffieldtest (from $GOPATH)
> can't load package: package refannotationfieldstest: cannot find package "refannotationfieldstest" in any of:
> 	/software/go-1.4/src/refannotationfieldstest (from $GOROOT)
> 	~/workshop/thrift-go/lib/go/test/gopath/src/refannotationfieldstest (from $GOPATH)
> can't load package: package errortest: cannot find package "errortest" in any of:
> 	/software/go-1.4/src/errortest (from $GOROOT)
> 	~/workshop/thrift-go/lib/go/test/gopath/src/errortest (from $GOPATH)
> can't load package: package namestest: cannot find package "namestest" in any of:
> 	/software/go-1.4/src/namestest (from $GOROOT)
> 	~/workshop/thrift-go/lib/go/test/gopath/src/namestest (from $GOPATH)
> can't load package: package initialismstest: cannot find package "initialismstest" in any of:
> 	/software/go-1.4/src/initialismstest (from $GOROOT)
> 	~/workshop/thrift-go/lib/go/test/gopath/src/initialismstest (from $GOPATH)
> make[3]: *** [check] Error 1
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)