php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76263 intl - 7.0.30 fails to compile with icu 61
Submitted: 2018-04-25 08:23 UTC Modified: 2018-04-25 14:09 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: sjon at hortensius dot net Assigned:
Status: Wont fix Package: intl (PECL)
PHP Version: 7.0Git-2018-04-25 (Git) OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sjon at hortensius dot net
New email:
PHP Version: OS:

 

 [2018-04-25 08:23 UTC] sjon at hortensius dot net
Description:
------------
upcoming 7.0.30 fails to compile with icu-61. Probably related to #76153

offtopic - the intl package is incorrectly grouped in the 'Package affected:' as being a PECL package

Actual result:
--------------
  if (from.isEmpty()) {
           ^~~~~~~
php-7.0.30/ext/intl/intl_convertcpp.cpp:77:31: error: request for member ‘getBuffer’ in ‘from’, which is of non-class type ‘const int’
  const UChar *utf16buf = from.getBuffer();
                               ^~~~~~~~~
php-7.0.30/ext/intl/intl_convertcpp.cpp:79:76: error: request for member ‘length’ in ‘from’, which is of non-class type ‘const int’
  u_strToUTF8WithSub(ZSTR_VAL(u8res), capacity, &actual_len, utf16buf, from.length(),
                                                                            ^~~~~~
make: *** [Makefile:854: ext/intl/intl_convertcpp.lo] Error 1
make: *** Waiting for unfinished jobs....

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-04-25 14:09 UTC] ab@php.net
-Status: Open +Status: Wont fix
 [2018-04-25 14:09 UTC] ab@php.net
Thanks for the report. This issue is fixed in PHP >= 7.1. The 7.0 branch is security only, so these fixes won't be backported. Please apply the patches yourself or upgrade.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC