php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73013 Generating phar.phar during cross-compile can't be done
Submitted: 2016-09-04 17:36 UTC Modified: 2021-09-05 04:22 UTC
Votes:5
Avg. Score:4.0 ± 0.6
Reproduced:5 of 5 (100.0%)
Same Version:1 (20.0%)
Same OS:3 (60.0%)
From: subins2000 at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 7.1.0RC1 OS: Ubuntu 16.04 Xenial Xerus
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
27 + 22 = ?
Subscribe to this entry?

 
 [2016-09-04 17:36 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-08-23 15:52 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-08-23 15:52 UTC] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-09-05 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 10:01:27 2024 UTC