CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY OPENSSL_ROOT_DIR PAHO_BUILD_ASYNC PAHO_BUILD_SHARED /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:537:27: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1879:1: note: 'TLSv1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:542:27: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_1_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1885:1: note: 'TLSv1_1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:547:27: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_2_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1891:1: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ 3 warnings generated. /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:537:27: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1879:1: note: 'TLSv1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:542:27: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_1_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1885:1: note: 'TLSv1_1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:547:27: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_2_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1891:1: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ 3 warnings generated. /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:537:27: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1879:1: note: 'TLSv1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:542:27: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_1_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1885:1: note: 'TLSv1_1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:547:27: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_2_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1891:1: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ 3 warnings generated. /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:537:27: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1879:1: note: 'TLSv1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:542:27: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_1_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1885:1: note: 'TLSv1_1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/e77b7e7bb95320c999e026224d1cc9ee2f0433da/source_subfolder/src/SSLSocket.c:547:27: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations] net->ctx = SSL_CTX_new(TLSv1_2_client_method()); ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/ssl.h:1891:1: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:160:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /home/conan/w/cci_PR-4356/.conan/data/openssl/1.1.1i/_/_/package/d192df17f79e17f2a80ffc0625135389018e342b/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ 3 warnings generated. CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY /usr/bin/ld: cannot find -lpaho-mqtt3as-static clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [CMakeFiles/test_package.dir/build.make:105: bin/test_package] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/test_package.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 ERROR: paho-mqtt-c/1.3.0 (test package): Error in build() method, line 14 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/cci_PR-4356/3/036f301e-3727-418a-b0a2-359fedaa4f4f/recipes/paho-mqtt-c/all/test_package/build/bc0aeedb5d6b64132a69037467d866531a83add0' '--' '-j3'