Giter VIP home page Giter VIP logo

Comments (5)

fancycode avatar fancycode commented on May 29, 2024

Which version of Go is this? The CI is running successfully with Go 1.13 - 1.16.

Did you try deleting your vendor folder to reset any previous downloads?

from nextcloud-spreed-signaling.

R0Z-Z avatar R0Z-Z commented on May 29, 2024

Hi Joachim,
My go version is 1.13.14 linux/amd64, your README.md file notes that go >= 1.13 would be ok. Perhaps I should bump it up?

I am not adept at intrinsics of go build system. A noob may it be.. The vendor folder you mentioned is the one that is created in the cloned git source when "make build" is executed I guess? Actually, I had started from a clean clone. Anyway, I tried to remove it, I also tried "make clean". Same thing happens. I also tried to set locale LC_ALL=C; many times it helped me compiling things but unfortunately not this time.

from nextcloud-spreed-signaling.

fancycode avatar fancycode commented on May 29, 2024

Sorry, this was a typo - CI actually does test with Go 1.13:

from nextcloud-spreed-signaling.

R0Z-Z avatar R0Z-Z commented on May 29, 2024

I bumped up my go version to 1.15.5 and tried to build a clean clone. This is a CentOS 7 host by the way. My last go update is from epel repos, namely: golang 1.15.5-1.el7

GOPATH="/root/nextcloud-spreed-signaling.src/vendor:/root/nextcloud-spreed-signaling.src" /usr/bin/go get -u github.com/mailru/easyjson/... go: github.com/google/[email protected]: reading github.com/google/uuid/go.mod at revision v1.3.0: unknown revision v1.3.0 make: *** [vendor/bin/easyjson] Error 1

It feels like it cannot download its dependecies. I suspected my IP address being blocked for some unknown reason. I tried from my good old gentoo host at home, having go version 1.16.4, it worked.

I am then leaving this as a note for those who bump their heads to similar problems.

Thank you for your time.
All the best.

from nextcloud-spreed-signaling.

R0Z-Z avatar R0Z-Z commented on May 29, 2024

EDIT

I was too quick to decide this was because of my IP being blocked. I was misled because of some temporary complication. The real cause is CentOS 7's git version happens to be too old. I downloaded and compiled git from source, and temporarily changed my $PATH to '/root/bin:$PATH' to make system first find my local git binary. And this time signaling server got compiled without hassle.

Problematic CentOS 7 git package is: git.x86_64 / 1.8.3.1-23.el7_8
Also you may want to checkout this thread about Centos 7 golang/git problem.

from nextcloud-spreed-signaling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.