[PHP-BUG] Bug #60748 [NEW]: mysqlnd doesn't honour --with-mysql-sock

2012-01-13 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 16)
PHP version:  5.4.0RC5
Package:  MySQL related
Bug Type: Bug
Bug description:mysqlnd doesn't honour --with-mysql-sock

Description:

Patch to MySQL socket is harcoded and doesn't honour --with-mysql-sock.

Trivial patch fix this


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60748edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60748r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60748r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60748r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60748r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60748r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60748r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60748r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60748r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60748r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60748r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60748r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60748r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60748r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60748r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60748r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60748r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60748r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60748r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60748r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60748r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60748r=mysqlcfg



Bug #60627 [Com]: httpd.worker segfault on startup with php_value

2012-01-04 Thread fedora at famillecollet dot com
Edit report at https://bugs.php.net/bug.php?id=60627edit=1

 ID: 60627
 Comment by: fedora at famillecollet dot com
 Reported by:fedora at famillecollet dot com
 Summary:httpd.worker segfault on startup with php_value
 Status: Feedback
 Type:   Bug
 Package:Apache2 related
 Operating System:   GNU/Linux (Fedora 16)
 PHP Version:5.4SVN-2011-12-30 (snap)
 Assigned To:laruence
 Block user comment: N
 Private report: N

 New Comment:

Thanks for the patch.

Works for me, httpd.worker + php 5.4.0RC5-dev ZTS 201201041830.
(solaris bug seems another issue)


Previous Comments:

[2012-01-04 18:50:34] public at wernig dot net

OK, managed to get gdb into the zone:

# gdb /usr/local/apache2/bin/httpd
GNU gdb 6.8
...
This GDB was configured as i386-pc-solaris2.11...
(gdb) run -X 
Starting program: /usr/local/apache2/bin/httpd -X
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 0074
warning: Lowest section in /lib/libdl.so.1 is .dynamic at 0074
warning: Lowest section in /lib/librt.so.1 is .dynamic at 0074
warning: Lowest section in /lib/libthread.so.1 is .dynamic at 0074

Program received signal SIGSEGV, Segmentation fault.
0xfe8956bb in mutex_lock_impl () from /lib/libc.so.1
(gdb) bt
#0  0xfe8956bb in mutex_lock_impl () from /lib/libc.so.1
#1  0xfe895938 in pthread_mutex_lock () from /lib/libc.so.1
#2  0xfe14088d in tsrm_mutex_lock (mutexp=0x0) at 
/opt/build.d/php-5/tmp/php5.4-201201041430/TSRM/TSRM.c:391
#3  0xfe140e85 in ts_resource_ex (id=0, th_id=0x0) at 
/opt/build.d/php-5/tmp/php5.4-201201041430/TSRM/TSRM.c:391
#4  0xfe1c3538 in _zend_hash_add_or_update (ht=0x8267cc8, arKey=0x8267cf0 
open_basedir, nKeyLength=13, pData=0x8047894, nDataSize=12, pDest=0x0, flag=1)
at /opt/build.d/php-5/tmp/php5.4-201201041430/Zend/zend_hash.c:617
#5  0xfe280bbe in real_value_hnd (dummy=0x8267cc8, name=0x8267cf0 
open_basedir, value=0x8267d00 
/data/web/markus:/usr/local/apache2/php/lib/php, status=4)
at 
/opt/build.d/php-5/tmp/php5.4-201201041430/sapi/apache2handler/apache_config.c:73
#6  0x0808fa2a in invoke_cmd (cmd=0xfe560cf0, parms=0x8047c70, 
mconfig=0x8267cc8, args=0x81a1656 ) at config.c:316
#7  0x08267cc8 in ?? ()
#8  0x08267cf0 in ?? ()
#9  0x08267d00 in ?? ()
#10 0x0004 in ?? ()
#11 0x in ?? ()


[2012-01-04 18:19:22] public at wernig dot net

Yes, the build is always from a pristine source directory (scripted).

I'm sorry to admit that I do not know how to produce a meaningful backtrace. I 
have the core file and gdb installed on the machine, yet not in the environment 
(solaris zone) where apache runs. Could you give a pointer on how to produce a 
helpful backtrace?


[2012-01-04 16:05:09] larue...@php.net

can you give me the backtrace?  and btw, did you build that from a pure 
environ(make clean, make install).


[2012-01-04 15:38:41] public at wernig dot net

I tried php5.4-201201041430.tar.bz2, and the problem persists (Solaris i86pc):

# /usr/local/apache2/php/bin/php --version
PHP 5.4.0RC5-dev (cli) (built: Jan  4 2012 16:32:14) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

# ls -l /usr/local/apache2/modules/
total 40760
-rw-r--r--   1 root root9084 Oct 29 12:14 httpd.exp
-rwxr-xr-x   1 root root 20803576 Jan  4 16:32 libphp5.so

# /usr/local/svc/init.d/apache2 start
Creating Runtime directory /var/run/apache2
Starting Apache2 httpd ... 
/usr/local/apache2/bin/apachectl: line 80: 25146: Memory fault(coredump)


[2012-01-04 08:25:33] larue...@php.net

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.






The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

https://bugs.php.net/bug.php?id=60627


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60627edit=1


[PHP-BUG] Bug #60633 [NEW]: build warning

2012-01-01 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 16)
PHP version:  5.4SVN-2012-01-01 (snap)
Package:  BC math related
Bug Type: Bug
Bug description:build warning

Description:

Build warning

Test script:
---
make

Expected result:

No warning


Actual result:
--
/home/rpmbuild/BUILD/php5.4-201112300630/ext/bcmath/libbcmath/src/recmul.c:
In function '_bc_rec_mul':
/home/rpmbuild/BUILD/php5.4-201112300630/ext/bcmath/libbcmath/src/recmul.c:186:14:
warning: variable 'v0len' set but not used [-Wunused-but-set-variable]
/home/rpmbuild/BUILD/php5.4-201112300630/ext/bcmath/libbcmath/src/recmul.c:186:7:
warning: variable 'u0len' set but not used [-Wunused-but-set-variable]


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60633edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60633r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60633r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60633r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60633r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60633r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60633r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60633r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60633r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60633r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60633r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60633r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60633r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60633r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60633r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60633r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60633r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60633r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60633r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60633r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60633r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60633r=mysqlcfg



[PHP-BUG] Bug #60627 [NEW]: httpd.worker segfault on startup

2011-12-30 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 16)
PHP version:  5.4SVN-2011-12-30 (snap)
Package:  Apache2 related
Bug Type: Bug
Bug description:httpd.worker segfault on startup

Description:

With PHP build in ZTS mode, apache in worker mode segfault during launch

Test script:
---
$ gdb /usr/sbin/httpd.worker 
(gdb) run -X



Expected result:

no error

Actual result:
--
(gdb) run -X
...
Program received signal SIGSEGV, Segmentation fault.
0x7fffec8ca897 in _zend_hash_add_or_update (ht=0x5585a2e8,
arKey=optimized out, nKeyLength=17, pData=0x7fffde70, nDataSize=24,
pDest=0x0, flag=1)
at /usr/src/debug/php5.4-201112300630/Zend/zend_hash.c:268
268 HANDLE_BLOCK_INTERRUPTIONS();

(gdb) bt
#0  0x7fffec8ca897 in _zend_hash_add_or_update
(ht=0x5585a2e8, arKey=optimized out, nKeyLength=17,
pData=0x7fffde70, nDataSize=24, pDest=0x0, flag=1)
at /usr/src/debug/php5.4-201112300630/Zend/zend_hash.c:268
#1  0x7fffec979217 in real_value_hnd
(cmd=0x7fffe1a0, dummy=0x5585a2e8, name=0x558c40b8
register_globals, value=0x7fffded0 0, status=4)
at
/usr/src/debug/php5.4-201112300630/sapi/apache2handler/apache_config.c:73
#2  0x7fffec9792ae in real_flag_hnd
(cmd=0x7fffe1a0, dummy=0x5585a2e8, arg1=0x558c40b8
register_globals, arg2=0x558c40d0 off, status=optimized out)
at
/usr/src/debug/php5.4-201112300630/sapi/apache2handler/apache_config.c:98
#3  0x55580483 in invoke_cmd
(cmd=0x7fffecc918f8, parms=0x7fffe1a0, mconfig=0x5585a2e8,
args=0x5582f224 )
at /usr/src/debug/httpd-2.2.21/server/config.c:810
#4  0x555826fa in ap_walk_config_sub
(section_vector=0x557dc798,
parms=0x7fffe1a0, current=0x5582f1d0)
at /usr/src/debug/httpd-2.2.21/server/config.c:1163
#5  ap_walk_config (current=0x5582f1d0, parms=0x7fffe1a0,
section_vector=0x557dc798)
at /usr/src/debug/httpd-2.2.21/server/config.c:1196
#6  0x55583612 in ap_process_config_tree (s=optimized out, 
conftree=optimized out, p=0x557b7158, ptemp=optimized out)
at /usr/src/debug/httpd-2.2.21/server/config.c:1765
#7  0x5556c314 in main (argc=2, argv=0x7fffe418) 
at /usr/src/debug/httpd-2.2.21/server/main.c:644


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60627edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60627r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60627r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60627r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60627r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60627r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60627r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60627r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60627r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60627r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60627r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60627r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60627r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60627r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60627r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60627r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60627r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60627r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60627r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60627r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60627r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60627r=mysqlcfg



Bug #60627 [Com]: httpd.worker segfault on startup

2011-12-30 Thread fedora at famillecollet dot com
Edit report at https://bugs.php.net/bug.php?id=60627edit=1

 ID: 60627
 Comment by: fedora at famillecollet dot com
 Reported by:fedora at famillecollet dot com
 Summary:httpd.worker segfault on startup
 Status: Open
 Type:   Bug
 Package:Apache2 related
 Operating System:   GNU/Linux (Fedora 16)
 PHP Version:5.4SVN-2011-12-30 (snap)
 Block user comment: N
 Private report: N

 New Comment:

segfault occurs during apache config analyse.

If config doesnt have any php_flag, php_value,... apache starts and works as 
expected.


Previous Comments:

[2011-12-30 19:10:16] fedora at famillecollet dot com

Description:

With PHP build in ZTS mode, apache in worker mode segfault during launch

Test script:
---
$ gdb /usr/sbin/httpd.worker 
(gdb) run -X



Expected result:

no error

Actual result:
--
(gdb) run -X
...
Program received signal SIGSEGV, Segmentation fault.
0x7fffec8ca897 in _zend_hash_add_or_update (ht=0x5585a2e8, 
arKey=optimized out, nKeyLength=17, pData=0x7fffde70, nDataSize=24, 
pDest=0x0, flag=1)
at /usr/src/debug/php5.4-201112300630/Zend/zend_hash.c:268
268 HANDLE_BLOCK_INTERRUPTIONS();

(gdb) bt
#0  0x7fffec8ca897 in _zend_hash_add_or_update
(ht=0x5585a2e8, arKey=optimized out, nKeyLength=17,
pData=0x7fffde70, nDataSize=24, pDest=0x0, flag=1)
at /usr/src/debug/php5.4-201112300630/Zend/zend_hash.c:268
#1  0x7fffec979217 in real_value_hnd
(cmd=0x7fffe1a0, dummy=0x5585a2e8, name=0x558c40b8
register_globals, value=0x7fffded0 0, status=4)
at /usr/src/debug/php5.4-201112300630/sapi/apache2handler/apache_config.c:73
#2  0x7fffec9792ae in real_flag_hnd
(cmd=0x7fffe1a0, dummy=0x5585a2e8, arg1=0x558c40b8
register_globals, arg2=0x558c40d0 off, status=optimized out)
at /usr/src/debug/php5.4-201112300630/sapi/apache2handler/apache_config.c:98
#3  0x55580483 in invoke_cmd
(cmd=0x7fffecc918f8, parms=0x7fffe1a0, mconfig=0x5585a2e8,
args=0x5582f224 )
at /usr/src/debug/httpd-2.2.21/server/config.c:810
#4  0x555826fa in ap_walk_config_sub (section_vector=0x557dc798,
parms=0x7fffe1a0, current=0x5582f1d0)
at /usr/src/debug/httpd-2.2.21/server/config.c:1163
#5  ap_walk_config (current=0x5582f1d0, parms=0x7fffe1a0,
section_vector=0x557dc798)
at /usr/src/debug/httpd-2.2.21/server/config.c:1196
#6  0x55583612 in ap_process_config_tree (s=optimized out, 
conftree=optimized out, p=0x557b7158, ptemp=optimized out)
at /usr/src/debug/httpd-2.2.21/server/config.c:1765
#7  0x5556c314 in main (argc=2, argv=0x7fffe418) 
at /usr/src/debug/httpd-2.2.21/server/main.c:644







-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60627edit=1


[PHP-BUG] Req #60330 [NEW]: Xebug 2.2.0 requires autotools 2.60

2011-11-18 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 15)
PHP version:  5.4.0RC1
Package:  Xdebug
Bug Type: Feature/Change Request
Bug description:Xebug 2.2.0 requires autotools 2.60

Description:

I'm working on pecl extensions RPM for PHP 5.4.

XDebug/debugclient requires autoconf 2.60 while PHP only requires 2.59.

Can you please consider switching back to same version than PHP, this will
allow to build this must have extension for Enterprise Linux 5 (RedHat,
CentOS, ...).

According to my test, 
sed -i -e '/AC_PREREQ/s/2.60/2.59/' debugclient/configure.in

Allow to build, without issue, on EL-5.

Thanks.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60330edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60330r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60330r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60330r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60330r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60330r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60330r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60330r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60330r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60330r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60330r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60330r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60330r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60330r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60330r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60330r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60330r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60330r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60330r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60330r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60330r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60330r=mysqlcfg



[PHP-BUG] Bug #60331 [NEW]: php 5.4 + zts build fails

2011-11-18 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 15)
PHP version:  5.4.0RC1
Package:  mailparse
Bug Type: Bug
Bug description:php 5.4 + zts build fails

Description:

Building this extension against PHP 5.4.0RC1 fails.

function_entry should be replace by zend_function_entry

In ZTS mode, zome tsrm_ls are missing, adding TSRMLS_* macro solves this
issue.


Please consider attached patch

Note : build and load fine.
All tests succed.


Expected result:

=
PHP : /usr/bin/php 
PHP_SAPI: cli
PHP_VERSION : 5.4.0RC2-dev
ZEND_VERSION: 2.4.0
PHP_OS  : Linux - Linux lovelock.famillecollet.com
2.6.41.1-1.fc15.x86_64 #1 SMP Fri Nov 11 21:36:28 UTC 2011 x86_64
INI actual  : /dev/shm/php-pecl-mailparse-2.1.5/mailparse-2.1.5
More .INIs  :  
CWD : /dev/shm/php-pecl-mailparse-2.1.5/mailparse-2.1.5
Extra dirs  : 
VALGRIND: Not used
=
TIME START 2011-11-18 18:00:37
=
PASS Check for mailparse presence [tests/001.phpt] 
PASS Check stream encoding [tests/002.phpt] 
PASS Check handling of multiple To headers [tests/003.phpt] 
PASS Check uudecode_all [tests/004.phpt] 
PASS Check quoted-printable encoding generates S/MIME safe content
[tests/005.phpt] 
PASS Check extract_part_file [tests/006.phpt] 
PASS Check RFC822 Conformance [tests/007.phpt] 
PASS OO API Segfault when opening a file is not possible [tests/008.phpt] 
PASS Multiple UUE attachments not recognized [tests/009.phpt] 
PASS Multiple headers not parsed into arra bug #6862 [tests/010.phpt] 
PASS Parse messages in testdata dir [tests/parse_test_messages.phpt] 
=
TIME END 2011-11-18 18:00:37

=
TEST RESULT SUMMARY
-
Exts skipped:0
Exts tested :   31
-

Number of tests :   1111
Tests skipped   :0 (  0.0%) 
Tests warned:0 (  0.0%) (  0.0%)
Tests failed:0 (  0.0%) (  0.0%)
Expected fail   :0 (  0.0%) (  0.0%)
Tests passed:   11 (100.0%) (100.0%)
-
Time taken  :0 seconds
=



-- 
Edit bug report at https://bugs.php.net/bug.php?id=60331edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60331r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60331r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60331r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60331r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60331r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60331r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60331r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60331r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60331r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60331r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60331r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60331r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60331r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60331r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60331r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60331r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60331r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60331r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60331r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60331r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60331r=mysqlcfg



[PHP-BUG] Bug #60313 [NEW]: solrobject_002 test fails with PHP 5.4.0

2011-11-16 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 15)
PHP version:  5.4.0RC1
Package:  solr
Bug Type: Bug
Bug description:solrobject_002 test fails with PHP 5.4.0

Description:

Trying to build this extension against PHP 5.4.0 (20130730) is ok, but
solrobject_002 fails.

Test script:
---
REPORT_EXIT_STATUS=1 \
NO_INTERACTION=1 \
TEST_PHP_EXECUTABLE=/usr/bin/php \
/usr/bin/php run-tests.php



Expected result:

All tests succeed


Actual result:
--
=
TEST RESULT SUMMARY
-
Exts skipped:0
Exts tested :   32
-

Number of tests :   2117
Tests skipped   :4 ( 19.0%) 
Tests warned:0 (  0.0%) (  0.0%)
Tests failed:1 (  4.8%) (  5.9%)
Expected fail   :0 (  0.0%) (  0.0%)
Tests passed:   16 ( 76.2%) ( 94.1%)
-
Time taken  :1 seconds
=

=
FAILED TEST SUMMARY
-
SolrObject - checking illegal operation of modifying object
[tests/solrobject_002.phpt]
=


Content of solrobject_002.diff
003- array(0) {
004- }


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60313edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60313r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60313r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60313r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60313r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60313r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60313r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60313r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60313r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60313r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60313r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60313r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60313r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60313r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60313r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60313r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60313r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60313r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60313r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60313r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60313r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60313r=mysqlcfg



[PHP-BUG] Bug #60308 [NEW]: Buld fails against PHP-5.4.0RC2-dev

2011-11-15 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 15)
PHP version:  5.4.0RC1
Package:  gmagick
Bug Type: Bug
Bug description:Buld fails against PHP-5.4.0RC2-dev

Description:

gmagick 1.0.9b1 don't build against latest PHP 5.4.0 snapshot.

Attached patch solves the various issues

All tests run fine
(except gmagick-006-annotateimage because of not available font)


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60308edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60308r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60308r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60308r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60308r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60308r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60308r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60308r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60308r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60308r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60308r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60308r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60308r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60308r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60308r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60308r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60308r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60308r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60308r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60308r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60308r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60308r=mysqlcfg



Bug #60308 [Com]: Buld fails against PHP-5.4.0RC2-dev

2011-11-15 Thread fedora at famillecollet dot com
Edit report at https://bugs.php.net/bug.php?id=60308edit=1

 ID: 60308
 Comment by: fedora at famillecollet dot com
 Reported by:fedora at famillecollet dot com
 Summary:Buld fails against PHP-5.4.0RC2-dev
 Status: Open
 Type:   Bug
 Package:gmagick
 Operating System:   GNU/Linux (Fedora 15)
 PHP Version:5.4.0RC1
 Block user comment: N
 Private report: N

 New Comment:

Can't you please also provides the tests folder in the released tarball (for 
the next version) ?


Previous Comments:

[2011-11-15 17:29:44] fedora at famillecollet dot com

Description:

gmagick 1.0.9b1 don't build against latest PHP 5.4.0 snapshot.

Attached patch solves the various issues

All tests run fine
(except gmagick-006-annotateimage because of not available font)







-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60308edit=1


[PHP-BUG] Bug #60298 [NEW]: PHP 5.4.0RC1 - Tests failed : 2

2011-11-14 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 15)
PHP version:  5.4.0RC1
Package:  igbinary
Bug Type: Bug
Bug description:PHP 5.4.0RC1 - Tests failed : 2 

Description:

Tried with 1.1.1 and latest git snapshot.



Test script:
---
make test


Expected result:

Test failed : 0

Actual result:
--
=
TEST RESULT SUMMARY
-
Exts skipped:0
Exts tested :   30
-

Number of tests :   4441
Tests skipped   :3 (  6.8%) 
Tests warned:0 (  0.0%) (  0.0%)
Tests failed:2 (  4.5%) (  4.9%)
Expected fail   :0 (  0.0%) (  0.0%)
Tests passed:   39 ( 88.6%) ( 95.1%)
-
Time taken  :1 seconds
=

=
FAILED TEST SUMMARY
-
Recursive objects [tests/igbinary_024.phpt]
Unserialize backwards compatible with v1.
[tests/igbinary_unserialize_v1_compatible.phpt]
=


$ cat tests/igbinary_024.diff
001+ 
001- objectrec
002-
17044f626a32140711026161001105002a006262001108004f626a32006363001109004f626a32006f626a17034f626a140311016106011104002a006206021106004f626a006306030e06060111016206021101630603
003- OK
004- objectrecarr
005-
17044f626a331401110a004f626a33006f626a731404060017034f626a140311016106001104002a006206001106004f626a0063060406011a0214030e0306000e0406010e05060406021a0214030e0306000e0406020e05060406031a0214030e0306000e0406030e050604
006- OK
007- objectselfrec
008- 17044f626a3414021107004f626a34006106641109004f626a34006f626a2200
009- OK

$ cat tests/igbinary_unserialize_v1_compatible.diff
001+ Differing unserialized: object
002+ Expected:
001- reference deserialization works, but the result is not a reference.
002- OK
003+ object(stdClass)#0 (4) {
004+   [0]=
005+   int(1)
006+   [1]=
007+   int(2)
008+   [2]=
009+   int(3)
010+   [3]=
011+   int(4)
012+ }
013+ 
014+ Actual:
015+ object(stdClass)#0 (4) {
016+   [0]=
017+   int(1)
018+   [1]=
019+   int(2)
020+   [2]=
021+   int(3)
022+   [3]=
023+   int(4)
024+ }
025+ 
026+ reference deserialization works, but the result is not a reference.
027+ OK


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60298edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60298r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60298r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60298r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60298r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60298r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60298r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60298r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60298r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60298r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60298r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60298r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60298r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60298r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60298r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60298r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60298r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60298r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60298r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60298r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60298r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60298r=mysqlcfg



Bug #60298 [Com]: PHP 5.4.0RC1 - Tests failed : 2

2011-11-14 Thread fedora at famillecollet dot com
Edit report at https://bugs.php.net/bug.php?id=60298edit=1

 ID: 60298
 Comment by: fedora at famillecollet dot com
 Reported by:fedora at famillecollet dot com
 Summary:PHP 5.4.0RC1 - Tests failed : 2
 Status: Open
 Type:   Bug
 Package:igbinary
 Operating System:   GNU/Linux (Fedora 15)
 PHP Version:5.4.0RC1
 Block user comment: N
 Private report: N

 New Comment:

About igbinary_unserialize_v1_compatible, it seems related to 
https://bugs.php.net/bug.php?id=55798.

I think igbinary unserialization result should be the same than PHP standard 
serializer.

Linked bug is fix in 5.3 branch, so the test will also failed when this version 
will be published.


Previous Comments:

[2011-11-14 17:45:56] fedora at famillecollet dot com

Description:

Tried with 1.1.1 and latest git snapshot.



Test script:
---
make test


Expected result:

Test failed : 0

Actual result:
--
=
TEST RESULT SUMMARY
-
Exts skipped:0
Exts tested :   30
-

Number of tests :   4441
Tests skipped   :3 (  6.8%) 
Tests warned:0 (  0.0%) (  0.0%)
Tests failed:2 (  4.5%) (  4.9%)
Expected fail   :0 (  0.0%) (  0.0%)
Tests passed:   39 ( 88.6%) ( 95.1%)
-
Time taken  :1 seconds
=

=
FAILED TEST SUMMARY
-
Recursive objects [tests/igbinary_024.phpt]
Unserialize backwards compatible with v1. 
[tests/igbinary_unserialize_v1_compatible.phpt]
=


$ cat tests/igbinary_024.diff
001+ 
001- objectrec
002- 
17044f626a32140711026161001105002a006262001108004f626a32006363001109004f626a32006f626a17034f626a140311016106011104002a006206021106004f626a006306030e06060111016206021101630603
003- OK
004- objectrecarr
005- 
17044f626a331401110a004f626a33006f626a731404060017034f626a140311016106001104002a006206001106004f626a0063060406011a0214030e0306000e0406010e05060406021a0214030e0306000e0406020e05060406031a0214030e0306000e0406030e050604
006- OK
007- objectselfrec
008- 17044f626a3414021107004f626a34006106641109004f626a34006f626a2200
009- OK

$ cat tests/igbinary_unserialize_v1_compatible.diff
001+ Differing unserialized: object
002+ Expected:
001- reference deserialization works, but the result is not a reference.
002- OK
003+ object(stdClass)#0 (4) {
004+   [0]=
005+   int(1)
006+   [1]=
007+   int(2)
008+   [2]=
009+   int(3)
010+   [3]=
011+   int(4)
012+ }
013+ 
014+ Actual:
015+ object(stdClass)#0 (4) {
016+   [0]=
017+   int(1)
018+   [1]=
019+   int(2)
020+   [2]=
021+   int(3)
022+   [3]=
023+   int(4)
024+ }
025+ 
026+ reference deserialization works, but the result is not a reference.
027+ OK







-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60298edit=1


[PHP-BUG] Bug #60284 [NEW]: php 5.4 + zts build fails

2011-11-13 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 15)
PHP version:  5.4SVN-2011-11-13 (snap)
Package:  memcache
Bug Type: Bug
Bug description:php 5.4 + zts build fails

Description:

From UPGRADING.INTERNALS

h. API Signature changes

. zend_list_insert
  ZEND_API int zend_list_insert(void *ptr, int type TSRMLS_DC);

The attached patch fixes this issue.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60284edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60284r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60284r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60284r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60284r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60284r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60284r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60284r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60284r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60284r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60284r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60284r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60284r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60284r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60284r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60284r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60284r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60284r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60284r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60284r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60284r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60284r=mysqlcfg



[PHP-BUG] Bug #60066 [NEW]: PHP segfault when build against GeoIP 1.4.8

2011-10-15 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 15)
PHP version:  5.3.8
Package:  geoip
Bug Type: Bug
Bug description:PHP segfault when build against GeoIP 1.4.8

Description:

Reading the source code (of GeoIP) show that some GeoIPDBFileName are not
defined, so this cause a segfault when trying to copy it to result.

The trivial attached patch solves this issue.


Test script:
---
php -r 'var_dump(geoip_db_get_all_info());'

Expected result:

array(31) {
  [1]=
  array(3) {
[available]=
bool(true)
[description]=
string(21) GeoIP Country Edition
[filename]=
string(26) /usr/share/GeoIP/GeoIP.dat
  }
...


Actual result:
--
Segmentation fault (core dumped)


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60066edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60066r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60066r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60066r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60066r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60066r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60066r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60066r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60066r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60066r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60066r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60066r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60066r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60066r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60066r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60066r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60066r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60066r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60066r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60066r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60066r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60066r=mysqlcfg



[PHP-BUG] Bug #55577 [NEW]: Install fails

2011-09-03 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 15)
PHP version:  5.4SVN-2011-09-03 (snap)
Package:  FPM related
Bug Type: Bug
Bug description:Install fails

Description:

status.html is not present in the build tree, so can't be installed

Attached patch fix this issue.
Another solution could be to add status.html to the PHP_OUTPUT in
config.m4


Test script:
---
+ make -C build-fpm install-fpm INSTALL_ROOT=/home/rpmbuild/BUILDROOT



Expected result:

make: Entering directory `/dev/shm/php5.4-201109031230/build-fpm'
Installing PHP FPM binary:   
/home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/sbin/
Installing PHP FPM config:   
/home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/etc/
Installing PHP FPM man page: 
/home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/share/man/man8/
Installing PHP FPM status page: 
/home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/share/fpm/
make: Leaving directory `/dev/shm/php5.4-201109031230/build-fpm'
make[1]: *** [install-fpm] Error 1

Actual result:
--
/php-5.3.8-0.1.201109031230.fc15.remi.x86_64
make[1]: Entering directory `/dev/shm/php5.4-201109031230/build-fpm'
Installing PHP FPM binary:   
/home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/sbin/
Installing PHP FPM config:   
/home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/etc/
Installing PHP FPM man page: 
/home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/share/man/man8/
Installing PHP FPM status page: 
/home/rpmbuild/BUILDROOT/php-5.3.8-0.1.201109031230.fc15.remi.x86_64/usr/share/fpm/
cp: cannot stat `sapi/fpm/status.html': No such file or directory


-- 
Edit bug report at https://bugs.php.net/bug.php?id=55577edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=55577r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=55577r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=55577r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=55577r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=55577r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=55577r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=55577r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=55577r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=55577r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=55577r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=55577r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=55577r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=55577r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=55577r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=55577r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=55577r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=55577r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=55577r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=55577r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=55577r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=55577r=mysqlcfg



Req #53436 [Fbk-Opn]: RFE: add check for php headers in phpize

2011-08-28 Thread fedora at famillecollet dot com
Edit report at https://bugs.php.net/bug.php?id=53436edit=1

 ID: 53436
 User updated by:fedora at famillecollet dot com
 Reported by:fedora at famillecollet dot com
 Summary:RFE: add check for php headers in phpize
-Status: Feedback
+Status: Open
 Type:   Feature/Change Request
 Package:Compile Failure
 Operating System:   GNU/Linux (Fedora 14)
 PHP Version:5.3SVN-2010-12-01 (SVN)
 Block user comment: N
 Private report: N

 New Comment:

 This patch can not be incorporated as-is - it refers to php-devel package, 
Yes, the message need to be more generic


 In general, I'm not sure why PECL command should always fail on --version
 if headers are not present,
Because phpize get version from headers (see phpize_get_api_numbers)


 so how this patch improves things?
Giving a comprehensive explanation to the user (the reason why the build fails)


Previous Comments:

[2011-08-28 09:44:45] s...@php.net

This patch can not be incorporated as-is - it refers to php-devel package, 
which has no meaning outside of certain binary distributions of PHP.

In general, I'm not sure why PECL command should always fail on --version if 
headers are not present, especially since, as you suggest, it may be useful 
without them. 

As for the build, if I understand correctly, the build would fail anyway if 
headers are not present, so how this patch improves things?


[2010-12-01 15:49:52] fedora at famillecollet dot com

Description:

phpize is used to build pecl extension.
This script already does a lot of sanity check before the build.

On GNU/Linux distribution, PHP headers are available in a sub-package

phpize should check if header are available before running the build.

See : https://bugzilla.redhat.com/657812

Note than pecl command is usefull, even without php-devel to 
register/unregister packaged extension (--nobuild option), to list regitered 
extensions, etc.


Test script:
---
# yum remove php-devel # or any other command, apt, ...
# pecl install APC


Expected result:

49 source files, building
running: phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
ERROR: `phpize' failed








-- 
Edit this bug report at https://bugs.php.net/bug.php?id=53436edit=1


[PHP-BUG] Bug #55080 [NEW]: Deprecated call in run--test.php

2011-06-29 Thread fedora at famillecollet dot com
From: 
Operating system: all
PHP version:  5.3.6
Package:  Unknown/Other Function
Bug Type: Bug
Bug description:Deprecated call in run--test.php

Description:

When TEST_PHP_ARGS is used, run-tests throw a warning.

Trivial patch attached, for 5.3.7RC1 and 5.4


-- 
Edit bug report at https://bugs.php.net/bug.php?id=55080edit=1
-- 
Try a snapshot (PHP 5.2):
https://bugs.php.net/fix.php?id=55080r=trysnapshot52
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=55080r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=55080r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=55080r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=55080r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=55080r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=55080r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=55080r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=55080r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=55080r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=55080r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=55080r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=55080r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=55080r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=55080r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=55080r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=55080r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=55080r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=55080r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=55080r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=55080r=mysqlcfg
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=55080r=trysnapshot54



[PHP-BUG] Req #54450 [NEW]: Missing functions with libedit

2011-04-02 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 14)
PHP version:  5.3.6
Package:  Readline related
Bug Type: Feature/Change Request
Bug description:Missing functions with libedit

Description:

libedit (tested with version 3.0) provides callback functions, but php
doesn't detects/provides them.





The attached patched 

- add detection for rl_callback_read_char when build with
--with-readline

- add detection for rl_on_new_line which is only available when build
--with-readline



Exemple from http://www.php.net/readline_callback_handler_install works.



Test script:
---
php  -r 'print_r(get_extension_funcs(readline));'

Expected result:

Array

(

[0] = readline

[1] = readline_info

[2] = readline_add_history

[3] = readline_clear_history

[4] = readline_read_history

[5] = readline_write_history

[6] = readline_completion_function

[7] = readline_callback_handler_install

[8] = readline_callback_read_char

[9] = readline_callback_handler_remove

[10] = readline_redisplay

)



Actual result:
--
Array

(

[0] = readline

[1] = readline_info

[2] = readline_add_history

[3] = readline_clear_history

[4] = readline_read_history

[5] = readline_write_history

[6] = readline_completion_function

)



-- 
Edit bug report at http://bugs.php.net/bug.php?id=54450edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=54450r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=54450r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=54450r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=54450r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=54450r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=54450r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=54450r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=54450r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=54450r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=54450r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=54450r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=54450r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=54450r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=54450r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=54450r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=54450r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=54450r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=54450r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=54450r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=54450r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=54450r=mysqlcfg



[PHP-BUG] Bug #53527 [NEW]: php-fpm --test doesn't set a valuable return value

2010-12-12 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 14)
PHP version:  5.3.4
Package:  FPM related
Bug Type: Bug
Bug description:php-fpm --test doesn't set a valuable return value

Description:

php-fpm --test always return 255



It will be great if the return code give information about the result.

It will allow to create an intelligent init script to reload the config



Something like:

if php-fpm --test; then

  killproc  -p ${pidfile} php-fpm -USR2

fi



Test script:
---
# php-fpm --test ; echo $?



Expected result:

Dec 12 17:35:19.752605 [NOTICE] configuration file /etc/php-fpm.conf test
is successful

0



Actual result:
--
Dec 12 17:35:19.752605 [NOTICE] configuration file /etc/php-fpm.conf test
is successful

255



-- 
Edit bug report at http://bugs.php.net/bug.php?id=53527edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=53527r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=53527r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=53527r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=53527r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53527r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=53527r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=53527r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=53527r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=53527r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=53527r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=53527r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=53527r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=53527r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=53527r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=53527r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=53527r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=53527r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=53527r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=53527r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=53527r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=53527r=mysqlcfg



[PHP-BUG] Req #53436 [NEW]: RFE: add check for php headers in phpize

2010-12-01 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (Fedora 14)
PHP version:  5.3SVN-2010-12-01 (SVN)
Package:  *Compile Issues
Bug Type: Feature/Change Request
Bug description:RFE: add check for php headers in phpize

Description:

phpize is used to build pecl extension.

This script already does a lot of sanity check before the build.



On GNU/Linux distribution, PHP headers are available in a sub-package



phpize should check if header are available before running the build.



See : https://bugzilla.redhat.com/657812



Note than pecl command is usefull, even without php-devel to
register/unregister packaged extension (--nobuild option), to list
regitered extensions, etc.



Test script:
---
# yum remove php-devel # or any other command, apt, ...

# pecl install APC



Expected result:

49 source files, building

running: phpize

Can't find PHP headers in /usr/include/php

The php-devel package is required for use of this command.

ERROR: `phpize' failed




-- 
Edit bug report at http://bugs.php.net/bug.php?id=53436edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=53436r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=53436r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=53436r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=53436r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53436r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=53436r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=53436r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=53436r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=53436r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=53436r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=53436r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=53436r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=53436r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=53436r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=53436r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=53436r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=53436r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=53436r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=53436r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=53436r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=53436r=mysqlcfg



Bug #52786 [Com]: PHP should reset section to [PHP] after ini sections

2010-09-06 Thread Fedora at famillecollet dot com
Edit report at http://bugs.php.net/bug.php?id=52786edit=1

 ID: 52786
 Comment by: Fedora at famillecollet dot com
 Reported by:f dot grutschus at lubyte dot de
 Summary:PHP should reset section to [PHP] after ini sections
 Status: Open
 Type:   Bug
 Package:Dynamic loading
 Operating System:   Linux
 PHP Version:5.3.3
 Block user comment: N

 New Comment:

The patch proposal fixes 2 issues :



- reset ini hash before each file instead of before parsing file in
php.d (move the call to RESET_ACTIVE_INI_HASH



- reset is_special_section in RESET_ACTIVE_INI_HASH


Previous Comments:

[2010-09-06 20:39:19] f dot grutschus at lubyte dot de

Description:

Many distributions use config-file-scan-dir configure option to set a
custom config scan directory.



When PHP ini sections are used in the main php.ini, or in an ini file at
the config-file-scan-dir, the following ini files can't use extension=
or zend_extenstion=.



This prevents PHP modules from being loaded and breaks many distribution
packages. Tested with Debian
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595761) and Fedora
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595761).



See also my comment here:
http://www.php.net/manual/en/ini.sections.php#99780



Please clarify if this is a PHP bug or any following ini must use [PHP].

Test script:
---
on Fedora:

# php -m | wc -l 

73  

# echo [PATH=/usr] /etc/php.d/test.ini

# php -m | wc -l

65 

Expected result:

automatic set ini section back to [PHP] after [PATH=] or [HOST=]

Actual result:
--
[PATH=] or [HOST=] prevents any following extension or zend_extension
config option. 






-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52786edit=1


Bug #52786 [Com]: PHP should reset section to [PHP] after ini sections

2010-09-06 Thread Fedora at famillecollet dot com
Edit report at http://bugs.php.net/bug.php?id=52786edit=1

 ID: 52786
 Comment by: Fedora at famillecollet dot com
 Reported by:f dot grutschus at lubyte dot de
 Summary:PHP should reset section to [PHP] after ini sections
 Status: Open
 Type:   Bug
 Package:Dynamic loading
 Operating System:   Linux
 PHP Version:5.3.3
 Block user comment: N

 New Comment:

Fedora path ref is https://bugzilla.redhat.com/630635


Previous Comments:

[2010-09-06 20:55:58] Fedora at famillecollet dot com

The patch proposal fixes 2 issues :



- reset ini hash before each file instead of before parsing file in
php.d (move the call to RESET_ACTIVE_INI_HASH



- reset is_special_section in RESET_ACTIVE_INI_HASH


[2010-09-06 20:39:19] f dot grutschus at lubyte dot de

Description:

Many distributions use config-file-scan-dir configure option to set a
custom config scan directory.



When PHP ini sections are used in the main php.ini, or in an ini file at
the config-file-scan-dir, the following ini files can't use extension=
or zend_extenstion=.



This prevents PHP modules from being loaded and breaks many distribution
packages. Tested with Debian
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595761) and Fedora
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595761).



See also my comment here:
http://www.php.net/manual/en/ini.sections.php#99780



Please clarify if this is a PHP bug or any following ini must use [PHP].

Test script:
---
on Fedora:

# php -m | wc -l 

73  

# echo [PATH=/usr] /etc/php.d/test.ini

# php -m | wc -l

65 

Expected result:

automatic set ini section back to [PHP] after [PATH=] or [HOST=]

Actual result:
--
[PATH=] or [HOST=] prevents any following extension or zend_extension
config option. 






-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52786edit=1


Bug #52725 [Fbk-Asn]: undefined reference to `__sync_bool_compare_and_swap_4'

2010-08-30 Thread fedora at famillecollet dot com
Edit report at http://bugs.php.net/bug.php?id=52725edit=1

 ID: 52725
 User updated by:fedora at famillecollet dot com
 Reported by:fedora at famillecollet dot com
 Summary:undefined reference to
 `__sync_bool_compare_and_swap_4'
-Status: Feedback
+Status: Assigned
 Type:   Bug
 Package:FPM related
 Operating System:   GNU/Linux (RHEL 5.5)
 PHP Version:5.3SVN-2010-08-28 (snap)
 Assigned To:fat
 Block user comment: N

 New Comment:

Try build of latest snapshot (201008301430) with your patch



Fedora 13 x86_64 - gcc 4.4.4 : BUILD OK



$ grep HAVE_BUILTIN_ATOMIC build-fpm/main/php_config.h 

#define HAVE_BUILTIN_ATOMIC 1



Enterprise Linux 5 i386 - gcc 4.1.2 : BUILD OK



$ grep HAVE_BUILTIN_ATOMIC build-fpm/main/php_config.h

/* #undef HAVE_BUILTIN_ATOMIC */





So, the patch seems fine to me.

Thanks for taking care of this.


Previous Comments:

[2010-08-30 15:47:11] f...@php.net

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to Open.

Thank you for your interest in PHP.


Can you please try the following patch ?



Don't forget to run ./buildconf before executing ./configure
--enable-fpm  make.



Thanks


[2010-08-30 15:45:55] f...@php.net

The following patch has been added/updated:

Patch Name: fpm_builtin_atomic.patch
Revision:   1283175955
URL:   
http://bugs.php.net/patch-display.php?bug=52725patch=fpm_builtin_atomic.patchrevision=1283175955


[2010-08-28 22:37:23] fedora at famillecollet dot com

Description:

Build fails on RHEL/Centos 5 (gcc-4.1.2)



sapi/fpm/fpm/fpm_shm_slots.o: In function `fpm_spinlock':

/builddir/build/BUILD/php5.3-201008281230/sapi/fpm/fpm/fpm_atomic.h:148:
undefined reference to `__sync_bool_compare_and_swap_4'

/builddir/build/BUILD/php5.3-201008281230/sapi/fpm/fpm/fpm_atomic.h:143:
undefined reference to `__sync_bool_compare_and_swap_4'



This seems linked to commit 302600

http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/sapi/fpm/fpm/fpm_atomic.h?r1=299794r2=302600



Changing the test fixes the issue  

#if (__GNUC__)  (__GNUC__ = 4   __GNUC_MINOR__ = 2)



I don't know which is the correct value.



Build ok on fedora 12 (gcc-4.4.4) and fedora 13 (gcc-4.4.4)









-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52725edit=1


[PHP-BUG] Bug #52725 [NEW]: undefined reference to `__sync_bool_compare_and_swap_4'

2010-08-28 Thread fedora at famillecollet dot com
From: 
Operating system: GNU/Linux (RHEL 5.5)
PHP version:  5.3SVN-2010-08-28 (snap)
Package:  FPM related
Bug Type: Bug
Bug description:undefined reference to `__sync_bool_compare_and_swap_4'

Description:

Build fails on RHEL/Centos 5 (gcc-4.1.2)



sapi/fpm/fpm/fpm_shm_slots.o: In function `fpm_spinlock':

/builddir/build/BUILD/php5.3-201008281230/sapi/fpm/fpm/fpm_atomic.h:148:
undefined reference to `__sync_bool_compare_and_swap_4'

/builddir/build/BUILD/php5.3-201008281230/sapi/fpm/fpm/fpm_atomic.h:143:
undefined reference to `__sync_bool_compare_and_swap_4'



This seems linked to commit 302600

http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/sapi/fpm/fpm/fpm_atomic.h?r1=299794r2=302600



Changing the test fixes the issue  

#if (__GNUC__)  (__GNUC__ = 4   __GNUC_MINOR__ = 2)



I don't know which is the correct value.



Build ok on fedora 12 (gcc-4.4.4) and fedora 13 (gcc-4.4.4)




-- 
Edit bug report at http://bugs.php.net/bug.php?id=52725edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52725r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52725r=trysnapshot53
Try a snapshot (trunk):  
http://bugs.php.net/fix.php?id=52725r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52725r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52725r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52725r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=52725r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=52725r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=52725r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=52725r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=52725r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=52725r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=52725r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52725r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=52725r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=52725r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=52725r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=52725r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=52725r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=52725r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=52725r=mysqlcfg



[PHP-BUG] Bug #51901 [NEW]: tests/classes/constants_error_004.phpt

2010-05-24 Thread fedora at famillecollet dot com
From: 
Operating system: Linux (Fedora 13)
PHP version:  5.3SVN-2010-05-24 (snap)
Package:  Unknown/Other Function
Bug Type: Bug
Bug description:tests/classes/constants_error_004.phpt

Description:

Error message seems have changed



Test script:
---
$ TEST_PHP_EXECUTABLE=$(which php) \

 php run-tests.php tests/classes/constants_error_004.phpt



Expected result:

Tests passed:1 (100.0%) (100.0%)

Actual result:
--
Tests failed:1 (100.0%) (100.0%)



$ cat tests/classes/constants_error_004.diff

001+ Fatal error: Class 'D' not found in
/tmp/php5.3-201005241430/tests/classes/constants_error_004.php on line 7

001- Fatal error: Undefined class constant 'D::hello' in %s on line %d 



-- 
Edit bug report at http://bugs.php.net/bug.php?id=51901edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=51901r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=51901r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=51901r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=51901r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51901r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=51901r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=51901r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=51901r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=51901r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=51901r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=51901r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=51901r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=51901r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=51901r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=51901r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=51901r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=51901r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=51901r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=51901r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=51901r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=51901r=mysqlcfg



Bug #51624 [Com]: Gallery2 causing segfault when trying to update.

2010-04-22 Thread Fedora at famillecollet dot com
Edit report at http://bugs.php.net/bug.php?id=51624edit=1

 ID:   51624
 Comment by:   Fedora at famillecollet dot com
 Reported by:  zulcss at ubuntu dot com
 Summary:  Gallery2 causing segfault when trying to update.
 Status:   Feedback
 Type: Bug
 Package:  Reproducible crash
 Operating System: Ubuntu/Linux
 PHP Version:  5.3.2

 New Comment:

I just try gallery2 with 201004221630 snapshot (5.3.3-dev).



No crash encountered.



Just need to found the fix in subversion.


Previous Comments:

[2010-04-21 16:52:58] fel...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




[2010-04-21 14:10:18] zulcss at ubuntu dot com

Description:

Hi,



This bug was recently reported on launchpad at
http://bugs.launchpad.net/bugs/567043. I have included the gdb backtrace
with this bug report.



Regards

chuck

Expected result:

Not to crash.

Actual result:
--
#0  0x7fe478493d02 in memcpy () from /lib/libc.so.6

No symbol table info available.

#1  0x00677ff8 in _estrndup (s=0x4d0050 Address
0x4d0050 out of bounds, length=90) at
/usr/include/bits/string3.h:52

No locals.

#2  0x0069459b in _zval_copy_ctor_func (zvalue=0x1f84ca8) at
/build/buildd/php5-5.3.2/Zend/zend_variables.c:126

tmp = 0x1ecb470

original_ht = 0x1ecb470

#3  0x7fe4752b0f68 in zif_mysqli_options (ht=33049848,
return_value=0x1f84c58, return_value_ptr=0x5a, this_ptr=0x4d0050,
return_value_used=17) at
/build/buildd/php5-5.3.2/Zend/zend_variables.h:45

mysql_link = 0x1f84ca8

mysql_value = 0x5

mysql_option = 33049648

l_value = 0

expected_type = 33049848

#4  0x006e598a in zend_do_fcall_common_helper_SPEC
(execute_data=0x142a390) at
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:313

opline = 0x15c7698

should_change_scope = 0 '\000'

#5  0x006bcc70 in execute (op_array=0x11d7080) at
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104

ret = 33049848

execute_data = 0x142a390

nested = 0 '\000'

original_in_execution = 1 '\001'

#6  0x0068ab94 in zend_call_function (fci=0x7fff6ab02fd0,
fci_cache=0x141f840) at
/build/buildd/php5-5.3.2/Zend/zend_execute_API.c:947

i = 17

original_return_value = 0x141f6f0

calling_symbol_table = 0x1938398

original_op_array = 0x19cf630

original_opline_ptr = incomplete type

current_scope = 0x1db96c0

current_called_scope = 0x1938398

calling_scope = 0x0

called_scope = 0x141f6f0

current_this = 0x0

execute_data = {opline = 0x0, function_state = {function = 0x0,
arguments = 0x1949408}, fbc = 0x141fe68, called_scope = 0x0, op_array =
0x0, object = 0x0, Ts = 0x1956490, CVs = 0x141f938, symbol_table =
0x141f8d8, 

  prev_execute_data = 0x0, old_error_reporting = 0x141f840,
nested = 0 '\000', original_return_value = 0x1, current_scope =
0x141e228, current_called_scope = 0x1938398, current_this = 0x1938398,
current_object = 0x1db92d0, 

  call_opline = 0x0}

#7  0x005cd107 in zif_call_user_func_array (ht=33049848,
return_value=0x1db8eb8, return_value_ptr=0x5a, this_ptr=0x1,
return_value_used=17) at
/build/buildd/php5-5.3.2/ext/standard/basic_functions.c:4782

params = 0x0

retval_ptr = 0x141f840

fci = {size = 6082823, function_table = 0x48, function_name =
0x1927c28, symbol_table = 0x1a58120, retval_ptr_ptr = 0x0, param_count =
1789931600, params = 0x3, object_ptr = 0x1da2868, no_separation = 144
'\220'}

fci_cache = {initialized = 176 '\260', function_handler = 0x1,
calling_scope = 0x1949408, called_scope = 0x1927bf8, object_ptr =
0x1927bf8}

#8  0x006e598a in zend_do_fcall_common_helper_SPEC
(execute_data=0x141f840) at
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:313

opline = 0x19d4418

should_change_scope = 0 '\000'

#9  0x006bcc70 in execute (op_array=0x19cf630) at
/build/buildd/php5-5.3.2/Zend/zend_vm_execute.h:104

ret = 33049848

execute_data = 0x141f840

nested = 0 '\000'

original_in_execution = 0 '\000'

#10 0x0069499d in zend_execute_scripts (type=0,
retval=0x7fff6ab03210, file_count=3) at
/build/buildd/php5-5.3.2/Zend/zend.c:1266

files = 0x7fff6ab031e8

i = 1

file_handle = 0x7fff6ab05810

orig_op_array = 0x0

orig_retval_ptr_ptr = 0xd8fd30

#11 0x00640608 in php_execute_script (primary_file=0x1888) at
/build/buildd/php5-5.3.2/main/main.c:2288

__orig_bailout = 0x0

__bailout = {{__jmpbuf = {0, 0, 0, 0, 2, 0, 6040, 0},
__mask_was_saved = 0

#50578 [Com]: incorrect shebang in phar.phar

2010-02-12 Thread Fedora at famillecollet dot com
 ID:   50578
 Comment by:   Fedora at famillecollet dot com
 Reported By:  Fedora at FamilleCollet dot com
 Status:   Assigned
 Bug Type: PHAR related
 Operating System: Linux (Fedora 12)
 PHP Version:  5.3.2RC1
 Assigned To:  cellog
 New Comment:

Same issue with PHP 5.3.2RC2


Previous Comments:


[2009-12-26 12:28:34] Fedora at FamilleCollet dot com

Trivial which fix the issue :
http://remi.fedorapeople.org/php-5.3.2-phar.patch



[2009-12-26 12:26:46] Fedora at FamilleCollet dot com

Description:

default PHP_PHARCMD_BANG is PHP_EXCUTABLE which is relative to
top_builddir.

This result to a php.phar which include a bad path to php.

Until PHP 5.3.1, PHP_EXCUTABLE was not set (by default) on Makefile, so
all works fine

With 5.3.2RC1, PHP_EXCUTABLE is set to
$(top_builddir)/$(SAPI_CLI_PATH)








-- 
Edit this bug report at http://bugs.php.net/?id=50578edit=1



#50578 [NEW]: incorrect shebang in phar.phar

2009-12-26 Thread Fedora at FamilleCollet dot com
From: Fedora at FamilleCollet dot com
Operating system: Linux (Fedora 12)
PHP version:  5.3.2RC1
PHP Bug Type: PHAR related
Bug description:  incorrect shebang in phar.phar

Description:

default PHP_PHARCMD_BANG is PHP_EXCUTABLE which is relative to
top_builddir.

This result to a php.phar which include a bad path to php.

Until PHP 5.3.1, PHP_EXCUTABLE was not set (by default) on Makefile, so
all works fine

With 5.3.2RC1, PHP_EXCUTABLE is set to $(top_builddir)/$(SAPI_CLI_PATH)




-- 
Edit bug report at http://bugs.php.net/?id=50578edit=1
-- 
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=50578r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=50578r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=50578r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=50578r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50578r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=50578r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=50578r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=50578r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=50578r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=50578r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=50578r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=50578r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=50578r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=50578r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=50578r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=50578r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=50578r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=50578r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=50578r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=50578r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=50578r=mysqlcfg



#50578 [Opn]: incorrect shebang in phar.phar

2009-12-26 Thread Fedora at FamilleCollet dot com
 ID:   50578
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
 Status:   Open
 Bug Type: PHAR related
 Operating System: Linux (Fedora 12)
 PHP Version:  5.3.2RC1
 New Comment:

Trivial which fix the issue :
http://remi.fedorapeople.org/php-5.3.2-phar.patch


Previous Comments:


[2009-12-26 12:26:46] Fedora at FamilleCollet dot com

Description:

default PHP_PHARCMD_BANG is PHP_EXCUTABLE which is relative to
top_builddir.

This result to a php.phar which include a bad path to php.

Until PHP 5.3.1, PHP_EXCUTABLE was not set (by default) on Makefile, so
all works fine

With 5.3.2RC1, PHP_EXCUTABLE is set to
$(top_builddir)/$(SAPI_CLI_PATH)








-- 
Edit this bug report at http://bugs.php.net/?id=50578edit=1



#46278 [Bgs]: Unsupported Oracle version! 11.1

2008-10-16 Thread Fedora at FamilleCollet dot com
 ID:   46278
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
 Status:   Bogus
 Bug Type: PDO related
 Operating System: Linux (Fedora 9)
 PHP Version:  5.2CVS-2008-10-12 (snap)
 Assigned To:  cjorcl
 New Comment:

@sixd

I don't understand your comment.

I use the right syntax and path to the lib is detected without any
problem.

The issue is during version checking : 11.1 (from line 103) is not 11.x
(check in line 137)


Previous Comments:


[2008-10-16 20:45:36] [EMAIL PROTECTED]

This is a doc/user error unrelated to the fix I mentioned.  
With the Instant Client RPMs, use the RPM package version.  This number
is used for the path to the files,  I.e. use 11.1.0.1:
  --with-pdo-oci=shared,instantclient,/usr,11.1.0.1




[2008-10-12 17:55:57] [EMAIL PROTECTED]

Stas merged a fix to 5.3  6 for this last week.



[2008-10-12 11:08:36] [EMAIL PROTECTED]

Chris, please take a look.



[2008-10-12 10:40:06] Fedora at FamilleCollet dot com

Description:

When trying to build against oracle instantclient 11.1.0.6 with

--with-pdo-oci=shared,instantclient,/usr,11.1.0.6

I got the Unsupported Oracle version! 11.1 error.

Reading the ext/pdo_oci/config.m4

I see 
  PDO_OCI_VERSION=`echo $PDO_OCI_IC_VERS | cut -d. -f1-2`
which give 11.1

And  
  case $PDO_OCI_VERSION in
9.x|10.x|11.x)

Probaly  using 
  PDO_OCI_VERSION=`echo $PDO_OCI_IC_VERS | cut -d. -f1`.x

Will give better results ;)

Well and phpinfo still display PDO Driver for OCI 8 and later (when 8
is no mor supported).

Reproduce code:
---
-

Expected result:

-

Actual result:
--
-





-- 
Edit this bug report at http://bugs.php.net/?id=46278edit=1



#46278 [NEW]: Unsupported Oracle version! 11.1

2008-10-12 Thread Fedora at FamilleCollet dot com
From: Fedora at FamilleCollet dot com
Operating system: Linux (Fedora 9)
PHP version:  5.2CVS-2008-10-12 (snap)
PHP Bug Type: OCI8 related
Bug description:  Unsupported Oracle version! 11.1

Description:

When trying to build against oracle instantclient 11.1.0.6 with

--with-pdo-oci=shared,instantclient,/usr,11.1.0.6

I got the Unsupported Oracle version! 11.1 error.

Reading the ext/pdo_oci/config.m4

I see 
  PDO_OCI_VERSION=`echo $PDO_OCI_IC_VERS | cut -d. -f1-2`
which give 11.1

And  
  case $PDO_OCI_VERSION in
9.x|10.x|11.x)

Probaly  using 
  PDO_OCI_VERSION=`echo $PDO_OCI_IC_VERS | cut -d. -f1`.x

Will give better results ;)

Well and phpinfo still display PDO Driver for OCI 8 and later (when 8 is
no mor supported).

Reproduce code:
---
-

Expected result:

-

Actual result:
--
-

-- 
Edit bug report at http://bugs.php.net/?id=46278edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=46278r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=46278r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=46278r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46278r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=46278r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=46278r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=46278r=needscript
Try newer version:http://bugs.php.net/fix.php?id=46278r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=46278r=support
Expected behavior:http://bugs.php.net/fix.php?id=46278r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=46278r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=46278r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46278r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=46278r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46278r=dst
IIS Stability:http://bugs.php.net/fix.php?id=46278r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=46278r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=46278r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=46278r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=46278r=mysqlcfg



#46015 [NEW]: Build fails with system gd.

2008-09-07 Thread Fedora at FamilleCollet dot com
From: Fedora at FamilleCollet dot com
Operating system: Linux (Fedora 9)
PHP version:  5.3.0alpha2
PHP Bug Type: GD related
Bug description:  Build fails with system gd.

Description:

Build fails when trying to use system GD

--with-gd=shared,/usr

This is because gdhelpers only provided by bundled library.

Trivial patch proposal :
--- ext/gd/gd.c.orig2008-09-07 08:53:38.0 +0200
+++ ext/gd/gd.c 2008-09-07 08:54:03.0 +0200
@@ -74,7 +74,9 @@
 #include gdfontmb.h /* 3 Medium bold font */
 #include gdfontl.h  /* 4 Large font */
 #include gdfontg.h  /* 5 Giant font */
+#if HAVE_GD_BUNDLED
 #include gdhelpers.h
+#endif
 
 #ifdef HAVE_GD_WBMP
 #include libgd/wbmp.h

Reproduce code:
---
make

Expected result:

Build complete.

Actual result:
--
Build failed.

-- 
Edit bug report at http://bugs.php.net/?id=46015edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=46015r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=46015r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=46015r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46015r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=46015r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=46015r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=46015r=needscript
Try newer version:http://bugs.php.net/fix.php?id=46015r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=46015r=support
Expected behavior:http://bugs.php.net/fix.php?id=46015r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=46015r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=46015r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46015r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=46015r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46015r=dst
IIS Stability:http://bugs.php.net/fix.php?id=46015r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=46015r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=46015r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=46015r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=46015r=mysqlcfg



#45636 [Fbk-Opn]: fileinfo ext duplicate strndup

2008-08-06 Thread Fedora at FamilleCollet dot com
 ID:   45636
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux (Fedora 9)
 PHP Version:  5.3CVS-2008-07-27 (snap)
 New Comment:

Check with lastest snapshot (200808061630)

Build ok.

Thanks for the fix.

Regards


Previous Comments:


[2008-08-06 14:43:21] [EMAIL PROTECTED]

Committed in CVS, could you please verify that it works for you too
now?



[2008-07-29 21:03:13] [EMAIL PROTECTED]

Assigned to the maintainer.



[2008-07-27 15:59:37] Fedora at FamilleCollet dot com

ok,  thanks for the information about system lib.

So, error occur with bundled lib.



[2008-07-27 15:30:26] [EMAIL PROTECTED]

FYI: This extension only compiles with the bundled library. There is no
way to use external libmagic anymore.




[2008-07-27 15:26:11] Fedora at FamilleCollet dot com

First try with --enable-fileinfo=shared
Second try with --enable-fileinfo=shared,/usr

In fact, file-devel is installed, which provides libmagic.so and was
used by PECL extension Fileinfo 1.0.4.

The bundled extension doesn't seem tu use the system library.

Regards



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/45636

-- 
Edit this bug report at http://bugs.php.net/?id=45636edit=1



#45636 [NEW]: fileinfo ext duplicate strndup

2008-07-27 Thread Fedora at FamilleCollet dot com
From: Fedora at FamilleCollet dot com
Operating system: Linux (Fedora 9)
PHP version:  5.3CVS-2008-07-27 (snap)
PHP Bug Type: Compile Failure
Bug description:  fileinfo ext duplicate strndup

Description:

Fileinfo extention is now enabled by default but doesn't compile because
it use strndup with is provided both by the system and the source
(softmagic.c)

Source code of softmagic.c contain a test arround is local defined
fonction :

#ifndef HAVE_STRNDUP
char * strndup(const char *, size_t);

...
#endif

But nothing set this macro.
I don't find anything in the .m4 files

Perhaps it should better use the zend_strndup ?

Reproduce code:
---
make


Expected result:

Build succed

Actual result:
--
/home/rpmbuild/BUILD/php5.3-200807270630/ext/fileinfo/libmagic/softmagic.c:305:
error: expected identifier or '(' before '__extension__'
/home/rpmbuild/BUILD/php5.3-200807270630/ext/fileinfo/libmagic/softmagic.c:308:
error: expected identifier or '(' before '__extension__'
make: *** [ext/fileinfo/libmagic/softmagic.lo] Error 1


-- 
Edit bug report at http://bugs.php.net/?id=45636edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45636r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45636r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45636r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45636r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=45636r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=45636r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=45636r=needscript
Try newer version:http://bugs.php.net/fix.php?id=45636r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=45636r=support
Expected behavior:http://bugs.php.net/fix.php?id=45636r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=45636r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=45636r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45636r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45636r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45636r=dst
IIS Stability:http://bugs.php.net/fix.php?id=45636r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=45636r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45636r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=45636r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=45636r=mysqlcfg



#45636 [Fbk-Opn]: fileinfo ext duplicate strndup

2008-07-27 Thread Fedora at FamilleCollet dot com
 ID:   45636
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux (Fedora 9)
 PHP Version:  5.3CVS-2008-07-27 (snap)
 New Comment:

Here is my full configure command 

./configure
--build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu
--target=x86_64-redhat-linux-gnu
--program-prefix=
--prefix=/usr
--exec-prefix=/usr
--bindir=/usr/bin
--sbindir=/usr/sbin
--sysconfdir=/etc
--datadir=/usr/share
--includedir=/usr/include
--libdir=/usr/lib64
--libexecdir=/usr/libexec
--localstatedir=/var
--sharedstatedir=/usr/com
--mandir=/usr/share/man
--infodir=/usr/share/info
--cache-file=../config.cache
--with-libdir=lib64
--with-config-file-path=/etc
--with-config-file-scan-dir=/etc/php.d
--disable-debug
--with-pic
--disable-rpath
--without-pear
--with-bz2
--with-curl
--with-exec-dir=/usr/bin
--with-freetype-dir=/usr
--with-png-dir=/usr
--enable-gd-native-ttf
--with-t1lib=/usr
--without-gdbm
--with-gettext
--with-gmp
--with-iconv
--with-jpeg-dir=/usr
--with-openssl
--with-png
--with-expat-dir=/usr
--with-pcre-regex=/usr
--with-zlib
--with-layout=GNU
--enable-exif
--enable-ftp
--enable-magic-quotes
--enable-sockets
--enable-sysvsem
--enable-sysvshm
--enable-sysvmsg
--enable-track-vars
--enable-trans-sid
--enable-yp
--enable-wddx
--with-kerberos
--enable-ucd-snmp-hack
--with-unixODBC=shared,/usr
--enable-memory-limit
--enable-shmop
--enable-calendar
--enable-dbx
--enable-dio
--without-mime-magic
--with-libxml-dir=/usr
--enable-xml
--with-system-tzdata
--enable-force-cgi-redirect
--enable-pcntl
--with-imap=shared
--with-imap-ssl
--enable-mbstring=shared
--enable-mbstr-enc-trans
--enable-mbregex
--with-gd=shared
--enable-bcmath=shared
--enable-dba=shared
--with-db4=/usr
--with-xmlrpc=shared
--with-ldap=shared
--with-ldap-sasl
--with-mysql=shared,/usr
--with-mysqli=shared,/usr/bin/mysql_config
--with-oci8=shared,instantclient,/usr/lib64/oracle/10.2.0.3/client/lib,10.2.0.3
--with-pdo-oci=shared,instantclient,/usr,10.2.0.3
--enable-dom=shared
--with-dom-xslt=/usr
--with-dom-exslt=/usr
--with-pgsql=shared
--with-snmp=shared,/usr
--enable-soap=shared
--with-xsl=shared,/usr
--enable-xmlreader=shared
--enable-xmlwriter=shared
--enable-fastcgi
--enable-pdo=shared
--with-pdo-odbc=shared,unixODBC,/usr
--with-pdo-mysql=shared,/usr
--with-pdo-pgsql=shared,/usr
--with-pdo-sqlite=shared,/usr
--with-sqlite3=shared,/usr
--with-sqlite=shared,/usr
--enable-json=shared
--enable-zip=shared
--with-readline
--enable-dbase=shared
--with-pspell=shared
--enable-phar=shared
--with-mcrypt=shared,/usr
--with-mhash=shared,/usr
--with-tidy=shared,/usr
--with-mssql=shared,/usr
--enable-fileinfo=shared,/usr


Previous Comments:


[2008-07-27 09:13:46] [EMAIL PROTECTED]

Compiles fine for me in Linux. What was the full configure line you
used?



[2008-07-27 07:14:07] Fedora at FamilleCollet dot com

Description:

Fileinfo extention is now enabled by default but doesn't compile
because it use strndup with is provided both by the system and the
source (softmagic.c)

Source code of softmagic.c contain a test arround is local defined
fonction :

#ifndef HAVE_STRNDUP
char * strndup(const char *, size_t);

...
#endif

But nothing set this macro.
I don't find anything in the .m4 files

Perhaps it should better use the zend_strndup ?

Reproduce code:
---
make


Expected result:

Build succed

Actual result:
--
/home/rpmbuild/BUILD/php5.3-200807270630/ext/fileinfo/libmagic/softmagic.c:305:
error: expected identifier or '(' before '__extension__'
/home/rpmbuild/BUILD/php5.3-200807270630/ext/fileinfo/libmagic/softmagic.c:308:
error: expected identifier or '(' before '__extension__'
make: *** [ext/fileinfo/libmagic/softmagic.lo] Error 1






-- 
Edit this bug report at http://bugs.php.net/?id=45636edit=1



#45636 [Opn]: fileinfo ext duplicate strndup

2008-07-27 Thread Fedora at FamilleCollet dot com
 ID:   45636
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
 Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux (Fedora 9)
 PHP Version:  5.3CVS-2008-07-27 (snap)
 New Comment:

First try with --enable-fileinfo=shared
Second try with --enable-fileinfo=shared,/usr

In fact, file-devel is installed, which provides libmagic.so and was
used by PECL extension Fileinfo 1.0.4.

The bundled extension doesn't seem tu use the system library.

Regards


Previous Comments:


[2008-07-27 15:22:41] Fedora at FamilleCollet dot com

Here is my full configure command 

./configure
--build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu
--target=x86_64-redhat-linux-gnu
--program-prefix=
--prefix=/usr
--exec-prefix=/usr
--bindir=/usr/bin
--sbindir=/usr/sbin
--sysconfdir=/etc
--datadir=/usr/share
--includedir=/usr/include
--libdir=/usr/lib64
--libexecdir=/usr/libexec
--localstatedir=/var
--sharedstatedir=/usr/com
--mandir=/usr/share/man
--infodir=/usr/share/info
--cache-file=../config.cache
--with-libdir=lib64
--with-config-file-path=/etc
--with-config-file-scan-dir=/etc/php.d
--disable-debug
--with-pic
--disable-rpath
--without-pear
--with-bz2
--with-curl
--with-exec-dir=/usr/bin
--with-freetype-dir=/usr
--with-png-dir=/usr
--enable-gd-native-ttf
--with-t1lib=/usr
--without-gdbm
--with-gettext
--with-gmp
--with-iconv
--with-jpeg-dir=/usr
--with-openssl
--with-png
--with-expat-dir=/usr
--with-pcre-regex=/usr
--with-zlib
--with-layout=GNU
--enable-exif
--enable-ftp
--enable-magic-quotes
--enable-sockets
--enable-sysvsem
--enable-sysvshm
--enable-sysvmsg
--enable-track-vars
--enable-trans-sid
--enable-yp
--enable-wddx
--with-kerberos
--enable-ucd-snmp-hack
--with-unixODBC=shared,/usr
--enable-memory-limit
--enable-shmop
--enable-calendar
--enable-dbx
--enable-dio
--without-mime-magic
--with-libxml-dir=/usr
--enable-xml
--with-system-tzdata
--enable-force-cgi-redirect
--enable-pcntl
--with-imap=shared
--with-imap-ssl
--enable-mbstring=shared
--enable-mbstr-enc-trans
--enable-mbregex
--with-gd=shared
--enable-bcmath=shared
--enable-dba=shared
--with-db4=/usr
--with-xmlrpc=shared
--with-ldap=shared
--with-ldap-sasl
--with-mysql=shared,/usr
--with-mysqli=shared,/usr/bin/mysql_config
--with-oci8=shared,instantclient,/usr/lib64/oracle/10.2.0.3/client/lib,10.2.0.3
--with-pdo-oci=shared,instantclient,/usr,10.2.0.3
--enable-dom=shared
--with-dom-xslt=/usr
--with-dom-exslt=/usr
--with-pgsql=shared
--with-snmp=shared,/usr
--enable-soap=shared
--with-xsl=shared,/usr
--enable-xmlreader=shared
--enable-xmlwriter=shared
--enable-fastcgi
--enable-pdo=shared
--with-pdo-odbc=shared,unixODBC,/usr
--with-pdo-mysql=shared,/usr
--with-pdo-pgsql=shared,/usr
--with-pdo-sqlite=shared,/usr
--with-sqlite3=shared,/usr
--with-sqlite=shared,/usr
--enable-json=shared
--enable-zip=shared
--with-readline
--enable-dbase=shared
--with-pspell=shared
--enable-phar=shared
--with-mcrypt=shared,/usr
--with-mhash=shared,/usr
--with-tidy=shared,/usr
--with-mssql=shared,/usr
--enable-fileinfo=shared,/usr



[2008-07-27 09:13:46] [EMAIL PROTECTED]

Compiles fine for me in Linux. What was the full configure line you
used?



[2008-07-27 07:14:07] Fedora at FamilleCollet dot com

Description:

Fileinfo extention is now enabled by default but doesn't compile
because it use strndup with is provided both by the system and the
source (softmagic.c)

Source code of softmagic.c contain a test arround is local defined
fonction :

#ifndef HAVE_STRNDUP
char * strndup(const char *, size_t);

...
#endif

But nothing set this macro.
I don't find anything in the .m4 files

Perhaps it should better use the zend_strndup ?

Reproduce code:
---
make


Expected result:

Build succed

Actual result:
--
/home/rpmbuild/BUILD/php5.3-200807270630/ext/fileinfo/libmagic/softmagic.c:305:
error: expected identifier or '(' before '__extension__'
/home/rpmbuild/BUILD/php5.3-200807270630/ext/fileinfo/libmagic/softmagic.c:308:
error: expected identifier or '(' before '__extension__'
make: *** [ext/fileinfo/libmagic/softmagic.lo] Error 1






-- 
Edit this bug report at http://bugs.php.net/?id=45636edit=1



#45636 [Opn]: fileinfo ext duplicate strndup

2008-07-27 Thread Fedora at FamilleCollet dot com
 ID:   45636
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
 Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux (Fedora 9)
 PHP Version:  5.3CVS-2008-07-27 (snap)
 New Comment:

ok,  thanks for the information about system lib.

So, error occur with bundled lib.


Previous Comments:


[2008-07-27 15:30:26] [EMAIL PROTECTED]

FYI: This extension only compiles with the bundled library. There is no
way to use external libmagic anymore.




[2008-07-27 15:26:11] Fedora at FamilleCollet dot com

First try with --enable-fileinfo=shared
Second try with --enable-fileinfo=shared,/usr

In fact, file-devel is installed, which provides libmagic.so and was
used by PECL extension Fileinfo 1.0.4.

The bundled extension doesn't seem tu use the system library.

Regards



[2008-07-27 09:13:46] [EMAIL PROTECTED]

Compiles fine for me in Linux. What was the full configure line you
used?



[2008-07-27 07:14:07] Fedora at FamilleCollet dot com

Description:

Fileinfo extention is now enabled by default but doesn't compile
because it use strndup with is provided both by the system and the
source (softmagic.c)

Source code of softmagic.c contain a test arround is local defined
fonction :

#ifndef HAVE_STRNDUP
char * strndup(const char *, size_t);

...
#endif

But nothing set this macro.
I don't find anything in the .m4 files

Perhaps it should better use the zend_strndup ?

Reproduce code:
---
make


Expected result:

Build succed

Actual result:
--
/home/rpmbuild/BUILD/php5.3-200807270630/ext/fileinfo/libmagic/softmagic.c:305:
error: expected identifier or '(' before '__extension__'
/home/rpmbuild/BUILD/php5.3-200807270630/ext/fileinfo/libmagic/softmagic.c:308:
error: expected identifier or '(' before '__extension__'
make: *** [ext/fileinfo/libmagic/softmagic.lo] Error 1






-- 
Edit this bug report at http://bugs.php.net/?id=45636edit=1



#45572 [Fbk-Opn]: mbstring/libmbfl visibility issue

2008-07-21 Thread Fedora at FamilleCollet dot com
 ID:   45572
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
-Status:   Feedback
+Status:   Open
 Bug Type: mbstring related
 Operating System: Linux (Fedora 9)
 PHP Version:  5.3CVS-2008-07-20 (snap)
 Assigned To:  moriyoshi
 New Comment:

Tested with php5.3-200807211430.

That's ok.

Thank's for the quick patch merge.

Remi.


Previous Comments:


[2008-07-20 20:13:31] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.3-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.3-win32-installer-latest.msi





[2008-07-20 17:36:53] Fedora at FamilleCollet dot com

Description:

After successful compilation (gcc 4.3.0) pecl shared extension which
use mbstring (mailparse) doesn't load.

Simple proposal patch fixes this issue :
http://remi.fedorapeople.org/php-5.3.0-visibility3.patch



Reproduce code:
---
php -m | grep mail


Expected result:

mailparse

Actual result:
--
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/mailparse.so' -
/usr/lib64/php/modules/mailparse.so: undefined symbol:
mbfl_name2no_encoding in Unknown on line 0






-- 
Edit this bug report at http://bugs.php.net/?id=45572edit=1



#45572 [NEW]: mbstring/libmbfl visibility issue

2008-07-20 Thread Fedora at FamilleCollet dot com
From: Fedora at FamilleCollet dot com
Operating system: Linux (Fedora 9)
PHP version:  5.3CVS-2008-07-20 (snap)
PHP Bug Type: *Compile Issues
Bug description:  mbstring/libmbfl visibility issue

Description:

After successful compilation (gcc 4.3.0) pecl shared extension which use
mbstring (mailparse) doesn't load.

Simple proposal patch fixes this issue :
http://remi.fedorapeople.org/php-5.3.0-visibility3.patch



Reproduce code:
---
php -m | grep mail


Expected result:

mailparse

Actual result:
--
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/mailparse.so' -
/usr/lib64/php/modules/mailparse.so: undefined symbol:
mbfl_name2no_encoding in Unknown on line 0


-- 
Edit bug report at http://bugs.php.net/?id=45572edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45572r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45572r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45572r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45572r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=45572r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=45572r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=45572r=needscript
Try newer version:http://bugs.php.net/fix.php?id=45572r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=45572r=support
Expected behavior:http://bugs.php.net/fix.php?id=45572r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=45572r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=45572r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45572r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45572r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45572r=dst
IIS Stability:http://bugs.php.net/fix.php?id=45572r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=45572r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45572r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=45572r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=45572r=mysqlcfg



#45564 [NEW]: regex/pgsql visibility issue

2008-07-19 Thread Fedora at FamilleCollet dot com
From: Fedora at FamilleCollet dot com
Operating system: Linux (Fedora 9)
PHP version:  5.3CVS-2008-07-19 (snap)
PHP Bug Type: *Compile Issues
Bug description:  regex/pgsql visibility issue

Description:

After successful compilation (gcc 4.3.0) pgsql shared extension doesn't
load.

Simple proposal patch fixes this issue :
http://remi.fedorapeople.org/php-5.3.0-visibility2.patch

Regards

Reproduce code:
---
php -v


Expected result:

PHP 5.3.0-dev (cli) (built: Jul 19 2008 15:27:49) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies


Actual result:
--
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/pgsql.so' - /usr/lib64/php/modules/pgsql.so:
undefined symbol: php_regfree in Unknown on line 0
PHP 5.3.0-dev (cli) (built: Jul 19 2008 15:02:29) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies


-- 
Edit bug report at http://bugs.php.net/?id=45564edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45564r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45564r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45564r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45564r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=45564r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=45564r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=45564r=needscript
Try newer version:http://bugs.php.net/fix.php?id=45564r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=45564r=support
Expected behavior:http://bugs.php.net/fix.php?id=45564r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=45564r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=45564r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45564r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45564r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45564r=dst
IIS Stability:http://bugs.php.net/fix.php?id=45564r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=45564r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45564r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=45564r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=45564r=mysqlcfg



#45557 [NEW]: libxml visibility problem

2008-07-18 Thread Fedora at FamilleCollet dot com
From: Fedora at FamilleCollet dot com
Operating system: Linux (Fedora 9)
PHP version:  5.3CVS-2008-07-18 (snap)
PHP Bug Type: *Compile Issues
Bug description:  libxml visibility problem

Description:

After successful compilation xml extension doesn't load



Reproduce code:
---
php -v

Expected result:

PHP 5.3.0-dev (cli) (built: Jul 18 2008 20:20:22) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies


Actual result:
--
# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/dom.so' - /usr/lib64/php/modules/dom.so: undefined
symbol: php_libxml_node_free_resource in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/xmlreader.so' -
/usr/lib64/php/modules/xmlreader.so: undefined symbol: dom_node_class_entry
in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/xsl.so' - /usr/lib64/php/modules/xsl.so: undefined
symbol: dom_node_class_entry in Unknown on line 0
PHP 5.3.0-dev (cli) (built: Jul 18 2008 20:20:22) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies


-- 
Edit bug report at http://bugs.php.net/?id=45557edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45557r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45557r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45557r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45557r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=45557r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=45557r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=45557r=needscript
Try newer version:http://bugs.php.net/fix.php?id=45557r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=45557r=support
Expected behavior:http://bugs.php.net/fix.php?id=45557r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=45557r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=45557r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45557r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45557r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45557r=dst
IIS Stability:http://bugs.php.net/fix.php?id=45557r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=45557r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45557r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=45557r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=45557r=mysqlcfg



#45557 [Opn]: libxml visibility problem

2008-07-18 Thread Fedora at FamilleCollet dot com
 ID:   45557
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
 Status:   Open
 Bug Type: *Compile Issues
 Operating System: Linux (Fedora 9)
 PHP Version:  5.3CVS-2008-07-18 (snap)
 New Comment:

Simple patch proposal witch solves this issue :

http://remi.fedorapeople.org/php-5.3.0-visibility.patch

Regards


Previous Comments:


[2008-07-18 18:33:43] Fedora at FamilleCollet dot com

Description:

After successful compilation xml extension doesn't load



Reproduce code:
---
php -v

Expected result:

PHP 5.3.0-dev (cli) (built: Jul 18 2008 20:20:22) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies


Actual result:
--
# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/dom.so' - /usr/lib64/php/modules/dom.so:
undefined symbol: php_libxml_node_free_resource in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/xmlreader.so' -
/usr/lib64/php/modules/xmlreader.so: undefined symbol:
dom_node_class_entry in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/xsl.so' - /usr/lib64/php/modules/xsl.so:
undefined symbol: dom_node_class_entry in Unknown on line 0
PHP 5.3.0-dev (cli) (built: Jul 18 2008 20:20:22) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies






-- 
Edit this bug report at http://bugs.php.net/?id=45557edit=1



#41941 [Com]: oci8 extension not lib64 savvy

2007-12-11 Thread Fedora at FamilleCollet dot com
 ID:   41941
 Comment by:   Fedora at FamilleCollet dot com
 Reported By:  wdierkes at 5dollarwhitebox dot org
 Status:   Assigned
 Bug Type: OCI8 related
 Operating System: Redhat Enterprise Linux
 PHP Version:  5.2.3
 Assigned To:  sixd
 New Comment:

Oracle now provides RPM for i386, x86_64 and even ppc

With new version 11.1, install path is client64 and only client is
test during configure.


Previous Comments:


[2007-11-29 22:56:36] [EMAIL PROTECTED]

We're not going to add support for any unofficial Instant Client rpms
(there is enough hassle with the official ones, so please don't add even
more).

The support for official 64bit OIC rpms is currently being tested.



[2007-11-29 21:28:09] [EMAIL PROTECTED]

Update: Oracle has released Instant Client x86_64 RPMs on the OTN
website.  OCI8 should use the directory structure in these official
RPMs. 



[2007-07-23 18:03:17] [EMAIL PROTECTED]

Status update: I'm pushing for official Oracle 64 bit RPMs to be
released and am waiting to see what directory structure they will have.



[2007-07-09 23:14:12] wdierkes at 5dollarwhitebox dot org

I built, and maintain the RPMS (internally) based off of a FedoraCore
SPEC with minimal changes (I believe they dropped the package though as
it was hard to find).  The 'lib' directory is based off of the
'%{_libdir}' RPM macro (as it should be) placing the library data in
'/usr/lib64' on an x86_64 box (as it should as well).

This issue is not with the RPM... rather the fact that '/usr/lib' is
hardcoded in the config.m4 line (as described above) that determines the
'/usr/include...' path for oci.h.



[2007-07-09 23:03:28] [EMAIL PROTECTED]

Oracle doesn't distribute x64 RPMs for Instant Client, though there has
been some discussion about it.  Who created the RPMs you are using?



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41941

-- 
Edit this bug report at http://bugs.php.net/?id=41941edit=1


#41941 [Com]: oci8 extension not lib64 savvy

2007-12-11 Thread Fedora at FamilleCollet dot com
 ID:   41941
 Comment by:   Fedora at FamilleCollet dot com
 Reported By:  wdierkes at 5dollarwhitebox dot org
 Status:   Assigned
 Bug Type: OCI8 related
 Operating System: Redhat Enterprise Linux
 PHP Version:  5.2.3
 Assigned To:  sixd
 New Comment:

Here is a little patch for this issue.

It handle /usr/lib64 and client64 in both oci8 and pdo_oci extension.

http://remi.collet.free.fr/files/php-5.2.5-oci8conf.patch

Regards


Previous Comments:


[2007-12-12 05:59:08] Fedora at FamilleCollet dot com

Oracle now provides RPM for i386, x86_64 and even ppc

With new version 11.1, install path is client64 and only client is
test during configure.



[2007-11-29 22:56:36] [EMAIL PROTECTED]

We're not going to add support for any unofficial Instant Client rpms
(there is enough hassle with the official ones, so please don't add even
more).

The support for official 64bit OIC rpms is currently being tested.



[2007-11-29 21:28:09] [EMAIL PROTECTED]

Update: Oracle has released Instant Client x86_64 RPMs on the OTN
website.  OCI8 should use the directory structure in these official
RPMs. 



[2007-07-23 18:03:17] [EMAIL PROTECTED]

Status update: I'm pushing for official Oracle 64 bit RPMs to be
released and am waiting to see what directory structure they will have.



[2007-07-09 23:14:12] wdierkes at 5dollarwhitebox dot org

I built, and maintain the RPMS (internally) based off of a FedoraCore
SPEC with minimal changes (I believe they dropped the package though as
it was hard to find).  The 'lib' directory is based off of the
'%{_libdir}' RPM macro (as it should be) placing the library data in
'/usr/lib64' on an x86_64 box (as it should as well).

This issue is not with the RPM... rather the fact that '/usr/lib' is
hardcoded in the config.m4 line (as described above) that determines the
'/usr/include...' path for oci.h.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41941

-- 
Edit this bug report at http://bugs.php.net/?id=41941edit=1


#37103 [Fbk-Opn]: libmbfl headers not installed

2006-10-01 Thread Fedora at FamilleCollet dot com
 ID:   37103
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
-Status:   Feedback
+Status:   Open
 Bug Type: mbstring related
 Operating System: Linux (Fedora)
 PHP Version:  5.1.6
 Assigned To:  hirokawa
 New Comment:

Seems ok for the headers with php5.2-200610011230.

What about php 5.1 branch ?


Previous Comments:


[2006-10-01 08:35:26] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip





[2006-09-26 22:23:00] [EMAIL PROTECTED]

Assigned to the maintainer.



[2006-09-19 16:26:40] Fedora at FamilleCollet dot com

For php-5.2.0

I don't understand permissions on ext/mbstring/libmbfl/mbfl/mbfl_defs.h
(rwxr-xr-x) while other headers are rw-r--r--

I think the '*' in the config.m4 file is the problem.
So i change my previous patch to simply remove it and the packaging is
complete with all the headers (and mailparse pecl extension build
fine).

--- ext/mbstring/config.m4.orig 2006-09-18 17:46:08.0 +0200
+++ ext/mbstring/config.m4  2006-09-18 17:47:08.0 +0200
@@ -302,7 +302,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/config.h
libmbfl/mbfl/eaw_table.h libmbfl/mbfl/mbfilter.h
libmbfl/mbfl/mbfilter_8bit.h libmbfl/mbfl/mbfilter_pass.h
libmbfl/mbfl/mbfilter_wchar.h libmbfl/mbfl/mbfl_allocators.h
libmbfl/mbfl/mbfl_consts.h libmbfl/mbfl/mbfl_convert.h
libmbfl/mbfl/mbfl_defs.h* libmbfl/mbfl/mbfl_encoding.h
libmbfl/mbfl/mbfl_filter_output.h libmbfl/mbfl/mbfl_ident.h
libmbfl/mbfl/mbfl_language.h libmbfl/mbfl/mbfl_memory_device.h
libmbfl/mbfl/mbfl_string.h ])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/config.h
libmbfl/mbfl/eaw_table.h libmbfl/mbfl/mbfilter.h
libmbfl/mbfl/mbfilter_8bit.h libmbfl/mbfl/mbfilter_pass.h
libmbfl/mbfl/mbfilter_wchar.h libmbfl/mbfl/mbfl_allocators.h
libmbfl/mbfl/mbfl_consts.h libmbfl/mbfl/mbfl_convert.h
libmbfl/mbfl/mbfl_defs.h  libmbfl/mbfl/mbfl_encoding.h
libmbfl/mbfl/mbfl_filter_output.h libmbfl/mbfl/mbfl_ident.h
libmbfl/mbfl/mbfl_language.h libmbfl/mbfl/mbfl_memory_device.h
libmbfl/mbfl/mbfl_string.h ])
 fi

 # vim600: sts=2 sw=2 et



[2006-09-18 15:55:09] Fedora at FamilleCollet dot com

Still present in php-5.1.6 (only half corrected)

Patch :
--- ext/mbstring/config.m4.orig 2006-07-24 18:07:44.0 +0200
+++ ext/mbstring/config.m4  2006-07-24 18:08:03.0 +0200
@@ -293,7 +293,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi
 
 # vim600: sts=2 sw=2 et


Even present in php-5.2.0RC5-dev (missing only one file : mbfl_defs.h)

Patch :
--- ext/mbstring/config.m4.orig 2006-09-18 17:46:08.0 +0200
+++ ext/mbstring/config.m4  2006-09-18 17:47:08.0 +0200
@@ -302,7 +302,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/config.h
libmbfl/mbfl/eaw_table.h libmbfl/mbfl/mbfilter.h
libmbfl/mbfl/mbfilter_8bit.h libmbfl/mbfl/mbfilter_pass.h
libmbfl/mbfl/mbfilter_wchar.h libmbfl/mbfl/mbfl_allocators.h
libmbfl/mbfl/mbfl_consts.h libmbfl/mbfl/mbfl_convert.h
libmbfl/mbfl/mbfl_defs.h* libmbfl/mbfl/mbfl_encoding.h
libmbfl/mbfl/mbfl_filter_output.h libmbfl/mbfl/mbfl_ident.h
libmbfl/mbfl/mbfl_language.h libmbfl/mbfl/mbfl_memory_device.h
libmbfl/mbfl/mbfl_string.h ])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi
 
 # vim600: sts=2 sw=2 et



[2006-04-17 22:14:35] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.





The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/37103

-- 
Edit this bug report at http://bugs.php.net/?id=37103edit=1


#37103 [Opn]: libmbfl headers not installed

2006-09-19 Thread Fedora at FamilleCollet dot com
 ID:   37103
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
 Status:   Open
 Bug Type: mbstring related
 Operating System: Linux (Fedora)
 PHP Version:  5.1.6
 New Comment:

For php-5.2.0

I don't understand permissions on ext/mbstring/libmbfl/mbfl/mbfl_defs.h
(rwxr-xr-x) while other headers are rw-r--r--

I think the '*' in the config.m4 file is the problem.
So i change my previous patch to simply remove it and the packaging is
complete with all the headers (and mailparse pecl extension build
fine).

--- ext/mbstring/config.m4.orig 2006-09-18 17:46:08.0 +0200
+++ ext/mbstring/config.m4  2006-09-18 17:47:08.0 +0200
@@ -302,7 +302,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/config.h
libmbfl/mbfl/eaw_table.h libmbfl/mbfl/mbfilter.h
libmbfl/mbfl/mbfilter_8bit.h libmbfl/mbfl/mbfilter_pass.h
libmbfl/mbfl/mbfilter_wchar.h libmbfl/mbfl/mbfl_allocators.h
libmbfl/mbfl/mbfl_consts.h libmbfl/mbfl/mbfl_convert.h
libmbfl/mbfl/mbfl_defs.h* libmbfl/mbfl/mbfl_encoding.h
libmbfl/mbfl/mbfl_filter_output.h libmbfl/mbfl/mbfl_ident.h
libmbfl/mbfl/mbfl_language.h libmbfl/mbfl/mbfl_memory_device.h
libmbfl/mbfl/mbfl_string.h ])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/config.h
libmbfl/mbfl/eaw_table.h libmbfl/mbfl/mbfilter.h
libmbfl/mbfl/mbfilter_8bit.h libmbfl/mbfl/mbfilter_pass.h
libmbfl/mbfl/mbfilter_wchar.h libmbfl/mbfl/mbfl_allocators.h
libmbfl/mbfl/mbfl_consts.h libmbfl/mbfl/mbfl_convert.h
libmbfl/mbfl/mbfl_defs.h  libmbfl/mbfl/mbfl_encoding.h
libmbfl/mbfl/mbfl_filter_output.h libmbfl/mbfl/mbfl_ident.h
libmbfl/mbfl/mbfl_language.h libmbfl/mbfl/mbfl_memory_device.h
libmbfl/mbfl/mbfl_string.h ])
 fi

 # vim600: sts=2 sw=2 et


Previous Comments:


[2006-09-18 15:55:09] Fedora at FamilleCollet dot com

Still present in php-5.1.6 (only half corrected)

Patch :
--- ext/mbstring/config.m4.orig 2006-07-24 18:07:44.0 +0200
+++ ext/mbstring/config.m4  2006-07-24 18:08:03.0 +0200
@@ -293,7 +293,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi
 
 # vim600: sts=2 sw=2 et


Even present in php-5.2.0RC5-dev (missing only one file : mbfl_defs.h)

Patch :
--- ext/mbstring/config.m4.orig 2006-09-18 17:46:08.0 +0200
+++ ext/mbstring/config.m4  2006-09-18 17:47:08.0 +0200
@@ -302,7 +302,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/config.h
libmbfl/mbfl/eaw_table.h libmbfl/mbfl/mbfilter.h
libmbfl/mbfl/mbfilter_8bit.h libmbfl/mbfl/mbfilter_pass.h
libmbfl/mbfl/mbfilter_wchar.h libmbfl/mbfl/mbfl_allocators.h
libmbfl/mbfl/mbfl_consts.h libmbfl/mbfl/mbfl_convert.h
libmbfl/mbfl/mbfl_defs.h* libmbfl/mbfl/mbfl_encoding.h
libmbfl/mbfl/mbfl_filter_output.h libmbfl/mbfl/mbfl_ident.h
libmbfl/mbfl/mbfl_language.h libmbfl/mbfl/mbfl_memory_device.h
libmbfl/mbfl/mbfl_string.h ])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi
 
 # vim600: sts=2 sw=2 et



[2006-04-17 22:14:35] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.





[2006-04-17 12:07:35] Fedora at FamilleCollet dot com

Here is the little patch i use witch solve the problem
Hope this help.

--- ext/mbstring/config.m4.orig 2006-04-17 12:41:13.0 +0200
+++ ext/mbstring/config.m4  2006-04-17 12:42:55.0 +0200
@@ -293,7 +293,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl libmbfl/mbfl])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi

 # vim600: sts=2 sw=2 et



[2006-04-17 12:05:14] Fedora at FamilleCollet dot com

Description:

make install doesn't install headers of libmbfl in 
/usr/include/php/ext/mbstring/libmbfl/

They are required to build somme PECL extensions.
For exemple mailparse, see bug #36136.


Reproduce code:
---
find /usr/include/php/ext/mbstring/ -name \*.h

Expected result:

/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/eaw_table.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h

#37103 [Csd-Opn]: libmbfl headers not installed

2006-09-18 Thread Fedora at FamilleCollet dot com
 ID:   37103
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
-Status:   Closed
+Status:   Open
 Bug Type: mbstring related
 Operating System: Linux (Fedora)
-PHP Version:  5.1.2
+PHP Version:  5.1.6
 New Comment:

Still present in php-5.1.6 (only half corrected)

Patch :
--- ext/mbstring/config.m4.orig 2006-07-24 18:07:44.0 +0200
+++ ext/mbstring/config.m4  2006-07-24 18:08:03.0 +0200
@@ -293,7 +293,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi
 
 # vim600: sts=2 sw=2 et


Even present in php-5.2.0RC5-dev (missing only one file : mbfl_defs.h)

Patch :
--- ext/mbstring/config.m4.orig 2006-09-18 17:46:08.0 +0200
+++ ext/mbstring/config.m4  2006-09-18 17:47:08.0 +0200
@@ -302,7 +302,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/config.h
libmbfl/mbfl/eaw_table.h libmbfl/mbfl/mbfilter.h
libmbfl/mbfl/mbfilter_8bit.h libmbfl/mbfl/mbfilter_pass.h
libmbfl/mbfl/mbfilter_wchar.h libmbfl/mbfl/mbfl_allocators.h
libmbfl/mbfl/mbfl_consts.h libmbfl/mbfl/mbfl_convert.h
libmbfl/mbfl/mbfl_defs.h* libmbfl/mbfl/mbfl_encoding.h
libmbfl/mbfl/mbfl_filter_output.h libmbfl/mbfl/mbfl_ident.h
libmbfl/mbfl/mbfl_language.h libmbfl/mbfl/mbfl_memory_device.h
libmbfl/mbfl/mbfl_string.h ])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi
 
 # vim600: sts=2 sw=2 et


Previous Comments:


[2006-04-17 22:14:35] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.





[2006-04-17 12:07:35] Fedora at FamilleCollet dot com

Here is the little patch i use witch solve the problem
Hope this help.

--- ext/mbstring/config.m4.orig 2006-04-17 12:41:13.0 +0200
+++ ext/mbstring/config.m4  2006-04-17 12:42:55.0 +0200
@@ -293,7 +293,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl libmbfl/mbfl])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi

 # vim600: sts=2 sw=2 et



[2006-04-17 12:05:14] Fedora at FamilleCollet dot com

Description:

make install doesn't install headers of libmbfl in 
/usr/include/php/ext/mbstring/libmbfl/

They are required to build somme PECL extensions.
For exemple mailparse, see bug #36136.


Reproduce code:
---
find /usr/include/php/ext/mbstring/ -name \*.h

Expected result:

/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/eaw_table.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_pass.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_language.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_string.h
/usr/include/php/ext/mbstring/libmbfl/config.h


Actual result:
--
/usr/include/php/ext/mbstring/libmbfl/config.h





-- 
Edit this bug report at http://bugs.php.net/?id=37103edit=1


#37103 [NEW]: libmbfl

2006-04-17 Thread Fedora at FamilleCollet dot com
From: Fedora at FamilleCollet dot com
Operating system: Linux (Fedora)
PHP version:  5.1.2
PHP Bug Type: mbstring related
Bug description:  libmbfl

Description:

make install doesn't install headers of libmbfl in 
/usr/include/php/ext/mbstring/libmbfl/

They are required to build somme PECL extensions.
For exemple mailparse, see bug #36136.


Reproduce code:
---
find /usr/include/php/ext/mbstring/ -name \*.h

Expected result:

/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/eaw_table.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_pass.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_language.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_string.h
/usr/include/php/ext/mbstring/libmbfl/config.h


Actual result:
--
/usr/include/php/ext/mbstring/libmbfl/config.h

-- 
Edit bug report at http://bugs.php.net/?id=37103edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37103r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37103r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37103r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37103r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=37103r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=37103r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=37103r=needscript
Try newer version:http://bugs.php.net/fix.php?id=37103r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=37103r=support
Expected behavior:http://bugs.php.net/fix.php?id=37103r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=37103r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=37103r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37103r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37103r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37103r=dst
IIS Stability:http://bugs.php.net/fix.php?id=37103r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=37103r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37103r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=37103r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=37103r=mysqlcfg


#37103 [Opn]: libmbfl

2006-04-17 Thread Fedora at FamilleCollet dot com
 ID:   37103
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:  Fedora at FamilleCollet dot com
 Status:   Open
 Bug Type: mbstring related
 Operating System: Linux (Fedora)
 PHP Version:  5.1.2
 New Comment:

Here is the little patch i use witch solve the problem
Hope this help.

--- ext/mbstring/config.m4.orig 2006-04-17 12:41:13.0 +0200
+++ ext/mbstring/config.m4  2006-04-17 12:42:55.0 +0200
@@ -293,7 +293,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl libmbfl/mbfl])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi

 # vim600: sts=2 sw=2 et


Previous Comments:


[2006-04-17 12:05:14] Fedora at FamilleCollet dot com

Description:

make install doesn't install headers of libmbfl in 
/usr/include/php/ext/mbstring/libmbfl/

They are required to build somme PECL extensions.
For exemple mailparse, see bug #36136.


Reproduce code:
---
find /usr/include/php/ext/mbstring/ -name \*.h

Expected result:

/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/eaw_table.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_pass.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_language.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_string.h
/usr/include/php/ext/mbstring/libmbfl/config.h


Actual result:
--
/usr/include/php/ext/mbstring/libmbfl/config.h





-- 
Edit this bug report at http://bugs.php.net/?id=37103edit=1