|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75587 Phar compilation fails
Submitted: 2017-11-29 05:43 UTC Modified: 2018-01-08 07:59 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: chingis at wodby dot com Assigned: bishop (profile)
Status: Closed Package: PHAR related
PHP Version: 7.1.12 OS: Alpine Linux 3.6
Private report: No CVE-ID: None
 [2017-11-29 05:43 UTC] chingis at wodby dot com
Starting to happen after upgrade to 7.1.12:

re2c: error: cannot open source file: ext/phar/
make: *** [Makefile:193: /usr/src/php/ext/phar/phar_path_check.c] Error 1


The full log available in travis ci (docker image build), raw job output:


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-01-08 02:03 UTC]
-Status: Open +Status: Feedback
 [2018-01-08 02:03 UTC]
From my read of the attached PR, this does not appear to be a problem unique to phar, but rather an issue with how core extensions are built generally. Is that a proper characterization?
 [2018-01-08 02:03 UTC]
-Assigned To: +Assigned To: bishop
 [2018-01-08 07:58 UTC] chingis at wodby dot com
Yes, it seems to be so. I guess we can close it.
 [2018-01-08 07:59 UTC] chingis at wodby dot com
-Status: Feedback +Status: Closed
 [2018-01-08 07:59 UTC] chingis at wodby dot com
Turned out to be the issue of how extensions installed in _/php docker images
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Feb 25 06:01:26 2024 UTC