Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749747 - net-vpn/libreswan-4.0 does not respect LDFLAGS
Summary: net-vpn/libreswan-4.0 does not respect LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2020-10-17 13:26 UTC by Agostino Sarubbo
Modified: 2020-10-20 05:18 UTC (History)
0 users

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

build.log (build.log,552.08 KB, text/plain)
2020-10-17 13:26 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
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(+)