-c /var/tmp/portage/net-vpn/libreswan-4.5/work/libreswan-4.5/programs/pluto/fetch.c /var/tmp/portage/net-vpn/libreswan-4.5/work/libreswan-4.5/programs/pluto/fetch.c: In function 'fetch_asn1_blob': /var/tmp/portage/net-vpn/libreswan-4.5/work/libreswan-4.5/programs/pluto/fetch.c:316:23: error: too many arguments to function 'fetch_curl' 316 | ugh = fetch_curl(url, blob, logger); | ^~~~~~~~~~ /var/tmp/portage/net-vpn/libreswan-4.5/work/libreswan-4.5/programs/pluto/fetch.c:151:14: note: declared here 151 | static err_t fetch_curl(const char *url UNUSED, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20211011-200208 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * /usr/lib/llvm/13 13.0.0 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.55.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 34df9a2b915917a25e566f129b296f9972022934 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Oct 17 03:36:26 2021 +0000 2021-10-17 03:36:25 UTC emerge -qpvO net-vpn/libreswan [ebuild N ] net-vpn/libreswan-4.5 USE="ldap pam seccomp systemd -caps -curl -dnssec -networkmanager (-selinux) -test"
Created attachment 745410 [details] emerge-info.txt
Created attachment 745413 [details] emerge-history.txt
Created attachment 745416 [details] environment
Created attachment 745419 [details] etc.portage.tar.bz2
Created attachment 745422 [details] logs.tar.bz2
Created attachment 745425 [details] net-vpn:libreswan-4.5:20211017-050902.log
Created attachment 745428 [details] temp.tar.bz2
This seems to happen because the fallback code when not using libcurl is incorrect, but it doesn't trigger with USE=-curl, so looks like there is an automagic dependency as well. I'll have a look at it later.