[MacPorts] #66221: mongo-c-driver @1.23.1: error: implicit declaration of function 'getpagesize' is invalid in C99 (was: mongo-c-driver: Failing to build on macOS 12.6.1)

MacPorts noreply at macports.org
Sat Nov 12 16:10:29 UTC 2022


#66221: mongo-c-driver @1.23.1: error: implicit declaration of function
'getpagesize' is invalid in C99
-----------------------------+------------------------
  Reporter:  ConnectGrid     |      Owner:  ryandesign
      Type:  defect          |     Status:  accepted
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:  arm64
      Port:  mongo-c-driver  |
-----------------------------+------------------------
Changes (by ryandesign):

 * keywords:  monterey => arm64
 * status:  assigned => accepted


Comment:

 We see the same `error: implicit declaration of function 'getpagesize' is
 invalid in C99` problem on our Apple Silicon build machines running macOS
 Big Sur and Monterey. We don't see the problem on the Intel build machines
 running Catalina, Big Sur or Monterey.

 It's [https://jira.mongodb.org/browse/CDRIVER-4505 a bug in
 mongo-c-driver]. They will release
 [https://github.com/mongodb/mongo-c-driver/commit/a73297b3402c2acfdf47895b8d657b369fae7a38
 the fix] in version 1.23.2. I'll add that as a patch to the portfile
 shortly.

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


More information about the macports-tickets mailing list