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/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1879:45: 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/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1885:45: 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/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1891:45: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^ 3 warnings generated. /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1879:45: 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/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1885:45: 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/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1891:45: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^ 3 warnings generated. /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1879:45: 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/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1885:45: 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/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1891:45: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^ 3 warnings generated. /home/conan/w/cci_PR-4356/.conan/data/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1879:45: 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/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1885:45: 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/paho-mqtt-c/1.3.0/_/_/build/9e5ba7733edd503fc171fa296cce4028a9b7344a/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/80caacb7fb2f820b84697db7dc971a4924654efe/include/openssl/ssl.h:1891:45: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) ^ 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]: *** [bin/test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [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/273dce34-a40b-484f-a356-207432987a45/recipes/paho-mqtt-c/all/test_package/build/2bb24383c74c8ef8c735e11d4cda6c86118f29d4' '--' '-j3'