Summary: | dns/unbound: libunbound.pc references non-existent libcrypto.pc and libssl.pc | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Ting-Wei Lan <lantw44> |
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Only Me | CC: | jaap, miwi |
Priority: | --- | Flags: | jaap:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Ting-Wei Lan
2018-03-25 15:42:41 UTC
I don't consider this a problem that the unbound port can resolve A file like libcrypto.pc is something that should be installed by openssl. These *.pc files are apparently not delivered with the bases systems, but if you install openssl from the ports, it will also install a libcrypto.pc. Regards (In reply to jaap from comment #1) Since Libs.private already includes -lssl and -lcrypto, shouldn't it remove libcrypto and libssl from Requires when building with OpenSSL from base? I don't think it is useful to install a .pc file which nobody can use. Installing another copy of openssl for .pc files sounds like a workaround. (In reply to Ting-Wei Lan from comment #2) People have been complaining to the upstream about the lack of the .pc files so they decided to put the in. Lots of ports install them. For now, I'll follow the upstream (In reply to jaap from comment #3) Having a .pc file is useful, but a broken .pc file is usually not. I don't know why FreeBSD base doesn't include .pc files for OpenSSL or whether OpenSSL in base will be made private libraries in future releases. I think currently the best solution may be asking the upstream to add a FreeBSD-specific workaround to replace 'libcrypto' and 'libssl' in Requires with '-lcrypto' and '-lssl' in Libs. If the upstream doesn't accept the workaround, we can still keep it as a downstream patch. Hi, Can we close this one ? (In reply to Martin Wilke from comment #5) Do you mean that we should move this issue to upstream instead of keeping it here? (In reply to Ting-Wei Lan from comment #6) Yes, we should move it to upstream (and I did a coupled of hours ago, they got pointed to this discussion). They can better judge (i think) the consequences for other system. and took over the suggestion for now. So, to answer Martin, Let's close it for now. Thanks Guys! (In reply to jaap from comment #7) Is there any progress on this issue? I saw that unbound was updated in ports, but the latest version still has the same problem. Hello, is there any update on this issue? I still see the error frequently, and I have to edit /usr/local/libdata/pkgconfig/libunbound.pc every time unbound is upgraded or reinstalled. I did advise you to contact the upstream. The issue is closed. |