[MacPorts] #61409: db53 fails to configure on macOS 10.15 with XCode 12.1

MacPorts noreply at macports.org
Sat Nov 7 10:03:08 UTC 2020


#61409: db53 fails to configure on macOS 10.15 with XCode 12.1
----------------------+--------------------
  Reporter:  tgyurci  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  db53     |
----------------------+--------------------
Changes (by ryandesign):

 * cc: MarcusCalhoun-Lopez, jmroot (added)


Comment:

 As usual with Xcode 12 these days, this project has configure tests that
 fail to include the required headers, for example:
 {{{
 conftest.c:51:3: error: implicitly declaring library function 'exit' with
 type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-
 declaration]
                 exit(0);
                 ^
 conftest.c:51:3: note: include the header <stdlib.h> or explicitly provide
 a declaration for 'exit'
 1 error generated.
 }}}
 Unfortunately we have many different versions of BerkeleyDB in MacPorts so
 it will be some work to see if upstream has a fix and then backport it to
 all of the previous versions that we have.

 Most of our db ports have no maintainer. db47 and db48 do. Those ports'
 configure phases don't fail, though some of the configure tests still fail
 for the above reason and so may be returning incorrect results with Xcode
 12 and should be fixed.

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/61409#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list