Skip to content

app-crypt/mit-krb5 emake failed #571

Open
@blucybrb14de

Description

@blucybrb14de

Hello,

It would appear that app-crypt/mit-krb5, - a dependency for games-util/nexusmodsapp fails to compile aginst libressl.

dev-libs/libressl: LibreSSL 3.9.2

sys-apps/keyutils: sys-apps/keyutils-1.6.3-r1

mit-krb5-1.21.3.log

inxi-output.log

Error Message:

clang -fPIC -DSHARED -DHAVE_CONFIG_H  -I../../../include -I/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src/include  -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE  -O3 -pipe -march=alderlake -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk -fPIC -fplugin=LLVMPolly.so -mllvm -polly -mtune=alderlake -falign-functions=32  -Qunused-arguments -pthread  -c /var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c -o pkinit_crypto_openssl.so.o && mv -f pkinit_crypto_openssl.so.o pkinit_crypto_openssl.so
/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:240:32: error: use of undeclared identifier 'EVP_PKEY_DHX'
  240 |     if (!EVP_PKEY_assign(pkey, EVP_PKEY_DHX, *dh)) {
      |                                ^
/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:341:10: error: call to undeclared function 'd2i_DHxparams'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  341 |     dh = d2i_DHxparams(NULL, &p, params_der->length);
      |          ^
/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:341:10: note: did you mean 'd2i_DHparams'?
/usr/include/openssl/dh.h:177:6: note: 'd2i_DHparams' declared here
  177 | DH *    d2i_DHparams(DH **a,const unsigned char **pp, long length);
      |         ^
/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:341:8: error: incompatible integer to pointer conversion assigning to 'DH *' (aka 'struct dh_st *') from 'int' [-Wint-conversion]
  341 |     dh = d2i_DHxparams(NULL, &p, params_der->length);
      |        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:559:28: error: use of undeclared identifier 'EVP_PKEY_DHX'
  559 |     EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DHX, EVP_PKEY_OP_DERIVE,
      |                            ^
/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:560:23: error: use of undeclared identifier 'EVP_PKEY_CTRL_DH_PAD'
  560 |                       EVP_PKEY_CTRL_DH_PAD, 1, NULL);
      |                       ^
/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c:5640:9: error: call to undeclared function 'EVP_CIPHER_asn1_to_param'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 5640 |         EVP_CIPHER_asn1_to_param(evp_ctx, enc_alg->parameter) <= 0)
      |         ^
6 errors generated.
make[1]: *** [Makefile:804: pkinit_crypto_openssl.so] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src-abi_x86_64.amd64/plugins/preauth/pkinit'
make: *** [Makefile:1520: all-recurse] Error 1
 * ERROR: app-crypt/mit-krb5-1.21.3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/mit-krb5-1.21.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/mit-krb5-1.21.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/mit-krb5-1.21.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/mit-krb5-1.21.3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src-abi_x86_64.amd64'
 * S: '/var/tmp/portage/app-crypt/mit-krb5-1.21.3/work/krb5-1.21.3/src'

If anyone is able to find a solution against libressl, that would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions