[MacPorts] #59670: py38-zmq: error: use of undeclared identifier 'strnlen'

MacPorts noreply at macports.org
Mon Nov 11 23:03:03 UTC 2019


#59670: py38-zmq: error: use of undeclared identifier 'strnlen'
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  jrjsmrtn
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  py-zmq
------------------------+----------------------
 [https://build.macports.org/builders/ports-10.6_i386-builder/builds/2603/steps
 /install-port/logs/stdio py38-zmq fails to build] on 10.6:

 {{{
 bundled/zeromq/src/ipc_address.cpp:114:7: error: use of undeclared
 identifier 'strnlen'
       strnlen (src_pos, _addrlen - offsetof (sockaddr_un, sun_path)
       ^
 1 error generated.
 }}}

 strnlen was introduced in 10.7.

 You should be able to use the legacysupport portgroup to solve this.

-- 
Ticket URL: <https://trac.macports.org/ticket/59670>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list