[MacPorts] #54845: py-zmq: problematic dependencies

MacPorts noreply at macports.org
Sat Sep 16 09:30:34 UTC 2017


#54845: py-zmq: problematic dependencies
--------------------+----------------------
 Reporter:  mojca   |      Owner:  jrjsmrtn
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  py-zmq
--------------------+----------------------
 The dependency in `py-zmq` is too permissive which leads to a broken port
 on my machine.

 {{{
 otool -L
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/zmq/backend/cython/_device.so
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/zmq/backend/cython/_device.so:
         /opt/local/lib/libzmq.5.dylib (compatibility version 7.0.0,
 current version 7.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 159.1.0)
 }}}

 The problem is that on my machine I apparently had `zmq22` installed from
 earlier which apparently satisfied the dependency, but that was different
 than the one against which `py-zmq` was built on the build server. I don't
 have `/opt/local/lib/libzmq.5.dylib` installed.

 {{{
 $ ls -l /opt/local/lib/libzmq.dylib
 /opt/local/lib/libzmq.dylib -> libzmq.1.dylib
 $ port provides /opt/local/lib/libzmq.dylib
 /opt/local/lib/libzmq.dylib is provided by: zmq22
 }}}

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


More information about the macports-tickets mailing list