Package Details: opensnitch-git 1.6.3.r152.1984fb99-1

Git Clone URL: https://aur.archlinux.org/opensnitch-git.git (read-only, click to copy)
Package Base: opensnitch-git
Description: A GNU/Linux port of the Little Snitch application firewall
Upstream URL: https://github.com/evilsocket/opensnitch
Licenses: GPL3
Conflicts: opensnitch
Provides: opensnitch
Submitter: None
Maintainer: lsf
Last Packager: lsf
Votes: 43
Popularity: 0.49
First Submitted: 2017-05-03 14:15 (UTC)
Last Updated: 2024-07-25 10:25 (UTC)

Required by (3)

Sources (5)

Latest Comments

« First ‹ Previous 1 .. 11 12 13 14 15 16 17 18 Next › Last »

asm0dey commented on 2018-05-02 19:02 (UTC) (edited on 2018-05-02 19:03 (UTC) by asm0dey)

Unable to build opensnitch with error:

==> Starting build()...
python: can't open file 'setup.py': [Errno 2] No such file or directory

gapry commented on 2018-04-27 23:47 (UTC) (edited on 2018-04-27 23:51 (UTC) by gapry)

I try to install opensnitch in Manjaro and it occurs the error: [Errno 2] No such file or directory. The details as follows.

Environment

  1. 4.14.34-1-MANJARO x86_64 GNU/Linux
  2. go version: 1.10.1

Setup

$ sudo pacman -S protobuf libpcap libnetfilter_queue

$ yaourt --m-arg "--skippgpcheck" -S opensnitch-git

Result

==> WARNING: Skipping verification of source file PGP signatures.

==> Validating source files with sha256sums...

opensnitch-git ... Skipped

==> Extracting sources...

-> Creating working copy of opensnitch git repo...

Cloning into 'opensnitch-git'...

done.

==> Starting pkgver()...

==> Updated version: opensnitch-git r340.f71d8ce-1

==> Starting build()...

python: can't open file 'setup.py': [Errno 2] No such file or directory

==> ERROR: A failure occurred in build().

Aborting...

==> ERROR: Makepkg was unable to build opensnitch-git.

==> Restart building opensnitch-git ? [y/N]

==> ---------------------------------------

==>

mozo commented on 2018-04-17 22:37 (UTC)

@daneel now python-grpcio-toolsinstalls fine but your PKGBUILD gives the following error: /usr/lib/go/pkg/tool/linux_amd64/fix ../go/src/github.com/golang/protobuf/protoc-gen-go/descriptor

/descriptor.pb.go

/usr/lib/go/pkg/tool/linux_amd64/fix ../go/src/github.com/golang/protobuf/protoc-gen-go/plugin/plugin.pb.go

/usr/lib/go/pkg/tool/linux_amd64/fix ../go/src/github.com/golang/protobuf/protoc-gen-go/grpc/grpc.go

WORK=/tmp/go-build681793650

rm -r $WORK/b001/

Fetching dependencies for daemon...

==> Starting pkgver()...

fatal: not a git repository (or any parent up to mount point /)

Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

==> ERROR: pkgver is not allowed to be empty.

==> ERROR: pkgver() generated an invalid version

@WhyNotHugo what packages? I already have installed python-grpcio but daneel's package requires python-grpcio-tools which seeks for python2-grpcio-tools. Anyway it instals with removing python2-grpcio-tools from python-grpcio-tools's PKGBUILD.

whynothugo commented on 2018-04-17 19:39 (UTC)

You don't have to edit anything. The PKGBUILD builds both packages -- just install one of them and not the other.

daneel commented on 2018-04-17 18:51 (UTC)

Yep, AUR package python-grpcio-tools tries to install python-grpcio-tools AND python2-grpcio-tools. You have to edit PKGBUILD to disable install of python2-grpcio-tools (or edit PKGBUILD of python-grpcio to enable install of python2-grpcio).

mozo commented on 2018-04-16 20:34 (UTC) (edited on 2018-04-16 20:35 (UTC) by mozo)

I have python-grpcio but it isn't enough. I'm trying your PKGBUILD and it gives me the following error: [mozo@mozo Downloads]$ makepkg ==> Making package: opensnitch-git master.r0.g494cf1a-1 (Mon Apr 16 23:22:44 EEST 2018)

==> Checking runtime dependencies...

==> Missing dependencies:

-> python-grpcio-tools

==> Checking buildtime dependencies...

==> ERROR: Could not resolve all dependencies.

==> ERROR: An unknown error has occurred. Exiting...

It says that I'm missing python-grpcio-tools dependency. When I try to install it, it appears that it needs python2-grpcio:

[sudo] password for mozo: loading packages...

resolving dependencies...

warning: cannot resolve "python2-grpcio", a dependency of "python2-grpcio-tools"

:: The following package cannot be upgraded due to unresolvable dependencies: python2-grpcio-tools

:: Do you want to skip the above package for this upgrade? [y/N]

error: failed to prepare transaction (could not satisfy dependencies)

:: python2-grpcio-tools: requires python2-grpcio

==> WARNING: Your packages are saved in /tmp/yaourt-tmp-mozo

daneel commented on 2018-04-16 17:43 (UTC)

You need https://aur.archlinux.org/packages/python-grpcio/, not python2-grpcio.

mozo commented on 2018-04-16 09:18 (UTC) (edited on 2018-04-16 20:24 (UTC) by mozo)

It cannot be built because python2-grpcio is missing from AUR :(

daneel commented on 2018-04-16 05:26 (UTC) (edited on 2018-04-16 05:26 (UTC) by daneel)

I've done a (crappy) PKGBUILD. Feel free to reuse it if you want.

PKGBUILD: https://framabin.org/?7f715bdf1ff7c0de#bNx5HFhmsIUOMKLh18QkaEHF+FntjFNkQ27fopXJINg=

opensnitch.install: https://framabin.org/?1f32ef34ef64e4c4#MFOMj90JXQRT+M1J1CZCD4xDwFOTpgq9xNER3eMOEE0=