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

-buildmode=c-archive not supported on openbsd/amd64 #183

Open
sarzil-hossain opened this issue Jan 12, 2024 · 1 comment
Open

-buildmode=c-archive not supported on openbsd/amd64 #183

sarzil-hossain opened this issue Jan 12, 2024 · 1 comment
Labels
help wanted Someone else is free to do this

Comments

@sarzil-hossain
Copy link

OS: OpenBSD 7.4
Issue: 16% of the installation was complete until I faced the following error and the installation fails

-buildmode=c-archive not supported on openbsd/amd64
*** Error 1 in . (src/go/CMakeFiles/purple-go-whatsapp.dir/build.make:89 'src/go/purple-go-whatsapp.a': cd /home/dev/purple-gowhatsapp/src/g...)
*** Error 2 in . (CMakeFiles/Makefile2:197 'src/go/CMakeFiles/purple-go-whatsapp.dir/all': /usr/bin/make -s -f src/go/CMakeFiles/purple-go-w...)
*** Error 2 in /home/dev/purple-gowhatsapp/build (Makefile:156 'all': /usr/bin/make -s -f CMakeFiles/Makefile2 all)
@hoehermann
Copy link
Owner

hoehermann commented Jan 13, 2024

Thank you for the report.

Looking at golang/go#33896 and golang/go@88129f0, the buildmode is supported for freebsd, but not openbsd. I do not think there is anything I can do about it.

Maybe one day I research how to build this project the "right" way (with a proper package and the go compiler picking up the C sources via CGO). That might help with this issue and others like #119.

In case anyone wants to look into this, I am open for suggestions.

@hoehermann hoehermann added the help wanted Someone else is free to do this label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Someone else is free to do this
Projects
None yet
Development

No branches or pull requests

2 participants