php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60392 'U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR' undeclared
Submitted: 2011-11-26 08:28 UTC Modified: 2011-11-26 14:56 UTC
From: fedora at famillecollet dot com Assigned: cataphract (profile)
Status: Closed Package: intl (PECL)
PHP Version: 5.4SVN-2011-11-26 (snap) OS: GNU/Linux (RHEL-5)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fedora at famillecollet dot com
New email:
PHP Version: OS:

 

 [2011-11-26 08:28 UTC] fedora at famillecollet dot com
Description:
------------
Enterprise Linux 5 (RHEL, CentOS, other clones) provides an old icu version which doesn't provides  U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR.



Test script:
---------------
make


Actual result:
--------------
/builddir/build/BUILD/php5.4-201111260730/ext/intl/common/common_error.c: In function 'intl_expose_icu_error_codes':
/builddir/build/BUILD/php5.4-201111260730/ext/intl/common/common_error.c:244: error: 'U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR' undeclared (first use in this function)
/builddir/build/BUILD/php5.4-201111260730/ext/intl/common/common_error.c:244: error: (Each undeclared identifier is reported only once
/builddir/build/BUILD/php5.4-201111260730/ext/intl/common/common_error.c:244: error: for each function it appears in.)
make: *** [ext/intl/common/common_error.lo] Error 1
make: *** Waiting for unfinished jobs....


Patches

php54.patch (last revision 2011-11-26 08:58 UTC by fedora at famillecollet dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-26 08:51 UTC] fedora at famillecollet dot com
Can't find any icu changelog about this new constant.
But, at least icu 3.8 provides it, while 3.6 (in EL-6) doesn't.

So attached patch shouold fix this issue.
 [2011-11-26 14:55 UTC] cataphract@php.net
Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=319952
Log: - Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared)
  (fedora at famillecollet dot com)
 [2011-11-26 14:56 UTC] cataphract@php.net
Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=319953
Log: - Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared).
  (fedora at famillecollet dot com)
 [2011-11-26 14:56 UTC] cataphract@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.


 [2011-11-26 14:56 UTC] cataphract@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cataphract
 [2012-04-18 09:47 UTC] laruence@php.net
Automatic comment on behalf of cataphract
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9985d993587c5bc46dc2b95ab341b892f9f4d8ff
Log: - Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared)   (fedora at famillecollet dot com)
 [2012-07-24 23:38 UTC] rasmus@php.net
Automatic comment on behalf of cataphract
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9985d993587c5bc46dc2b95ab341b892f9f4d8ff
Log: - Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared)   (fedora at famillecollet dot com)
 [2012-08-23 21:07 UTC] glen at delfi dot ee
similarily to this U_IDNA_ZERO_LENGTH_LABEL_ERROR is not present in icu 3.4

funny is, that this error did not appear with php 5.3 because it was "protected" 
by U_IDNA_PROHIBITED_ERROR ifdef, which this commit made it broken:

https://github.com/php/php-src/commit/5fa1cfbbe694ee6d4e6925cd5ca3e69d943ea4b1
 [2012-08-26 10:21 UTC] glen at delfi dot ee
ok, reported as separate issue the later constant problem: 
https://bugs.php.net/bug.php?id=62933
 [2013-11-17 09:34 UTC] laruence@php.net
Automatic comment on behalf of cataphract
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9985d993587c5bc46dc2b95ab341b892f9f4d8ff
Log: - Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared)   (fedora at famillecollet dot com)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC