curl-7.69.0 updated the code to use the function quiche_config_set_max_idle_timeout which was previously named quiche_config_set_idle_timeout. But the newest quiche ebuild (0.2.0) still uses the old name and therefore curl fails to build. Reproducible: Always Steps to Reproduce: 1. enable quiche for net-misc/curl 2. try emerge curl-7.69.0 Actual Results: Build fails with /var/tmp/portage/net-misc/curl-7.69.0/work/curl-7.69.0/lib/vquic/quiche.c: In function ‘Curl_quic_connect’: /var/tmp/portage/net-misc/curl-7.69.0/work/curl-7.69.0/lib/vquic/quiche.c:174:3: error: implicit declaration of function ‘quiche_config_set_max_idle_timeout’; did you mean ‘quiche_config_set_idle_timeout’? [-Werror=implicit-function-declaration] 174 | quiche_config_set_max_idle_timeout(qs->cfg, QUIC_IDLE_TIMEOUT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | quiche_config_set_idle_timeout Expected Results: Successfull emerge of curl Quiche header version 0.2.0: https://github.com/cloudflare/quiche/blob/0.2.0/include/quiche.h Quiche commit to rename quiche_config_set_idle_timeout https://github.com/cloudflare/quiche/commit/9a8b3b12d007715cd4cc254362db51d5a01de9f2 curl commit to use new name: https://github.com/curl/curl/commit/7fc63d72333a36225d39c5b5624df29217136c12 emerge --info output: emerge --info Portage 2.3.92 (python 3.7.6-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.2.0, glibc-2.30-r4, 5.4.14-gentoo x86_64) ================================================================= System uname: Linux-5.4.14-gentoo-x86_64-Intel-R-_Core-TM-_i7-4710MQ_CPU_@_2.50GHz-with-gentoo-2.7 KiB Mem: 32789248 total, 12013324 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 07 Mar 2020 10:07:39 +0000 Head commit of repository gentoo: 64c397301d8c2ddad6937626db8d1e9a373f4cb0 sh bash 5.0_p16 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 ccache version 3.7.7 [disabled] app-shells/bash: 5.0_p16::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo, 3.8.2::gentoo dev-util/ccache: 3.7.7-r1::gentoo dev-util/cmake: 3.16.5::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.1-r2::gentoo sys-devel/binutils: 2.33.1-r1::gentoo, 2.34::gentoo sys-devel/gcc: 9.2.0-r4::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git priority: -1000 local location: /usr/local/portage masters: gentoo priority: 10 poncho location: /var/lib/layman/poncho sync-type: laymansync sync-uri: git://github.com/MeisterP/poncho-overlay.git masters: gentoo priority: 50 voyageur location: /var/lib/layman/voyageur sync-type: laymansync sync-uri: https://cafarelli.fr/git/voyageur-overlay/ masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-j16 --load-average=18 --ask --autounmask-write=y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="https://mirror.init7.net/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en de fr" MAKEOPTS=" -j8 --load-average=18" 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" USE="X a52 aac aacs aalib acl acpi alsa amd64 amr archive argon2 audit ayatana berkdb blake2 bluetooth bluray branding brotli bzip2 cairo caps cdda cddb cdr chromaprint cjk cli colord crypt cryptsetup cups curl cxx dav1d dbus device-mapper djvu dri dts dv dvd dvdr eds emboss encode evo exif expat ffmpeg flac fluidsynth fontconfig fontforge fortran fuse gdbm gif gimp glade glusterfs gme gmp gnome gnome-keyring gnome-online-accounts gpg gphoto2 gpm gsm gssapi gstreamer gtk gtk3 harfbuzz heif http2 iconv icu id3tag idn introspection iodbc ios ipv6 jbig jpeg jpeg2k json kerberos ladspa lame latex lcms ldap libass libcaca libdrm libnotify libproxy libsampelrate libsamplerate libsecret libtirpc lm-sensors lmdb lto lua luajit lv2 lvm lz4 lzma lzo mad metalink midi mikmod mms mng mod modplug mp3 mp4 mpeg mtp multilib mysql nas nautilus ncurses netlink nettle networkmanager nfs nls nptl odbc offensive ogg olibcaca openal opencv openexr opengl openh264 openldap openmp pam pango pcap pcre pdf perl pgo pkcs11 pkcs7 playlist png policykit postgres postscript ppds pulseaudio pus python qml qt5 rbd rdp readline ruby samba sasl sctp sdl seccomp snappy sndfile socks5 speex spell spice split-usr sqlite srt ssh ssl startup-notification svg systemd taglib tcl tcpd teamd telepathy theora tiff timidity tracker truetype twolame udev udisks unicode upnp upower usb usbredir user-session v4l vaapi vala vcd vdo vdpau vim-syntax vnc vorbis vpx wavpack wayland webkit webp wmf wxwidgets x264 x265 xattr xcb xml xmp xps xv xvid zeroconf zlib zstd zvbi" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en de fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript wiki-publisher" LLVM_TARGETS="BPF NVPTX" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 arm i386" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 617588 [details] emerge log of curl build
see also https://github.com/cloudflare/quiche/issues/396 could you test and report, if quiche-9999 works for you?
I confirm that net-misc/curl-7.69.0[quiche] works with net-libs/quiche-9999. If quiche won't release a new version soon, I'll create a net-libs/quiche-0.3.0_preXXX version to resolve this issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c43febb023ce1b95188b16c9aaa3063e4b09a9bd commit c43febb023ce1b95188b16c9aaa3063e4b09a9bd Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2020-03-13 15:20:45 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2020-03-13 15:21:53 +0000 net-misc/curl: Require >=net-libs/quiche0.3.0 Closes: https://bugs.gentoo.org/711928 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Craig Andrews <candrews@gentoo.org> net-misc/curl/curl-7.69.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35a08af66515cee8e6e678c9f0538588d353bc88 commit 35a08af66515cee8e6e678c9f0538588d353bc88 Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2020-03-13 15:18:47 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2020-03-13 15:21:53 +0000 net-libs/quiche: 0.3.0 version bump Bug: https://bugs.gentoo.org/711928 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Craig Andrews <candrews@gentoo.org> net-libs/quiche/Manifest | 45 +++++++++ net-libs/quiche/quiche-0.3.0.ebuild | 182 ++++++++++++++++++++++++++++++++++++ net-libs/quiche/quiche-9999.ebuild | 112 +++++++++------------- 3 files changed, 272 insertions(+), 67 deletions(-)