evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
10.74k stars 498 forks source link

Error while finding module specification for 'grpc_tools.protoc' (ModuleNotFoundError: No module named 'grpc_tools' #212

Closed luzpaz closed 3 years ago

luzpaz commented 5 years ago

Running:

DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=18.0.0-rc
DISTRIB_CODENAME=Illyria
DISTRIB_DESCRIPTION="Manjaro Linux"
Python 3.7.0

Trying to install the latest git HEAD via the Arch AUR: https://aur.archlinux.org/packages/opensnitch-git

Building opensnitch-git...
==> Making package: opensnitch-git 20181008.359_c10e7a3-2 (Thu 11 Oct 2018 05:14:27 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning opensnitch git repo...
Cloning into bare repository '/var/tmp/pamac-build/opensnitch-git/opensnitch'...
  -> Found nosudo.patch
==> Validating source files with md5sums...
    opensnitch ... Skipped
    nosudo.patch ... Passed
==> Extracting sources...
  -> Creating working copy of opensnitch git repo...
Cloning into 'opensnitch'...
done.
==> Starting pkgver()...
==> Starting build()...
patching file daemon/Makefile
patching file daemon/opensnitchd.service
patching file ui/Makefile
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/var/tmp/pamac-build/opensnitch-git/src/.go/src/opensnitch/proto'
python3 -m grpc_tools.protoc -I. --python_out=../ui/opensnitch/ --grpc_python_out=../ui/opensnitch/ ui.proto
make[1]: Entering directory '/var/tmp/pamac-build/opensnitch-git/src/.go/src/opensnitch/daemon'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/var/tmp/pamac-build/opensnitch-git/src/.go/src/opensnitch/ui'
nope
/usr/bin/python3: Error while finding module specification for 'grpc_tools.protoc' (ModuleNotFoundError: No module named 'grpc_tools')
make[1]: *** [Makefile:7: ../ui/ui_pb2.py] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build/opensnitch-git/src/.go/src/opensnitch/proto'
make: *** [Makefile:8: protocol] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/pamac-build/opensnitch-git/src/.go/src/opensnitch/ui'
make[1]: Leaving directory '/var/tmp/pamac-build/opensnitch-git/src/.go/src/opensnitch/daemon'
==> ERROR: A failure occurred in build().
    Aborting...
ansell commented 5 years ago

This seems like an issue for the arch linux maintainers rather than an issue here.

gustavo-iniguez-goya commented 3 years ago

Latest AUR package works fine,