Created attachment 600016 [details] build log /var/tmp/portage/net-libs/mbedtls-2.19.1/work/mbedtls-mbedtls-2.19.1/library/ssl_tls.c: In function 'mbedtls_ssl_derive_keys': /var/tmp/portage/net-libs/mbedtls-2.19.1/work/mbedtls-mbedtls-2.19.1/library/ssl_tls.c:1862:9: error: 'session' undeclared (first use in this function) 1862 | if( session->compression == MBEDTLS_SSL_COMPRESS_DEFLATE && I have openssl-1.1.1d-r3 installed here.
Please provide emerge --info.
(In reply to Helmut Jarausch from comment #0) > Created attachment 600016 [details] > build log > > /var/tmp/portage/net-libs/mbedtls-2.19.1/work/mbedtls-mbedtls-2.19.1/library/ > ssl_tls.c: In function 'mbedtls_ssl_derive_keys': > /var/tmp/portage/net-libs/mbedtls-2.19.1/work/mbedtls-mbedtls-2.19.1/library/ > ssl_tls.c:1862:9: error: 'session' undeclared (first use in this function) > 1862 | if( session->compression == MBEDTLS_SSL_COMPRESS_DEFLATE && > > I have openssl-1.1.1d-r3 installed here. I need more information here. I also have openssl-1.1.1d-r3 and can't reproduce this.
I can confirm this and it has already been reported upstream: https://github.com/ARMmbed/mbedtls/pull/2963. A fix is already available at the above address. I tried it out using the user patch function of portage and it installs now.
(In reply to Hugo Ribeiro from comment #3) > I can confirm this and it has already been reported upstream: > > https://github.com/ARMmbed/mbedtls/pull/2963. > > A fix is already available at the above address. I tried it out using the > user patch function of portage and it installs now. Thanks. They haven't merged the fix yet, when they do we can back port it.
can confirm that the patch posted in Comment 3 results in successful emerge on my system. Thanks for this.
Fixed but referenced a bug that was filed after this one. So I am going to mark this bug as duplicate of the later bug report (usually it's vice versa) *** This bug has been marked as a duplicate of bug 706112 ***