FS#52544 - [ldns] does not provide pkg-config .pc file

Attached to Project: Arch Linux
Opened by Oleksandr Natalenko (post-factum) - Saturday, 14 January 2017, 13:00 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 19 January 2017, 09:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

ldns package provided in core does not provide .pc file for pkg-config, making it hard to use ldns to configure projects that uses it, for example, by cmake.

.pc file is being generated during build in "packaging" folder, so it is only the matter of extra install line in PKGBUILD.

Additional info:
* package version(s)

ldns 1.7.0-1

* config and/or log files etc.

N/A

Steps to reproduce:

[~]$ pacman -Qo /usr/lib/libldns.so
/usr/lib/libldns.so is owned by ldns 1.7.0-1
[~]$ pkg-config --list-all | grep ldns
[~]$
This task depends upon

Closed by  Gaetan Bisson (vesath)
Thursday, 19 January 2017, 09:15 GMT
Reason for closing:  Implemented
Additional comments about closing:  ldns-1.7.0-2 in [testing]
Comment by Doug Newgard (Scimmia) - Sunday, 15 January 2017, 15:59 GMT
If they're generating it, why aren't they installing it with `make install`?
Comment by Oleksandr Natalenko (post-factum) - Sunday, 15 January 2017, 16:43 GMT
Yeah, that question is a good one for upstream, I guess. CentOS, for instance, installs .pc separately as well. So does Fedora, and, probably, debs (haven't checked them, but saw similar bugreports).

I'll happily open a bug against upstream once Gaetan checks this.
Comment by Gaetan Bisson (vesath) - Monday, 16 January 2017, 10:26 GMT
Oleksandr: You should definitely report this upstream. If they have some silly reason why `make install` should not ship the pkg-config file, then sure I could fix this in our package, but the proper place to fix that is definitely upstream. Cheers.
Comment by Oleksandr Natalenko (post-factum) - Monday, 16 January 2017, 10:36 GMT
I've opened upstream bug [1].

Please keep this Arch bugreport opened until ldns devs respond.

Thanks.

[1] https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=1209
Comment by Oleksandr Natalenko (post-factum) - Thursday, 19 January 2017, 09:02 GMT
ldns devs kindly fixed this issue [1].

Could we use this patch in PKGBUILD until new version of ldns arrives?

Thanks.

[1] https://git.nlnetlabs.nl/ldns/commit/?h=develop&id=2a38f26ed5695c3ad737de082b56a296240dd51a
Comment by Gaetan Bisson (vesath) - Thursday, 19 January 2017, 09:15 GMT
Since you ask so kindly...

Loading...