[MacPorts] #66809: zmq +nss: fatal error: prlink.h: No such file or directory (was: nss headers are broken)

MacPorts noreply at macports.org
Wed Feb 22 08:14:27 UTC 2023


#66809: zmq +nss: fatal error: prlink.h: No such file or directory
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  stromnov
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.0
Resolution:                |   Keywords:
      Port:  zmq           |
---------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: michaelld (added)
 * port:  nss => zmq
 * owner:  (none) => stromnov


Comment:

 This seems like a defect in the +nss variant
 [changeset:21b82c1e97c5de0d8fbb5ebbf402095ed8a84b7b/macports-ports you
 recently added] to the zmq port. The portfile manually adds
 `-I${prefix}/include/nss` but fails to add `-I${prefix}/include/nspr`
 (that's where prtypes.h is). `pkg-config nss --cflags` knows about both
 paths.

 After fixing that, the build of zmq +nss still fails at link time when it
 can't find libssl3.dylib, because as with the headers it's not looking in
 the right directory. `pkg-config nss --libs` shows the correct flags to
 use for linking.

 The build system should be handling this all for us, so I suspect it's
 something the developers of zmq should fix in their cmake files. I've
 [https://github.com/zeromq/libzmq/issues/4517 filed a bug report] with
 them.

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


More information about the macports-tickets mailing list