tor2web / Tor2web

Tor2web is an HTTP proxy software that enables access to Tor Hidden Services by mean of common web browsers
https://www.tor2web.org
GNU Affero General Public License v3.0
705 stars 176 forks source link

fix test.c error #327

Open adrelanos opened 7 years ago

adrelanos commented 7 years ago

From https://github.com/globaleaks/Tor2web/wiki/Installation-Guide

Apply manually a small patch to pass make check-TESTS of debian built (TODO: fix test.c error):

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44295373-fix-test-c-error?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github).
filternetz commented 7 years ago

fwiw, in debian/rules I tried this without any positive result:

override_dh_auto_configure:
        ! [ -e debian/micro-revision.i ] || cp debian/micro-revision.i src/or/micro-revision.i
        dh_auto_configure -- \
                $(confflags) \
                --prefix=/usr \
                --mandir=\$${prefix}/share/man \
                --infodir=\$${prefix}/share/info \
                --localstatedir=/var \
                --sysconfdir=/etc \
                --disable-silent-rules \
                --enable-gcc-warnings-advisory \
                --enable-tor2web-mode \
                --disable-unittests <--
infosquatter commented 7 years ago

Hey! Any fix for that, even if manual? cc @evilaliv3

infosquatter commented 7 years ago

SOLVED:

Just add this to debian/rules:

override_dh_auto_test:
echo "Skip dh_auto_test"