Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64971 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87430 invoked from network); 15 Jan 2013 20:05:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2013 20:05:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=dclarke@blastwave.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dclarke@blastwave.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain blastwave.org from 210.87.62.131 cause and error) X-PHP-List-Original-Sender: dclarke@blastwave.org X-Host-Fingerprint: 210.87.62.131 comm.purplecow.org Solaris 10 (beta) Received: from [210.87.62.131] ([210.87.62.131:63033] helo=comm.purplecow.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/97-24726-D76B5F05 for ; Tue, 15 Jan 2013 15:05:19 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from comm.purplecow.org ([127.0.0.1]) by comm.purplecow.org (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTP id <0MGO008R1NSPQ810@comm.purplecow.org> for internals@lists.php.net; Wed, 16 Jan 2013 07:05:13 +1100 (EST) Received: from comm.purplecow.org ([127.0.0.1] helo=comm.purplecow.org) with IPv4:25 by ASSP.nospam; Wed, 16 Jan 2013 07:05:13 +1100 Received: from [66.103.52.207] by comm.purplecow.org (mshttpd); Tue, 15 Jan 2013 15:05:13 -0500 To: Derick Rethans Cc: Christopher Jones , internals@lists.php.net Message-ID: Date: Tue, 15 Jan 2013 15:05:13 -0500 X-Mailer: Sun Java(tm) System Messenger Express 6.3-6.03 (built Mar 14 2008; 32bit) Content-language: en X-Accept-Language: en Priority: normal In-reply-to: References: <50F4CE6B.5060809@oracle.com> Subject: Re: [PHP-DEV] PHP 5.4.10 can not build Zend/PHP parsers with bison 2.6.5 From: dclarke@blastwave.org (Dennis Clarke) > > > > 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. Dennis ps: typical GNU tools like : gcc-spec_node002 $ which bison /usr/local/bin/bison gcc-spec_node002 $ bison --version bison (GNU Bison) 2.6.5 Written by Robert Corbett and Richard Stallman. Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. gcc-spec_node002 $ automake --version automake (GNU automake) 1.13 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey and Alexandre Duret-Lutz . gcc-spec_node002 $ gcc-spec_node002 $ gmake --version GNU Make 3.82 Built for sparc-sun-solaris2.10 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. gcc-spec_node002 $ gsed --version GNU sed version 4.2.1 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, to the extent permitted by law. GNU sed home page: . General help using GNU software: . E-mail bug reports to: . Be sure to include the word ``sed'' somewhere in the ``Subject:'' field. gcc-spec_node002 $ gcc-spec_node002 $ which runtest /usr/local/bin/runtest gcc-spec_node002 $ gcc-spec_node002 $ runtest --version WARNING: Couldn't find the global config file. Expect version is 5.45 Tcl version is 8.5 Framework version is 1.5 gcc-spec_node002 $ etc etc etc ...