Bug #73013 [Opn->Fbk]: Generating phar.phar during cross-compile can't be done

From: Date: Mon, 23 Aug 2021 15:52:07 +0000
Subject: Bug #73013 [Opn->Fbk]: Generating phar.phar during cross-compile can't be done
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236025@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73013&edit=1 ID: 73013 Updated by: cmb@php.net Reported by: subins2000 at gmail dot com Summary: Generating phar.phar during cross-compile can't be done -Status: Open +Status: Feedback Type: Bug Package: Compile Failure Operating System: Ubuntu 16.04 Xenial Xerus PHP Version: 7.1.0RC1 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Is this still an issue with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> Previous Comments: ------------------------------------------------------------------------ [2016-09-04 17:36:46] subins2000 at gmail dot com Description: ------------ I'm cross compiling the latest PHP for Android ARM. Everything worked until the last step. The Makefile tries to generate phar.phar by invoking the compiled sapi/cli/php. But, since I'm cross compiling the php binary won't run in my host system. And so the generation of phar.phar fails. I recommend using the installed php binary /usr/bin/php to generate it instead. Expected result: ---------------- phar.phar should be generated Actual result: -------------- Generating phar.php /system/bin/linker: No such file or directory Makefile:387: recipe for target 'ext/phar/phar.php' failed make: *** [ext/phar/phar.php] Error 255 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73013&edit=1

« previous php.bugs (#236025) next »