-
Notifications
You must be signed in to change notification settings - Fork 6
Description
The issue is that server is not compatible with the current release of libstix2-0.6.1 (or the latest source in the repo), but it also isnt' compatible with the previous release libstix2-0.5.1 either.
Here is the output compiling server when using libstix2-0.6.1
$ env GOOS=linux GOARCH=amd64 go build -v freetaxii.go
../../../libstix2/datastore/sqlite3/s_baseobject.go:16:2: cannot find package "github.com/freetaxii/libstix2/objects/baseobject" in any of:
/usr/local/Cellar/go/1.15.2/libexec/src/github.com/freetaxii/libstix2/objects/baseobject (from $GOROOT)
/Users/don/go/src/github.com/freetaxii/libstix2/objects/baseobject (from $GOPATH)
../../internal/config/serverConfig.go:13:2: cannot find package "github.com/freetaxii/libstix2/resources/apiroot" in any of:
/usr/local/Cellar/go/1.15.2/libexec/src/github.com/freetaxii/libstix2/resources/apiroot (from $GOROOT)
/Users/don/go/src/github.com/freetaxii/libstix2/resources/apiroot (from $GOPATH)
../../../libstix2/datastore/datastore.go:8:8: cannot find package "github.com/freetaxii/libstix2/resources/collections" in any of:
/usr/local/Cellar/go/1.15.2/libexec/src/github.com/freetaxii/libstix2/resources/collections (from $GOROOT)
/Users/don/go/src/github.com/freetaxii/libstix2/resources/collections (from $GOPATH)
../../internal/config/serverConfig.go:15:2: cannot find package "github.com/freetaxii/libstix2/resources/discovery" in any of:
/usr/local/Cellar/go/1.15.2/libexec/src/github.com/freetaxii/libstix2/resources/discovery (from $GOROOT)
/Users/don/go/src/github.com/freetaxii/libstix2/resources/discovery (from $GOPATH)
../../../libstix2/datastore/sqlite3/t_collectiondata.go:18:2: cannot find package "github.com/freetaxii/libstix2/resources/envelope" in any of:
/usr/local/Cellar/go/1.15.2/libexec/src/github.com/freetaxii/libstix2/resources/envelope (from $GOROOT)
/Users/don/go/src/github.com/freetaxii/libstix2/resources/envelope (from $GOPATH)
../../../libstix2/datastore/sqlite3/t_collectiondataManifest.go:16:2: cannot find package "github.com/freetaxii/libstix2/resources/manifest" in any of:
/usr/local/Cellar/go/1.15.2/libexec/src/github.com/freetaxii/libstix2/resources/manifest (from $GOROOT)
/Users/don/go/src/github.com/freetaxii/libstix2/resources/manifest (from $GOPATH)
../../internal/handlers/contentHandler.go:18:2: cannot find package "github.com/freetaxii/libstix2/resources/status" in any of:
/usr/local/Cellar/go/1.15.2/libexec/src/github.com/freetaxii/libstix2/resources/status (from $GOROOT)
/Users/don/go/src/github.com/freetaxii/libstix2/resources/status (from $GOPATH)
../../internal/handlers/errors.go:13:2: cannot find package "github.com/freetaxii/libstix2/resources/taxiierror" in any of:
/usr/local/Cellar/go/1.15.2/libexec/src/github.com/freetaxii/libstix2/resources/taxiierror (from $GOROOT)
/Users/don/go/src/github.com/freetaxii/libstix2/resources/taxiierror (from $GOPATH)
../../../libstix2/datastore/sqlite3/t_collectiondata.go:19:2: cannot find package "github.com/freetaxii/libstix2/resources/versions" in any of:
/usr/local/Cellar/go/1.15.2/libexec/src/github.com/freetaxii/libstix2/resources/versions (from $GOROOT)
/Users/don/go/src/github.com/freetaxii/libstix2/resources/versions (from $GOPATH)
Here is the output compiling server when using libstix2-0.5.1
$ env GOOS=linux GOARCH=amd64 go build -v freetaxii.go
internal/unsafeheader
runtime/internal/sys
runtime/internal/atomic
internal/race
internal/cpu
runtime/internal/math
sync/atomic
unicode
unicode/utf8
internal/bytealg
container/list
crypto/internal/subtle
math/bits
crypto/subtle
internal/testlog
unicode/utf16
math
vendor/golang.org/x/crypto/cryptobyte/asn1
internal/nettrace
vendor/golang.org/x/crypto/internal/subtle
encoding
github.com/freetaxii/libstix2/resources/versions
github.com/freetaxii/libstix2/defs
github.com/freetaxii/libstix2/vocabs
runtime
internal/reflectlite
sync
internal/singleflight
math/rand
errors
sort
internal/oserror
io
strconv
vendor/golang.org/x/net/dns/dnsmessage
syscall
bytes
hash
reflect
crypto
strings
crypto/internal/randutil
crypto/hmac
bufio
crypto/rc4
vendor/golang.org/x/crypto/hkdf
regexp/syntax
hash/crc32
time
internal/syscall/unix
internal/syscall/execenv
vendor/golang.org/x/text/transform
path
regexp
context
internal/poll
html
github.com/freetaxii/libstix2/stixid
os
encoding/binary
internal/fmtsort
path/filepath
crypto/cipher
fmt
net
crypto/sha512
crypto/aes
crypto/des
math/big
crypto/ed25519/internal/edwards25519
crypto/md5
crypto/sha1
crypto/sha256
encoding/hex
encoding/base64
io/ioutil
encoding/pem
net/url
vendor/golang.org/x/crypto/chacha20
vendor/golang.org/x/crypto/poly1305
vendor/golang.org/x/sys/cpu
vendor/golang.org/x/crypto/curve25519
vendor/golang.org/x/crypto/chacha20poly1305
encoding/json
database/sql/driver
crypto/elliptic
crypto/rand
crypto/dsa
encoding/asn1
github.com/freetaxii/libstix2/resources/envelope
crypto/ed25519
crypto/rsa
vendor/golang.org/x/crypto/cryptobyte
github.com/google/uuid
crypto/x509/pkix
database/sql
github.com/freetaxii/libstix2/timestamp
github.com/pborman/uuid
github.com/freetaxii/libstix2/objects/properties
github.com/freetaxii/libstix2/resources/properties
github.com/freetaxii/libstix2/objects/baseobject
crypto/ecdsa
github.com/freetaxii/libstix2/resources/manifest
github.com/freetaxii/libstix2/resources/collections
crypto/x509
github.com/freetaxii/libstix2/objects/indicator
github.com/gologme/log
github.com/freetaxii/libstix2/datastore
github.com/freetaxii/libstix2/resources/apiroot
github.com/freetaxii/libstix2/resources/discovery
github.com/mattn/go-sqlite3
log
compress/flate
vendor/golang.org/x/text/unicode/bidi
github.com/freetaxii/libstix2/datastore/sqlite3
compress/gzip
crypto/tls
vendor/golang.org/x/text/unicode/norm
vendor/golang.org/x/text/secure/bidirule
net/textproto
vendor/golang.org/x/net/http2/hpack
mime
mime/quotedprintable
net/http/internal
mime/multipart
vendor/golang.org/x/net/idna
github.com/freetaxii/libstix2/objects
github.com/freetaxii/libstix2/resources/status
github.com/freetaxii/libstix2/resources/taxiierror
text/template/parse
github.com/pborman/getopt
vendor/golang.org/x/net/http/httpguts
vendor/golang.org/x/net/http/httpproxy
text/template
net/http/httptrace
html/template
net/http
github.com/freetaxii/server/internal/headers
github.com/gorilla/mux
github.com/freetaxii/server/internal/config
github.com/freetaxii/server/internal/handlers
github.com/freetaxii/server/internal/handlers
../../internal/handlers/contentHandler.go:332:10: assignment mismatch: 2 variables but objects.Decode returns 3 values