Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 749747

Summary: net-vpn/libreswan-4.0 does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-10-17 13:26:14 UTC

Issue: net-vpn/libreswan-4.0 does not respect LDFLAGS.
Discovered on: amd64 (internal ref: ci)

To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-17 13:26:17 UTC
Created attachment 666233 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-10-20 05:18:17 UTC
The bug has been closed via the following commit(s):

commit 09542d432883b1df80f2821023794b9e68721ab5
Author:     Hans de Graaff <>
AuthorDate: 2020-10-20 05:17:31 +0000
Commit:     Hans de Graaff <>
CommitDate: 2020-10-20 05:18:05 +0000

    net-vpn/libreswan: add 4.1
    Also properly pass CFLAGS and LDFLAGS to the build system.
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Hans de Graaff <>

 net-vpn/libreswan/Manifest             |   1 +
 net-vpn/libreswan/libreswan-4.1.ebuild | 117 +++++++++++++++++++++++++++++++++
 2 files changed, 118 insertions(+)