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

Xiaoshuang LU updated THRIFT-3102:
----------------------------------
    Description: 
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

{quote}
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
{quote}

make check still does not work even after I modify lib/go/test/Makefile.am (add 
--gen go).

{quote}
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)
        /home/username/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)
        /home/username/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)
        /home/username/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)
        
/home/username/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)
        
/home/username/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)
        /home/username/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)
        /home/username/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)
        
/home/username/workshop/thrift-go/lib/go/test/gopath/src/initialismstest (from 
$GOPATH)
make[3]: *** [check] Error 1
{quote}

  was:
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

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

make check still does work even after I modify lib/go/test/Makefile.am (add 
--gen go)


> 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
>
> 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
> {quote}
> 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
> {quote}
> make check still does not work even after I modify lib/go/test/Makefile.am 
> (add --gen go).
> {quote}
> 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)
>       /home/username/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)
>       /home/username/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)
>       /home/username/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)
>       
> /home/username/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)
>       
> /home/username/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)
>       /home/username/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)
>       /home/username/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)
>       
> /home/username/workshop/thrift-go/lib/go/test/gopath/src/initialismstest 
> (from $GOPATH)
> make[3]: *** [check] Error 1
> {quote}



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

Reply via email to