From: Torsten Bögershausen Date: Wed, 16 Nov 2016 20:01:34 GMT Subject: Re: [PATCH v1 2/2] travis-ci: disable GIT_TEST_HTTPD for macOS Message-ID: In-Reply-To: <20161116143925.GA32631@book.hvoigt.net> On 16.11.16 15:39, Heiko Voigt wrote: > On Tue, Nov 15, 2016 at 10:31:59AM -0500, Jeff King wrote: >> On Tue, Nov 15, 2016 at 01:07:18PM +0100, Heiko Voigt wrote: >> >>> On Fri, Nov 11, 2016 at 09:22:51AM +0100, Lars Schneider wrote: >>>> To all macOS users on the list: >>>> Does anyone execute the tests with GIT_TEST_HTTPD enabled successfully? >>> >>> Nope. The following tests fail for me on master: 5539, 5540, 5541, 5542, >>> 5550, 5551, 5561, 5812. >> >> Failing how? Does apache fail to start up? Do tests fails? What does >> "-v" say? Is there anything interesting in httpd/error.log in the trash >> directory? > > This is what I see for 5539: > > $ GIT_TEST_HTTPD=1 ./t5539-fetch-http-shallow.sh -v > Initialized empty Git repository in /Users/hvoigt/Repository/git4/t/trash directory.t5539-fetch-http-shallow/.git/ > checking prerequisite: NOT_ROOT > > mkdir -p "$TRASH_DIRECTORY/prereq-test-dir" && > ( > cd "$TRASH_DIRECTORY/prereq-test-dir" && > uid=$(id -u) && > test "$uid" != 0 > > ) > prerequisite NOT_ROOT ok > httpd: Syntax error on line 65 of /Users/hvoigt/Repository/git4/t/lib-httpd/apache.conf: Cannot load modules/mod_mpm_prefork.so into server: dlopen(/Users/hvoigt/Repository/git4/t/trash directory.t5539-fetch-http-shallow/httpd/modules/mod_mpm_prefork.so, 10): image not found > error: web server setup failed > Yes, same here. If we take that out: diff --git a/t/lib-httpd/apache.conf b/t/lib-httpd/apache.conf index c3e6313..1925fdb 100644 --- a/t/lib-httpd/apache.conf +++ b/t/lib-httpd/apache.conf @@ -61,9 +61,6 @@ LockFile accept.lock LoadModule access_compat_module modules/mod_access_compat.so - - LoadModule mpm_prefork_module modules/mod_mpm_prefork.so - LoadModule unixd_module modules/mod_unixd.so I run into other issues: [core:emerg] [pid 2502] (2)No such file or directory: AH00023: Couldn't create the rewrite-map mutex (file /private/var/run/rewrite-map.2502) AH00016: Configuration Failed (apache2 comes via MacPorts)