https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-vpn/libreswan-5.1 fails to compile. Discovered on: amd64 (internal ref: ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 905196 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: plutomain.c:(.text.startup+0x6bb): undefined reference to `curl_timeout' /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: plutomain.c:(.text.startup+0x1ab8): undefined reference to `curl_timeout' /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: plutomain.c:(.text.startup+0x1abf): undefined reference to `curl_timeout' /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: plutomain.c:(.text.startup+0x6db): undefined reference to `curl_timeout' /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: plutomain.c:(.text.startup+0x6eb): undefined reference to `curl_timeout' collect2: error: ld returned 1 exit status
I can reproduce this with USE=-curl. This looks to be a regression upstream.
*** Bug 941407 has been marked as a duplicate of this bug. ***
Filed an issue upstream.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14b24fe29d3814b63fb22a6faa25d3109eface9d commit 14b24fe29d3814b63fb22a6faa25d3109eface9d Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2024-11-11 09:25:03 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2024-11-11 09:29:48 +0000 net-vpn/libreswan: fix building without curl Backport upstream patch to allow building without curl support. Closes: https://bugs.gentoo.org/941388 Signed-off-by: Hans de Graaff <graaff@gentoo.org> .../files/libreswan-5.1-without-libcurl.patch | 72 +++++++++++ net-vpn/libreswan/libreswan-5.1-r1.ebuild | 137 +++++++++++++++++++++ 2 files changed, 209 insertions(+)