Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2023 01:07:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275398] devel/py-grpcio: fail to build with libressl 3.8.2
Message-ID:  <bug-275398-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275398

            Bug ID: 275398
           Summary: devel/py-grpcio: fail to build with libressl 3.8.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: vanilla@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(vanilla@FreeBSD.org)
          Assignee: vanilla@FreeBSD.org

cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe =
-O3
-pipe -funroll-loops -mretpoline -fno-delete-null-pointer-checks
-fstack-protector-strong -fno-strict-aliasing
-fdebug-prefix-map=3D/tmp/ports/usr/ports/lang/python39/work/Python-3.9.18=
=3D. -O2
-pipe -O3 -pipe -funroll-loops -mretpoline -fno-delete-null-pointer-checks
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-fdebug-prefix-map=3D/tmp/ports/usr/ports/devel/py-grpcio/work-py39/grpcio-=
1.59.3=3D.
-isystem /usr/local/include -fPIC -D_WIN32_WINNT=3D1536
-DGRPC_XDS_USER_AGENT_NAME_SUFFIX=3D\"Python\"
-DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=3D\"1.59.3\" -DOPENSSL_NO_ASM=3D1
-DGPR_BACKWARDS_COMPATIBILITY_MODE=3D1 -DHAVE_CONFIG_H=3D1
-DGRPC_ENABLE_FORK_SUPPORT=3D1 -DGRPC_DO_NOT_INSTANTIATE_POSIX_POLLER=3D1
-D__STDC_FORMAT_MACROS -Isrc/python/grpcio -Iinclude -I.
-Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -I/usr/inclu=
de
-Ithird_party/re2 -I/usr/include/openssl -Ithird_party/upb
-Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated
-Ithird_party/utf8_range -Ithird_party/xxhash -I/usr/include
-I/usr/local/include/python3.9 -c third_party/re2/re2/stringpiece.cc -o
python_build/temp.freebsd-13.2-STABLE-amd64-cpython-39/third_party/re2/re2/=
stringpiece.o
-std=3Dc++14 -pthread
third_party/re2/re2/parse.cc:1592:15: warning: code will never be executed
[-Wunreachable-code]
  LOG(DFATAL) << "Not reached in ParseEscape.";
              ^~
1 warning generated.
src/core/tsi/ssl_transport_security.cc:2175:5: error: use of undeclared
identifier 'X509_STORE_set_get_crl'; did you mean 'X509_STORE_CTX_get1_crls=
'?
    X509_STORE_set_get_crl(cert_store, GetCrlFromProvider);
    ^~~~~~~~~~~~~~~~~~~~~~
    X509_STORE_CTX_get1_crls
/usr/local/include/openssl/x509_vfy.h:294:21: note: 'X509_STORE_CTX_get1_cr=
ls'
declared here
STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(X509_STORE_CTX *st, X509_NAME
*nm);
                    ^
src/core/tsi/ssl_transport_security.cc:2175:28: error: cannot initialize a
parameter of type 'X509_STORE_CTX *' (aka 'x509_store_ctx_st *') with an lv=
alue
of type 'X509_STORE *' (aka 'x509_store_st *')
    X509_STORE_set_get_crl(cert_store, GetCrlFromProvider);
                           ^~~~~~~~~~
/usr/local/include/openssl/ossl_typ.h:153:16: note: 'x509_store_st' is not
defined, but forward declared here; conversion would be valid if it was der=
ived
from 'x509_store_ctx_st'
typedef struct x509_store_st X509_STORE;
               ^
/usr/local/include/openssl/x509_vfy.h:294:62: note: passing argument to
parameter 'st' here
STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(X509_STORE_CTX *st, X509_NAME
*nm);
                                                             ^
src/core/tsi/ssl_transport_security.cc:2176:5: error: use of undeclared
identifier 'X509_STORE_set_check_crl'; did you mean
'X509_STORE_set_check_issued'?
    X509_STORE_set_check_crl(cert_store, CheckCrlPassthrough);
    ^~~~~~~~~~~~~~~~~~~~~~~~
    X509_STORE_set_check_issued
/usr/local/include/openssl/x509_vfy.h:322:6: note:
'X509_STORE_set_check_issued' declared here
void X509_STORE_set_check_issued(X509_STORE *store,
     ^
src/core/tsi/ssl_transport_security.cc:2176:42: error: cannot initialize a
parameter of type 'X509_STORE_CTX_check_issued_fn' (aka 'int
(*)(x509_store_ctx_st *, x509_st *, x509_st *)') with an lvalue of type 'int
(X509_STORE_CTX *, X509_CRL *)' (aka 'int (x509_store_ctx_st *, X509_crl_st
*)'): different number of parameters (3 vs 2)
    X509_STORE_set_check_crl(cert_store, CheckCrlPassthrough);
                                         ^~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/x509_vfy.h:323:36: note: passing argument to
parameter 'check_issued' here
    X509_STORE_CTX_check_issued_fn check_issued);
                                   ^
src/core/tsi/ssl_transport_security.cc:2371:9: error: use of undeclared
identifier 'X509_STORE_set_get_crl'; did you mean 'X509_STORE_CTX_get1_crls=
'?
        X509_STORE_set_get_crl(cert_store, GetCrlFromProvider);
        ^~~~~~~~~~~~~~~~~~~~~~
        X509_STORE_CTX_get1_crls
/usr/local/include/openssl/x509_vfy.h:294:21: note: 'X509_STORE_CTX_get1_cr=
ls'
declared here
STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(X509_STORE_CTX *st, X509_NAME
*nm);
                    ^
src/core/tsi/ssl_transport_security.cc:2371:32: error: cannot initialize a
parameter of type 'X509_STORE_CTX *' (aka 'x509_store_ctx_st *') with an lv=
alue
of type 'X509_STORE *' (aka 'x509_store_st *')
        X509_STORE_set_get_crl(cert_store, GetCrlFromProvider);
                               ^~~~~~~~~~
/usr/local/include/openssl/ossl_typ.h:153:16: note: 'x509_store_st' is not
defined, but forward declared here; conversion would be valid if it was der=
ived
from 'x509_store_ctx_st'
typedef struct x509_store_st X509_STORE;
               ^
/usr/local/include/openssl/x509_vfy.h:294:62: note: passing argument to
parameter 'st' here
STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(X509_STORE_CTX *st, X509_NAME
*nm);
                                                             ^
src/core/tsi/ssl_transport_security.cc:2372:9: error: use of undeclared
identifier 'X509_STORE_set_check_crl'; did you mean
'X509_STORE_set_check_issued'?
        X509_STORE_set_check_crl(cert_store, CheckCrlPassthrough);
        ^~~~~~~~~~~~~~~~~~~~~~~~
        X509_STORE_set_check_issued
/usr/local/include/openssl/x509_vfy.h:322:6: note:
'X509_STORE_set_check_issued' declared here
void X509_STORE_set_check_issued(X509_STORE *store,
     ^
src/core/tsi/ssl_transport_security.cc:2372:46: error: cannot initialize a
parameter of type 'X509_STORE_CTX_check_issued_fn' (aka 'int
(*)(x509_store_ctx_st *, x509_st *, x509_st *)') with an lvalue of type 'int
(X509_STORE_CTX *, X509_CRL *)' (aka 'int (x509_store_ctx_st *, X509_crl_st
*)'): different number of parameters (3 vs 2)
        X509_STORE_set_check_crl(cert_store, CheckCrlPassthrough);
                                             ^~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/x509_vfy.h:323:36: note: passing argument to
parameter 'check_issued' here
    X509_STORE_CTX_check_issued_fn check_issued);
                                   ^
8 errors generated.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275398-7788>