Created
February 20, 2024 20:46
-
-
Save couryrr/16a3ab4bd2ed5afb6098f280112e8c2d to your computer and use it in GitHub Desktop.
Ninja Issue on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vscode ➜ /workspaces/libocpp (main) $ cmake -B build -G Ninja -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="dist" | |
-- The CXX compiler identification is GNU 12.2.0 | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/c++ - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: program_options regex system thread | |
-- Found SQLite3: /usr/include (found version "3.40.1") | |
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.11") | |
[edm]: CPM_SOURCE_CACHE environment variable is not set, this might lead to unintended behavior. | |
[edm]: Scanning "/workspaces/libocpp" for dependencies. | |
[edm]: Parsing dependencies file: /workspaces/libocpp/dependencies.yaml | |
[edm]: Using parent directory as workspace path: /workspaces | |
[edm]: Using workspace directory "/workspaces". | |
[edm]: Dependency "nlohmann_json": determining if "v3.11.2" is a tag | |
[edm]: Dependency "nlohmann_json_schema_validator": determining if "2.3.0" is a tag | |
[edm]: Dependency "liblog": determining if "v0.2.1" is a tag | |
[edm]: Dependency "libtimer": determining if "v0.1.1" is a tag | |
[edm]: Dependency "date": determining if "v3.0.1" is a tag | |
[edm]: Dependency "websocketpp": determining if "0.8.2" is a tag | |
[edm]: Dependency "libevse-security": determining if "6f45efd" is a tag | |
[edm]: Dependency "libwebsockets": determining if "v4.3.3" is a tag | |
[edm]: Dependency "libevse-security": requesting remote rev | |
[edm]: Saving dependencies in: /workspaces/libocpp/build/dependencies.cmake | |
-- CPM: adding package nlohmann_json@3.11.2 (v3.11.2) | |
-- Using the multi-header code from /workspaces/libocpp/build/_deps/nlohmann_json-src/include/ | |
-- CPM: adding package nlohmann_json_schema_validator@2.3.0 (2.3.0) | |
-- JsonValidator: Configured for Debug | |
-- JsonValidator: nlohmann_json_VERSION is not set. Possible value: v3.11.2 | |
-- CPM: adding package liblog@0.2.1 (v0.2.1) | |
-- The C compiler identification is GNU 12.2.0 | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: /usr/bin/cc - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: log_setup log | |
-- Performing Test HAVE_fprofile_abs_path | |
-- Performing Test HAVE_fprofile_abs_path - Success | |
-- Appending code coverage compiler flags: -g --coverage -fprofile-abs-path | |
Not building liblog example binaries. | |
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) | |
Doxygen is needed to generate documentation | |
-- CPM: adding package libtimer@0.1.1 (v0.1.1) | |
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: system | |
[edm]: CPM_SOURCE_CACHE environment variable is not set, this might lead to unintended behavior. | |
[edm]: Scanning "/workspaces/libocpp/build/_deps/libtimer-src" for dependencies. | |
[edm]: Parsing dependencies file: /workspaces/libocpp/build/_deps/libtimer-src/dependencies.yaml | |
[edm]: Using workspace path set in EVEREST_EDM_WORKSPACE environment variable: /workspaces | |
[edm]: Using workspace directory "/workspaces". | |
[edm]: Dependency "date": determining if "v3.0.1" is a tag | |
[edm]: Saving dependencies in: /workspaces/libocpp/build/_deps/libtimer-build/dependencies.cmake | |
-- CPM: libtimer: adding package date@3.0.1 (v3.0.1) | |
# date: USE_SYSTEM_TZ_DB ON | |
# date: MANUAL_TZ_DB OFF | |
# date: USE_TZ_DB_IN_DOT OFF | |
# date: BUILD_SHARED_LIBS OFF | |
# date: ENABLE_DATE_TESTING OFF | |
# date: DISABLE_STRING_VIEW OFF | |
-- Found Threads: TRUE | |
[edm]: CPM_SOURCE_CACHE environment variable is not set, this might lead to unintended behavior. | |
[edm]: No metadata.yaml provided, downloading... | |
[edm]: Using metadata file: /workspaces/libocpp/build/everest-metadata.yaml | |
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) | |
Doxygen is needed to generate documentation | |
-- CPM: adding package websocketpp@0.8.2 (0.8.2) | |
CMake Deprecation Warning at build/_deps/websocketpp-src/CMakeLists.txt:5 (cmake_minimum_required): | |
Compatibility with CMake < 2.8.12 will be removed from a future version of | |
CMake. | |
Update the VERSION argument <min> value or use a ...<max> suffix to tell | |
CMake that the project does not need compatibility with older versions. | |
CMake Warning (dev) at build/_deps/websocketpp-src/CMakeLists.txt:37 (project): | |
Policy CMP0048 is not set: project() command manages VERSION variables. | |
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy | |
command to set the policy and suppress this warning. | |
The following variable(s) would be set to empty: | |
PROJECT_VERSION | |
PROJECT_VERSION_MAJOR | |
PROJECT_VERSION_MINOR | |
PROJECT_VERSION_PATCH | |
This warning is for project developers. Use -Wno-dev to suppress it. | |
** websocketpp | |
=========== Used Build Configuration ============= | |
-- ENABLE_CPP11 = ON | |
-- BUILD_EXAMPLES = OFF | |
-- BUILD_TESTS = OFF | |
-- WEBSOCKETPP_ROOT = /workspaces/libocpp/build/_deps/websocketpp-src | |
-- WEBSOCKETPP_BIN = /workspaces/libocpp/build/_deps/websocketpp-build/bin | |
-- WEBSOCKETPP_LIB = /workspaces/libocpp/build/_deps/websocketpp-build/lib | |
-- Install prefix = /workspaces/libocpp/dist | |
-- WEBSOCKETPP_BOOST_LIBS = | |
-- WEBSOCKETPP_PLATFORM_LIBS = | |
-- WEBSOCKETPP_PLATFORM_TLS_LIBS = | |
-- OPENSSL_FOUND = TRUE | |
-- OPENSSL_INCLUDE_DIR = /usr/include | |
-- OPENSSL_LIBRARIES = /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so | |
-- OPENSSL_VERSION = 3.0.11 | |
-- CPM: adding package libevse-security@6 (6f45efd) | |
[edm]: CPM_SOURCE_CACHE environment variable is not set, this might lead to unintended behavior. | |
[edm]: Scanning "/workspaces/libocpp/build/_deps/libevse-security-src" for dependencies. | |
[edm]: Parsing dependencies file: /workspaces/libocpp/build/_deps/libevse-security-src/dependencies.yaml | |
[edm]: Using workspace path set in EVEREST_EDM_WORKSPACE environment variable: /workspaces | |
[edm]: Using workspace directory "/workspaces". | |
[edm]: Dependency "liblog": determining if "v0.2.1" is a tag | |
[edm]: Dependency "libtimer": determining if "v0.1.1" is a tag | |
[edm]: Dependency "gtest": determining if "release-1.12.1" is a tag | |
[edm]: Saving dependencies in: /workspaces/libocpp/build/_deps/libevse-security-build/dependencies.cmake | |
-- CPM: libevse-security: adding package gtest@ (release-1.12.1) | |
-- Found Python: /usr/bin/python3 (found version "3.11.2") found components: Interpreter | |
[edm]: CPM_SOURCE_CACHE environment variable is not set, this might lead to unintended behavior. | |
[edm]: Using metadata file: /workspaces/libocpp/build/everest-metadata.yaml | |
-- Using the default logging header | |
-- CPM: adding package libwebsockets@4.3.3 (v4.3.3) | |
-- Compiled with LWS_WITH_DIR and LWS_WITH_LEJP_CONF | |
-- Found Git: /usr/local/bin/git (found version "2.43.0") | |
Git commit hash: v4.3.3 | |
-- Performing Test LWS_HAVE_inline | |
-- Performing Test LWS_HAVE_inline - Success | |
-- Performing Test LWS_HAVE___inline__ | |
-- Performing Test LWS_HAVE___inline__ - Success | |
-- Performing Test LWS_HAVE___inline | |
-- Performing Test LWS_HAVE___inline - Success | |
-- Performing Test LWS_HAVE_MALLOC_TRIM | |
-- Performing Test LWS_HAVE_MALLOC_TRIM - Success | |
-- Performing Test LWS_HAVE_MALLOC_USABLE_SIZE | |
-- Performing Test LWS_HAVE_MALLOC_USABLE_SIZE - Success | |
-- Looking for fork | |
-- Looking for fork - found | |
-- Looking for getenv | |
-- Looking for getenv - found | |
-- Looking for malloc | |
-- Looking for malloc - found | |
-- Looking for memset | |
-- Looking for memset - found | |
-- Looking for realloc | |
-- Looking for realloc - found | |
-- Looking for socket | |
-- Looking for socket - found | |
-- Looking for strerror | |
-- Looking for strerror - found | |
-- Looking for vfork | |
-- Looking for vfork - found | |
-- Looking for execvpe | |
-- Looking for execvpe - found | |
-- Looking for getifaddrs | |
-- Looking for getifaddrs - found | |
-- Looking for snprintf | |
-- Looking for snprintf - found | |
-- Looking for _snprintf | |
-- Looking for _snprintf - not found | |
-- Looking for _vsnprintf | |
-- Looking for _vsnprintf - not found | |
-- Looking for getloadavg | |
-- Looking for getloadavg - found | |
-- Looking for atoll | |
-- Looking for atoll - found | |
-- Looking for _atoi64 | |
-- Looking for _atoi64 - not found | |
-- Looking for _stat32i64 | |
-- Looking for _stat32i64 - not found | |
-- Looking for clock_gettime | |
-- Looking for clock_gettime - found | |
-- Looking for localtime_r | |
-- Looking for localtime_r - found | |
-- Looking for gmtime_r | |
-- Looking for gmtime_r - found | |
-- Looking for ctime_r | |
-- Looking for ctime_r - found | |
-- Looking for getgrgid_r | |
-- Looking for getgrgid_r - found | |
-- Looking for getgrnam_r | |
-- Looking for getgrnam_r - found | |
-- Looking for getpwuid_r | |
-- Looking for getpwuid_r - found | |
-- Looking for getpwnam_r | |
-- Looking for getpwnam_r - found | |
-- Looking for timegm | |
-- Looking for timegm - found | |
-- Looking for in6addr.h | |
-- Looking for in6addr.h - not found | |
-- Looking for memory.h | |
-- Looking for memory.h - found | |
-- Looking for netinet/in.h | |
-- Looking for netinet/in.h - found | |
-- Looking for stdint.h | |
-- Looking for stdint.h - found | |
-- Looking for stdlib.h | |
-- Looking for stdlib.h - found | |
-- Looking for strings.h | |
-- Looking for strings.h - found | |
-- Looking for string.h | |
-- Looking for string.h - found | |
-- Looking for sys/prctl.h | |
-- Looking for sys/prctl.h - found | |
-- Looking for sys/socket.h | |
-- Looking for sys/socket.h - found | |
-- Looking for sys/sockio.h | |
-- Looking for sys/sockio.h - not found | |
-- Looking for sys/stat.h | |
-- Looking for sys/stat.h - found | |
-- Looking for sys/types.h | |
-- Looking for sys/types.h - found | |
-- Looking for unistd.h | |
-- Looking for unistd.h - found | |
-- Looking for vfork.h | |
-- Looking for vfork.h - not found | |
-- Looking for sys/capability.h | |
-- Looking for sys/capability.h - found | |
-- Looking for malloc.h | |
-- Looking for malloc.h - found | |
-- Looking for pthread.h | |
-- Looking for pthread.h - found | |
-- Looking for inttypes.h | |
-- Looking for inttypes.h - found | |
-- Looking for sys/resource.h | |
-- Looking for sys/resource.h - found | |
-- Looking for cap_set_flag in cap | |
-- Looking for cap_set_flag in cap - found | |
-- Looking for 3 include files stdlib.h, ..., string.h | |
-- Looking for 3 include files stdlib.h, ..., string.h - found | |
-- Performing Test LWS_HAS_INTPTR_T | |
-- Performing Test LWS_HAS_INTPTR_T - Success | |
-- Performing Test LWS_HAS_PTHREAD_SETNAME_NP | |
-- Performing Test LWS_HAS_PTHREAD_SETNAME_NP - Success | |
-- Performing Test LWS_HAS_GETOPT_LONG | |
-- Performing Test LWS_HAS_GETOPT_LONG - Success | |
-- Performing Test LWS_HAVE_RTA_PREF | |
-- Performing Test LWS_HAVE_RTA_PREF - Success | |
-- Performing Test LWS_HAVE_SUSECONDS_T | |
-- Performing Test LWS_HAVE_SUSECONDS_T - Success | |
-- Performing Test LWS_HAVE_VISIBILITY | |
-- Performing Test LWS_HAVE_VISIBILITY - Success | |
-- Performing Test LWS_GCC_HAS_IGNORED_QUALIFIERS | |
-- Performing Test LWS_GCC_HAS_IGNORED_QUALIFIERS - Success | |
-- Performing Test LWS_GCC_HAS_TYPE_LIMITS | |
-- Performing Test LWS_GCC_HAS_TYPE_LIMITS - Success | |
-- Performing Test LWS_GCC_HAS_NO_DEPRECATED_DECLARATIONS | |
-- Performing Test LWS_GCC_HAS_NO_DEPRECATED_DECLARATIONS - Success | |
-- Looking for eventfd_read | |
-- Looking for eventfd_read - found | |
-- Performing Test LWS_HAVE_PIPE2 | |
-- Performing Test LWS_HAVE_PIPE2 - Success | |
-- Performing Test LWS_HAVE_TCP_USER_TIMEOUT | |
-- Performing Test LWS_HAVE_TCP_USER_TIMEOUT - Success | |
Compiling with SSL support | |
OpenSSL include dir: /usr/include | |
OpenSSL libraries: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so | |
-- Looking for openssl/ecdh.h | |
-- Looking for openssl/ecdh.h - found | |
-- Looking for SSL_CTX_set1_param | |
-- Looking for SSL_CTX_set1_param - found | |
-- Looking for SSL_set_info_callback | |
-- Looking for SSL_set_info_callback - found | |
-- Looking for X509_VERIFY_PARAM_set1_host | |
-- Looking for X509_VERIFY_PARAM_set1_host - found | |
-- Looking for X509_VERIFY_PARAM_set1_host | |
-- Looking for X509_VERIFY_PARAM_set1_host - not found | |
-- Looking for RSA_set0_key | |
-- Looking for RSA_set0_key - found | |
-- Looking for X509_get_key_usage | |
-- Looking for X509_get_key_usage - found | |
-- Looking for SSL_CTX_EVP_PKEY_new_raw_private_key | |
-- Looking for SSL_CTX_EVP_PKEY_new_raw_private_key - not found | |
-- Looking for SSL_CTX_get0_certificate | |
-- Looking for SSL_CTX_get0_certificate - found | |
-- Looking for SSL_get0_alpn_selected | |
-- Looking for SSL_get0_alpn_selected - found | |
-- Looking for SSL_set_alpn_protos | |
-- Looking for SSL_set_alpn_protos - found | |
-- Looking for EVP_aes_128_cfb8 | |
-- Looking for EVP_aes_128_cfb8 - found | |
-- Looking for EVP_aes_128_cfb128 | |
-- Looking for EVP_aes_128_cfb128 - found | |
-- Looking for EVP_aes_192_cfb8 | |
-- Looking for EVP_aes_192_cfb8 - found | |
-- Looking for EVP_aes_192_cfb128 | |
-- Looking for EVP_aes_192_cfb128 - found | |
-- Looking for EVP_aes_256_cfb8 | |
-- Looking for EVP_aes_256_cfb8 - found | |
-- Looking for EVP_aes_256_cfb128 | |
-- Looking for EVP_aes_256_cfb128 - found | |
-- Looking for EVP_aes_128_xts | |
-- Looking for EVP_aes_128_xts - found | |
-- Looking for EVP_aes_128_ofb | |
-- Looking for EVP_aes_128_ofb - found | |
-- Looking for EVP_aes_128_ecb | |
-- Looking for EVP_aes_128_ecb - found | |
-- Looking for EVP_aes_128_ctr | |
-- Looking for EVP_aes_128_ctr - found | |
-- Looking for RSA_verify_pss_mgf1 | |
-- Looking for RSA_verify_pss_mgf1 - not found | |
-- Looking for HMAC_CTX_new | |
-- Looking for HMAC_CTX_new - found | |
-- Looking for EVP_PKEY_new_raw_private_key | |
-- Looking for EVP_PKEY_new_raw_private_key - found | |
-- Looking for SSL_SESSION_set_time | |
-- Looking for SSL_SESSION_set_time - found | |
-- Looking for EC_KEY_new_by_curve_name | |
-- Looking for EC_KEY_new_by_curve_name - found | |
-- Performing Test LWS_HAVE_SSL_EXTRA_CHAIN_CERTS | |
-- Performing Test LWS_HAVE_SSL_EXTRA_CHAIN_CERTS - Success | |
-- Performing Test LWS_HAVE_EVP_MD_CTX_free | |
-- Performing Test LWS_HAVE_EVP_MD_CTX_free - Success | |
-- Performing Test LWS_HAVE_OPENSSL_STACK | |
-- Performing Test LWS_HAVE_OPENSSL_STACK - Success | |
-- Looking for ECDSA_SIG_set0 | |
-- Looking for ECDSA_SIG_set0 - found | |
-- Looking for BN_bn2binpad | |
-- Looking for BN_bn2binpad - found | |
-- Looking for EVP_aes_128_wrap | |
-- Looking for EVP_aes_128_wrap - found | |
-- Looking for EC_POINT_get_affine_coordinates | |
-- Looking for EC_POINT_get_affine_coordinates - found | |
-- Looking for TLS_client_method | |
-- Looking for TLS_client_method - found | |
-- Looking for TLSv1_2_client_method | |
-- Looking for TLSv1_2_client_method - found | |
Searching for OpenSSL executable and dlls | |
OpenSSL executable: /usr/bin/openssl | |
GENCERTS = 0 | |
DIR /workspaces/libocpp/build/_deps/libwebsockets-build CMP /workspaces/libocpp/build/_deps/libwebsockets-src/cmake | |
[edm]: CPM_SOURCE_CACHE environment variable is not set, this might lead to unintended behavior. | |
[edm]: Using metadata file: /workspaces/libocpp/build/everest-metadata.yaml | |
-- Using the default logging header | |
-- Using ocpp v201 config file path: /workspaces/libocpp/config/v201/config.json | |
Successfully initialized device model sqlite storage using schemas directory /workspaces/libocpp/config/v201/component_schemas at /workspaces/libocpp/build/config/v201/device_model_storage.db | |
Successfully inserted variables from /workspaces/libocpp/config/v201/config.json into sqlite storage at /workspaces/libocpp/build/config/v201/device_model_storage.db | |
Not building libocpp 1.6 example binaries. | |
-- Found GTest: /usr/lib/x86_64-linux-gnu/cmake/GTest/GTestConfig.cmake (found version "1.12.1") | |
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) | |
Doxygen is needed to generate documentation | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /workspaces/libocpp/build | |
vscode ➜ /workspaces/libocpp (main) $ ninja -C build install | |
ninja: Entering directory `build' | |
[24/267] Building CXX object _deps/libevse-security-build/lib/evse_security/CMakeFiles/evse_security.dir/crypto/openssl/openssl_supplier.cpp.o | |
In file included from /workspaces/libocpp/build/_deps/libevse-security-src/lib/evse_security/crypto/openssl/openssl_supplier.cpp:5: | |
/workspaces/libocpp/build/_deps/libevse-security-src/include/evse_security/detail/openssl/openssl_types.hpp: In member function ‘void std::default_delete<ec_key_st>::operator()(EC_KEY*) const’: | |
/workspaces/libocpp/build/_deps/libevse-security-src/include/evse_security/detail/openssl/openssl_types.hpp:53:22: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
53 | ::EC_KEY_free(ptr); | |
| ~~~~~~~~~~~~~^~~~~ | |
In file included from /usr/include/openssl/x509.h:33, | |
from /usr/include/openssl/x509v3.h:25, | |
from /workspaces/libocpp/build/_deps/libevse-security-src/include/evse_security/detail/openssl/openssl_types.hpp:6: | |
/usr/include/openssl/ec.h:1003:28: note: declared here | |
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | |
| ^~~~~~~~~~~ | |
/workspaces/libocpp/build/_deps/libevse-security-src/include/evse_security/detail/openssl/openssl_types.hpp: In member function ‘void std::default_delete<rsa_st>::operator()(RSA*) const’: | |
/workspaces/libocpp/build/_deps/libevse-security-src/include/evse_security/detail/openssl/openssl_types.hpp:60:19: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
60 | ::RSA_free(ptr); | |
| ~~~~~~~~~~^~~~~ | |
In file included from /usr/include/openssl/x509.h:36: | |
/usr/include/openssl/rsa.h:293:28: note: declared here | |
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | |
| ^~~~~~~~ | |
/workspaces/libocpp/build/_deps/libevse-security-src/lib/evse_security/crypto/openssl/openssl_supplier.cpp: In function ‘bool evse_security::generate_key_internal_tpm(const KeyGenerationInfo&, EVP_PKEY_ptr&)’: | |
/workspaces/libocpp/build/_deps/libevse-security-src/lib/evse_security/crypto/openssl/openssl_supplier.cpp:178:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
178 | char* group_256 = "P-256"; | |
| ^~~~~~~ | |
/workspaces/libocpp/build/_deps/libevse-security-src/lib/evse_security/crypto/openssl/openssl_supplier.cpp:179:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
179 | char* group_384 = "P-384"; | |
| ^~~~~~~ | |
/workspaces/libocpp/build/_deps/libevse-security-src/lib/evse_security/crypto/openssl/openssl_supplier.cpp: In function ‘bool evse_security::generate_key_internal(const KeyGenerationInfo&, EVP_PKEY_ptr&)’: | |
/workspaces/libocpp/build/_deps/libevse-security-src/lib/evse_security/crypto/openssl/openssl_supplier.cpp:236:41: warning: ‘RSA* RSA_generate_key(int, long unsigned int, void (*)(int, int, void*), void*)’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] | |
236 | RSA_ptr rsa_key(RSA_generate_key(bits, RSA_PRIME, nullptr, nullptr)); | |
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/openssl/rsa.h:253:30: note: declared here | |
253 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | |
| ^~~~~~~~~~~~~~~~ | |
/workspaces/libocpp/build/_deps/libevse-security-src/lib/evse_security/crypto/openssl/openssl_supplier.cpp:260:51: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
260 | EC_KEY_ptr ec_key(EC_KEY_new_by_curve_name(nid)); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | |
/usr/include/openssl/ec.h:998:31: note: declared here | |
998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
/workspaces/libocpp/build/_deps/libevse-security-src/lib/evse_security/crypto/openssl/openssl_supplier.cpp:268:41: warning: ‘int EC_KEY_generate_key(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
268 | if (false == EC_KEY_generate_key(ec_key.get())) { | |
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | |
/usr/include/openssl/ec.h:1101:27: note: declared here | |
1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | |
| ^~~~~~~~~~~~~~~~~~~ | |
[139/267] Building CXX object lib/CMakeFiles/ocpp.dir/ocpp/v201/utils.cpp.o | |
/workspaces/libocpp/lib/ocpp/v201/utils.cpp: In function ‘std::string ocpp::v201::utils::sha256(const std::string&)’: | |
/workspaces/libocpp/lib/ocpp/v201/utils.cpp:146:16: warning: ‘int SHA256_Init(SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
146 | SHA256_Init(&sha256); | |
| ~~~~~~~~~~~^~~~~~~~~ | |
In file included from /workspaces/libocpp/include/ocpp/v201/utils.hpp:6, | |
from /workspaces/libocpp/lib/ocpp/v201/utils.cpp:9: | |
/usr/include/openssl/sha.h:73:27: note: declared here | |
73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | |
| ^~~~~~~~~~~ | |
/workspaces/libocpp/lib/ocpp/v201/utils.cpp:147:18: warning: ‘int SHA256_Update(SHA256_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
147 | SHA256_Update(&sha256, str.c_str(), str.size()); | |
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/openssl/sha.h:74:27: note: declared here | |
74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | |
| ^~~~~~~~~~~~~ | |
/workspaces/libocpp/lib/ocpp/v201/utils.cpp:148:17: warning: ‘int SHA256_Final(unsigned char*, SHA256_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | |
148 | SHA256_Final(hash, &sha256); | |
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~ | |
/usr/include/openssl/sha.h:76:27: note: declared here | |
76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | |
| ^~~~~~~~~~~~ | |
[143/267] Building CXX object lib/CMakeFiles/ocpp.dir/ocpp/v16/charge_point_impl.cpp.o | |
FAILED: lib/CMakeFiles/ocpp.dir/ocpp/v16/charge_point_impl.cpp.o | |
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DONLY_C_LOCALE=0 -DUSE_OS_TZDB=1 -I/workspaces/libocpp/include -I/workspaces/libocpp/build/_deps/liblog-src/include -I/workspaces/libocpp/build/_deps/libtimer-src/include -I/workspaces/libocpp/build/_deps/date-src/include -I/workspaces/libocpp/build/_deps/nlohmann_json_schema_validator-src/src -I/workspaces/libocpp/build/_deps/nlohmann_json-src/include -I/workspaces/libocpp/build/_deps/libevse-security-src/include -isystem /workspaces/libocpp/build/_deps/websocketpp-src -g -Wimplicit-fallthrough -std=gnu++17 -MD -MT lib/CMakeFiles/ocpp.dir/ocpp/v16/charge_point_impl.cpp.o -MF lib/CMakeFiles/ocpp.dir/ocpp/v16/charge_point_impl.cpp.o.d -o lib/CMakeFiles/ocpp.dir/ocpp/v16/charge_point_impl.cpp.o -c /workspaces/libocpp/lib/ocpp/v16/charge_point_impl.cpp | |
c++: fatal error: Killed signal terminated program cc1plus | |
compilation terminated. | |
[148/267] Building CXX object lib/CMakeFiles/ocpp.dir/ocpp/v201/charge_point.cpp.o | |
FAILED: lib/CMakeFiles/ocpp.dir/ocpp/v201/charge_point.cpp.o | |
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DONLY_C_LOCALE=0 -DUSE_OS_TZDB=1 -I/workspaces/libocpp/include -I/workspaces/libocpp/build/_deps/liblog-src/include -I/workspaces/libocpp/build/_deps/libtimer-src/include -I/workspaces/libocpp/build/_deps/date-src/include -I/workspaces/libocpp/build/_deps/nlohmann_json_schema_validator-src/src -I/workspaces/libocpp/build/_deps/nlohmann_json-src/include -I/workspaces/libocpp/build/_deps/libevse-security-src/include -isystem /workspaces/libocpp/build/_deps/websocketpp-src -g -Wimplicit-fallthrough -std=gnu++17 -MD -MT lib/CMakeFiles/ocpp.dir/ocpp/v201/charge_point.cpp.o -MF lib/CMakeFiles/ocpp.dir/ocpp/v201/charge_point.cpp.o.d -o lib/CMakeFiles/ocpp.dir/ocpp/v201/charge_point.cpp.o -c /workspaces/libocpp/lib/ocpp/v201/charge_point.cpp | |
c++: fatal error: Killed signal terminated program cc1plus | |
compilation terminated. | |
[160/267] Building CXX object lib/CMakeFiles/ocpp.dir/ocpp/common/websocket/websocket_tls.cpp.o | |
ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment