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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/c84824db42f3ee85296855eaccf92fcd21d8baa8/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/abc45b7dce3f5194dea2377c33229fa4f20706b4/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/4/282e1aa4-c874-43b8-9351-fa63731cba31/recipes/paho-mqtt-c/all/test_package/build/e57d444d370d8af1845d4d1b036a1795ab508d80' '--' '-j3'