Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695672 - net-libs/ldns-1.8.0 - QA Notice: pkg-config files with wrong LDFLAGS detected: * /usr/lib/pkgconfig/ldns.pc:Libs.private: -Wl,-O1 -Wl,--as-needed
Summary: net-libs/ldns-1.8.0 - QA Notice: pkg-config files with wrong LDFLAGS detected...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-26 12:40 UTC by Jeroen Roovers (RETIRED)
Modified: 2021-12-01 11:40 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2019-09-26 12:40:37 UTC
>>> net-libs/ldns-1.7.1 merged.
>>> Regenerating /etc/ld.so.cache...

 * Messages for package net-libs/ldns-1.7.1:
 * Log file: /aches/gentoo/emergelogs/karsten/net-libs:ldns-1.7.1:20190926-120802.log

 * Install net-dns/ldns-utils if you want drill and examples
 * QA Notice: pkg-config files with wrong LDFLAGS detected:
 * /usr/lib/pkgconfig/ldns.pc:Libs.private: -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory
Comment 1 Marc Schiffbauer gentoo-dev 2019-09-27 11:39:33 UTC
What is your suggestion to fix this? TIA
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-07-31 17:20:06 UTC
Dunno if this entire Libs.private line is even necessary. It seems like upstream simply puts ${LDFLAGS} into that line:

https://github.com/NLnetLabs/ldns/commit/b6a65c059e8888ba0d8ef6b80ab22089ccfbe3d0#diff-d00db3d49a7f3c98478467f7c6b1aa9eR12

So perhaps best course of action here would be to ask upstream about the purpose of this line.
Comment 3 Agostino Sarubbo gentoo-dev 2021-10-29 05:59:13 UTC
tinderbox has reproduced this issue with version 1.7.1-r5 - Updating summary.
Comment 4 Marc Schiffbauer gentoo-dev 2021-12-01 10:55:07 UTC
Updating summary as its still the same with 1.8.0
Comment 5 Larry the Git Cow gentoo-dev 2021-12-01 11:40:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9fb0f0c1c8ce2f4d8c06de5988df96627b41eac

commit a9fb0f0c1c8ce2f4d8c06de5988df96627b41eac
Author:     Marc Schiffbauer <mschiff@gentoo.org>
AuthorDate: 2021-12-01 11:35:42 +0000
Commit:     Marc Schiffbauer <mschiff@gentoo.org>
CommitDate: 2021-12-01 11:40:28 +0000

    net-libs/ldns: fix LDFLAGS in pkg-config (#695672)
    
    Closes: https://bugs.gentoo.org/695672
    Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>

 net-libs/ldns/ldns-1.8.0-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)