[Privoxy-devel] new windows build system

Lee ler762 at gmail.com
Wed Apr 27 18:02:28 UTC 2016


Fabian,

I've been working on getting Privoxy to build under the current
cygwin, which requires a 'cross-compiler toolchain'.  The autoconf
stuff in privoxy is so old that it doesn't support --host & --build so
how do you feel about replacing config.guess & config.sub with
current/later versions?  What I've been using is

 http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;f=build-aux/config.guess;hb=refs/heads/master
 http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob_plain;f=build-aux/config.sub;hb=refs/heads/master

and replacing AC_CANONICAL_HOST with AC_CANONICAL_SYSTEM in configure.in

That much gets me to where I can do a cross-compiler toolchain build
(with a few source code changes) as well as continue to build privoxy
under cygwin 1.5 / gcc v3 -mno-cygwin


Any suggestions on privoxy-regression-test.pl parameters for testing
this thing?  I'm a bit surprised it even works at all, but it hasn't
crashed yet & old vs. new test results for
privoxy-regression-test.pl --max-level 200  --privoxy-address 127.0.0.1:8118

/source/privoxy
$ ./run_regression_test
Tue Apr 26 23:03:27 EDT 2016
2016-04-26 23:03:28: Asking Privoxy for the number of action files available ...
2016-04-26 23:03:28: Gathering regression tests from 9 action file(s)
delivered by Privoxy (Unknown version!).
2016-04-26 23:03:29: Executing regression tests ...
2016-04-26 23:04:56: Executed 822 regression tests. Skipped 83. 822
successes, 0 failures.
Tue Apr 26 23:04:56 EDT 2016

/source/privoxy
$ ./run_regression_test
Wed Apr 27 00:22:46 EDT 2016
2016-04-27 00:22:46: Asking Privoxy for the number of action files available ...
2016-04-27 00:22:46: Gathering regression tests from 9 action file(s)
delivered by Privoxy (Unknown version!).
2016-04-27 00:22:48: Executing regression tests ...
2016-04-27 00:23:47: Ooops. Got: 'REMOVAL' while expecting: SOME CHANGE
2016-04-27 00:23:47: Failure for test 619. Header 'If-Modified-Since:
Thu, 1 Jan 1970 00:00:00 GMT' and tag 'hide-if-modified-since{-60}'
2016-04-27 00:23:47: Ooops. Got: 'REMOVAL' while expecting: SOME CHANGE
2016-04-27 00:23:47: Failure for test 620. Header 'If-Modified-Since:
Thu, 01-Jan-70 00:00:00 GMT' and tag 'hide-if-modified-since{-60}'
2016-04-27 00:23:47: Ooops. Got: 'REMOVAL' while expecting: SOME CHANGE
2016-04-27 00:23:47: Failure for test 621. Header 'If-Modified-Since:
Thursday, 01-Jan-1970 00:00:00 GMT' and tag
'hide-if-modified-since{-60}'
2016-04-27 00:23:47: Ooops. Got: 'REMOVAL' while expecting: SOME CHANGE
2016-04-27 00:23:47: Failure for test 622. Header 'If-Modified-Since:
Thu, 01-Jan-1970 00:00:00 GMT' and tag 'hide-if-modified-since{-60}'
2016-04-27 00:23:48: Ooops. Got: 'REMOVAL' while expecting: SOME CHANGE
2016-04-27 00:23:48: Failure for test 623. Header 'If-Modified-Since:
Thursday Jan 01 00:00:00 1970 GMT' and tag
'hide-if-modified-since{-60}'
2016-04-27 00:23:48: Ooops. Got: 'REMOVAL' while expecting: SOME CHANGE
2016-04-27 00:23:48: Failure for test 629. Header 'If-Modified-Since:
Mon, 1 Jan 2525 00:00:00 GMT' and tag 'hide-if-modified-since{-60}'
2016-04-27 00:23:48: Ooops. Got: 'REMOVAL' while expecting: SOME CHANGE
2016-04-27 00:23:48: Failure for test 631. Header 'If-Modified-Since:
Monday, 01-Jan-2525 00:00:00 GMT' and tag
'hide-if-modified-since{-60}'
2016-04-27 00:23:48: Ooops. Got: 'REMOVAL' while expecting: SOME CHANGE
2016-04-27 00:23:48: Failure for test 632. Header 'If-Modified-Since:
Mon, 01-Jan-2525 00:00:00 GMT' and tag 'hide-if-modified-since{-60}'
2016-04-27 00:23:48: Ooops. Got: 'REMOVAL' while expecting: SOME CHANGE
2016-04-27 00:23:48: Failure for test 633. Header 'If-Modified-Since:
Monday Jan 01 00:00:00 2525 GMT' and tag 'hide-if-modified-since{-60}'
2016-04-27 00:24:11: Executed 832 regression tests. Skipped 73. 823
successes, 9 failures.
Wed Apr 27 00:24:11 EDT 2016

so it's close, but not quite there yet :)

Lee


More information about the Privoxy-devel mailing list