|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75631 Build failure
Submitted: 2017-12-05 11:38 UTC Modified: 2019-03-29 09:38 UTC
Avg. Score:4.9 ± 0.3
Reproduced:16 of 16 (100.0%)
Same Version:15 (93.8%)
Same OS:4 (25.0%)
From: php-bugs-2017 at ryandesign dot com Assigned: omars (profile)
Status: Assigned Package: solr (PECL)
PHP Version: 7.2.0 OS: macOS 10.12.6
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-12-05 11:38 UTC] php-bugs-2017 at ryandesign dot com
Hi, I'm the maintainer of solr in MacPorts. solr 2.4.0 builds with php 7.1.12 and earlier but does not build with php 7.2.0. The error is:

error: use of undeclared identifier 'ZEND_ACC_CLONE'; did you mean 'ZEND_AST_CLONE'?

I've attached the full build log.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-01-23 07:36 UTC] matteo dot scaramuccia at gmail dot com
is there any ETA to publish a new version e.g. 2.5.0 to get access to the latest fixes done in the past months for compiling solr on 7.2?
Otherwise, 'pecl install solr' will always fail since 2.4.0 doesn't contains the required fixes e.g. .

 [2018-08-07 13:01 UTC] glen at pld-linux dot org
please 2.4.1 at least or something

this is super annoying under brew, as brew dropped pecl extensions as recipes, so these can't patched downstream easily.

 [2018-08-07 13:08 UTC] glen at pld-linux dot org
perhaps tag 2.4.1 from this commit:

* 744e329 - Fix for 7.2: - ZEND_ACC_CLONE have been removed, and was not used in previous versions - fix php_pcre_replace call (1 year, 1 month ago) <Remi Collet>

btw, 2.4.0 git tag is also missing from repository:
 [2018-12-09 14:00 UTC]
2.5 will be out soon, doing some testing on different platforms, apologies for the delay
 [2019-03-29 09:38 UTC]
-Assigned To: +Assigned To: omars
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 22:01:25 2019 UTC