TheThingsArchive / packet_forwarder

Packet forwarder for Linux based gateways
MIT License
84 stars 92 forks source link

SPI environment build error on 32bit armv7 #63

Closed Epyon01P closed 7 years ago

Epyon01P commented 7 years ago

Using a NanoPi Neo (32bit Arm v7 Allwinner H3 cpu) on Linux 4.11.3-sun8i #7 (Armbian/Ubuntu) with go version go1.7.3 linux/arm and gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609, for use with a IMST iC880 concentrator through SPI.

When following the build procedure on this Linux environment, every step works fine until making the final build. This throws 'Error 2' at line 36 of the makefile, which seems to have something to do with the environment variables. Normally these should be set automatically, setting them manually (after the make dev-deps step) yields the same error.

Output from the terminal:

root@nanopineo:~/work/src/github.com/TheThingsNetwork/packet_forwarder# echo $GOARM
7
root@nanopineo:~/work/src/github.com/TheThingsNetwork/packet_forwarder# make build
Generating default spi header file
Generated default spi header file
CFG_SPI=native PLATFORM=default make all -e -C lora_gateway/libloragw
make[1]: Entering directory '/root/work/src/github.com/TheThingsNetwork/packet_forwarder/lora_gateway/libloragw'
*** Checking libloragw library configuration ***
#File initialization
# Release version
Release version   : 4.0.0
SPI interface     : Linux native SPI driver
# Debug options
# end of file
*** Configuration seems ok ***
mkdir -p obj
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_hal.c -o obj/loragw_hal.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_gps.c -o obj/loragw_gps.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_reg.c -o obj/loragw_reg.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_spi.native.c -o obj/loragw_spi.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_aux.c -o obj/loragw_aux.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_radio.c -o obj/loragw_radio.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_fpga.c -o obj/loragw_fpga.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_lbt.c -o obj/loragw_lbt.o
ar rcs libloragw.a obj/loragw_hal.o obj/loragw_gps.o obj/loragw_reg.o obj/loragw_spi.o obj/loragw_aux.o obj/loragw_radio.o obj/loragw_fpga.o obj/loragw_lbt.o
gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC -L. tst/test_loragw_spi.c -o test_loragw_spi -lloragw -lrt -lm
gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC -L. tst/test_loragw_reg.c -o test_loragw_reg -lloragw -lrt -lm
gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC -L. tst/test_loragw_hal.c -o test_loragw_hal -lloragw -lrt -lm
gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC -L. tst/test_loragw_gps.c -o test_loragw_gps -lloragw -lrt -lm
gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC -L. tst/test_loragw_cal.c -o test_loragw_cal -lloragw -lrt -lm
make[1]: Leaving directory '/root/work/src/github.com/TheThingsNetwork/packet_forwarder/lora_gateway/libloragw'
packet_forwarder  building [CGO_ENABLED=1 CC=cc GOOS=linux GOARCH=arm GOARM= CGO_CFLAGS= CGO_LDFLAGS=-lrt CGO_ENABLED=1 go build -tags halv1 -a -ldflags -w -X main.version=v2.0.2-dev -X main.gitCommit=b64203b985c02a82ab4f3cb41d907be85fcb04e6 -X main.buildDate=2017-07-05T09:4341Z -X github.com/TheThingsNetwork/packet_forwarder/pktfwd.platform=default -X github.com/TheThingsNetwork/packet_forwarder/cmd.downlinksMargin= ./main.go ...]
runtime/internal/sys
runtime/internal/atomic
runtime
[...]
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/api/router
github.com/TheThingsNetwork/packet_forwarder/wrapper
.make/go/build.make:36: recipe for target 'release/packet-forwarder-linux-arm-' failed
make: *** [release/packet-forwarder-linux-arm-] Error 2
egourlao commented 7 years ago

Sorry for the late reply! If you still remember the procedure you used to compile the packet forwarder, could you:

Epyon01P commented 7 years ago

Thanks for looking into this, much appreciated. For completeness, I've put the terminal output of the complete build procedure below.

The release/ directory is not created.

root@nanopineo:~# go get -u github.com/TheThingsNetwork/packet_forwarder
# github.com/TheThingsNetwork/go-utils/queue
work/src/github.com/TheThingsNetwork/go-utils/queue/jit.go:146: undefined: time.Until
# github.com/TheThingsNetwork/ttn/api/protocol/lorawan
work/src/github.com/TheThingsNetwork/ttn/api/protocol/lorawan/message_conversion.go:101: cannot use m.DevNonce (type types.DevNonce) as type lorawan.DevNonce in assignment
work/src/github.com/TheThingsNetwork/ttn/api/protocol/lorawan/message_conversion.go:122: cannot use m.AppNonce (type types.AppNonce) as type lorawan.AppNonce in assignment
work/src/github.com/TheThingsNetwork/ttn/api/protocol/lorawan/message_conversion.go:123: cannot use m.NetId (type types.NetID) as type lorawan.NetID in assignment
root@nanopineo:~# cd $GOPATH/src/github.com/TheThingsNetwork/packet_forwarder
root@nanopineo:~/work/src/github.com/TheThingsNetwork/packet_forwarder# make dev-deps
packet_forwarder  fetching go tools
root@nanopineo:~/work/src/github.com/TheThingsNetwork/packet_forwarder# make deps
packet_forwarder  fetching go dependencies
fetch "github.com/StackExchange/wmi"
fetch "github.com/TheThingsNetwork/go-account-lib/account"
fetch "github.com/TheThingsNetwork/go-account-lib/auth"
fetch "github.com/TheThingsNetwork/go-account-lib/cache"
fetch "github.com/TheThingsNetwork/go-account-lib/claims"
fetch "github.com/TheThingsNetwork/go-account-lib/scope"
fetch "github.com/TheThingsNetwork/go-account-lib/tokenkey"
fetch "github.com/TheThingsNetwork/go-account-lib/tokens"
fetch "github.com/TheThingsNetwork/go-account-lib/util"
fetch "github.com/TheThingsNetwork/go-utils/handlers/cli"
fetch "github.com/TheThingsNetwork/go-utils/log"
fetch "github.com/TheThingsNetwork/go-utils/log/apex"
fetch "github.com/TheThingsNetwork/go-utils/pseudorandom"
fetch "github.com/TheThingsNetwork/go-utils/queue"
fetch "github.com/TheThingsNetwork/go-utils/random"
fetch "github.com/TheThingsNetwork/go-utils/roots"
fetch "github.com/TheThingsNetwork/ttn/api"
fetch "github.com/TheThingsNetwork/ttn/api/discovery"
fetch "github.com/TheThingsNetwork/ttn/api/fields"
fetch "github.com/TheThingsNetwork/ttn/api/gateway"
fetch "github.com/TheThingsNetwork/ttn/api/health"
fetch "github.com/TheThingsNetwork/ttn/api/protocol"
fetch "github.com/TheThingsNetwork/ttn/api/protocol/lorawan"
fetch "github.com/TheThingsNetwork/ttn/api/router"
fetch "github.com/TheThingsNetwork/ttn/api/trace"
fetch "github.com/TheThingsNetwork/ttn/core/types"
fetch "github.com/TheThingsNetwork/ttn/utils/backoff"
fetch "github.com/TheThingsNetwork/ttn/utils/errors"
fetch "github.com/TheThingsNetwork/ttn/utils/random"
fetch "github.com/apex/log"
fetch "github.com/apex/log/handlers/level"
fetch "github.com/asaskevich/govalidator"
fetch "github.com/bluele/gcache"
fetch "github.com/brocaar/lorawan"
fetch "github.com/brocaar/lorawan/band"
fetch "github.com/dgrijalva/jwt-go"
fetch "github.com/fsnotify/fsnotify"
fetch "github.com/go-ole/go-ole"
fetch "github.com/go-ole/go-ole/oleutil"
fetch "github.com/gogo/protobuf/gogoproto"
fetch "github.com/gogo/protobuf/proto"
fetch "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
fetch "github.com/golang/mock/gomock"
fetch "github.com/golang/protobuf/jsonpb"
fetch "github.com/golang/protobuf/proto"
fetch "github.com/golang/protobuf/protoc-gen-go/descriptor"
fetch "github.com/golang/protobuf/ptypes/empty"
fetch "github.com/grpc-ecosystem/grpc-gateway/runtime"
fetch "github.com/grpc-ecosystem/grpc-gateway/runtime/internal"
fetch "github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api"
fetch "github.com/grpc-ecosystem/grpc-gateway/utilities"
fetch "github.com/hashicorp/hcl"
fetch "github.com/hashicorp/hcl/hcl/ast"
fetch "github.com/hashicorp/hcl/hcl/parser"
fetch "github.com/hashicorp/hcl/hcl/scanner"
fetch "github.com/hashicorp/hcl/hcl/strconv"
fetch "github.com/hashicorp/hcl/hcl/token"
fetch "github.com/hashicorp/hcl/json/parser"
fetch "github.com/hashicorp/hcl/json/scanner"
fetch "github.com/hashicorp/hcl/json/token"
fetch "github.com/howeyc/gopass"
fetch "github.com/jacobsa/crypto/cmac"
fetch "github.com/jacobsa/crypto/common"
fetch "github.com/magiconair/properties"
fetch "github.com/mitchellh/mapstructure"
fetch "github.com/pelletier/go-buffruneio"
fetch "github.com/pelletier/go-toml"
fetch "github.com/pkg/errors"
fetch "github.com/segmentio/go-prompt"
fetch "github.com/shirou/gopsutil"
fetch "github.com/shirou/gopsutil/cpu"
fetch "github.com/shirou/gopsutil/internal/common"
fetch "github.com/shirou/gopsutil/load"
fetch "github.com/shirou/gopsutil/mem"
fetch "github.com/spf13/afero"
fetch "github.com/spf13/afero/mem"
fetch "github.com/spf13/cast"
fetch "github.com/spf13/cobra"
fetch "github.com/spf13/jwalterweatherman"
fetch "github.com/spf13/pflag"
fetch "github.com/spf13/viper"
fetch "github.com/stianeikeland/go-rpio"
fetch "golang.org/x/crypto/ssh/terminal"
fetch "golang.org/x/net/context"
fetch "golang.org/x/net/http2"
fetch "golang.org/x/net/http2/hpack"
fetch "golang.org/x/net/idna"
fetch "golang.org/x/net/internal/timeseries"
fetch "golang.org/x/net/lex/httplex"
fetch "golang.org/x/net/trace"
fetch "golang.org/x/oauth2"
fetch "golang.org/x/oauth2/internal"
fetch "golang.org/x/sys/unix"
fetch "golang.org/x/text/transform"
fetch "golang.org/x/text/unicode/norm"
fetch "google.golang.org/grpc"
fetch "google.golang.org/grpc/codes"
fetch "google.golang.org/grpc/credentials"
fetch "google.golang.org/grpc/grpclog"
fetch "google.golang.org/grpc/health/grpc_health_v1"
fetch "google.golang.org/grpc/internal"
fetch "google.golang.org/grpc/metadata"
fetch "google.golang.org/grpc/naming"
fetch "google.golang.org/grpc/peer"
fetch "google.golang.org/grpc/stats"
fetch "google.golang.org/grpc/tap"
fetch "google.golang.org/grpc/transport"
fetch "gopkg.in/redis.v5"
fetch "gopkg.in/redis.v5/internal"
fetch "gopkg.in/redis.v5/internal/consistenthash"
fetch "gopkg.in/redis.v5/internal/hashtag"
fetch "gopkg.in/redis.v5/internal/pool"
fetch "gopkg.in/redis.v5/internal/proto"
fetch "gopkg.in/yaml.v2"
packet_forwarder  fetching HAL and dependencies
git clone -b master https://github.com/TheThingsNetwork/lora_gateway.git ./lora_gateway
Cloning into './lora_gateway'...
remote: Counting objects: 843, done.
remote: Total 843 (delta 0), reused 0 (delta 0), pack-reused 843
Receiving objects: 100% (843/843), 620.60 KiB | 1013.00 KiB/s, done.
Resolving deltas: 100% (505/505), done.
Checking connectivity... done.
root@nanopineo:~/work/src/github.com/TheThingsNetwork/packet_forwarder# make build
Generating default spi header file
Generated default spi header file
CFG_SPI=native PLATFORM=default make all -e -C lora_gateway/libloragw
make[1]: Entering directory '/root/work/src/github.com/TheThingsNetwork/packet_forwarder/lora_gateway/libloragw'
*** Checking libloragw library configuration ***
#File initialization
# Release version
Release version   : 4.0.0
SPI interface     : Linux native SPI driver
# Debug options
# end of file
*** Configuration seems ok ***
mkdir -p obj
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_hal.c -o obj/loragw_hal.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_gps.c -o obj/loragw_gps.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_reg.c -o obj/loragw_reg.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_spi.native.c -o obj/loragw_spi.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_aux.c -o obj/loragw_aux.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_radio.c -o obj/loragw_radio.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_fpga.c -o obj/loragw_fpga.o
gcc -c -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC src/loragw_lbt.c -o obj/loragw_lbt.o
ar rcs libloragw.a obj/loragw_hal.o obj/loragw_gps.o obj/loragw_reg.o obj/loragw_spi.o obj/loragw_aux.o obj/loragw_radio.o obj/loragw_fpga.o obj/loragw_lbt.o
gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC -L. tst/test_loragw_spi.c -o test_loragw_spi -lloragw -lrt -lm
gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC -L. tst/test_loragw_reg.c -o test_loragw_reg -lloragw -lrt -lm
gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC -L. tst/test_loragw_hal.c -o test_loragw_hal -lloragw -lrt -lm
gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC -L. tst/test_loragw_gps.c -o test_loragw_gps -lloragw -lrt -lm
gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -fPIC -L. tst/test_loragw_cal.c -o test_loragw_cal -lloragw -lrt -lm
make[1]: Leaving directory '/root/work/src/github.com/TheThingsNetwork/packet_forwarder/lora_gateway/libloragw'
packet_forwarder  building [CGO_ENABLED=1 CC=cc GOOS=linux GOARCH=arm GOARM= CGO_CFLAGS= CGO_LDFLAGS=-lrt CGO_ENABLED=1 go build -tags halv1 -a -ldflags -w -X main.version=v2.0.2-dev -X main.gitCommit=b64203b985c02a82ab4f3cb41d907be85fcb04e6 -X main.buildDate=2017-07-17T12:4835Z -X github.com/TheThingsNetwork/packet_forwarder/pktfwd.platform=default -X github.com/TheThingsNetwork/packet_forwarder/cmd.downlinksMargin= ./main.go ...]
runtime/internal/sys
runtime/internal/atomic
runtime
errors
internal/race
sync/atomic
math
unicode/utf8
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-utils/log
sync
unicode
encoding
sort
io
syscall
unicode/utf16
hash
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-account-lib/scope
hash/crc32
container/list
crypto/subtle
crypto/cipher
bytes
strconv
strings
bufio
path
math/rand
time
reflect
encoding/base64
crypto
crypto/aes
crypto/md5
crypto/sha512
crypto/hmac
internal/syscall/unix
crypto/rc4
crypto/sha1
crypto/sha256
encoding/pem
internal/nettrace
internal/singleflight
text/tabwriter
vendor/golang_org/x/net/lex/httplex
html
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/internal
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/naming
regexp/syntax
os
github.com/TheThingsNetwork/packet_forwarder/vendor/gopkg.in/redis.v5/internal/consistenthash
github.com/TheThingsNetwork/packet_forwarder/vendor/gopkg.in/redis.v5/internal/hashtag
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-utils/queue
# github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-utils/queue
vendor/github.com/TheThingsNetwork/go-utils/queue/jit.go:146: undefined: time.Until
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/sys/unix
path/filepath
regexp
io/ioutil
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/hashicorp/hcl/hcl/strconv
fmt
encoding/binary
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/pelletier/go-buffruneio
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/spf13/afero/mem
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/text/transform
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/utils/backoff
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/bluele/gcache
crypto/des
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/stianeikeland/go-rpio
os/signal
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/crypto/ssh/terminal
runtime/trace
context
encoding/json
encoding/hex
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-account-lib/cache
compress/flate
math/big
flag
os/exec
compress/gzip
runtime/cgo
vendor/golang_org/x/net/http2/hpack
log
mime
mime/quotedprintable
net/http/internal
net/url
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/pkg/errors
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/net/context
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/golang/protobuf/proto
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/net/http2/hpack
crypto/elliptic
encoding/asn1
crypto/rand
crypto/rsa
crypto/dsa
crypto/x509/pkix
net
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/net/idna
crypto/ecdsa
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/net/internal/timeseries
text/template/parse
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/codes
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/grpclog
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/metadata
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/tap
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/jacobsa/crypto/common
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/jacobsa/crypto/cmac
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/brocaar/lorawan
text/template
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/apex/log
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-utils/handlers/cli
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-utils/log/apex
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/brocaar/lorawan/band
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/apex/log/handlers/level
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/fsnotify/fsnotify
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/hashicorp/hcl/hcl/token
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/hashicorp/hcl/hcl/ast
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/hashicorp/hcl/hcl/scanner
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/hashicorp/hcl/json/token
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/hashicorp/hcl/hcl/parser
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/hashicorp/hcl/json/scanner
html/template
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/mitchellh/mapstructure
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/hashicorp/hcl/json/parser
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/hashicorp/hcl
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/pelletier/go-toml
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/text/unicode/norm
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/spf13/cast
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/spf13/jwalterweatherman
encoding/csv
github.com/TheThingsNetwork/packet_forwarder/vendor/gopkg.in/yaml.v2
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-utils/random
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-utils/pseudorandom
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/gogo/protobuf/proto
crypto/x509
net/textproto
mime/multipart
net/http/httptrace
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/net/lex/httplex
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/stats
github.com/TheThingsNetwork/packet_forwarder/vendor/gopkg.in/redis.v5/internal
crypto/tls
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/dgrijalva/jwt-go
github.com/TheThingsNetwork/packet_forwarder/vendor/gopkg.in/redis.v5/internal/proto
github.com/TheThingsNetwork/packet_forwarder/vendor/gopkg.in/redis.v5/internal/pool
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/asaskevich/govalidator
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/spf13/pflag
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-utils/roots
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/gogo/protobuf/protoc-gen-gogo/descriptor
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/golang/protobuf/ptypes/empty
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/api/trace
net/http
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/credentials
github.com/TheThingsNetwork/packet_forwarder/vendor/gopkg.in/redis.v5
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/peer
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/golang/mock/gomock
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/golang/protobuf/jsonpb
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/gogo/protobuf/gogoproto
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/shirou/gopsutil/internal/common
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/shirou/gopsutil/cpu
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/shirou/gopsutil/load
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/shirou/gopsutil/mem
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/howeyc/gopass
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/spf13/cobra
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/segmentio/go-prompt
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/net/trace
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-account-lib/tokenkey
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/net/http2
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/oauth2/internal
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/magiconair/properties
github.com/TheThingsNetwork/packet_forwarder/vendor/golang.org/x/oauth2
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/spf13/afero
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/spf13/viper
github.com/TheThingsNetwork/packet_forwarder/util
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/transport
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/utils/errors
github.com/TheThingsNetwork/packet_forwarder/vendor/google.golang.org/grpc/health/grpc_health_v1
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/core/types
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/api
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/api/health
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-account-lib/claims
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/utils/random
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/api/gateway
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-account-lib/tokens
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/api/protocol/lorawan
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/api/discovery
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-account-lib/auth
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-account-lib/util
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/go-account-lib/account
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/api/protocol
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/api/fields
github.com/TheThingsNetwork/packet_forwarder/vendor/github.com/TheThingsNetwork/ttn/api/router
github.com/TheThingsNetwork/packet_forwarder/wrapper
.make/go/build.make:36: recipe for target 'release/packet-forwarder-linux-arm-' failed
make: *** [release/packet-forwarder-linux-arm-] Error 2
root@nanopineo:~/work/src/github.com/TheThingsNetwork/packet_forwarder#
Epyon01P commented 7 years ago

Building from source requires at least Golang 1.8.x. Upgrading from 1.7.3 to 1.8.3 has resolved this issue. See #67 for a proposed change to the documentation.