bolkedebruin / rdpgw

Remote Desktop Gateway in Go for deploying on Linux/BSD/Kubernetes
Apache License 2.0
693 stars 117 forks source link

Build fails with "Error 1" #112

Open FrankyBoy opened 1 month ago

FrankyBoy commented 1 month ago

Output is as follows:

# make build
go mod tidy -compat=1.22
go: downloading github.com/bolkedebruin/gokrb5/v8 v8.5.0
go: downloading github.com/coreos/go-oidc/v3 v3.9.0
go: downloading github.com/gorilla/mux v1.8.1
go: downloading github.com/prometheus/client_golang v1.19.0
go: downloading github.com/thought-machine/go-flags v1.6.3
go: downloading golang.org/x/crypto v0.21.0
go: downloading golang.org/x/oauth2 v0.18.0
go: downloading github.com/knadh/koanf/parsers/yaml v0.1.0
go: downloading github.com/knadh/koanf/providers/confmap v0.1.0
go: downloading github.com/knadh/koanf/providers/env v0.1.0
go: downloading github.com/knadh/koanf/providers/file v0.1.0
go: downloading github.com/knadh/koanf/v2 v2.1.0
go: downloading github.com/msteinert/pam/v2 v2.0.0
go: downloading google.golang.org/grpc v1.62.1
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/jcmturner/gofork v1.7.6
go: downloading github.com/gorilla/websocket v1.5.1
go: downloading github.com/fatih/structs v1.1.0
go: downloading github.com/patrickmn/go-cache v2.1.0+incompatible
go: downloading github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1
go: downloading github.com/stretchr/testify v1.9.0
go: downloading github.com/go-jose/go-jose/v3 v3.0.3
go: downloading google.golang.org/protobuf v1.33.0
go: downloading github.com/gorilla/sessions v1.2.2
go: downloading github.com/jcmturner/goidentity/v6 v6.0.1
go: downloading github.com/prometheus/client_model v0.6.0
go: downloading github.com/prometheus/common v0.50.0
go: downloading golang.org/x/sys v0.18.0
go: downloading golang.org/x/net v0.22.0
go: downloading github.com/google/go-cmp v0.6.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/knadh/koanf/maps v0.1.1
go: downloading github.com/fsnotify/fsnotify v1.7.0
go: downloading golang.org/x/term v0.18.0
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading github.com/jcmturner/dnsutils/v2 v2.0.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/prometheus/procfs v0.13.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240314234333-6e1732d8331c
go: downloading github.com/hashicorp/go-uuid v1.0.3
go: downloading github.com/gorilla/securecookie v1.1.2
go: downloading google.golang.org/appengine v1.6.8
go: downloading golang.org/x/text v0.14.0
go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/google/gofuzz v1.2.0
go: downloading github.com/jcmturner/aescts/v2 v2.0.0
go: downloading github.com/jcmturner/rpc/v2 v2.0.3
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/rogpeppe/go-internal v1.10.0
go: downloading github.com/kr/text v0.2.0
go build  -trimpath -tags '' -ldflags '' -o '/opt/rdpgw-2.0.2/bin'/rdpgw ./cmd/rdpgw
go build  -trimpath -tags '' -ldflags '' -o '/opt/rdpgw-2.0.2/bin'/rdpgw-auth ./cmd/auth
github.com/msteinert/pam/v2: build constraints exclude all Go files in /root/go/pkg/mod/github.com/msteinert/pam/v2@v2.0.0
make: *** [Makefile:39: /opt/rdpgw-2.0.2/bin/rdpgw] Error 1