Return-Path: X-Original-To: apmail-perl-dev-archive@www.apache.org Delivered-To: apmail-perl-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 70A50FE7D for ; Fri, 19 Apr 2013 06:22:55 +0000 (UTC) Received: (qmail 63197 invoked by uid 500); 19 Apr 2013 06:22:55 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 63003 invoked by uid 500); 19 Apr 2013 06:22:53 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 62964 invoked by uid 99); 19 Apr 2013 06:22:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 06:22:52 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jkaluza@redhat.com designates 209.132.183.24 as permitted sender) Received: from [209.132.183.24] (HELO mx3-phx2.redhat.com) (209.132.183.24) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 06:22:47 +0000 Received: from zmail17.collab.prod.int.phx2.redhat.com (zmail17.collab.prod.int.phx2.redhat.com [10.5.83.19]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r3J6MPFD032035; Fri, 19 Apr 2013 02:22:26 -0400 Date: Fri, 19 Apr 2013 02:22:25 -0400 (EDT) From: Jan Kaluza To: Fred Moyer Cc: mod_perl Dev Message-ID: <1432642653.2888638.1366352545568.JavaMail.root@redhat.com> In-Reply-To: References: Subject: Re: 2.0.9-dev MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.5.82.11] X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF15 (Linux)/8.0.3_GA_5664) Thread-Topic: 2.0.9-dev Thread-Index: BbUGan8kTbNCWbetCA3MDC4sAf50GQ== X-Virus-Checked: Checked by ClamAV on apache.org ----- Original Message ----- > We're good to go for 2.0.9-dev commits. > > I'm going to restore being able to run the tests (instead of skipping) as > root user. I can't remember what the issue was before, but it looks like > most cpan testers are root user. > > What else? Time for 2.4 httpd? > I think we have to create new mod_perl row for httpd24 or change the build process. C code in httpd24 branch should compile (thanks to #ifdefs) with httpd-2.2, but there is problem with ./xs directory. One can't make any conditionals in text files located there. This makes it impossible to create single code to build against both 2.2 and 2.4. Also, we should run "make xs_generate" just once on single machine where it's known to work, because it will fail for some people depending on files in their /usr/include/. I think there are 2+1 solutions: a) have two branches - trunk and httpd24 (analogy to httpd-trunk and httpd-2.4). We would then commit common things to both branches, httpd-2.4 things to httpd24 branch. This makes it possible for users to test mod_perl from svn, because xs files are generated in both branches. It's also somehow easier for us at the beginning, because no more work is needed to start this way of development. b) have just trunk for both httpd24 and httpd22 code. I think we would have to change the build process to detect if it's building against httpd24 and in this case, new ./xs24 directory should be used (maybe it's possible to use just different ./xs/maps24 and ./xs/tables24... I would have to check what's exactly generated by xs_generate). In this case, it's harder for us to start the development this way, but we then share 90% of the code between both versions in trunk, we can release just single tarball and so on. I don't know XS well, but if you think it's easy enough to change build to use different xs directory (or its subset) for 2.4 and different for 2.2, then I think this is way to go. This would need some extra work in httpd24 branch to be really sure it does not break compatibility with httpd22, but I'm OK with doing that if we decide to go this way and someone will improve the build process to make it possible. c) merge just httpd24 .c/.h changes to trunk and let the users/devs to run make xs_generate themselves and try to fix the /usr/include/ parser to be more reliable. I think this is not the right solution. It makes more work for us trying to fix C parser and also more work for users trying to compile mod_perl. xs_generate is not reliable and can fails randomly on some /usr/include files which makes the compilation impossible without changing mod_perl code. Regards, Jan Kaluza --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org