#48098 [Sus]: ./configure --with-something fails when LANG=et_EE.UTF-8

2009-05-01 Thread paabulaabu at gmail dot com
 ID:   48098
 User updated by:  paabulaabu at gmail dot com
 Reported By:  paabulaabu at gmail dot com
 Status:   Suspended
 Bug Type: Compile Failure
 Operating System: Ubuntu 9.04
 PHP Version:  5.2.9
 New Comment:

In their own words:

Please take your time to find 10 candles, the software you're
using has its birthday today.  Then, after feasting on whatever cake
you
can get hold on, maybe a couple of jolly good fellow songs, please
throw
it away, right there, and grab Autoconf 2.63, which is but a toddler
with its almost 8 months.

Welcome to the new millennium!  Its first decade ain't over yet.  ;-)

Cheers, and also, we don't work on bugs in that version any more,
Ralf


Previous Comments:


[2009-04-29 08:49:25] paabulaabu at gmail dot com

Autoconf folks suggest that bug has been fixed.

"configure generated by autoconf version 2.13"

latest autoconf is 2.63
Not sure if it is stable one, tho.



[2009-04-28 17:40:08] j...@php.net

Impossible to fix by PHP (completely) since most of this stuff is 
produced by autoconf which is 3rd party tool. Report it to the autoconf

folks..

----

[2009-04-28 13:04:08] paabulaabu at gmail dot com

Description:

Solution: use [:alpha:] instead a-zA-z in various regular expressions.

Bug:
:/usr/src/php-5.2.9$ export LANG=et_EE.UTF-8
:/usr/src/php-5.2.9$ ./configure --with-curl
configure: error: curl: invalid package name


buggy code part in "configure" script:

if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  { echo "configure: error: $ac_package: invalid package name"
1>&2; exit 1; }
fi

bug happens because "Z" isnt the final letter in estonian alphabet.

proof of concept in shell:
:~$ export LANG=en_GB.UTF-8
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_[:alpha:]0-9]//g'

:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_a-zA-Z0-9]//g'

:~$ export LANG=et_EE.UTF-8
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_a-zA-Z0-9]//g'
tuvõäöüTUVÕÄÖÜ
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_[:alpha:]0-9]//g'

pri...@vidrik:~$






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



#48098 [Sus]: ./configure --with-something fails when LANG=et_EE.UTF-8

2009-04-29 Thread paabulaabu at gmail dot com
 ID:   48098
 User updated by:  paabulaabu at gmail dot com
 Reported By:  paabulaabu at gmail dot com
 Status:   Suspended
 Bug Type: Compile Failure
 Operating System: Ubuntu 9.04
 PHP Version:  5.2.9
 New Comment:

Autoconf folks suggest that bug has been fixed.

"configure generated by autoconf version 2.13"

latest autoconf is 2.63
Not sure if it is stable one, tho.


Previous Comments:


[2009-04-28 17:40:08] j...@php.net

Impossible to fix by PHP (completely) since most of this stuff is 
produced by autoconf which is 3rd party tool. Report it to the autoconf

folks..



[2009-04-28 13:04:08] paabulaabu at gmail dot com

Description:

Solution: use [:alpha:] instead a-zA-z in various regular expressions.

Bug:
:/usr/src/php-5.2.9$ export LANG=et_EE.UTF-8
:/usr/src/php-5.2.9$ ./configure --with-curl
configure: error: curl: invalid package name


buggy code part in "configure" script:

if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  { echo "configure: error: $ac_package: invalid package name"
1>&2; exit 1; }
fi

bug happens because "Z" isnt the final letter in estonian alphabet.

proof of concept in shell:
:~$ export LANG=en_GB.UTF-8
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_[:alpha:]0-9]//g'

:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_a-zA-Z0-9]//g'

:~$ export LANG=et_EE.UTF-8
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_a-zA-Z0-9]//g'
tuvõäöüTUVÕÄÖÜ
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_[:alpha:]0-9]//g'

pri...@vidrik:~$






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



#48098 [Opn]: ./configure --with-something fails when LANG=et_EE.UTF-8

2009-04-28 Thread paabulaabu at gmail dot com
 ID:   48098
 User updated by:  paabulaabu at gmail dot com
-Summary:  ./configure --with-something-containing fails when
   LANG=et_EE.UTF-8
 Reported By:  paabulaabu at gmail dot com
 Status:   Open
 Bug Type: *Compile Issues
 Operating System: Ubuntu 9.04
 PHP Version:  5.2.9
 New Comment:

fixed summary.


Previous Comments:


[2009-04-28 13:04:08] paabulaabu at gmail dot com

Description:

Solution: use [:alpha:] instead a-zA-z in various regular expressions.

Bug:
:/usr/src/php-5.2.9$ export LANG=et_EE.UTF-8
:/usr/src/php-5.2.9$ ./configure --with-curl
configure: error: curl: invalid package name


buggy code part in "configure" script:

if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  { echo "configure: error: $ac_package: invalid package name"
1>&2; exit 1; }
fi

bug happens because "Z" isnt the final letter in estonian alphabet.

proof of concept in shell:
:~$ export LANG=en_GB.UTF-8
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_[:alpha:]0-9]//g'

:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_a-zA-Z0-9]//g'

:~$ export LANG=et_EE.UTF-8
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_a-zA-Z0-9]//g'
tuvõäöüTUVÕÄÖÜ
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_[:alpha:]0-9]//g'

pri...@vidrik:~$






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



#48098 [NEW]: ./configure --with-something-containing fails when LANG=et_EE.UTF-8

2009-04-28 Thread paabulaabu at gmail dot com
From: paabulaabu at gmail dot com
Operating system: Ubuntu 9.04
PHP version:  5.2.9
PHP Bug Type: *Compile Issues
Bug description:  ./configure --with-something-containing fails when 
LANG=et_EE.UTF-8

Description:

Solution: use [:alpha:] instead a-zA-z in various regular expressions.

Bug:
:/usr/src/php-5.2.9$ export LANG=et_EE.UTF-8
:/usr/src/php-5.2.9$ ./configure --with-curl
configure: error: curl: invalid package name


buggy code part in "configure" script:

if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  { echo "configure: error: $ac_package: invalid package name" 1>&2;
exit 1; }
fi

bug happens because "Z" isnt the final letter in estonian alphabet.

proof of concept in shell:
:~$ export LANG=en_GB.UTF-8
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_[:alpha:]0-9]//g'

:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_a-zA-Z0-9]//g'

:~$ export LANG=et_EE.UTF-8
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_a-zA-Z0-9]//g'
tuvõäöüTUVÕÄÖÜ
:~$ echo abcdefghijklmnopqrstuvõäöüABCDEFGHIJLKMNOPQRSTUVÕÄÖÜ123456789
|sed 's/[-_[:alpha:]0-9]//g'

pri...@vidrik:~$


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