Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64992 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47003 invoked from network); 16 Jan 2013 08:41:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jan 2013 08:41:03 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.176 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.210.176 mail-ia0-f176.google.com Received: from [209.85.210.176] ([209.85.210.176:51679] helo=mail-ia0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/01-37773-C9766F05 for ; Wed, 16 Jan 2013 03:41:01 -0500 Received: by mail-ia0-f176.google.com with SMTP id i18so104375iac.21 for ; Wed, 16 Jan 2013 00:40:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=qSKWeaMVro2zAlJyfveiLLEN5z6gPN7CO2MdqTNoqmQ=; b=dYp2p4MGQBwvIEf/T7dQGRuPxelh0UF2dGjaUkTBR69DYU+RDWcqOUt5syXaqiVRQS 7MCEdZyccagiukeRQdQop9hFMH4WfdPEwAbo/sC40P4Bbj+pm3XbFsSCcD/zObLJhCt6 svG16WVNjMJc3eAv8xoZOuLQG1K3o1Y4iavy+MOVJ0q7DAYKHZbaABEq1FL9Qwh/arHk 7rEH+gy8yijvE8Wp7rd9i2xudnYA/zSyDpTf1VjAkuySMFtuYBb3oWeJj9vJTwH/4R3I RQ120cDDEHQHBeIJ3AxzN6/77zoFBD8MEunHIkS5Soo85vtseILMDy9Uo2z3bwl50JVO e/3A== MIME-Version: 1.0 X-Received: by 10.42.58.202 with SMTP id j10mr167543ich.39.1358325657476; Wed, 16 Jan 2013 00:40:57 -0800 (PST) Received: by 10.50.106.138 with HTTP; Wed, 16 Jan 2013 00:40:57 -0800 (PST) In-Reply-To: References: <50F4CE6B.5060809@oracle.com> Date: Wed, 16 Jan 2013 09:40:57 +0100 Message-ID: To: Dennis Clarke Cc: Derick Rethans , Christopher Jones , PHP Internals Content-Type: multipart/alternative; boundary=20cf303346134d9d1a04d363d6c7 Subject: Re: [PHP-DEV] PHP 5.4.10 can not build Zend/PHP parsers with bison 2.6.5 From: tyra3l@gmail.com (Ferenc Kovacs) --20cf303346134d9d1a04d363d6c7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Jan 15, 2013 at 9:05 PM, Dennis Clarke wrote= : > > > > > > > Unless you are hacking PHP you can ignore Bison. Check the Makefile > > Well, the configure output claims that something is wrong, therefore the > build can not be trusted. > I'm just following the defacto way to build PHP and if the configure > output claims > something is wrong .. then it is wrong by definition. > > > > for where it is used. The PHP distribution contains > > > Zend/zend_language_parser.[ch] and php-5.5/Zend/zend_ini_parser.[ch] > > > > > already built from their respective .y files so bison is not > > generally invoked when building PHP. > > configure claims otherwise. > > > > Of course, if 2.6.5 is verified than it should be added to > > > bison_version_list in Zend/acinclude.m4. Feel free to regenerate > > the > > > parsers with it, review the test suite results, and create a github > > > pull request. > > do what ? I access the release source tarball only. > > gcc-spec_node002 $ digest -a sha1 /usr/local/src/php-5.4.10.tar.gz > 6be6a1c16ca3f6bec93d19ce5d6b94c5cf89373b > > That is the only php sources I am allowed to use. Anything else is not > "release" and > therefore not to be used on prod servers. > > > > > I think we should retire this silly check, as it needs updating every > > time there is a new version. Instead, we should blacklist versions > > that *don't* work. > > Well bison 2.6.5 passes all of its own tests and therefore seems to be > "okay for prod". > > I would think that a PHP release would build more or less out of the box > without any > changes to the source tarball. If PHP can not be built from the release > tarball with > the typical GNU toolchain then .. it can't be built. I just tick off a > box on the build > sheet here as "does not build in compliance with defacto standard rules" > and it goes > back onto the "update at some point" pile. > > currently we have a whitelist for supported bison versions: http://lxr.php.net/xref/PHP_5_4/Zend/acinclude.m4#6 anything else will be reported, but this doesn't mean that php wouldn't compile with that, it can also mean that nobody tested and made sure that it works. this is why Derick mentioned that he thinks we should switch to a blacklist, so we only report the versions with known problems. ps: your passive aggressive tone doesn't really help your case here. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --20cf303346134d9d1a04d363d6c7--