Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 91F11200BDB for ; Mon, 12 Dec 2016 10:52:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 90925160B22; Mon, 12 Dec 2016 09:52:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D6019160B0D for ; Mon, 12 Dec 2016 10:52:45 +0100 (CET) Received: (qmail 32610 invoked by uid 500); 12 Dec 2016 09:52:44 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 32600 invoked by uid 99); 12 Dec 2016 09:52:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 09:52:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 531E8C0370 for ; Mon, 12 Dec 2016 09:52:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -8.001 X-Spam-Level: X-Spam-Status: No, score=-8.001 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-2.999, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Z9CB0tuI2JsC for ; Mon, 12 Dec 2016 09:52:42 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0B52C5F3BF for ; Mon, 12 Dec 2016 09:52:42 +0000 (UTC) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 93A777F7A6 for ; Mon, 12 Dec 2016 09:52:05 +0000 (UTC) Received: from dhcp-0-146.brq.redhat.com (peseta.brq.redhat.com [10.34.4.48]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uBC9q4bK014533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 12 Dec 2016 04:52:05 -0500 Received: from dhcp-0-146.brq.redhat.com (localhost.localdomain [127.0.0.1]) by dhcp-0-146.brq.redhat.com (8.15.2/8.14.5) with ESMTP id uBC9q3xn019137 for ; Mon, 12 Dec 2016 10:52:03 +0100 Received: (from petr@localhost) by dhcp-0-146.brq.redhat.com (8.15.2/8.15.2/Submit) id uBC9q2TG019136 for dev@httpd.apache.org; Mon, 12 Dec 2016 10:52:02 +0100 X-Authentication-Warning: dhcp-0-146.brq.redhat.com: petr set sender to ppisar@redhat.com using -f Date: Mon, 12 Dec 2016 10:52:02 +0100 From: Petr Pisar To: dev@httpd.apache.org Subject: Re: PCRE 10 and puzzling edge cases Message-ID: <20161212095202.GC2386@dhcp-0-146.brq.redhat.com> Mail-Followup-To: dev@httpd.apache.org References: <20161209140529.GB13912@dhcp-0-146.brq.redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 12 Dec 2016 09:52:05 +0000 (UTC) archived-at: Mon, 12 Dec 2016 09:52:46 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 09, 2016 at 01:07:54PM -0600, William A Rowe Jr wrote: >=20 > Thanks again, if there is anything that we didn't document well about > getting the tests to run, we would like to fix that and make it easier for > developers to cobble together their own test environment. We certainly do= n't > want it to take hours for an experienced newcomer to get from point a to > point b. >=20 First problem was how to generate ./configure from SVN sources. Obvious autoreconf or autoconf did not work because of some missing macros. Then I found ./buildconf. But it still failed because of missing APR sources despite I had installed APR 1.5.4 including header files and M4 macros from my distribution package= s. Then I found in the documentation that building from SVN requires APR sourc= es. So I cloned APR sources. Then I was able to build httpd. I wanted to run test, but there are no tests you complained about a failure. After searching web, I got an idea that httpd-framework is what I need. I made sure I have installed all Perl modules I found relevant, but I was unable to run the tests against SVN httpd sources. I played with LD_LIBRARY_PATH, apxs etc. but without any good result. At the end I reconfigured httpd sources and installed the binaries into a /tmp subdirectory and that allowed me to run the tests. It's quite annoying to h= ave to install httpd into the system just only to test it. But still the tests failed because of an undefined symbol in a session test module. The symbol was defined in the httpd session module but the session module was not named by the LoadModule keyword in the generated t/conf/httpd.conf. I did not found a way how to disable the session tests other than removing c-modules/test_session/mod_test_session.c file. Finally I obtained a pass. I think the inability to build httpd against system APR and to run test against not yet installed httpd is quite surprising. -- Petr --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EABEIAAYFAlhOczwACgkQEsnFx2fG+qJWmwD/Xw8iDFCKqTRWxLv+IL0lc90A yS2Jl9TC+PZuLiYGUacA/0GSs/k4GLICMCg3NCuokMTTUBA/p5amul2VkwxYIG4k =CWTm -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--