Coder Social home page Coder Social logo

Doesn't build on weekly about goirc HOT 5 CLOSED

peterbourgon avatar peterbourgon commented on August 17, 2024
Doesn't build on weekly

from goirc.

Comments (5)

fluffle avatar fluffle commented on August 17, 2024

Urg.

I've not had time to keep up with the weekly changes, sorry. I was hoping Go 1 would be released sometime soon, so I could just upgrade to that all in one go ;-)

Are you using the master or the release branch? The former is definitely a little more complicated -- you'll need the logging and event libraries that I split out into github.com/fluffle/goevent and github./com/fluffle/golog respectively. Last time I really looked at this stuff, goinstall could follow these dependencies. What's changed with the new 'go' tool?

I might be able to find some time this weekend to sort it out; I'm hoping it'll just be a case of running gofix over the code and creating a new 'weekly' branch.

Sorry for the breakage.
--alex

from goirc.

peterbourgon avatar peterbourgon commented on August 17, 2024

I might be able to find some time this weekend to sort it out; I'm hoping it'll just be a case of running gofix over the code and creating a new 'weekly' branch.

I wish :( The (from my POV) complex interdependencies between
event/logging/state/client/etc. means 'gofix' needs to be applied to a
lot of different things. And I wasn't able to figure out the
dependency graph to do it.

No big worries; I'm using a workaround for the time being (ie. another
IRC library :) And for the record I really recommend the "gb" tool
over go install or Makefiles or anything like that.

from goirc.

fluffle avatar fluffle commented on August 17, 2024

I used gb to build things locally, but of course goinstall works slightly differently and is^Wwas the "standard" way to install third-party libraries for Go. I appreciate the dependencies aren't particularly simple, but it didn't make sense to bundle more generic components like the event registry and logging along with the client.

Let me see what I can do...

from goirc.

fluffle avatar fluffle commented on August 17, 2024

Run into some problems with function inlining in 6g :-(

http://code.google.com/p/go/issues/detail?id=2877

And some problems with gomock -- reflect.DeepEqual appears to be barfing when comparing functions now.

panic: runtime error: comparing uncomparable type func(...interface {})

We'll see how things go. The "weekly" branch for goevent, golog, and goirc build with the current weekly, but I can't test the latter because of the reflect problems. I should have gone to bed hours ago. Nothing's ever simple ;-)

from goirc.

fluffle avatar fluffle commented on August 17, 2024

Turns out functions are no longer comparable. Also, the changes to the time module exposed some embarassing fail in my rateLimit test. I believe this should compile with the current weekly, modulo the problem in the link in my previous post. I explain a workaround in that bug -- nothing like a bit of hand-editing .a files :-)

--alex

from goirc.

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.