When checking zeromq consumers I noticed py-czmq.  make test fails with:

  AttributeError: function/symbol 'zctx_new' not found in library 
'libczmq.so.1.0': Unable to resolve symbol

This symbol has been removed from CZMQ 4:

--8<--
CZMQ version 4.0.0 stable, released on 2016/11/04
=================================================

* v4.0.0 breaks API and ABI compatibility with v3.0.2.
  The ABI version has been bumped to 4.

* The v2 API, which have been declared DEPRECATED in v3.0.0
  released on 2014/10/15, have now been declared RETIRED
  and removed from this release. The following classes are gone:
  [...]
  - zctx, use zsock
-->8--

pyczmq was not ported to the new API, this was reported in 2016:

  https://github.com/zeromq/pyczmq/issues/28 "pyczmq uses deprecated CZMQ APIs"

The port is already using the HEAD of the git master branch.  Looks like
it's not going anywhere.

The only port that depends on it is py-zmq which can optionally use it
for tests, all of them failing/being skipped because of symbols not
found.  Elias, diff below.

ok to remove net/py-czmq?


Index: Makefile
===================================================================
RCS file: /d/cvs/ports/net/py-zmq/Makefile,v
retrieving revision 1.20
diff -u -p -p -u -r1.20 Makefile
--- Makefile    31 Oct 2018 12:27:23 -0000      1.20
+++ Makefile    24 Nov 2018 03:02:30 -0000
@@ -36,10 +36,6 @@ TEST_DEPENDS =               devel/py-test${MODPY_FLA
 FLAVORS =              python3
 FLAVOR ?=
 
-.if !${FLAVOR:Mpython3}
-TEST_DEPENDS +=                net/py-czmq
-.endif
-
 do-test:
        @${MODPY_TEST_TARGET}
 
-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to