Beta 3 RC 1

php.internals

Andi Gutmans

22 years ago
Please give the tar ball a short sanity check to see that it builds fine. You can get it at http://cvs.php.net/~andi/ I'll re-roll B3 in the morning (10 hours from now) unless I hear of something critical. Andi

Derick Rethans

22 years ago
On Wed, 17 Dec 2003, Andi Gutmans wrote:
> Please give the tar ball a short sanity check to see that it builds fine. > You can get it at http://cvs.php.net/~andi/ > I'll re-roll B3 in the morning (10 hours from now) unless I hear of > something critical.
I get this error on running ./buildconf && ../config.nice You should not run buildconf in a release package. use buildconf --force to override this check. ./build5: line 19: ./configure: No such file or directory it seems that the configure file is missing :) Derick

Andi Gutmans

22 years ago
Ouch :) I was sure cvs.php.net works for rolling RCs (I know my machine doesn't). I'll re-roll tomorrow morning. Can someone tell me which php.net machine is updated with all of the right versions of autoconf/libtool and so on? Jani, see why I needed an RC1 :) Andi At 10:43 PM 12/17/2003 +0100, Daniel T. Gorski wrote:

Derick Rethans

22 years ago
On Wed, 17 Dec 2003, Andi Gutmans wrote:
> Ouch :) > I was sure cvs.php.net works for rolling RCs (I know my machine doesn't). > I'll re-roll tomorrow morning. > Can someone tell me which php.net machine is updated with all of the right > versions of autoconf/libtool and so on?
snaps.php.net Derick

Andi Gutmans

22 years ago
At 11:01 PM 12/17/2003 +0100, Derick Rethans wrote:
>On Wed, 17 Dec 2003, Andi Gutmans wrote: > > > Ouch :) > > I was sure cvs.php.net works for rolling RCs (I know my machine doesn't). > > I'll re-roll tomorrow morning. > > Can someone tell me which php.net machine is updated with all of the right > > versions of autoconf/libtool and so on? > >snaps.php.net
Are these OK too? That's on www.php.net. buildconf: autoconf version 2.13 (ok) buildconf: libtool version 1.4.3 (ok)

Derick Rethans

22 years ago
On Thu, 18 Dec 2003, Andi Gutmans wrote:
> Are these OK too? That's on www.php.net. > buildconf: autoconf version 2.13 (ok) > buildconf: libtool version 1.4.3 (ok)
Versions are ok, but you need the patched libtool from snaps.php.net. Derick

Andi Gutmans

22 years ago
At 11:04 PM 12/17/2003 +0100, Derick Rethans wrote:
>On Thu, 18 Dec 2003, Andi Gutmans wrote: > > > Are these OK too? That's on www.php.net. > > buildconf: autoconf version 2.13 (ok) > > buildconf: libtool version 1.4.3 (ok) > >Versions are ok, but you need the patched libtool from snaps.php.net.
Any chance we can make PHP work without patched versions of libtool? This is kind of annoying. Andi

Derick Rethans

22 years ago
On Thu, 18 Dec 2003, Andi Gutmans wrote:
> At 11:04 PM 12/17/2003 +0100, Derick Rethans wrote: > >On Thu, 18 Dec 2003, Andi Gutmans wrote: > > > > > Are these OK too? That's on www.php.net. > > > buildconf: autoconf version 2.13 (ok) > > > buildconf: libtool version 1.4.3 (ok) > > > >Versions are ok, but you need the patched libtool from snaps.php.net. > > Any chance we can make PHP work without patched versions of libtool? > This is kind of annoying.
Kick the libtool dudes in the nuts for fixing it for those few exotic systems? HMm, perhaps they might... but PHP doesn't work with libtool 1.5.x yet supposedly (works fine for me though). Derick

Jan Lehnardt

22 years ago
Hi Andi, On 17 Dec 2003, at 22:29, Andi Gutmans wrote:
> Please give the tar ball a short sanity check to see that it builds > fine. You can get it at http://cvs.php.net/~andi/ > I'll re-roll B3 in the morning (10 hours from now) unless I hear of > something critical.
is that package supposed to include a aconfigure script? it doesn't :) Jan
-- Q: Thank Jan? - A: http://geschenke.an.dasmoped.net/ | Editor-in-Chief | "We cats are very independent. We need nobody, no time,| PHP Magazine | no where, no way. Isn't that right Pooky?" - Garfield Key Fingerprint 7BCC EB86 8313 DDA9 25DF 1805 ECA5 BCB7 BB96 56B0

Andi Gutmans

22 years ago
OK, I re-rolled on snaps. I think we should address this issue in the future because it doesn't make sense that we can only roll one specific machine because it has some libtool patch. You can download the tars from http://snaps.php.net/~andi If there aren't any beta show stoppers (i.e. it doesn't format your harddrive) I'll re-roll final beta 3 tomorrow morning. Night, Andi

Derick Rethans

22 years ago
On Thu, 18 Dec 2003, Andi Gutmans wrote:
> OK, I re-rolled on snaps. I think we should address this issue in the > future because it doesn't make sense that we can only roll one specific > machine because it has some libtool patch. > You can download the tars from http://snaps.php.net/~andi > If there aren't any beta show stoppers (i.e. it doesn't format your > harddrive) I'll re-roll final beta 3 tomorrow morning.
Okay, now I get this error (this is since a recent change though): In file included from /dat/dev/php/php-5.0.0b3RC1/ext/gd/gd.c:71: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" make: *** [ext/gd/gd.lo] Error 1 Configure line: './configure' \ '--with-apache=/dat/dev/php/apache_1.3.29' \ '--with-gd' \ '--with-freetype-dir=/usr' \ '--with-ttf' \ '--with-mysql=/usr' \ '--with-pdflib=/usr/local' \ '--enable-pdflib' \ '--with-config-file-path=/etc/httpd' \ '--enable-track-vars' \ '--enable-memory-limit' \ '--enable-debug' \ '--with-iconv' \ '--with-mbstring' \ '--enable-mbstring' \ '--with-ctype' \ '--with-xmlrpc' \ '--with-zlib' \ '--with-xsl' \ "$@" regards, Derick

Rasmus Lerdorf

22 years ago
I fixed this in the 4.3 branch a while ago but there were a lot of cries from the peanut gallery on the validity of the fix: http://cvs.php.net/diff.php/php-src/ext/gd/libgd/gdft.c?sbt=1&login=2&r1=1.11.2.10&r2=1.11.2.11&ty=h I still think it is the correct fix and will MFB it in a bit. -Rasmus On Wed, 17 Dec 2003, Derick Rethans wrote:

Derick Rethans

22 years ago
On Wed, 17 Dec 2003, Rasmus Lerdorf wrote:
> I fixed this in the 4.3 branch a while ago but there were a lot of cries > from the peanut gallery on the validity of the fix: > > http://cvs.php.net/diff.php/php-src/ext/gd/libgd/gdft.c?sbt=1&login=2&r1=1.11.2.10&r2=1.11.2.11&ty=h > > I still think it is the correct fix and will MFB it in a bit.
That didn't fix it, I get the same error in gd.c now: In file included from /dat/dev/php/php-5.0dev/ext/gd/gd.c:71: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" make: *** [ext/gd/gd.lo] Error 1 regards, Derick

Rasmus Lerdorf

22 years ago
Add the same fix there on line 71 On Wed, 17 Dec 2003, Derick Rethans wrote:

Andi Gutmans

22 years ago
Is it OK with latest HEAD? I saw Rasmus commited a patch. Andi At 11:53 PM 12/17/2003 +0100, Derick Rethans wrote:

Derick Rethans

22 years ago
On Thu, 18 Dec 2003, Andi Gutmans wrote:
> Is it OK with latest HEAD? I saw Rasmus commited a patch.
Yes, works in HEAD now. Derick

Derick Rethans

22 years ago
On Thu, 18 Dec 2003, Derick Rethans wrote:
> On Thu, 18 Dec 2003, Andi Gutmans wrote: > > > Is it OK with latest HEAD? I saw Rasmus commited a patch. > > Yes, works in HEAD now.
But now I get a link error: gcc: /usr/lib/libtidy.so: No such file or directory derick@kossu:/dat/dev/php/php-5.0dev$ ls -l /usr/lib/libtidy* lrwxrwxrwx 1 root root 21 Dec 10 10:05 /usr/lib/libtidy-0.99.so.0 -> libtidy-0.99.so.0.0.0 -rw-r--r-- 1 root root 298172 Nov 18 00:12 /usr/lib/libtidy-0.99.so.0.0.0 -rw-r--r-- 1 root root 350916 Nov 18 00:12 /usr/lib/libtidy.a -rw-r--r-- 1 root root 814 Nov 18 00:12 /usr/lib/libtidy.la regards, Derick

Rasmus Lerdorf

22 years ago
On Thu, 18 Dec 2003, Derick Rethans wrote:
> On Thu, 18 Dec 2003, Derick Rethans wrote: > > > On Thu, 18 Dec 2003, Andi Gutmans wrote: > > > > > Is it OK with latest HEAD? I saw Rasmus commited a patch. > > > > Yes, works in HEAD now. > > But now I get a link error: > > gcc: /usr/lib/libtidy.so: No such file or directory > > derick@kossu:/dat/dev/php/php-5.0dev$ ls -l /usr/lib/libtidy* > lrwxrwxrwx 1 root root 21 Dec 10 10:05 /usr/lib/libtidy-0.99.so.0 -> libtidy-0.99.so.0.0.0 > -rw-r--r-- 1 root root 298172 Nov 18 00:12 /usr/lib/libtidy-0.99.so.0.0.0 > -rw-r--r-- 1 root root 350916 Nov 18 00:12 /usr/lib/libtidy.a > -rw-r--r-- 1 root root 814 Nov 18 00:12 /usr/lib/libtidy.la
On my FreeBSD box it dies with: ext/pcre/pcrelib/get.lo: In function `pcre_get_stringnumber': /homes/rasmus/php5/ext/pcre/pcrelib/get.c:69: undefined reference to `pcre_fullinfo' /homes/rasmus/php5/ext/pcre/pcrelib/get.c:73: undefined reference to `pcre_fullinfo' /homes/rasmus/php5/ext/pcre/pcrelib/get.c:75: undefined reference to `pcre_fullinfo' ext/standard/iptc.lo: In function `zif_iptcparse': /homes/rasmus/php5/ext/standard/iptc.c:364: undefined reference to `zend_hash_add_or_update' ext/standard/syslog.lo: In function `start_syslog': /homes/rasmus/php5/ext/standard/syslog.c:130: undefined reference to `zend_hash_add_or_update' /homes/rasmus/php5/ext/standard/syslog.c:131: undefined reference to `zend_hash_add_or_update' /homes/rasmus/php5/ext/standard/syslog.c:132: undefined reference to `zend_hash_add_or_update' /homes/rasmus/php5/ext/standard/syslog.c:133: undefined reference to `zend_hash_add_or_update' ext/standard/syslog.lo:/homes/rasmus/php5/ext/standard/syslog.c:134: more undefined references to `zend_hash_add_or_update' follow Zend/zend_list.lo: In function `zend_list_insert': /homes/rasmus/php5/Zend/zend_list.c:47: undefined reference to `zend_hash_index_update_or_next_insert' Zend/zend_list.lo: In function `zend_register_list_destructors': /homes/rasmus/php5/Zend/zend_list.c:281: undefined reference to `zend_hash_index_update_or_next_insert' Zend/zend_list.lo: In function `zend_register_list_destructors_ex': /homes/rasmus/php5/Zend/zend_list.c:305: undefined reference to `zend_hash_index_update_or_next_insert' Zend/zend_ini.lo: In function `zend_register_ini_entries': /homes/rasmus/php5/Zend/zend_ini.c:153: undefined reference to `zend_hash_add_or_update' collect2: ld returned 1 exit status *** Error code 1 when trying to link the cli. config.nice: '--with-config-file-scan-dir=/etc/php' \ '--disable-all' \ '--with-apxs=/usr/bin/apxs' \ '--enable-cli' \ '--enable-ctype' \ '--enable-exif' \ '--with-pcre-regex' \ '--with-pear' \ '--with-expat-dir=/usr/local' \ '--with-tidy=/usr/local' \ '--enable-xml=shared' \ -Rasmus

Jan Lehnardt

22 years ago
Hi Andi, On 17 Dec 2003, at 23:12, Andi Gutmans wrote:
> If there aren't any beta show stoppers (i.e. it doesn't format your > harddrive) I'll re-roll final beta 3 tomorrow
it formatted my harddrive, erm no. But see: http://jan.prima.de/~jan/php_test_results_20031217_2353.txt (MacOS X.3) http://jan.prima.de/~jan/php_test_results_20031217_2241.txt (FreeBSD 4.9) Jan
-- Q: Thank Jan? - A: http://geschenke.an.dasmoped.net/ "We cats are very independent. We need nobody, no time, no where, no way. Isn't that right Pooky?" - Garfield Key Fingerprint 7BCC EB86 8313 DDA9 25DF 1805 ECA5 BCB7 BB96 56B0

Johannes Schlueter

22 years ago
Hi, while testing on my Linux-box (Gentoo, 2.4.22, gcc 3.2.3) I've got a segfault while make install (which I could localize to install-pear-packages) I had a snapshot from end-november with this prefix before. If I use an empty directory all works fine. $ ./configure --prefix=/opt/php5 $ make $ make install-pear-packages [PEAR] DB - already installed: 1.5.0RC2 [PEAR] HTTP - already installed: 1.2.1 make: *** [install-pear-packages] Segmentation fault $ ./configure --prefix=/opt/php5 --enable-debug $ make $ make install-pear-packages [PEAR] DB - already installed: 1.5.0RC2 [PEAR] HTTP - already installed: 1.2.1 /home/johannes/src/php-5.0.0b3RC1/Zend/zend_hash.c(504) : ht=0x40672f58 is being destroyed The command running during this failure is ./sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 \ ./pear/install-pear.php \ -d "/opt/php5/lib/php" -b "/opt/php5/bin" \ ./pear/packages/DB-1.5.0RC1.tar \ ./pear/packages/HTTP-1.2.1.tar \ ./pear/packages/Mail-1.1.0.tar \ ./pear/packages/Net_SMTP-1.2.3.tar \ ./pear/packages/Net_Socket-1.0.1.tar \ ./pear/packages/XML_Parser-1.0.1.tar \ ./pear/packages/XML_RPC-1.0.4.tar If I switch Mail and HTTP it works. It works if I remove all packages _after_ Mail, too. Since I neither know the install-pear-script nor know howto debug this in a useful way I don't know how to tell more - just tell me. johannes Andi Gutmans wrote:

Markus Fischer

22 years ago
Just want to add that I was seeing this segfaults too over the last few days; merely when NOT installing from a clean built cvs (e.g. running configure a second time); also always crashed in install-pear-packages when it did crash. Didn't pay much attention because I thought that it was work in progress in HEAD. On Thu, Dec 18, 2003 at 01:18:46AM +0100, Johannes Schlueter wrote :

Andi Gutmans

22 years ago
I really wouldn't like B3 to crash on install-pear-packages. Can you guys take a closer look and see what the problem is? Andi At 08:37 AM 12/18/2003 +0100, Markus Fischer wrote:

Derick Rethans

22 years ago
On Thu, 18 Dec 2003, Andi Gutmans wrote:
> I really wouldn't like B3 to crash on install-pear-packages. > Can you guys take a closer look and see what the problem is?
Ill have a look if I can reproduce it. Derick

Christian Schneider

22 years ago
Andi Gutmans wrote:
> You can get it at http://cvs.php.net/~andi/
Errr, is it just me or is the directory empty? :-) - Chris

Christian Schneider

22 years ago
Oops, sorry, saw the follow too late. - Chris

Andrew Johnstone

22 years ago
PHP 5.0 Beta 3 rc 1 new Reflection_Method('','') causes apache2 on windows to crash szAppName : Apache.exe szAppVer : 2.0.48.0 szModName : php4ts.dll szModVer : 5.0.0.0 offset : 000c351b

Timm Friebe

22 years ago
On Mon, 2003-12-22 at 13:38, Andrew Johnstone wrote:
> PHP 5.0 Beta 3 rc 1 > > new Reflection_Method('','') causes apache2 on windows to crash
Works fine w/ cli: $ ./sapi/cli/php -r 'var_dump(new Reflection_Method("", ""));' Fatal error: Uncaught exception 'reflection_exception' with message 'Class does not exist' in Command line code:1 Stack trace: #0 {main} thrown in Command line code on line 1 Could it be that the crash has to do with uncaught exceptions somehow? Could you please check if: <?php throw(new Exception('Test')); ?> causes the same problem? - Timm