[MacPorts] #60988: php73-apache2handler @7.3.16_1: error: too few arguments to function call, expected 3, have 2
MacPorts
noreply at macports.org
Thu Aug 13 16:42:43 UTC 2020
#60988: php73-apache2handler @7.3.16_1: error: too few arguments to function call,
expected 3, have 2
-----------------------------------+------------------------
Reporter: murrayE | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: php73-apache2handler |
-----------------------------------+------------------------
Comment (by ryandesign):
The config.log shows the tests are failing because of implicitly declared
functions, for example the "broken libc stdio" test:
{{{
conftest.c:103:5: error: implicitly declaring library function 'exit' with
type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-
declaration]
exit(2);
^
conftest.c:103:5: note: include the header <stdlib.h> or explicitly
provide a declaration for 'exit'
conftest.c:111:3: error: implicit declaration of function 'unlink' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
unlink(filename);
^
}}}
I know that implicitly declared functions will be errors in Xcode 12 and
later, so we definitely need to fix them, I just wasn't expecting them to
show up in Xcode 11 already, and I can't explain why you're seeing these
errors with Xcode 11.6 on macOS 10.15 when we did not on the same system.
Maybe we have different versions of the command line tools. On our server
we have:
{{{
% pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | grep version:
version: 11.5.0.0.1.1588476445
}}}
What version do you have?
--
Ticket URL: <https://trac.macports.org/ticket/60988#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list