Many errors in rustls.c, hinting at some kind of API mismatch: /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:439:24: error: implicit declaration of function 'rustls_default_crypto_provider_ciphersuites_len'; did you mean 'rustls_default_ciphersuites_len'? [-Werror=implicit-function-declaration] /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:450:15: error: implicit declaration of function 'rustls_default_crypto_provider_ciphersuites_get' [-Werror=implicit-function-declaration] /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:451:10: error: implicit declaration of function 'rustls_supported_ciphersuite_protocol_version'; did you mean 'rustls_supported_ciphersuite_get_suite'? [-Werror=implicit-function-declaration] /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:608:14: error: implicit declaration of function 'rustls_crypto_provider_builder_new_from_default' [-Werror=implicit-function-declaration] /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:617:7: error: implicit declaration of function 'rustls_crypto_provider_builder_set_cipher_suites' [-Werror=implicit-function-declaration] /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:624:7: error: implicit declaration of function 'rustls_crypto_provider_builder_free'; did you mean 'rustls_client_config_builder_free'? [-Werror=implicit-function-declaration] /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:628:14: error: implicit declaration of function 'rustls_crypto_provider_builder_build'; did you mean 'rustls_client_config_builder_build'? [-Werror=implicit-function-declaration] /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:636:14: error: too few arguments to function 'rustls_client_config_builder_new_custom' /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:648:3: error: implicit declaration of function 'rustls_crypto_provider_free' [-Werror=implicit-function-declaration] /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:744:12: error: too many arguments to function 'rustls_client_config_builder_build' /var/tmp/portage/net-misc/curl-8.10.1/work/curl-8.10.1/lib/vtls/rustls.c:1065:5: error: implicit declaration of function 'rustls_default_crypto_provider_random' [-Werror=implicit-function-declaration] The 8.10.1 ebuild depends on >=net-libs/rustls-ffi-0.13.0, but https://github.com/curl/curl/blob/curl-8_10_1/docs/RUSTLS.md suggests that curl needs unpackaged rustls-ffi-0.14.0 Reproducible: Always
Created attachment 908077 [details] build.log
# emerge --info curl Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.40-r5, 6.11.4-gentoo-molto x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.11.4-gentoo-molto-x86_64-AMD_Ryzen_7_4700U_with_Radeon_Graphics-with-glibc2.40 KiB Mem: 32229844 total, 15640496 free KiB Swap: 8388604 total, 8388604 free Timestamp of repository gentoo: Thu, 07 Nov 2024 09:33:35 +0000 Head commit of repository gentoo: 3726d8dc1f2671740bee392d44a8f44c7b0e1d7c Timestamp of repository guru: Wed, 06 Nov 2024 11:33:27 +0000 Head commit of repository guru: 59ac22e5be6c7c662417590f957e9a0cb0fb005f sh bash 5.2_p37 ld GNU ld (Gentoo 2.42 p6) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.5.2::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.12.7_p1::gentoo dev-lang/rust: 1.82.0::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.39::gentoo sys-apps/systemd: 256.7::gentoo sys-devel/binutils: 2.42-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 18.1.8::gentoo sys-devel/gcc: 13.3.1_p20241025::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 18.1.8::gentoo, 19.1.3::gentoo sys-devel/llvm: 18.1.8-r4::gentoo, 19.1.3::gentoo sys-kernel/linux-headers: 6.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False sync-git-verify-commit-signature: yes guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False moltonel location: /home/work/c/ebuilds masters: gentoo volatile: True ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE @FREE linux-fw-redistributable no-source-code NVIDIA-r1 LSI-tw_cli shmux intel-ucode linux-fw-redistributable bonnie MicroChip-SDCC AVASYS ipw2100-fw freedist unRAR JSON RSAREF Atmel ipw2200-fw NOSA Broadcom PGP-2 no-source-code LGPL-2.1+ APL-1.0 Ms-RL PHP-3 AGPL-3+ Apache-2.0 OFL-1.1 wxWinLL-3 GPL-3+ ISC CNRI MIT PSF-2 LGPL-2+ MPL-2.0 EUPL-1.1 GPL-1+ IBM GPL-2+ LGPL-2 POSTGRESQL QPL-1.0 CDDL OSL-3.0 GPL-3 LPPL-1.3c Sleepycat Boost-1.0 GPL-1 AFL-3.0 Artistic-2 MirOS OSL-2.1 EPL-1.0 Unicode-3.0 EUPL-1.2 LBNLBSD UPL-1.0 Artistic EPL-2.0 APSL-2 IPAfont nethack BSD-2 CPL-1.0 HPND MPL-1.0 AGPL-3 GPL-2 0BSD CPAL-1.0 UoI-NCSA ZPL BlueOak-1.0.0 MIT-0 MPL-1.1 BSD LPL-1.02 Apache-1.1 PHP-3.01 W3C Unlicense Ms-PL ECL-2.0 LGPL-3 ZLIB Unicode-DFS-2016 LGPL-2.1 LGPL-3+ LPPL-1.3a LGPL-3-with-linking-exception LGPL-2.1+ WTFPL-2 PYTHON LGPL-2.1-with-linking-exception GPL-2-with-linking-exception Clear-BSD AGPL-3+ GPL-3+-with-autoconf-exception UPX-exception metapackage GPL-2-with-font-exception Apache-2.0 GPL-2+-with-openssl-exception GPL-2-with-MySQL-FLOSS-exception GPL-3+ ISC Nokia-Qt-LGPL-Exception-1.1 SGI-B-2.0 MIT PSF-2 GPL-3-with-openssl-exception LGPL-2+ MPL-2.0 vim GPL-1+ LGPL-2 GPL-2+ GPL-3 tanuki-community PSF-2.4 Sleepycat FSFAP Boost-1.0 GPL-1 gcc-runtime-library-exception-3.1 FTL Artistic-2 Clarified-Artistic GPL-2+-with-Pyinstaller-Bootloader-exception UPL-1.0 CeCILL-2 wxWinLL-3.1 BSD-2 libgcc GPL-2-with-classpath-exception HPND OPENLDAP public-domain Ruby-BSD GPL-2+-with-eCos-exception-2 GPL-2 AGPL-3 UoI-NCSA ZPL GPL-3+-with-openssl-exception Transmission-OpenSSL-exception qwt BSD IJG GPL-3-with-font-exception Ruby CC0-1.0 Apache-2.0-with-LLVM-exceptions GPL-3+-with-font-exception Unlicense ECL-2.0 LGPL-3 W3C Unicode-DFS-2016 ZLIB LGPL-2.1 libstdc++ LGPL-2-with-linking-exception LGPL-3+ Ms-RL OSL-2.0 NPL-1.1 BSD-4 CNRI AFL-2.1 FraunhoferFDK Apache-1.0 EUPL-1.1 IBM QPL-1.0 OSL-3.0 CDDL Zend-2.0 OSL-2.1 AFL-3.0 EPL-1.0 CeCILL-C EUPL-1.2 EPL-2.0 APSL-2 CPL-1.0 MPL-1.0 CPAL-1.0 OSL-1.1 MPL-1.1 LPL-1.02 Apache-1.1 PHP-3.01 LPPL-1.2 CeCILL-B Ms-PL openssl gnuplot Spencer-99 w3m Time-modules libtiff JOVE unicode freetts symlinks JDOM xtrs FastCGI iASL URT VTK SMAIL rdisc Toyoda feh rc curl lsof DES Sendmail-Open-Source libpng FVWM libpng2 canfep FLEX psutils tablelist icu MIT-with-advertising AMPAS BSD-with-attribution tm-align minpack rwpng LambdaMOO HTML-Tidy PHP-2.02 IDPL Info-ZIP File-MMagic sdlsasteroids mpich2 flexmock openafs-krb5-a Sendmail xbatt LPPL-1.3 NPSL-0.95 otter repoze sunpro tcp_wrappers_license JasPer2.0 MIT-fpdf Openwall BSD-with-disclosure libmng CDDL-1.1 DUMB-0.9.3 imagemagick torque-2.5 wm2 Old-MIT gd FLTK ZSH TextMate-bundle ErlPL-1.1 mm inner-net Crypt-IDEA TeX NEWLIB powell Princeton ElementTree Emacs xboing UCAR-Unidata matplotlib CAOSL perforce gsm bufexplorer.vim SSLeay buddy Snd alternate Flashpix pngcrush LLGPL-2.1 trio the-Click-license Interbase-1.0 photopc coldspringharbor Unicode_Fonts_for_Ancient_Scripts CDDL-Schily XC TeX-other-free docbook Time-Format BSD-2-with-patent LIBGLOSS RtMidi tcltk BEER-WARE AIFFWriter.m netcat sash pngnq Sympow-BSD Allegro regexp-UofT Ispell BZIP2 NCSA-AMD NCSA-HDF BSD-1 RSA LPPL-1.0 ipadic par CPL-0.5 Khronos-CLHPP Xdebug PCRE scanlogd noweb Mini-XML ngrep dom4j boehm-gc FDL-1.3 FDL-1.3+ FDL-1.2 FDL-1.1 Free-Art-1.2 FDL-1.2+ CC-BY-4.0 CC-BY-2.5 CC-BY-3.0 CC0-1.0 CC-BY-SA-1.0 CC-BY-SA-2.0 CC-BY-SA-4.0 CC-BY-SA-2.5 CC-BY-2.0 CC-BY-SA-3.0 ODC-By-1.0 Free-Art-1.3 FDL-1.1+ MirOS OAL-1.0.1 FDL-1.2 FDL-1.1 Free-Art-1.2 OFL-1.0 CC-BY-SA-4.0 OFL-1.1 GPL-3+ FDL-1.3+ CC-BY-4.0 GPL-1+ CC-BY-3.0 GPL-2+ FDL-1.2+ GPL-3 GPL-1 CC-BY-SA-3.0 IPAfont OPL CC-BY-SA-2.0 Free-Art-1.3 FDL-1.1+ GPL-2 CC-BY-2.0 FDL-1.3 CC-BY-2.5 Arphic CC-BY-SA-2.5 CC-BY-1.0 UbuntuFontLicense-1.0 LDP-1 myspell-en_CA-KevinAtkinson Texinfo-manual CC-PD LDP-1a mplus-fonts CC-SA-1.0 CC-BY-SA-1.0 man-pages wxWinFDL-3 BitstreamVera vlgothic quake1-textures MaxMind2 man-pages-posix-2013 BAEKMUK NVIDIA-r2 qlogic-fibre-channel-firmware bh-luxi ISSL Mellanox-AS-IS" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-O3 -pipe -march=native" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O3 -pipe -march=native" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O3 -pipe -march=native" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/usr/share/locale/ru /usr/share/locale/de /usr/share/locale/es /usr/share/locale/sv /usr/share/locale/pl /usr/share/locale/it /usr/share/locale/zh* /usr/share/locale/tr /usr/share/locale/ca* /usr/share/locale/pt*" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j8" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" RUSTFLAGS="-Copt-level=3 -Ctarget-cpu=znver2" SHELL="/bin/bash" USE="X a52 aac acl acpi activities alsa amd64 bash-completion bluetooth branding brotli btrfs bzip2 cairo cdda cdr cet clang crypt cups dbus declarative default-lld dri dts dvdr encode exif flac gdbm gif gpg gpm gtk gui hwaccel iconv icu ipv6 iwd jit jpeg kde kf6compat kwallet lapack lcms libnotify libtirpc lspclient lto mad mng mp3 mp4 mpeg multilib native-extensions ncurses networkmanager nginx nls ogg opengl openh264 openmp opus pam pango pcre pdf pgo pipewire plasma png policykit ppds print pulseaudio qml qrcode qt5 qt6 readline rust screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust theora threads tiff tree-sitter truetype udev udisks unicode upower usb vaapi vdpau verify-sig vorbis vpx vulkan wasm wayland webp widgets wifi x264 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU BPF WebAssembly X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= net-misc/curl-8.10.1::gentoo was built with the following: USE="adns alt-svc brotli ftp hsts http2 imap openssl pop3 progress-meter psl smtp ssl tftp verify-sig websockets zstd -debug -gnutls -gopher -http3 -idn -kerberos -ldap -mbedtls -quic -rtmp -rustls -samba -ssh (-sslv3) -static-libs -telnet -test" ABI_X86="(64) -32 (-x32)" CURL_QUIC="-ngtcp2 -openssl" CURL_SSL="openssl -gnutls -mbedtls -rustls"
rustls-ffi-0.14.0 is required since curl-8.10.1 with https://github.com/curl/curl/commit/f09adc3ad16b428e9af10ce04e833ddf0885aa12. The previous patch version (curl-8.10.0, unpackaged in Gentoo) still uses rustls-ffi-0.13.0.
Ah, thanks. Sorry, I try to keep on top of rustls-ffi releases. Would you be willing to do a PR to bump it?
There you go: https://github.com/gentoo/gentoo/pull/39230
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=196fb6f6d753fe7d22a6514eb7321667c458792e commit 196fb6f6d753fe7d22a6514eb7321667c458792e Author: Vincent de Phily <moltonel@gmail.com> AuthorDate: 2024-11-07 16:19:28 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-08 03:47:26 +0000 net-misc/curl: Depend on >=rustls-ffi-0.14.0 Closes: https://bugs.gentoo.org/942987 Signed-off-by: Vincent de Phily <moltonel@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39230 Signed-off-by: Sam James <sam@gentoo.org> net-misc/curl/curl-8.10.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4647ae96a734e9e801c1c5fb988c10335aa3dc0b commit 4647ae96a734e9e801c1c5fb988c10335aa3dc0b Author: Vincent de Phily <moltonel@gmail.com> AuthorDate: 2024-11-07 16:19:28 +0000 Commit: Matt Jolly <kangie@gentoo.org> CommitDate: 2024-11-08 03:56:52 +0000 net-misc/curl: Depend on >=rustls-ffi-0.14.0 Closes: https://bugs.gentoo.org/942987 Signed-off-by: Vincent de Phily <moltonel@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39230 Signed-off-by: Matt Jolly <kangie@gentoo.org> net-misc/curl/curl-8.10.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)