Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2022 15:35:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264293] security/krb5 not building with libressl
Message-ID:  <bug-264293-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 264293
           Summary: security/krb5 not building with libressl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: cam@neo-zeon.de
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

gmake[3]: Entering directory
'/usr/ports/security/krb5/work/krb5-1.20/src/plugins/preauth/pkinit'
cc -fpic -DSHARED -DHAVE_CONFIG_H  -I../../../include -I../../../include=20
-DKRB5_DEPRECATED=3D1 -DKRB5_PRIVATE -I/usr/local/include -I/usr/local/incl=
ude
-isystem /usr/local/include -O2 -pipe -pipe  -fstack-protector-strong -isys=
tem
/usr/local/include -fno-strict-aliasing -std=3Dgnu99=20
-Werror=3Dunknown-warning-option -Wall -Wcast-align -Wshadow -Wmissing-prot=
otypes
-pedantic -Wno-format-zero-length -Woverflow -Wstrict-overflow
-Wmissing-format-attribute -Wmissing-prototypes -Wreturn-type -Wmissing-bra=
ces
-Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable
-Wunused-value -Wunknown-pragmas -Wsign-compare -Wnewline-eof
-Werror=3Duninitialized -Werror=3Dpointer-arith -Werror=3Dint-conversion
-Werror=3Dincompatible-pointer-types -Werror=3Dimplicit-int
-Werror=3Ddeclaration-after-statement -Werror-implicit-function-declaration
-pthread  -c pkinit_crypto_openssl.c -o pkinit_crypto_openssl.so.o && mv -f
pkinit_crypto_openssl.so.o pkinit_crypto_openssl.so
rm -f ../pkinit.so
(cd .. && ln -s `basename plugins/preauth/pkinit`/pkinit.so .)
pkinit_crypto_openssl.c:334:14: error: implicit declaration of function
'EVP_PKEY_param_check' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
    result =3D EVP_PKEY_param_check(ctx);
             ^
pkinit_crypto_openssl.c:334:14: note: did you mean 'EVP_PKEY_paramgen'?
/usr/local/include/openssl/evp.h:1193:5: note: 'EVP_PKEY_paramgen' declared
here
int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
    ^
pkinit_crypto_openssl.c:379:10: error: implicit declaration of function
'd2i_DHxparams' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    dh =3D d2i_DHxparams(NULL, &p, params_der->length);
         ^
pkinit_crypto_openssl.c:379:10: note: did you mean 'd2i_DHparams'?
/usr/local/include/openssl/dh.h:216:6: note: 'd2i_DHparams' declared here
DH *    d2i_DHparams(DH **a,const unsigned char **pp, long length);
        ^
pkinit_crypto_openssl.c:379:8: error: incompatible integer to pointer
conversion assigning to 'DH *' (aka 'struct dh_st *') from 'int'
[-Werror,-Wint-conversion]
    dh =3D d2i_DHxparams(NULL, &p, params_der->length);
       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pkinit_crypto_openssl.c:598:23: error: use of undeclared identifier
'EVP_PKEY_CTRL_DH_PAD'
                      EVP_PKEY_CTRL_DH_PAD, 1, NULL);
                      ^
4 errors generated.
gmake[3]: *** [Makefile:804: pkinit_crypto_openssl.so] Error 1
gmake[3]: Leaving directory
'/usr/ports/security/krb5/work/krb5-1.20/src/plugins/preauth/pkinit'
gmake[2]: *** [Makefile:1521: all-recurse] Error 1
gmake[2]: Leaving directory '/usr/ports/security/krb5/work/krb5-1.20/src'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/krb5
*** Error code 1

Stop.
make: stopped in /usr/ports/security/krb5

--=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-264293-7788>