Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76900 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96030 invoked from network); 27 Aug 2014 07:24:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Aug 2014 07:24:55 -0000 Authentication-Results: pb1.pair.com header.from=php@bof.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@bof.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bof.de designates 80.242.145.70 as permitted sender) X-PHP-List-Original-Sender: php@bof.de X-Host-Fingerprint: 80.242.145.70 mars.intermailgate.com Received: from [80.242.145.70] ([80.242.145.70:52520] helo=mars.intermailgate.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/91-20444-4C78DF35 for ; Wed, 27 Aug 2014 03:24:53 -0400 Received: (qmail 24420 invoked by uid 1009); 27 Aug 2014 09:24:49 +0200 Received: from 213.135.15.139 by mars (envelope-from , uid 89) with qmail-scanner-1.25-st-qms (clamdscan: 0.96.2/19312. spamassassin: 3.3.1. perlscan: 1.25-st-qms. Clear:RC:0(213.135.15.139):SA:0(4.3/10.0):. Processed in 9.329916 secs); 27 Aug 2014 07:24:49 -0000 X-Spam-Status: No, hits=4.3 required=10.0 X-Spam-Level: ++++ X-Antivirus-MYDOMAIN-Mail-From: php@bof.de via mars X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:0(213.135.15.139):SA:0(4.3/10.0):. Processed in 9.329916 secs Process 24251) Received: from unknown (HELO rofl.localnet) (gmail@bof.de@213.135.15.139) by mars.intermailgate.com with AES256-SHA encrypted SMTP; 27 Aug 2014 09:24:40 +0200 To: internals@lists.php.net Cc: Andrea Faulds , Nikita Popov , Stas Malyshev Date: Wed, 27 Aug 2014 09:24:39 +0200 Message-ID: <1796887.6PM9q4vHvf@rofl> User-Agent: KMail/4.11.5 (Linux/3.11.10-21-desktop; KDE/4.11.5; x86_64; ; ) In-Reply-To: <23EA2BFD-AAA8-4D5E-92D6-8D7B57332291@ajf.me> References: <23EA2BFD-AAA8-4D5E-92D6-8D7B57332291@ajf.me> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart1602690.DrtQQsi6PK" Content-Transfer-Encoding: 7Bit Subject: Re: [PHP-DEV] Remove generated VM from git? From: php@bof.de (Patrick Schaaf) --nextPart1602690.DrtQQsi6PK Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Tuesday 26 August 2014 21:30:16 Andrea Faulds wrote: > > Why would a non-internals person want to build PHP from git? That=E2=80= =99s=20 just > making things harder on themselves. I disagree. The build environment I scripted together for myself, initializes a bui= ld=20 tree (php-src and various extensions) from git and svn. For git it also= =20 automatically uses a local git mirror, so I only need to fetch changes=20= once regardless of what I want to build. This allows me to easily set up several build trees which check out=20 different tags / branches. Furthermore I "enter" the build tree with some magic that bind-mounts,=20= in a local mount namespace, a build-tree local directory to /opt/php (a= nd=20 another one to /usr/lib64/apache2 for mod_php), so while building, the=20= "outer system" PHP is completely hidden. This bind-mounting-in-namespace stuff then permits me to simply run=20 make install, run any kind of private tests against the newly built set= up,=20 run several of these build trees in parallel without disturbing each ot= her,=20 and without disturbing the outer system; I can even enter this as root,= =20 and restart apache in a build tree to test out a fresh mod_php So, I use git as a source for building, AND I have a setup that has no=20= php CLI available during the build. > Besides PHP itself (should my proposal > succeed), you need other extra dependencies, including a lexer=20 generator if > Nikita=E2=80=99s proposal succeeds. The difference is that none of these are both required during the build= =20 _and_ produced by the build. They are just installed once on the build=20= system and used by all builds. best regards Patrick --nextPart1602690.DrtQQsi6PK--