You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generating phar.php during cross-compile can't be done #11099
Activity
FosterYi97 commentedon May 15, 2023
Hello, have you solved this problem?
peter279k commentedon May 15, 2023
I don't resolve the problem.
Fix GH-11099: Generating phar.php during cross-compile can't be done
Merge branch 'PHP-8.1' into PHP-8.2
Merge branch 'PHP-8.2'
mcoelho80 commentedon Jun 12, 2023
This fix doesn't work on FreeBSD. I had to revert this patch to be able to build PHP with phar support.
ndossche commentedon Jun 12, 2023
@mcoelho80 I'll take a look later today
peter279k commentedon Jun 12, 2023
It seems that the issue is about the shell. I will check this in the FreeBSD.
mcoelho80 commentedon Jun 12, 2023
Same problem with PHP 8.1.20.
PHP 8.0.29 seems fine, as ext/phar/Makefile.frag wasn't changed.
peter279k commentedon Jun 12, 2023
@mcoelho80, PR is created and you can also help me to check that. Thanks :).
ndossche commentedon Jun 13, 2023
I tested the patch on both Linux and FreeBSD and it works. The PR is merged now. Thanks.
Resolve php#11099 in case of a debug-zts-asan build
php: remove php-phar to support reproducible build