|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77527 Solr Extension build fail in last commit 9c0e23
Submitted: 2019-01-27 08:54 UTC Modified: 2019-07-15 23:38 UTC
Avg. Score:4.6 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%)
Same OS:4 (100.0%)
From: tuanbk08vn at gmail dot com Assigned: omars (profile)
Status: Closed Package: solr (PECL)
PHP Version: 7.2.14 OS: CentOs6
Private report: No CVE-ID: None
 [2019-01-27 08:54 UTC] tuanbk08vn at gmail dot com
Solr Extension build fail in last commit 9c0e23

-The list of modules that PHP compiled with:
  + Curl 7.19.0
  + LibXml2 2.7.6

Test script:
(commit 9c0e234)

Expected result:
Build complete

Actual result:
/mnt/php-7.2.14/ext/solr/src/php7/solr_functions_client.c: In function ‘solr_set_initial_curl_handle_options’:
/mnt/php-7.2.14/ext/solr/src/php7/solr_functions_client.c:88: error: ‘CURLOPT_ACCEPT_ENCODING’ undeclared (first use in this function)
/mnt/php-7.2.14/ext/solr/src/php7/solr_functions_client.c:88: error: (Each undeclared identifier is reported only once
/mnt/php-7.2.14/ext/solr/src/php7/solr_functions_client.c:88: error: for each function it appears in.)


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-01-28 03:20 UTC] tuanbk08vn at gmail dot com
For CentOS 6, the latest available version of curl is 7.19.0

'CURLOPT_ACCEPT_ENCODING' was called CURLOPT_ENCODING before curl 7.21.6
 [2019-01-28 14:31 UTC]
-Package: Compile Failure +Package: solr
 [2019-03-07 05:52 UTC]
The following pull request has been associated:

Patch Name: Fix #77527: Solr Extension build fail in due to curl CURLOPT_ACCEPT_ENCODING
On GitHub:
 [2019-03-19 09:57 UTC]
merged to master
 [2019-07-15 23:38 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: omars
 [2019-07-15 23:38 UTC]
released: 2.5.0
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Oct 22 16:01:24 2020 UTC