[MacPorts] #61897: tcl @8.6.10_0 +corefoundation +threads : configure tests failing with "implicitly declaring ... function" error
MacPorts
noreply at macports.org
Wed Dec 23 06:55:54 UTC 2020
#61897: tcl @8.6.10_0 +corefoundation +threads : configure tests failing with
"implicitly declaring ... function" error
-----------------------+--------------------
Reporter: lmhaffner | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: bigsur | Port: tcl
-----------------------+--------------------
A number of tests in `configure` are failing as this warning seems to have
been elevated to an error in macOS 11.x/XCode 12.3(?). One example from
the attached `config.log`:
{{{
conftest.c:26:7: error: implicitly declaring library function 'exit' with
type 'void (int) __attribute__((noreturn))' [-Werror,-Wimp
licit-function-declaration]
exit(2);
^
conftest.c:26:7: note: include the header <stdlib.h> or explicitly provide
a declaration for 'exit'
1 error generated.
}}}
In some cases, this prevents an expected success (e.g., `strtoul`
implementation testing) and is leading to odd errors downstream (e.g.,
`tclx` compilation failing due to a missing symbol in `libtclstub8.6.a`).
--
Ticket URL: <https://trac.macports.org/ticket/61897>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list