Giter VIP home page Giter VIP logo

Comments (3)

olabiniV2 avatar olabiniV2 commented on June 14, 2024

Hello,

I'm not sure how go build worked out of the box. There are several things that will definitely not work correctly - the Makefile does a bunch of things that are necessary - including generating embedded files, etc.

What happens if you execute just the last line - the go build command?

PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig:$PKG_CONFIG_PATH CGO_CFLAGS_ALLOW="-Wno-deprecated-declarations" CGO_CFLAGS="-Wno-deprecated-declarations"  go build -ldflags "-X 'main.BuildTimestamp=2023-06-17 21:37:31' -X 'main.BuildCommit=959ace9e1c6836a08dbd2166debef21da8c08fdc' -X 'main.BuildShortCommit=959ace9e' -X 'main.BuildTag='" -tags "glib_2_76","gtk_3_24","pango_1_50","cairo_1_17" -o bin/coyim

And related, what happens if you remove the build tags? My most likely explanation is that it wasn't actually hanging, but building the gotk3 package. Since this is implemented using cgo, it's extremely slow to build - but go will cache the results, so it's likely that your go build simply used the cached versions, and that's why it worked.

It would be great if you could do the procedure again, but adding -v to the go build command in the Makefile to be able to see what is going on.

from coyim.

PolarianDev avatar PolarianDev commented on June 14, 2024

Sure I will try it again with -v

I am aware of the fact that go build does not generate everything, but it still produces a semi-working coyim without any of the metadata or tools.

I am aware of the astronomically large build time for gotk3 because go build had the same issue, but let me try again :)

from coyim.

PolarianDev avatar PolarianDev commented on June 14, 2024

I forgot to mention, as per packaging guidelines the latest version of coyim I can build is the latest tag which is:

https://github.com/coyim/coyim/releases/tag/v0.4.1

The line you gave me does not exist in Makefile, so I am not sure where I should append to verbose flag.

Thanks,
Polarian

from coyim.

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.