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: -
Votes:4
Avg. Score:4.2 ± 0.4
Reproduced:4 of 4 (100.0%)
Same Version:1 (25.0%)
Same OS:3 (75.0%)
From: subins2000 at gmail dot com Assigned:
Status: Open Package: Compile Failure
PHP Version: 7.1.0RC1 OS: Ubuntu 16.04 Xenial Xerus
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: subins2000 at gmail dot com
New email:
PHP Version: OS:

 

 [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

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Oct 23 23:01:30 2019 UTC