Opened 5 years ago

Closed 3 years ago

#12904 closed enhancement (user disappeared)

ooniprobe doesn't work on Gentoo

Reported by: vbar Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Trying to run ooniprobe from git:
$ ./setup-dependencies.sh -u
It appears that you are using an unsupported OS - please tell us
by filing a bug: https://trac.torproject.org/projects/tor/newticket

I suppose it's documented behavior (from https://pypi.python.org/pypi/ooniprobe: "We believe that ooniprobe runs reasonably well on Debian GNU/Linux wheezy as well as versions of Ubuntu"...), but since it says to fill a bug report...

Child Tickets

Attachments (1)

install.log (19.5 KB) - added by vbar 5 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 5 years ago by hellais

Status: newaccepted

Thanks for reporting this!

What if you try to install ooniprobe from pip?

pip install ooniprobe

Before running that you want the equivalent of these debian packages:

tor build-essential libdumbnet-dev python-dumbnet python-pypcap libpcap-dev python-dev python-pip libgeoip-dev libffi-dev

If you succeed in doing that could you give me the commands you ran on gentoo so that we can add it to the setup instructions?

Thanks!

Changed 5 years ago by vbar

Attachment: install.log added

comment:2 in reply to:  1 Changed 5 years ago by vbar

Replying to hellais:

What if you try to install ooniprobe from pip?

After running

emerge net-misc/tor
emerge dev-libs/libdnet
emerge net-libs/libpcap
emerge dev-python/pypcap
emerge dev-python/pip
emerge dev-libs/geoip
emerge dev-python/geoip-python
emerge dev-libs/libffi
emerge dev-python/six
emerge net-analyzer/tcpdump

,

pip install ooniprobe

succeeds and

ooniprobe -i /usr/share/ooni/decks/complete.deck

appears to be working (as far as I could tell), but I'm not sure that's enough for general setup instructions... It isn't just that it might stop working for different versions of these packages; Gentoo has a way of selecting package features ("USE flags") for each installation, and I really don't know which of the flags I have are necessary. Also, pypcap is currently masked (Gentoo-speak for packages either insufficiently tested or demonstrably too buggy to be really supported) and had to be enabled explicitly - why, I have no idea...

Last edited 5 years ago by vbar (previous) (diff)

comment:3 Changed 3 years ago by anadahz

Resolution: user disappeared
Severity: Normal
Status: acceptedclosed
Note: See TracTickets for help on using tickets.