Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941388 - net-vpn/libreswan-5.1 fails to compile: plutomain.c:(.text.startup+0x6bb): undefined reference to curl_timeout
Summary: net-vpn/libreswan-5.1 fails to compile: plutomain.c:(.text.startup+0x6bb): un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hans de Graaff
URL: https://github.com/libreswan/libreswa...
Whiteboard:
Keywords:
: 941407 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-12 14:33 UTC by Agostino Sarubbo
Modified: 2024-11-11 09:30 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,645.27 KB, text/plain)
2024-10-12 14:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-10-12 14:33:20 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-12 14:33:21 UTC
Created attachment 905196 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-12 14:33:22 UTC
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
Comment 3 Hans de Graaff gentoo-dev Security 2024-10-13 07:50:50 UTC
I can reproduce this with USE=-curl. This looks to be a regression upstream.
Comment 4 Hans de Graaff gentoo-dev Security 2024-10-13 08:13:20 UTC
*** Bug 941407 has been marked as a duplicate of this bug. ***
Comment 5 Hans de Graaff gentoo-dev Security 2024-10-13 08:13:43 UTC
Filed an issue upstream.
Comment 6 Larry the Git Cow gentoo-dev 2024-11-11 09:30:50 UTC
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(+)