Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 640710

Summary: app-crypt/mit-krb5-1.15.2-r1 - pkinit_crypto_openssl.c:(.text+0x1f): undefined reference to `ERR_load_crypto_strings'
Product: Gentoo Linux Reporter: Willard Dawson <wfdawson>
Component: Current packagesAssignee: Gentoo Kerberos Maintainers <kerberos>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info
build.log.gz
emerge -pqv
environment

Description Willard Dawson 2017-12-11 16:43:49 UTC
Created attachment 509366 [details]
emerge info

Typical files are attached. Here is the relevant portion of the build.log:

++ perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' OBJS.SH
+ objlist=' pkinit_accessor.so pkinit_srv.so pkinit_lib.so pkinit_clnt.so pkinit_kdf_constants.so pkinit_profile.so pkinit_identity.so pkinit_matching.so pkinit_crypto_openssl.so'
+ x86_64-pc-linux-gnu-gcc -shared -fPIC -Wl,-h,pkinit.so.0 -Wl,--no-undefined -o pkinit.so pkinit_accessor.so pkinit_srv.so pkinit_lib.so pkinit_clnt.so pkinit_kdf_constants.so pkinit_profile.so pkinit_identity.so pkinit_matching.so pkinit_crypto_openssl.so -L../../../lib -lkrb5 -lcom_err -lk5crypto -ldl -lkrb5support -lkeyutils -lresolv -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--version-script binutils.versions
pkinit_crypto_openssl.so: In function `pkinit_openssl_init__aux':
pkinit_crypto_openssl.c:(.text+0x1f): undefined reference to `ERR_load_crypto_strings'
pkinit_crypto_openssl.c:(.text+0x24): undefined reference to `OPENSSL_add_all_algorithms_noconf'
pkinit_crypto_openssl.so: In function `make_oakley_dh':
pkinit_crypto_openssl.c:(.text+0x4d): undefined reference to `BN_bin2bn'
pkinit_crypto_openssl.c:(.text+0x5e): undefined reference to `BN_new'
pkinit_crypto_openssl.c:(.text+0x71): undefined reference to `BN_rshift1'
pkinit_crypto_openssl.c:(.text+0x7a): undefined reference to `BN_new'
pkinit_crypto_openssl.c:(.text+0x92): undefined reference to `BN_set_word'
pkinit_crypto_openssl.c:(.text+0x9b): undefined reference to `DH_new'
pkinit_crypto_openssl.c:(.text+0xbe): undefined reference to `BN_free'
pkinit_crypto_openssl.c:(.text+0xc6): undefined reference to `BN_free'
pkinit_crypto_openssl.c:(.text+0xce): undefined reference to `BN_free'
pkinit_crypto_openssl.so: In function `pkinit_fini_dh_params':
pkinit_crypto_openssl.c:(.text+0x11d): undefined reference to `DH_free'


etc. etc. etc.
Comment 1 Willard Dawson 2017-12-11 16:44:12 UTC
Created attachment 509368 [details]
build.log.gz
Comment 2 Willard Dawson 2017-12-11 16:44:32 UTC
Created attachment 509370 [details]
emerge -pqv
Comment 3 Willard Dawson 2017-12-11 16:44:57 UTC
Created attachment 509372 [details]
environment
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-14 22:52:35 UTC
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
[..]
checking for PKCS7_get_signer_info in -lcrypto... yes
checking for CMS_get0_content in -lcrypto... yes
checking for SSL_CTX_new in -lssl... yes
checking for OpenSSL... yes
configure: TLS module will use OpenSSL
[..]
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
[..]
checking for PKCS7_get_signer_info in -lcrypto... no
checking for CMS_get0_content in -lcrypto... no
checking for SSL_CTX_new in -lssl... no
checking for OpenSSL... configure: WARNING: OpenSSL not found!
Comment 5 Willard Dawson 2017-12-15 02:02:33 UTC
Well, that's nuts, I specifically re-emerged OpenSSL and reattempted before submitting this and one other bug. However, that is not the underlying issue here. My system was in the process of wheels-coming-totally-off due to totally hosed GCC upgrade (even following cookbook instructions provided by Gentoo "news").

This bug should silently go away as this is related to those system corruption issues and very likely cannot be reproduced in any meaningful way.
Comment 6 Eray Aslan gentoo-dev 2017-12-15 06:00:25 UTC
Closing then.  Please reopen if you think the reason is not a borked system