-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
Missing packages from $GOPATH while trying to build deb for PureOS #494
Comments
Hi @jeremiah ! As we depend now on iovisor/gobpf golang package the build process has changed a little bit. There're a few steps that you have to do before creating the package:
Don't forget that you need some dependencies before packaging it https://github.com/evilsocket/opensnitch/wiki/Compilation I don't know if this will affect you, but until now I've been building the packages on Debian Sid. However since I don't know what version of golang 1.15/1.16/1.17 , the binaries now depend on Using golang 1.15.9-6 from Debian Bullseye generates binaries compatible with libc6 >= 2.14. |
Note that the opensnitch.o is precompiled, I've attached the modules compiled for 4 architecures with these sums:
If you want to compile them see here to know how: |
|
In this step above ^^ you're referring to the .o files you list below, right? Is there a way to compile the .o files on my machine? This is one of the requirements for having packages in our repos - they need to build locally as well as reproducibly via reprotest.
Is it possible to include this stage in the debian/rules file?
Thanks, this is useful. |
added! |
Oops, I think I didn't answer to this: yes, here's how: https://github.com/evilsocket/opensnitch/tree/master/ebpf_prog |
@jeremiah let me know if I can help you with anything else. Also if you finally package it for PureOS drop a comment here if you don't mind, I'd love to know about it! and help out with any problem that may appear. |
Hi @gustavo-iniguez-goya! Thanks very much for your help. Purism is very interested in having OpenSnitch in PureOS and I'll continue to work on this, but right now we're blocked on the libc issue as well as not having the Go libraries already in Debian. I've communicated this to folks internally, who ask me regularly about OpenSnitch. FWIW Purism will blog about OpenSnitch and talk about how great it is if we can package it. I'll come back to you with my progress next week, still a bit overloaded here. |
Hello! My name is Jeremiah and I'm the Director of PureOS. We're packaging opensnitch for PureOS and have run into some small issues described below.
Issue: missing dependencies prevents build
Reproduce: run
dpkg-buildpackage
I expected the opensnitch package to build.
Screenshots
If applicable, add screenshots to help explain your problem.
Using PureOS Byzantium
The text was updated successfully, but these errors were encountered: