From:             vapier at gentoo dot org
Operating system: Linux
PHP version:      5.3.1
PHP Bug Type:     *Compile Issues
Bug description:  incorrect usage of autoconf diversions

Description:
------------
autoconf-2.64+ has changed behavior with diversions in such a way that php
breaks.  the autoconf documentation has explained that using these
functions with any diversion not explicitly documented is subject to
breakage, and php is doing just that.

http://www.gnu.org/software/autoconf/manual/autoconf.html#Diversion-support

you can also review the discussion on the autoconf lists:
http://lists.gnu.org/archive/html/bug-autoconf/2009-11/msg00045.html

Reproduce code:
---------------
the code can either be changed to stop using divert() completely (since it
doesnt seem to accomplish anything), or increase the numbers used to
something higher than 1000.

Actual result:
--------------
after regenerating autotools, we see:
$ ./configure
cat: confdefs.h: No such file or directory
./configure: line 410: ac_fn_c_try_run: command not found
./configure: line 426: 5: Bad file descriptor
./configure: line 427: 6: Bad file descriptor
cat: confdefs.h: No such file or directory
./configure: line 466: ac_fn_c_try_run: command not found
cat: confdefs.h: No such file or directory
........

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

Reply via email to