Summary: | dns/unbound: Fails to configure (missing pkgconfig dependency) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Matthias Fechner <mfechner> | ||||
Component: | Individual Port(s) | Assignee: | Steve Wills <swills> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | jaap, ndowens04, spambox, swills | ||||
Priority: | --- | Keywords: | easy, regression | ||||
Version: | Latest | Flags: | jaap:
maintainer-feedback+
|
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Matthias Fechner
2018-09-19 21:13:27 UTC
(In reply to Matthias Fechner from comment #0) Ok, I've tried 11.2 and 12-current and I didn't get this error Does adding pkgconfig to the USES line fix it for you? If so, I'll go ahead and commit that, I think that's the issue. (In reply to Steve Wills from comment #2) Thanks that fixes it: -USES= autoreconf cpe libtool ssl +USES= autoreconf cpe libtool ssl pkgconfig Change in comment 3 is Approved by: portmgr (blanket, fix dependencies) I still cannot reproduce the problem. But if using pkconfig fixes it, I'm fine A commit references this bug: Author: swills Date: Thu Sep 20 14:42:34 UTC 2018 New revision: 480177 URL: https://svnweb.freebsd.org/changeset/ports/480177 Log: dns/unbound: Fix configure in some cases Fix configure by adding missing pkgconfig to uses PR: 231488 Submitted by: leres (solution, via email), mfechner (patch) Reported by: leres, mfechner Approved by: jaap@NLnetLabs.nl (maintainer) Changes: head/dns/unbound/Makefile Fix committed, thanks all! *** Bug 231527 has been marked as a duplicate of this bug. *** (In reply to jaap from comment #5) Did you try building with the LIBEVENT option off? That is what triggers it. Perhaps we should remove the LIBEVENT_USES=pkgconfig line now... (In reply to Steve Wills from comment #9) Yes, "LIBEVENT option off" seems the trigger, thanks for finding this. And removing "LIBEVENT_USES=pkgconfig" fixes this cae. Before we call victory I'll do some more test with/without various option combinations. Created attachment 197397 [details]
Patch to fix problem
Patches Makefile of port
I'm not sure if your patch really fixes the problem, as I do not have LIBEVENT set: # This file is auto-generated by 'make config'. # Options for unbound-1.7.2 _OPTIONS_READ=unbound-1.7.2 _FILE_COMPLETE_OPTIONS_LIST=DNSCRYPT DNSTAP DOCS ECDSA EVAPI FILTER_AAAA GOST HIREDIS LIBEVENT MUNIN_PLUGIN PYTHON SUBNET TFOCL TFOSE THREADS OPTIONS_FILE_UNSET+=DNSCRYPT OPTIONS_FILE_UNSET+=DNSTAP OPTIONS_FILE_SET+=DOCS OPTIONS_FILE_SET+=ECDSA OPTIONS_FILE_UNSET+=EVAPI OPTIONS_FILE_UNSET+=FILTER_AAAA OPTIONS_FILE_SET+=GOST OPTIONS_FILE_UNSET+=HIREDIS OPTIONS_FILE_UNSET+=LIBEVENT OPTIONS_FILE_UNSET+=MUNIN_PLUGIN OPTIONS_FILE_UNSET+=PYTHON OPTIONS_FILE_UNSET+=SUBNET OPTIONS_FILE_UNSET+=TFOCL OPTIONS_FILE_UNSET+=TFOSE OPTIONS_FILE_SET+=THREADS (In reply to jaap from comment #11) sry, misread your patch, it works for me, please ignore my comment #c12 A commit references this bug: Author: swills Date: Mon Oct 1 23:33:41 UTC 2018 New revision: 481078 URL: https://svnweb.freebsd.org/changeset/ports/481078 Log: dns/unbound: remove unnecessary LIBEVENT_USES PR: 231488 Submitted by: jaap@NLnetLabs.nl (maintainer) Changes: head/dns/unbound/Makefile Committed, thanks! |