[MacPorts] #61423: ucl @1.03: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' (was: "port install ucl" fails due to problem with confdefs)
MacPorts
noreply at macports.org
Tue Nov 10 12:18:09 UTC 2020
#61423: ucl @1.03: error: implicitly declaring library function 'exit' with type
'void (int) __attribute__((noreturn))'
-------------------------+--------------------
Reporter: EfremBraun | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: ucl |
-------------------------+--------------------
Comment (by ryandesign):
The config.log shows a problem we see with lots of software these days:
{{{
conftest.c:29:7: error: implicitly declaring library function 'exit' with
type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-
declaration]
exit(2);
^
conftest.c:29:7: note: include the header <stdlib.h> or explicitly provide
a declaration for 'exit'
}}}
Until we resolve these issues, you can work around them by downgrading to
Xcode 11 and the Xcode 11 version of the command line tools. (In Xcode 12,
Apple made the implicit declaration of functions an error instead of a
warning as it was before.)
--
Ticket URL: <https://trac.macports.org/ticket/61423#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list