php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72889 Makefile:984: recipe for target 'main/reentrancy.lo' failed
Submitted: 2016-08-19 04:59 UTC Modified: 2020-02-02 04:22 UTC
Votes:5
Avg. Score:4.6 ± 0.8
Reproduced:5 of 5 (100.0%)
Same Version:3 (60.0%)
Same OS:4 (80.0%)
From: brian dot carpenter at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.6.25 OS: Debian 8.5 x64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-08-19 04:59 UTC] brian dot carpenter at gmail dot com
Description:
------------
Trying to compile 5.6.25 with clang 3.5.0-10 (llvm 3.5.0).



Expected result:
----------------
Success.

Actual result:
--------------
/home/geeknik/php-5.6.25/main/reentrancy.c:139:23: error: too few arguments to function
      call, expected 3, have 2
        readdir_r(dirp, entry);
        ~~~~~~~~~            ^
/usr/include/dirent.h:183:1: note: 'readdir_r' declared here
extern int readdir_r (DIR *__restrict __dirp,
^
1 error generated.
Makefile:984: recipe for target 'main/reentrancy.lo' failed
make: *** [main/reentrancy.lo] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-21 00:13 UTC] brian dot carpenter at gmail dot com
Same thing happens with 5.6.26 and clang. ):

~/php-5.6.26/main/reentrancy.c:139:23: error: too few arguments to function
      call, expected 3, have 2
        readdir_r(dirp, entry);
        ~~~~~~~~~            ^
/usr/include/dirent.h:183:1: note: 'readdir_r' declared here
extern int readdir_r (DIR *__restrict __dirp,
^
1 error generated.
Makefile:984: recipe for target 'main/reentrancy.lo' failed
make: *** [main/reentrancy.lo] Error 1
 [2020-01-25 16:31 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-01-25 16:31 UTC] cmb@php.net
Is that still unresolved for actively supported PHP versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2020-02-02 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: Thu Mar 28 21:01:27 2024 UTC