php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67888 make install fails -> cp: cannot stat sapi/cli/php.1: No such file
Submitted: 2014-08-22 15:12 UTC Modified: 2016-08-25 10:03 UTC
Votes:5
Avg. Score:4.6 ± 0.5
Reproduced:4 of 4 (100.0%)
Same Version:1 (25.0%)
Same OS:3 (75.0%)
From: pgodel at gmail dot com Assigned: cmb (profile)
Status: Wont fix Package: Compile Failure
PHP Version: 5.4.32 OS: CentOS/Debian/Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pgodel at gmail dot com
New email:
PHP Version: OS:

 

 [2014-08-22 15:12 UTC] pgodel at gmail dot com
Description:
------------
Trying to compile/make install fails with the following error:

cp: cannot stat `sapi/cli/php.1': No such file or directory
make: *** [install-cli] Error 1

There is a similar report for PHP 5.5 which appears to have been fixed but the problem persists in PHP 5.4.32:
https://bugs.php.net/bug.php?id=66842

The issue appears to be the following line in Makefile.global:

find . -name \*.1 | xargs rm -f

After commenting this line, the issue goes away. This line is not present in PHP 5.5.16


Expected result:
----------------
Should be able to compile and install.

Actual result:
--------------
Compile failure upon make install.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-25 10:03 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2016-08-25 10:03 UTC] cmb@php.net
This issue should probably have been fixed for PHP 5.4 as well,
but now it's too late since that version had been EOL'd long ago.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC