Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932443 - net-misc/curl-8.8.0 - /.../mbedtls.c: error: implicit declaration of function mbedtls_ssl_get_ciphersuite_id_from_ssl
Summary: net-misc/curl-8.8.0 - /.../mbedtls.c: error: implicit declaration of function...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matt Jolly
URL:
Whiteboard: fixed in 8.8.0
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-05-22 08:20 UTC by Toralf Förster
Modified: 2024-11-01 15:58 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.29 KB, text/plain)
2024-05-22 08:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,75.51 KB, text/plain)
2024-05-22 08:20 UTC, Toralf Förster
Details
environment (environment,114.82 KB, text/plain)
2024-05-22 08:20 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1016 bytes, application/x-xz)
2024-05-22 08:20 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,57.44 KB, application/x-xz)
2024-05-22 08:21 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,24.24 KB, application/x-xz)
2024-05-22 08:21 UTC, Toralf Förster
Details
net-misc:curl-8.8.0:20240522-080915.log (net-misc:curl-8.8.0:20240522-080915.log,183.43 KB, text/plain)
2024-05-22 08:21 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,162.34 KB, text/plain)
2024-05-22 08:21 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.97 KB, application/x-xz)
2024-05-22 08:21 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 2024-05-22 08:20:55 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/include -I../lib -I/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -W
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H   -I/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/include -I../lib -I/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/lib -DBUILDING_LIBCURL  -DCURL_HIDDEN_SYMBOLS   -fvisibility=hidden -O2 -pipe -march=
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/include -I../lib -I/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -W
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H   -I/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/include -I../lib -I/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/lib -DBUILDING_LIBCURL  -DCURL_HIDDEN_SYMBOLS   -fvisibility=hidden -O2 -pipe -march=
/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/lib/vtls/mbedtls.c: In function 'mbed_connect_step2':
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/include -I../lib -I/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -W
/var/tmp/portage/net-misc/curl-8.8.0/work/curl-8.8.0/lib/vtls/mbedtls.c:936:15: error: implicit declaration of function 'mbedtls_ssl_get_ciphersuite_id_from_ssl'; did you mean 'mbedtls_ssl_get_ciphersuite_id'? [-Wimplicit-function-declaration]
  936 |               mbedtls_ssl_get_ciphersuite_id_from_ssl(&backend->ssl);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20240520-104627

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 2433a76c689fbdea5887e7144e6a692898dad264
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed May 22 07:48:51 2024 +0000

    2024-05-22 07:48:51 UTC

emerge -qpvO net-misc/curl
Comment 1 Toralf Förster gentoo-dev 2024-05-22 08:20:56 UTC
Created attachment 893780 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-22 08:20:57 UTC
Created attachment 893781 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-05-22 08:20:58 UTC
Created attachment 893782 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-22 08:20:59 UTC
Created attachment 893783 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-22 08:21:00 UTC
Created attachment 893784 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-22 08:21:01 UTC
Created attachment 893785 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-22 08:21:02 UTC
Created attachment 893786 [details]
net-misc:curl-8.8.0:20240522-080915.log
Comment 8 Toralf Förster gentoo-dev 2024-05-22 08:21:04 UTC
Created attachment 893787 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-05-22 08:21:05 UTC
Created attachment 893788 [details]
temp.tar.xz
Comment 10 Matt Jolly gentoo-dev 2024-05-22 11:57:00 UTC
can reproduce, have asked in #curl
Comment 11 Larry the Git Cow gentoo-dev 2024-05-22 13:19:28 UTC
The bug has been closed via the following commit(s):

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

commit cab1437c13dadf532dca4697e6f3402043bfefae
Author:     Matt Jolly <kangie@gentoo.org>
AuthorDate: 2024-05-22 11:46:01 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2024-05-22 13:17:23 +0000

    net-misc/curl: 8.8.0: fix builds with mbedtls 2.x
    
    - Drop `--disable-ntlm-wb` from configure options
    - Bring minimum versions in line with 8.8.0/current master
    - Update live template to match
    
    Closes: https://bugs.gentoo.org/932442
    Closes: https://bugs.gentoo.org/932443
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 net-misc/curl/curl-8.8.0.ebuild              |  2 +-
 net-misc/curl/curl-9999.ebuild               | 10 +++----
 net-misc/curl/files/curl-8.8.0-mbedtls.patch | 42 ++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+), 6 deletions(-)