Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16090 - nagios-plugins ebuild has a few problems
Summary: nagios-plugins ebuild has a few problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dean Bailey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-20 14:02 UTC by jim
Modified: 2004-01-24 15:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jim 2003-02-20 14:02:49 UTC
I had a few problems trying to get nagios-plugins-1.3.0-beta2-r1 emerged 
 
The patch of install-opts-fix.diff failed on a hunk. 
 
Leaving 'autoconf' in before './configure' caused ./configure to error out on 
././getloadavg.c 
 
pkg_preinst doesn't seem to get executed
Comment 1 Paul Slinski 2003-02-27 09:06:59 UTC
Same here, but here is the output:

[snip]
patching file Makefile.in
Hunk #1 succeeded at 68 with fuzz 1.
patching file configure.in
Hunk #1 succeeded at 56 (offset 10 lines).
Hunk #2 FAILED at 166.
[snip]

and, of course, the build error:

[snip]
check_disk.c
check_disk.c: In function `main':
check_disk.c:77: `DF_COMMAND' undeclared (first use in this function)
check_disk.c:77: (Each undeclared identifier is reported only once
check_disk.c:77: for each function it appears in.)
make[1]: *** [check_disk.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/nagios-plugins-1.3.0_beta2/work/nagios-plugins-1.3.0-beta2/plugins'
make: *** [all-recursive] Error 1

!!! ERROR: net-analyzer/nagios-plugins-1.3.0_beta2 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)
[snip]

Also, see attached 'configure.in.rej'

-Paul
Comment 2 teri-aka TrAns13nT 2003-03-02 14:08:58 UTC
nagios-plugins ebuild fails for me first saying invalig user nagios, i did useradd nagios, it then fails with invalid group nagios, i ddi groupadd nagio and it installs
Comment 3 teri-aka TrAns13nT 2003-03-02 14:10:51 UTC
of course, minus my typos

useradd nagios
groupadd nagios
Comment 4 Dean Bailey 2003-03-12 15:25:31 UTC
Looking into this.
Comment 5 Dean Bailey 2003-03-16 13:37:53 UTC
Nagios-plugins-1.3.0-beta3-r1 (being added into portage in a few moments) should solve the invalid nagios user issue. The failed patchset was removed.
As for the check_disk issue, I'v never been able to reproduce it... so.
Comment 6 Justin Huff 2004-01-24 15:14:53 UTC
The compile problem seems to come into play when df doesn't work right.  In my case, I got it when I was building a system on another disk and /etc/mtab didn't exist.
A simple:
cat /proc/mounts  >/etc/mtab
fixed the problem.