ooni / probe

OONI Probe network measurement tool for detecting internet censorship
https://ooni.org/install
BSD 3-Clause "New" or "Revised" License
749 stars 142 forks source link

libtor: make building on Linux more robust #2651

Closed bassosimone closed 4 months ago

bassosimone commented 5 months ago

Based on a conversation with @ainghazal during the review of https://github.com/ooni/probe-cli/pull/1445.

bassosimone commented 5 months ago
% cat LOGS.txt|grep cap_init
checking for cap_init in -lcap... no
checking for cap_init in -lcap... no
checking for cap_init in -lcap... no
checking for cap_init in -lcap... no

% cat LOGS.txt|grep seccomp
checking seccomp.h usability... no
checking seccomp.h presence... no
checking for seccomp.h... no
checking for library containing seccomp_init... no
  libseccomp (--disable-seccomp):                                yes
checking seccomp.h usability... no
checking seccomp.h presence... no
checking for seccomp.h... no
checking for library containing seccomp_init... no
  libseccomp (--disable-seccomp):                                yes
checking seccomp.h usability... no
checking seccomp.h presence... no
checking for seccomp.h... no
checking for library containing seccomp_init... no
  libseccomp (--disable-seccomp):                                yes
checking seccomp.h usability... no
checking seccomp.h presence... no
checking for seccomp.h... no
checking for library containing seccomp_init... no
  libseccomp (--disable-seccomp):                                yes

This is the Android build.

bassosimone commented 5 months ago
% cat LOGS.txt|grep cap_init
checking for cap_init in -lcap... no
checking for cap_init in -lcap... no
checking for cap_init in -lcap... no

% cat LOG.txt|grep seccomp
checking seccomp.h usability... no
checking seccomp.h presence... no
checking for seccomp.h... no
checking for library containing seccomp_init... no
  libseccomp (--disable-seccomp):                                yes
checking seccomp.h usability... no
checking seccomp.h presence... no
checking for seccomp.h... no
checking for library containing seccomp_init... no
  libseccomp (--disable-seccomp):                                yes
checking seccomp.h usability... no
checking seccomp.h presence... no
checking for seccomp.h... no
checking for library containing seccomp_init... no
  libseccomp (--disable-seccomp):                                yes

and this is iOS.

ainghazal commented 4 months ago

fwiw, I can confirm the tests mentioned in https://github.com/ooni/probe-cli/pull/1445 can run successfully on an arch system now.