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

Bug 914283

Summary: dev-libs/openssl-compat-1.0.2u-r2 fails to build with llvm 17 due to version script assignment
Product: Gentoo Linux Reporter: Mia Neufeld <mia>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: chris, mia, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=719172
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 912821    
Attachments: The build log file
emerge --info

Description Mia Neufeld 2023-09-16 10:59:24 UTC
Created attachment 870727 [details]
The build log file

Excerpt from the build.log:

ld.lld: error: version script assignment of 'OPENSSL_1.0.0' to symbol 'BIO_f_ssl' failed: symbol not defined
ld.lld: error: version script assignment of 'OPENSSL_1.0.0' to symbol 'BIO_new_buffer_ssl_connect' failed: symbol not defined
ld.lld: error: version script assignment of 'OPENSSL_1.0.0' to symbol 'BIO_new_ssl' failed: symbol not defined
ld.lld: error: version script assignment of 'OPENSSL_1.0.0' to symbol 'BIO_new_ssl_connect' failed: symbol not defined
ld.lld: error: version script assignment of 'OPENSSL_1.0.0' to symbol 'BIO_proxy_ssl_copy_session_id' failed: symbol not defined

Appending -Wl,--undefined-version to LDFLAGS does not allow the package to build, which might be related to 
https://bugs.gentoo.org/719172
Comment 1 Mia Neufeld 2023-09-16 10:59:44 UTC
Created attachment 870728 [details]
emerge --info
Comment 2 Toralf Förster gentoo-dev 2024-04-15 19:55:42 UTC
*** Bug 919276 has been marked as a duplicate of this bug. ***