[MacPorts] #61409: db53 fails to configure on macOS 10.15 with XCode 12.1
MacPorts
noreply at macports.org
Mon Feb 7 20:39:00 UTC 2022
#61409: db53 fails to configure on macOS 10.15 with XCode 12.1
----------------------+-----------------------------
Reporter: tgyurci | Owner: jmroot
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords: catalina bigsur
Port: db53 |
----------------------+-----------------------------
Comment (by dmkallan):
Replying to [comment:2 ryandesign]:
> Until the ports are fixed, you can avoid the problem by downgrading to
Xcode 11 and the Xcode 11 version of the command line tools.
As an alternative to downgrading, you can always edit the db53 Portfile
and use configure.cflags-append to tell gcc not to error out on implicit
functions (no-error=implicit-function-declaration):
1) Open the Portfile in a text editor, such as, for example:
{{{sudo vi `port dir db53`/Portfile}}}
2) Add the following line at the top level (maybe after configure.args):
{{{configure.cflags-append -Wno-error=implicit-function-declaration}}}
Not really a fix, but for many packages that fail config on Xcode 12 and
Silicon, this may at least get you around the issue until the port is
updated.
--
Ticket URL: <https://trac.macports.org/ticket/61409#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list