Skip to content

Не работает сборка докер-образа с zeromq 4.3.4  #63

@gojmpz

Description

@gojmpz

Проблема сборки появляется начиная с версии 4.3.1.

Dockerfile:
...
ENV LIBZMQ_VER 4.3.4
...

In file included from src/mailbox_safe.hpp:43,
                 from src/mailbox_safe.cpp:31:
src/condition_variable.hpp:129:10: error: 'condition_variable_any' in namespace 'std' does not name a type
     std::condition_variable_any _cv;
          ^~~~~~~~~~~~~~~~~~~~~~
src/condition_variable.hpp:129:5: note: 'std::condition_variable_any' is defined in header ''; did you forget to '#include '?
src/condition_variable.hpp:98:1:
+#include 
 
src/condition_variable.hpp:129:5:
     std::condition_variable_any _cv;
     ^~~
src/condition_variable.hpp: In member function 'int zmq::condition_variable_t::wait(zmq::mutex_t*, int)':
src/condition_variable.hpp:111:13: error: '_cv' was not declared in this scope
             _cv.wait (
             ^~~
src/condition_variable.hpp:111:13: note: suggested alternative: 'recv'
             _cv.wait (
             ^~~
             recv
src/condition_variable.hpp:113:20: error: '_cv' was not declared in this scope
         } else if (_cv.wait_for (*mutex_, std::chrono::milliseconds (timeout_))
                    ^~~
src/condition_variable.hpp:113:20: note: suggested alternative: 'recv'
         } else if (_cv.wait_for (*mutex_, std::chrono::milliseconds (timeout_))
                    ^~~
                    recv
src/condition_variable.hpp:114:28: error: 'std::cv_status' has not been declared
                    == std::cv_status::timeout) {
                            ^~~~~~~~~
src/condition_variable.hpp: In member function 'void zmq::condition_variable_t::broadcast()':
src/condition_variable.hpp:125:9: error: '_cv' was not declared in this scope
         _cv.notify_all ();
         ^~~
src/condition_variable.hpp:125:9: note: suggested alternative: 'recv'
         _cv.notify_all ();
         ^~~
         recv
make[1]: *** [Makefile:5574: src/libzmq_la-mailbox_safe.lo] Error 1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions