Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706112 - net-libs/mbedtls-2.19.1-r1[zlib] : /.../ssl_tls.c:1862:9: error: session undeclared (first use in this function)
Summary: net-libs/mbedtls-2.19.1-r1[zlib] : /.../ssl_tls.c:1862:9: error: session unde...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
: 703288 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-22 17:58 UTC by Toralf Förster
Modified: 2020-04-15 12:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.72 KB, text/plain)
2020-01-22 17:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,102.75 KB, text/plain)
2020-01-22 17:58 UTC, Toralf Förster
Details
environment (environment,107.78 KB, text/plain)
2020-01-22 17:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.58 KB, application/x-bzip)
2020-01-22 17:58 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.63 KB, application/x-bzip)
2020-01-22 17:58 UTC, Toralf Förster
Details
net-libs:mbedtls-2.19.1-r1:20200122-130902.log (net-libs:mbedtls-2.19.1-r1:20200122-130902.log,23.41 KB, text/plain)
2020-01-22 17:58 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.43 KB, application/x-bzip)
2020-01-22 17:58 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-22 17:58:16 UTC
/var/tmp/portage/net-libs/mbedtls-2.19.1-r1/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-r1/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 &&
      |         ^~~~~~~
/var/tmp/portage/net-libs/mbedtls-2.19.1-r1/work/mbedtls-mbedtls-2.19.1/library/ssl_tls.c:1862:9: note: each undeclared identifier is reported only once for each function it appears in

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20200119-200601

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 22 Jan 2020 13:06:07 +0000

emerge -qpvO net-libs/mbedtls
[ebuild  N    ] net-libs/mbedtls-2.19.1-r1  USE="zlib -doc -havege -libressl -programs -static-libs -test -threads" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2020-01-22 17:58:18 UTC
Created attachment 603982 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-22 17:58:21 UTC
Created attachment 603984 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-22 17:58:24 UTC
Created attachment 603986 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-22 17:58:26 UTC
Created attachment 603988 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-22 17:58:29 UTC
Created attachment 603990 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-22 17:58:32 UTC
Created attachment 603992 [details]
net-libs:mbedtls-2.19.1-r1:20200122-130902.log
Comment 7 Toralf Förster gentoo-dev 2020-01-22 17:58:35 UTC
Created attachment 603994 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-02-11 11:19:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b410baabbda721370fef400b1d9a298760c7d04

commit 5b410baabbda721370fef400b1d9a298760c7d04
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-02-11 11:18:21 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-02-11 11:19:34 +0000

    net-libs/mbedtls: Fixed compilation with USE="zlib"
    
    Closes: https://bugs.gentoo.org/706112
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-libs/mbedtls/files/mbedtls-2.19.1-zlib.patch | 29 ++++++++++++++++++++++++
 net-libs/mbedtls/mbedtls-2.19.1-r2.ebuild        |  1 +
 2 files changed, 30 insertions(+)
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-02-11 11:22:50 UTC
*** Bug 703288 has been marked as a duplicate of this bug. ***