Open oyaya opened 1 year ago
There are some errors when I build envoy-openssl AZEL_CXXOPTS="-std=c++14" CC=clang CXX=clang++ bazel build --config=clang :envoy --sandbox_debug --verbose_failures --repository_cache=/home/xxx/Downloads/envoy-openssl --define tcmalloc=disabled --define google_gr=disabled --define crypto=system external/com_github_google_jwt_verify/src/jwks.cc:100:8: error: mmember access into incomplete type 'ossl_rsa_st' rsa->n = createBigNumFromBase64UrlString(n).release(); ^ bazel-out/k8-fastbuild/bin/external/bssl-compat/bssl-compat/include/ossl/openssl/types.h:143:16: forward declaration of 'ossl_rsa_st' typedef struct ossl_rsa_st ossl_RSA; ^ external/com_github_google_jwt_verify/src/jwks.cc:101:8: error: mmember access into incomplete type 'ossl_rsa_st' rsa->e = createBigNumFromBase64UrlString(e).release(); ^ bazel-out/k8-fastbuild/bin/external/bssl-compat/bssl-compat/include/ossl/openssl/types.h:143:16: note: forward declaration of 'ossl_rsa_st' typedef struct ossl_rsa_st ossl_RSA; ^ external/com_github_google_jwt_verify/src/jwks.cc:102:12: error: member access into incomplete type 'ossl_rsa_st' if (rsa->n == nullptr || rsa->e == nullptr) { ^ bazel-out/k8-fastbuild/bin/external/bssl-compat/bssl-compat/include/ossl/openssl/types.h:143:16: note: forward declaration of 'ossl_rsa_st' typedef struct ossl_rsa_st ossl_RSA; ^ external/com_github_google_jwt_verify/src/jwks.cc:102:33: error: member access into incomplete type 'ossl_rsa_st' if (rsa->n == nullptr || rsa->e == nullptr) { ^ bazel-out/k8-fastbuild/bin/external/bssl-compat/bssl-compat/include/ossl/openssl/types.h:143:16: note: forward declaration of 'ossl_rsa_st' typedef struct ossl_rsa_st ossl_RSA; ^ external/com_github_google_jwt_verify/src/jwks.cc:107:24: error: member access into incomplete type 'ossl_rsa_st' if (BN_cmp_word(rsa->e, 3) != 0 && BN_cmp_word(rsa->e, 65537) != 0) { ^ bazel-out/k8-fastbuild/bin/external/bssl-compat/bssl-compat/include/ossl/openssl/types.h:143:16: note: forward declaration of 'ossl_rsa_st' typedef struct ossl_rsa_st ossl_RSA; ^ external/com_github_google_jwt_verify/src/jwks.cc:107:55: error: member access into incomplete type 'ossl_rsa_st' if (BN_cmp_word(rsa->e, 3) != 0 && BN_cmp_word(rsa->e, 65537) != 0) { ^ bazel-out/k8-fastbuild/bin/external/bssl-compat/bssl-compat/include/ossl/openssl/types.h:143:16: note: forward declaration of 'ossl_rsa_st' typedef struct ossl_rsa_st ossl_RSA; ^ 6 errors generated. 1680579731.270337218: src/main/tools/linux-sandbox-pid1.cc:538: wait returned pid=2, status=0x100 1680579731.270356897: src/main/tools/linux-sandbox-pid1.cc:556: child exited normally with code 1 1680579731.271827483: src/main/tools/linux-sandbox.cc:233: child exited normally with code 1 Target //:envoy failed to build