Open khurshid-alam opened 1 year ago
Running ./gorsync_build.sh --buildtype Release gives me this error on Ubuntu 22.04.
./gorsync_build.sh --buildtype Release
RELEASE type build in progress... go: downloading github.com/d2r2/go-rsync v0.4.1 go: downloading github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 go: downloading github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 go: downloading github.com/d2r2/go-logger v0.0.0-20210606094344-60e9d1233e22 go: downloading github.com/d2r2/gotk3 v0.0.0-20211023153135-0ceb344f1671 go: downloading github.com/d2r2/go-shell v0.0.0-20211022052110-f591c27e3e2e go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/BurntSushi/toml v1.3.2 go: downloading github.com/nicksnyder/go-i18n/v2 v2.2.1 go: downloading golang.org/x/text v0.10.0 package command-line-arguments imports github.com/d2r2/go-rsync/ui/gtkui imports github.com/d2r2/go-rsync/data: build constraints exclude all Go files in /home/xrdpuser/go/pkg/mod/github.com/d2r2/go-rsync@v0.4.1/data gorsync_build.sh: error encountered: aborted
And go build . produce this,
go: downloading github.com/d2r2/go-logger v0.0.0-20210606094344-60e9d1233e22 go: downloading github.com/d2r2/go-rsync v0.4.1 go: downloading github.com/d2r2/gotk3 v0.0.0-20211023153135-0ceb344f1671 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/BurntSushi/toml v1.3.2 go: downloading github.com/nicksnyder/go-i18n/v2 v2.2.1 go: downloading golang.org/x/text v0.10.0 go: downloading github.com/d2r2/go-shell v0.0.0-20211022052110-f591c27e3e2e # github.com/d2r2/go-rsync/core ../../../../go/pkg/mod/github.com/d2r2/go-rsync@v0.4.1/core/utils.go:50:18: error: not enough arguments 50 | ec := app.Run(nil, nil
$ go env GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/home/xrdpuser/.cache/go-build" GOENV="/home/xrdpuser/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/xrdpuser/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/xrdpuser/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/gcc/x86_64-linux-gnu/11" GOVCS="" GOVERSION="go1.16.5 gccgo (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0" GCCGO="/usr/bin/x86_64-linux-gnu-gccgo-11" AR="ar" CC="x86_64-linux-gnu-gcc-11" CXX="x86_64-linux-gnu-g++-11" CGO_ENABLED="1" GOMOD="/home/xrdpuser/Documents/Desktop-Projects/Foss/go-rsync/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build139041115=/tmp/go-build -gno-record-gcc-switches -funwind-tables"
How to solve this ?
Hi @khurshid-alam. Thank you for your interest to the project! Give me one week, and I will get back with reply.
Hi there, Ran into the same place when trying to compile for debian aarch64
Running
./gorsync_build.sh --buildtype Release
gives me this error on Ubuntu 22.04.And go build . produce this,
How to solve this ?