buildconf and the generated configure script for PHP6 is faulty.

php.internals

Dale Walsj

19 years ago
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There appears to be an issue with the configure script generation that warrants further examination which might just be related to Darwin / Mac OSX but unconfirmed at this time. I have tested this on 3 different machines with the same results and it places 2 lines in an incorrect/premature location within the configure script. daleenterprise:/php6 root# ./buildconf --force Forcing buildconf using default Zend directory buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: Your version of autoconf likely contains buggy cache code. Running cvsclean for you. To avoid this, install autoconf-2.13. rebuilding aclocal.m4 rebuilding configure aclocal.m4:2141: PHP_PROG_LEX is expanded from... rebuilding acconfig.h rebuilding main/php_config.h.in autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. aclocal.m4:2141: PHP_PROG_LEX is expanded from... daleenterprise:/php6 root# ./configure --help|more ./configure: line 447: 5: Bad file descriptor ./configure: line 448: 6: Bad file descriptor `configure' configures this package to adapt to many kinds of systems. ____________________________________________ The offending lines: (showing 447 - 453) echo "$as_me:$LINENO: checking whether rounding works as expected" >&5 echo $ECHO_N "checking whether rounding works as expected... $ECHO_C"
>&6
# Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ____________________________________________ The two offending lines should be much further into the configure script: (just before 105676 - 105680) if test "$cross_compiling" = yes; then PHP_ROUND_FUZZ=0.50000000001 echo "$as_me:$LINENO: result: cross compile" >&5 echo "${ECHO_T}cross compile" >&6 ____________________________________________ The faulty configure script can be obtained at: http://daleenterprise.com/patches/configure - -- Dale -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFG26HE0hzWbkf0eKgRAlsEAJoCu/cQbjCLuwx0bbB5qfnCiKktLwCgsFKw omQjpISlRuVjPmIKfAG/+po= =/yla -----END PGP SIGNATURE-----

Jani Taskinen

19 years ago
Perhaps you should stick to using the pre-generated configure and not try to hack things since you obviously have no clue. If you want to build configure (which usually is very bad thing!) yourself, install autoconf-2.13. Any other version is not supported. --Jani On Mon, 2007-09-03 at 01:55 -0400, BuildSmart wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > There appears to be an issue with the configure script generation > that warrants further examination which might just be related to > Darwin / Mac OSX but unconfirmed at this time. > > I have tested this on 3 different machines with the same results and > it places 2 lines in an incorrect/premature location within the > configure script. > > daleenterprise:/php6 root# ./buildconf --force > Forcing buildconf > using default Zend directory > buildconf: checking installation... > buildconf: autoconf version 2.59 (ok) > buildconf: Your version of autoconf likely contains buggy cache code. > Running cvsclean for you. > To avoid this, install autoconf-2.13. > rebuilding aclocal.m4 > rebuilding configure > aclocal.m4:2141: PHP_PROG_LEX is expanded from... > rebuilding acconfig.h > rebuilding main/php_config.h.in > autoheader: WARNING: Using auxiliary files such as `acconfig.h', > `config.h.bot' > autoheader: WARNING: and `config.h.top', to define templates for > `config.h.in' > autoheader: WARNING: is deprecated and discouraged. > autoheader: > autoheader: WARNING: Using the third argument of `AC_DEFINE' and > autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template > without > autoheader: WARNING: `acconfig.h': > autoheader: > autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, > autoheader: [Define if a function `main' is needed.]) > autoheader: > autoheader: WARNING: More sophisticated templates can also be > produced, see the > autoheader: WARNING: documentation. > aclocal.m4:2141: PHP_PROG_LEX is expanded from... > daleenterprise:/php6 root# ./configure --help|more > /configure: line 447: 5: Bad file descriptor > /configure: line 448: 6: Bad file descriptor > `configure' configures this package to adapt to many kinds of systems. > > ____________________________________________ > > > The offending lines: (showing 447 - 453) > echo "$as_me:$LINENO: checking whether rounding works as expected" >&5 > echo $ECHO_N "checking whether rounding works as expected... $ECHO_C" > >&6 > > # Name of the host. > # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, > # so uname gets run too. > ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` > > ____________________________________________ > > > The two offending lines should be much further into the configure > script: (just before 105676 - 105680) > if test "$cross_compiling" = yes; then > > PHP_ROUND_FUZZ=0.50000000001 > echo "$as_me:$LINENO: result: cross compile" >&5 > echo "${ECHO_T}cross compile" >&6 > > ____________________________________________ > > > The faulty configure script can be obtained at: > http://daleenterprise.com/patches/configure > > > - -- Dale > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (Darwin) > > iD8DBQFG26HE0hzWbkf0eKgRAlsEAJoCu/cQbjCLuwx0bbB5qfnCiKktLwCgsFKw > omQjpISlRuVjPmIKfAG/+po= > =/yla > -----END PGP SIGNATURE----- >
-- Make me happy: http://pecl.php.net/wishlist.php/jani

Dale Walsj

19 years ago
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sep 3, 2007, at 04:58:51, Jani Taskinen wrote:
> Perhaps you should stick to using the pre-generated configure and not > try to hack things since you obviously have no clue.
Did somebody piss in your cornflakes or are you always this charming? What hack, it's your buildconf script and the only version of PHP that gets it wrong is PHP6. Never mind, I've resolved the issue and concluded that carelessness on your part doesn't constitute a problem on my part.
> > If you want to build configure (which usually is very bad thing!) > yourself, install autoconf-2.13. Any other version is not supported.
A bad thing, have you stopped taking your medication? The configure script wont rebuild itself without a little prodding and I don't see you offering any free service to do it. Why would I want to downgrade, don't tell me it's because you claim all other versions are buggy, I find that hard to accept since the only problem I've ever experienced to date has been with PHP6 and swapping two lines corrected this.
> > --Jani > > On Mon, 2007-09-03 at 01:55 -0400, BuildSmart wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> There appears to be an issue with the configure script generation >> that warrants further examination which might just be related to >> Darwin / Mac OSX but unconfirmed at this time. >> >> I have tested this on 3 different machines with the same results and >> it places 2 lines in an incorrect/premature location within the >> configure script. >> >> daleenterprise:/php6 root# ./buildconf --force >> Forcing buildconf >> using default Zend directory >> buildconf: checking installation... >> buildconf: autoconf version 2.59 (ok) >> buildconf: Your version of autoconf likely contains buggy cache code. >> Running cvsclean for you. >> To avoid this, install autoconf-2.13. >> rebuilding aclocal.m4 >> rebuilding configure >> aclocal.m4:2141: PHP_PROG_LEX is expanded from... >> rebuilding acconfig.h >> rebuilding main/php_config.h.in >> autoheader: WARNING: Using auxiliary files such as `acconfig.h', >> `config.h.bot' >> autoheader: WARNING: and `config.h.top', to define templates for >> `config.h.in' >> autoheader: WARNING: is deprecated and discouraged. >> autoheader: >> autoheader: WARNING: Using the third argument of `AC_DEFINE' and >> autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template >> without >> autoheader: WARNING: `acconfig.h': >> autoheader: >> autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, >> autoheader: [Define if a function `main' is needed.]) >> autoheader: >> autoheader: WARNING: More sophisticated templates can also be >> produced, see the >> autoheader: WARNING: documentation. >> aclocal.m4:2141: PHP_PROG_LEX is expanded from... >> daleenterprise:/php6 root# ./configure --help|more >> /configure: line 447: 5: Bad file descriptor >> /configure: line 448: 6: Bad file descriptor >> `configure' configures this package to adapt to many kinds of >> systems. >> >> ____________________________________________ >> >> >> The offending lines: (showing 447 - 453) >> echo "$as_me:$LINENO: checking whether rounding works as expected" >> >&5 >> echo $ECHO_N "checking whether rounding works as expected... $ECHO_C" >>> &6 >> >> # Name of the host. >> # hostname on some systems (SVR3.2, Linux) returns a bogus exit >> status, >> # so uname gets run too. >> ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` >> >> ____________________________________________ >> >> >> The two offending lines should be much further into the configure >> script: (just before 105676 - 105680) >> if test "$cross_compiling" = yes; then >> >> PHP_ROUND_FUZZ=0.50000000001 >> echo "$as_me:$LINENO: result: cross compile" >&5 >> echo "${ECHO_T}cross compile" >&6 >> >> ____________________________________________ >> >> >> The faulty configure script can be obtained at: >> http://daleenterprise.com/patches/configure >> >> >> - -- Dale >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.2.2 (Darwin) >> >> iD8DBQFG26HE0hzWbkf0eKgRAlsEAJoCu/cQbjCLuwx0bbB5qfnCiKktLwCgsFKw >> omQjpISlRuVjPmIKfAG/+po= >> =/yla >> -----END PGP SIGNATURE----- >> > -- > Make me happy: http://pecl.php.net/wishlist.php/jani
With an attitude like yours I can see why your wishlist hasn't changed much over a long period of time.
> > >
- -- Dale -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFG3AQ90hzWbkf0eKgRAtrOAKCaErfaH2tUNRlyy+3FsrfNXKDm9gCfS0re fsSoNR2Kw4FNh9OAOogW7Ls= =80bw -----END PGP SIGNATURE-----

Hartmut Holzgraefe

19 years ago
BuildSmart wrote: [... inappropriate language removed ...]
> Why would I want to downgrade, don't tell me it's because you claim all > other versions are buggy, I find that hard to accept since the only > problem I've ever experienced to date has been with PHP6 > and swapping two lines corrected this.
Well, the fact that the lines ended up in the wrong place in the final configure file produced while the one created with 2.13 ... what is that if not a strong indication of an autoconf bug? buildconf just calls autoconf, so why do you think it is to blame for wrong autoconf output that only seems to happen with *some* versions of autoconf?
-- Hartmut Holzgraefe, Principal Support Engineer . Discover new MySQL Monitoring & Advisory features at: http://www.mysql.com/products/enterprise/whats_new.html Hauptsitz: MySQL GmbH, Dachauer Str.37, 80335 München Geschäftsführer: Kaj Arnö - HRB München 162140

David Coallier

19 years ago
On 9/3/07, BuildSmart <buildsmart@daleenterprise.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Sep 3, 2007, at 04:58:51, Jani Taskinen wrote: > > > Perhaps you should stick to using the pre-generated configure and not > > try to hack things since you obviously have no clue. > > Did somebody piss in your cornflakes or are you always this charming? > > What hack, it's your buildconf script and the only version of PHP > that gets it wrong is PHP6. > > Never mind, I've resolved the issue and concluded that carelessness > on your part doesn't constitute a problem on my part. > > > > > If you want to build configure (which usually is very bad thing!) > > yourself, install autoconf-2.13. Any other version is not supported. > > A bad thing, have you stopped taking your medication? > > The configure script wont rebuild itself without a little prodding > and I don't see you offering any free service to do it. > > Why would I want to downgrade, don't tell me it's because you claim > all other versions are buggy, I find that hard to accept since the > only problem I've ever experienced to date has been with PHP6 and > swapping two lines corrected this. >
Mr. BuildSmart, if you have personal problems with one of the members, please take it offlist and do not pollute the mailing list. Any sorts of insults are not welcome here. Thanks,
> > > > --Jani > > > > On Mon, 2007-09-03 at 01:55 -0400, BuildSmart wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> There appears to be an issue with the configure script generation > >> that warrants further examination which might just be related to > >> Darwin / Mac OSX but unconfirmed at this time. > >> > >> I have tested this on 3 different machines with the same results and > >> it places 2 lines in an incorrect/premature location within the > >> configure script. > >> > >> daleenterprise:/php6 root# ./buildconf --force > >> Forcing buildconf > >> using default Zend directory > >> buildconf: checking installation... > >> buildconf: autoconf version 2.59 (ok) > >> buildconf: Your version of autoconf likely contains buggy cache code. > >> Running cvsclean for you. > >> To avoid this, install autoconf-2.13. > >> rebuilding aclocal.m4 > >> rebuilding configure > >> aclocal.m4:2141: PHP_PROG_LEX is expanded from... > >> rebuilding acconfig.h > >> rebuilding main/php_config.h.in > >> autoheader: WARNING: Using auxiliary files such as `acconfig.h', > >> `config.h.bot' > >> autoheader: WARNING: and `config.h.top', to define templates for > >> `config.h.in' > >> autoheader: WARNING: is deprecated and discouraged. > >> autoheader: > >> autoheader: WARNING: Using the third argument of `AC_DEFINE' and > >> autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template > >> without > >> autoheader: WARNING: `acconfig.h': > >> autoheader: > >> autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, > >> autoheader: [Define if a function `main' is needed.]) > >> autoheader: > >> autoheader: WARNING: More sophisticated templates can also be > >> produced, see the > >> autoheader: WARNING: documentation. > >> aclocal.m4:2141: PHP_PROG_LEX is expanded from... > >> daleenterprise:/php6 root# ./configure --help|more > >> /configure: line 447: 5: Bad file descriptor > >> /configure: line 448: 6: Bad file descriptor > >> `configure' configures this package to adapt to many kinds of > >> systems. > >> > >> ____________________________________________ > >> > >> > >> The offending lines: (showing 447 - 453) > >> echo "$as_me:$LINENO: checking whether rounding works as expected" > >> >&5 > >> echo $ECHO_N "checking whether rounding works as expected... $ECHO_C" > >>> &6 > >> > >> # Name of the host. > >> # hostname on some systems (SVR3.2, Linux) returns a bogus exit > >> status, > >> # so uname gets run too. > >> ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` > >> > >> ____________________________________________ > >> > >> > >> The two offending lines should be much further into the configure > >> script: (just before 105676 - 105680) > >> if test "$cross_compiling" = yes; then > >> > >> PHP_ROUND_FUZZ=0.50000000001 > >> echo "$as_me:$LINENO: result: cross compile" >&5 > >> echo "${ECHO_T}cross compile" >&6 > >> > >> ____________________________________________ > >> > >> > >> The faulty configure script can be obtained at: > >> http://daleenterprise.com/patches/configure > >> > >> > >> - -- Dale > >> > >> -----BEGIN PGP SIGNATURE----- > >> Version: GnuPG v1.4.2.2 (Darwin) > >> > >> iD8DBQFG26HE0hzWbkf0eKgRAlsEAJoCu/cQbjCLuwx0bbB5qfnCiKktLwCgsFKw > >> omQjpISlRuVjPmIKfAG/+po= > >> =/yla > >> -----END PGP SIGNATURE----- > >> > > -- > > Make me happy: http://pecl.php.net/wishlist.php/jani > > With an attitude like yours I can see why your wishlist hasn't > changed much over a long period of time. > > > > > > > > > - -- Dale > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (Darwin) > > iD8DBQFG3AQ90hzWbkf0eKgRAtrOAKCaErfaH2tUNRlyy+3FsrfNXKDm9gCfS0re > fsSoNR2Kw4FNh9OAOogW7Ls= > =80bw > -----END PGP SIGNATURE----- > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >
-- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18

Nicolas Bérard Nault

19 years ago
Hi Mr. BuildSmart, I invite you to take a look at http://www.php.net/anoncvs.php before complaining. It is clearly stated that autoconf 2.13 is a requirement. Most package distributions (I checked Ubuntu, FreeBSD ports and pkgsrc) still provide autoconf 2.13 and it is not really a problem to have two versions installed, ergo you don't need to downgrade. Nobody pissed in Jani's cornflakes, but you have to understand this is the internals mailing list, not a general help mailing list. Regards, On 9/3/07, BuildSmart <buildsmart@daleenterprise.com> wrote:
> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Sep 3, 2007, at 04:58:51, Jani Taskinen wrote: > > > Perhaps you should stick to using the pre-generated configure and not > > try to hack things since you obviously have no clue. > > Did somebody piss in your cornflakes or are you always this charming? > > What hack, it's your buildconf script and the only version of PHP > that gets it wrong is PHP6. > > Never mind, I've resolved the issue and concluded that carelessness > on your part doesn't constitute a problem on my part. > > > > > If you want to build configure (which usually is very bad thing!) > > yourself, install autoconf-2.13. Any other version is not supported. > > A bad thing, have you stopped taking your medication? > > The configure script wont rebuild itself without a little prodding > and I don't see you offering any free service to do it. > > Why would I want to downgrade, don't tell me it's because you claim > all other versions are buggy, I find that hard to accept since the > only problem I've ever experienced to date has been with PHP6 and > swapping two lines corrected this. > > > > > --Jani > > > > On Mon, 2007-09-03 at 01:55 -0400, BuildSmart wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> There appears to be an issue with the configure script generation > >> that warrants further examination which might just be related to > >> Darwin / Mac OSX but unconfirmed at this time. > >> > >> I have tested this on 3 different machines with the same results and > >> it places 2 lines in an incorrect/premature location within the > >> configure script. > >> > >> daleenterprise:/php6 root# ./buildconf --force > >> Forcing buildconf > >> using default Zend directory > >> buildconf: checking installation... > >> buildconf: autoconf version 2.59 (ok) > >> buildconf: Your version of autoconf likely contains buggy cache code. > >> Running cvsclean for you. > >> To avoid this, install autoconf-2.13. > >> rebuilding aclocal.m4 > >> rebuilding configure > >> aclocal.m4:2141: PHP_PROG_LEX is expanded from... > >> rebuilding acconfig.h > >> rebuilding main/php_config.h.in > >> autoheader: WARNING: Using auxiliary files such as `acconfig.h', > >> `config.h.bot' > >> autoheader: WARNING: and `config.h.top', to define templates for > >> `config.h.in' > >> autoheader: WARNING: is deprecated and discouraged. > >> autoheader: > >> autoheader: WARNING: Using the third argument of `AC_DEFINE' and > >> autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template > >> without > >> autoheader: WARNING: `acconfig.h': > >> autoheader: > >> autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, > >> autoheader: [Define if a function `main' is needed.]) > >> autoheader: > >> autoheader: WARNING: More sophisticated templates can also be > >> produced, see the > >> autoheader: WARNING: documentation. > >> aclocal.m4:2141: PHP_PROG_LEX is expanded from... > >> daleenterprise:/php6 root# ./configure --help|more > >> /configure: line 447: 5: Bad file descriptor > >> /configure: line 448: 6: Bad file descriptor > >> `configure' configures this package to adapt to many kinds of > >> systems. > >> > >> ____________________________________________ > >> > >> > >> The offending lines: (showing 447 - 453) > >> echo "$as_me:$LINENO: checking whether rounding works as expected" > >> >&5 > >> echo $ECHO_N "checking whether rounding works as expected... $ECHO_C" > >>> &6 > >> > >> # Name of the host. > >> # hostname on some systems (SVR3.2, Linux) returns a bogus exit > >> status, > >> # so uname gets run too. > >> ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` > >> > >> ____________________________________________ > >> > >> > >> The two offending lines should be much further into the configure > >> script: (just before 105676 - 105680) > >> if test "$cross_compiling" = yes; then > >> > >> PHP_ROUND_FUZZ=0.50000000001 > >> echo "$as_me:$LINENO: result: cross compile" >&5 > >> echo "${ECHO_T}cross compile" >&6 > >> > >> ____________________________________________ > >> > >> > >> The faulty configure script can be obtained at: > >> http://daleenterprise.com/patches/configure > >> > >> > >> - -- Dale > >> > >> -----BEGIN PGP SIGNATURE----- > >> Version: GnuPG v1.4.2.2 (Darwin) > >> > >> iD8DBQFG26HE0hzWbkf0eKgRAlsEAJoCu/cQbjCLuwx0bbB5qfnCiKktLwCgsFKw > >> omQjpISlRuVjPmIKfAG/+po= > >> =/yla > >> -----END PGP SIGNATURE----- > >> > > -- > > Make me happy: http://pecl.php.net/wishlist.php/jani > > With an attitude like yours I can see why your wishlist hasn't > changed much over a long period of time. > > > > > > > > > - -- Dale > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (Darwin) > > iD8DBQFG3AQ90hzWbkf0eKgRAtrOAKCaErfaH2tUNRlyy+3FsrfNXKDm9gCfS0re > fsSoNR2Kw4FNh9OAOogW7Ls= > =80bw > -----END PGP SIGNATURE----- > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >
-- Nicolas Bérard-Nault (nicobn@gmail.com) Étudiant D.E.C. Sciences, Lettres & Arts Cégep de Sherbrooke Homepage: http://nicobn.googlepages.com