tango-controls / TangoSourceDistribution

4 stars 5 forks source link

Can not compile 9.3.3 on Debian #52

Closed picca closed 5 years ago

picca commented 5 years ago

Hello,

for the record, It does not compile on Debian.

zmqeventsupplier.cpp:689:18: error: cannot convert 'zmq::socket_t' to 'void*'
  689 |     if (zmq_bind(*(ms.pub_socket),ms.endpoint.c_str()) != 0)
      |                  ^~~~~~~~~~~~~~~~
      |                  |
      |                  zmq::socket_t
In file included from /usr/include/zmq.hpp:38,
                 from ../../../lib/cpp/client/event.h:41,
                 from ./tango.h:146,
                 from zmqeventsupplier.cpp:33:
/usr/include/zmq.h:485:32: note:   initializing argument 1 of 'int zmq_bind(void*, const char*)'
  485 | ZMQ_EXPORT int zmq_bind (void *s_, const char *addr_);
      |                          ~~~~~~^~

you can find the full log here

https://salsa.debian.org/science-team/tango/-/jobs/290586

cheers

t-b commented 5 years ago

As discussed privately with @bourtemb the next rc release of the tango source distribtution will include the fix for that issue.

picca commented 5 years ago

Thanks, do you know when this rc will be planned ?

t-b commented 5 years ago

Around next to weeks.