Re: PHP 5.4.10 can not build Zend/PHP parsers with bison 2.6.5
> >
> > 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 <http://gnu.org/licenses/gpl-2.0.html>
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 <[email protected]>
and Alexandre Duret-Lutz <[email protected]>.
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 <http://gnu.org/licenses/gpl.html>
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: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <[email protected]>.
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 ...
Thread (9 messages)