Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not be compiled on Ubuntu 22.04 #15

Open
khurshid-alam opened this issue Jun 23, 2023 · 1 comment
Open

Can not be compiled on Ubuntu 22.04 #15

khurshid-alam opened this issue Jun 23, 2023 · 1 comment

Comments

@khurshid-alam
Copy link

khurshid-alam commented Jun 23, 2023

Running ./gorsync_build.sh --buildtype Release gives me this error on Ubuntu 22.04.

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 ?

@d2r2
Copy link
Owner

d2r2 commented Jul 6, 2023

Hi @khurshid-alam. Thank you for your interest to the project! Give me one week, and I will get back with reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants