Bug #78102 [Csd]: Can't compile on OSX

From: Date: Fri, 07 Jun 2019 20:35:42 +0000
Subject: Bug #78102 [Csd]: Can't compile on OSX
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221185@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78102&edit=1 ID: 78102 Updated by: dams@php.net Reported by: dams@php.net Summary: Can't compile on OSX Status: Closed Type: Bug Package: Compile Failure Operating System: OSX PHP Version: Next Major Version -Assigned To: +Assigned To: dams Block user comment: N Private report: N New Comment: Compiled using 'gmake' instead of 'make', following the installation of 'brew install make' and it all went well. Previous Comments: ------------------------------------------------------------------------ [2019-06-05 08:06:57] nikic@php.net Automatic comment on behalf of peterkokot@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=ac9ce0f895c285a01052eae6accc37ece25090fa Log: Fixed bug #78102 ------------------------------------------------------------------------ [2019-06-04 15:21:36] petk@php.net Yes, confirmed. It's the special version and build of Make for macOS 3.81 that causes this. Has been identified via appended patch above. Until this patch is confirmed and merged in the php-src we can now also bypass this using the usual GNU Make: brew install make and adding this on the first line of the ~/.bashrc file (or ~/.zshrc and equivalent): PATH="/usr/local/opt/make/libexec/gnubin:$PATH" That will give you something like this: make -v GNU Make 4.2.1 Built for x86_64-apple-darwin18.2.0 Copyright (C) 1988-2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Which is equivalent to: gmake -v macOS is not catching up with some tools versions out there (such as this strange make 3.81 prehistoric version released in 2006) due to their licensing lockups and annoyances. ------------------------------------------------------------------------ [2019-06-04 05:49:45] dams@php.net >make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. I also upgrade to the latest command line tools (from yesterday), and I keep running into the same version and error. ------------------------------------------------------------------------ [2019-06-03 22:35:51] petk@php.net The following patch has been added/updated: Patch Name: 78102.patch Revision: 1559601351 URL: https://bugs.php.net/patch-display.php?bug=78102&patch=78102.patch&revision=1559601351 ------------------------------------------------------------------------ [2019-06-03 20:32:29] petk@php.net Hello. Thanks for the report. It's the macOS version of make most likely here... What is the output of this on this machine? make -v ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=78102 -- Edit this bug report at https://bugs.php.net/bug.php?id=78102&edit=1

« previous php.bugs (#221185) next »