Thursday, May 22, 2014

Re: [Discuss-gnuradio] Error building with new ZMQ

I added a "cppzmq" port that installs this header, which depends on one of the various zmq* ports (2.0, 2.2, 3.2, 4.0). All is happy now within MacPorts, but the FindZeroMQ.cmake file needs to be updated to look for this header (it just looks for zmq.h and libzmq).

-Sometimes- the test "qa_zeromq_pub" fails with the appended error. Otherwise, everything seems to be compiling and passing make test. One step forward ... - MLD

{{{
test 187
Start 187: qa_zeromq_pub

187: Test command: /bin/sh "/opt/local/var/macports/build/_opt_MacPorts_trunk_dports_science_gnuradio/gnuradio-devel/work/build/gr-zeromq/python/zeromq/qa_zeromq_pub_test.sh"
187: Test timeout computed to be: 9.99988e+06
187: E
187: ======================================================================
187: ERROR: test_001 (__main__.qa_zeromq_pub)
187: ----------------------------------------------------------------------
187: Traceback (most recent call last):
187: File "/opt/local/var/macports/build/_opt_MacPorts_trunk_dports_science_gnuradio/gnuradio-devel/work/gnuradio-cba2d184e2abb8a52353929a34b562ea4f9bd031/gr-zeromq/python/zeromq/qa_zeromq_pub.py", line 47, in test_001
187: self.assertFloatTuplesAlmostEqual(self.rx_data, src_data)
187: File "/opt/local/var/macports/build/_opt_MacPorts_trunk_dports_science_gnuradio/gnuradio-devel/work/gnuradio-cba2d184e2abb8a52353929a34b562ea4f9bd031/gnuradio-runtime/python/gnuradio/gr_unittest.py", line 88, in assertFloatTuplesAlmostEqual
187: self.assertEqual (len(a), len(b))
187: TypeError: object of type 'NoneType' has no len()
}}}


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment