nagios-plugins build error #3

Closed
xmerlin opened this Issue Mar 19, 2013 · 2 comments

Comments

Projects
None yet
3 participants

xmerlin commented Mar 19, 2013

the build of nagios-plugins gives this error:

=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for nagios-plugins-1.4.15nb3
ERROR: ************************************************************
ERROR: The following files are in /opt/local but not in the PLIST:
ERROR: /tmp/pkgsrc/net/nagios-plugins/work/.destdir/opt/local/libexec/nagios/check_apt
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/net/nagios-plugins
*** Error code 1

and the fix is very simple

--- pkgsrc/net/nagios-plugins/PLIST.orig 2013-03-19 17:20:11.642538898 +0000
+++ pkgsrc/net/nagios-plugins/PLIST 2013-03-19 17:20:21.352812081 +0000
@@ -43,6 +43,7 @@
libexec/nagios/check_udp
libexec/nagios/check_ups
libexec/nagios/check_users
+libexec/nagios/check_apt
libexec/nagios/negate
${PLIST.sunos}libexec/nagios/pst3
libexec/nagios/urlize

@mamash mamash closed this in 42d4ec4 Jun 12, 2014

Owner

rmustacc commented Jun 12, 2014

Erroneous github auto-close.

@rmustacc rmustacc reopened this Jun 12, 2014

Member

mamash commented Jun 12, 2014

Actually this close was legitimate ;)

The Nagios configure is incorrectly detecting the presence of apt-get in the system, while that's just a dummy wrapper (part of the smtools package) that says "not here, use pkgin". I gave it more thought and believe the presence of such wrappers is poisonous and might confuse more scripts and frameworks, so I'm taking them out.

I also added a configure arg to the upstream package to never detect apt-get (will show up in 2014Q2).

@mamash mamash closed this Jun 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment