[MacPorts] #47119: mongodb @3.0.0: error: use of undeclared identifier 'strnlen'

MacPorts noreply at macports.org
Sun Mar 15 09:02:24 PDT 2015


#47119: mongodb @3.0.0: error: use of undeclared identifier 'strnlen'
---------------------------+--------------------------
  Reporter:  ryandesign@…  |      Owner:  ryandesign@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.3
Resolution:                |   Keywords:  snowleopard
      Port:  mongodb       |
---------------------------+--------------------------

Comment (by floehlj@…):

 Might this be a possible workaround for this problem?

 https://github.com/openigtlink/OpenIGTLink/issues/25
 https://github.com/rubinius/rubinius/commit/bff14074dff56b27e3e96e0d6e7a93e2915c3d42

 I also found a strnlen patch for Snow Leopard in my MacPorts folder here:

 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/cctools/files
 /snowleopard-strnlen.patch

 which seems to address the same problem, but just for a different port.

 If there is no solution at this time, is there a way to exclude mongodb
 3.0.0 from the list of updates available for Snow Leopard, until the
 problem can be solved?
 The problem is, that installing updates always stops when my machine tries
 to compile mongodb.

-- 
Ticket URL: <https://trac.macports.org/ticket/47119#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list