Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 695672 - net-libs/ldns-1.7.1 - 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
Summary: net-libs/ldns-1.7.1 - QA Notice: pkg-config files with wrong LDFLAGS detected...
Status: CONFIRMED
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
Modified: 2020-07-31 17:20 UTC (History)
1 user (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 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) 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.