|  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: -
Avg. Score:4.8 ± 0.4
Reproduced:13 of 13 (100.0%)
Same Version:12 (92.3%)
Same OS:2 (15.4%)
From: php-bugs-2017 at ryandesign dot com Assigned:
Status: Open Package: solr (PECL)
PHP Version: 7.2.0 OS: macOS 10.12.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: php-bugs-2017 at ryandesign dot com
New email:
PHP Version: OS:


 [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:
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Wed Nov 21 07:01:28 2018 UTC