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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/c5890d9c96274b15d274d2a8f7fccfd1bde1f340/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/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/961755854760682044d37dabfc2d998658edf961/include/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ 3 warnings generated. 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/f4bdca7e-8aa4-44c8-a58d-9556863da7e8/recipes/paho-mqtt-c/all/test_package/build/2965af6493237620f80f75907ac7a8e9c9f9fe2d' '--' '-j3'