Edit report at https://bugs.php.net/bug.php?id=76826&edit=1
ID: 76826
Comment by: elis at hirwing dot se
Reported by: php-bugs-2018 at ryandesign dot com
Summary: error: use of undeclared identifier 'finite'
Status: Feedback
Type: Bug
Package: Compile Failure
Operating System: Mac OS X 10.7.5
PHP Version: 7.2.9
Block user comment: N
Private report: N
New Comment:
@ab - I think the reason for the patch not applying was because the lines it tried to remove
wasn't there in that version of the source that it tried to patch. It also seems to differ
between 7.1.X and 7.2.X what they look like.
Make sure to take a copy of the log if you have use for it since it will go away. Nothing I can do
about that :/
Also, could you lend me some pointer to how to subscribe to this issue. I've tried several
times to fill email, solve math-problem and press subscribe but haven't got a single message.
Previous Comments:
------------------------------------------------------------------------
[2018-10-11 22:26:12] ab@php.net
@elis yep, that's the same bug. Thanks for re-posting the log. I've no Mac as well, so
only able to guess the conditions. With the patch - you need to ensure the -p option has the correct
level number, depending on the CWD when the patch gets applied. Alternatively you can edit the paths
in the patch, so they suffice for the build constellation.
Thanks.
------------------------------------------------------------------------
[2018-10-11 21:15:10] elis at hirwing dot se
@ab I've completely missed the answers here. I have tried to build 7.2.11 and 7.1.23 which have
failed the same way.
Too bad it's the same log viewer as before: https://logs.nix.ci/?key=nixos/nixpkgs.48228&attempt_id=94e95849-958b-4b83-8952-90bc4cf3021f
-- but it's the only way I have to get the log out from the darwin builds since I don't
have any darwin machines myself.
I've also tried to apply your patch on 7.2.11 and 7.1.23 for darwin, but it didn't apply
at all: https://logs.nix.ci/?key=nixos/nixpkgs.48228&attempt_id=7d415ce6-e908-439e-bbf4-5fe6797871c8
------------------------------------------------------------------------
[2018-10-05 07:13:21] ab@php.net
Thanks for the build new logs. Is that with the vanilla package? Were you able to play with the
condition as i've suggested? Perhaps you could try the patch i've just attached. I'd
be really reluctant to do fixes for EOL versions, but at least we could figure out what goes wrong
there. Probably only you can do that, as the chances to find someone with this OSX version are
probably marginal.
Thanks.
------------------------------------------------------------------------
[2018-10-05 07:09:59] ab@php.net
The following patch has been added/updated:
Patch Name: bug76826.poc.0.patch
Revision: 1538723399
URL: https://bugs.php.net/patch-display.php?bug=76826&patch=bug76826.poc.0.patch&revision=1538723399
------------------------------------------------------------------------
[2018-10-05 02:35:46] php-bugs-2018 at ryandesign dot com
Yes, we know Mac OS X 10.7 is old. But maybe there's somebody out there trying to learn PHP,
and the only computer they have available is an old hand-me-down Mac that cannot be upgraded past
10.7.
Here are some fresh build logs for you, on Mac OS X 10.7.5, Xcode 4.6.3, Apple LLVM version 4.2
(clang-425.0.28) (based on LLVM 3.2svn).
php 7.1.22: https://build.macports.org/builders/ports-10.7_x86_64_legacy-builder/builds/78701/steps/install-port/logs/stdio
php 7.2.10: https://build.macports.org/builders/ports-10.7_x86_64_legacy-builder/builds/78702/steps/install-port/logs/stdio
Can't provide a build log of php 7.3.x because of bug #76825.
------------------------------------------------------------------------
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=76826
--
Edit this bug report at https://bugs.php.net/bug.php?id=76826&edit=1