Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3102

could not make check for Go Library

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.9.2
    • 0.9.3
    • Go - Library
    • None
    • OS: CentOS 7.1 x86_64
      golang: 1.4

    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

      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 not work even after I modify lib/go/test/Makefile.am (adding --gen go).

      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
      

      Attachments

        Issue Links

          Activity

            People

              jensg Jens Geyer
              in-chief Xiaoshuang LU
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: