[Bug 195021] New: sysutils/munin-node: ntp_ and ntp_states plugins fail without dns/p5-Net-DNS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 14 23:48:37 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195021

            Bug ID: 195021
           Summary: sysutils/munin-node: ntp_ and ntp_states plugins fail
                    without dns/p5-Net-DNS
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: john at saltant.com
                CC: mat at FreeBSD.org, perl at FreeBSD.org
                CC: perl at FreeBSD.org

Created attachment 149421
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149421&action=edit
sysutils/munin-node: Depend upon dns/p5-Net-DNS at runtime

sysutils/munin-node has an unstated runtime dependency on dns/p5-Net-DNS. There
are two plugins that "use Net::DNS;", and they are ntp_ and ntp_states. Without
the dependency installed the plugins fail as illustrated in this log excerpt:

    /var/log/munin/munin-node.log
    -----------------------------
    2014/11/14-00:00:06 [68072] Error output from ntp_states:
    2014/11/14-00:00:06 [68072]     Can't locate Net/DNS.pm in @INC (@INC
contains: /usr/local/lib/perl5/5.16/BSDPAN
/usr/local/lib/perl5/site_perl/5.16/mach /usr/local/lib/perl5/site_perl/5.16
/usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 .) at
/usr/local/etc/munin/plugins/ntp_states line 43.
    2014/11/14-00:00:06 [68072]     BEGIN failed--compilation aborted at
/usr/local/etc/munin/plugins/ntp_states line 43.
    2014/11/14-00:00:06 [68072] Service 'ntp_states' exited with status 2/0.

Fix:

Apply the attached patch to pick up the missing dependency.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainers CC'd

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list