Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 176261

Summary: net-analyzer/nagios-nrpe-2.7.1-r1 ebuild fails to notice compilation failure and installation failure
Product: Gentoo Linux Reporter: Blu3 <david+gentoo.org>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 172480    
Attachments: emerge --info

Description Blu3 2007-04-27 16:29:30 UTC
configure finds ghost SSL in /usr/local, fails to find include files thus fails to compile.  ebuild doesn't notices this, attempts to install.  fails to install.  ebuild doesn't notices this and reports success.

[...]
checking for type of socket size... size_t
checking for SSL... SSL found in /usr/local

*** Generating DH Parameters for SSL/TLS ***
./configure: line 6080: /usr/local/bin/openssl: No such file or directory
checking for Kerberos include files... could not find include files
checking for perl... /usr/bin/perl
[...]
cd ./src/; make ; cd ..
make[1]: Entering directory `/var/tmp/portage/net-analyzer/nagios-nrpe-2.7.1-r1/work/nrpe-2.7.1/src'
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -I/usr/local/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/lib  -lssl -lcrypto -lnsl -lwrap
In file included from ../include/common.h:24,
                 from nrpe.c:21:
../include/config.h:224:17: error: rsa.h: No such file or directory
../include/config.h:225:20: error: crypto.h: No such file or directory
../include/config.h:226:16: error: dh.h: No such file or directory
[...]
../include/config.h:230:18: error: rand.h: No such file or directory
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/nagios-nrpe-2.7.1-r1/work/nrpe-2.7.1/src'

*** Compile finished ***
[...]
>>> Source compiled.
>>> Test phase [not enabled]: net-analyzer/nagios-nrpe-2.7.1-r1

>>> Install nagios-nrpe-2.7.1-r1 into /var/tmp/portage/net-analyzer/nagios-nrpe-2.7.1-r1/image/ category net-analyzer
install: cannot stat `src/nrpe': No such file or directory
install: cannot stat `src/check_nrpe': No such file or directory
>>> Completed installing nagios-nrpe-2.7.1-r1 into /var/tmp/portage/net-analyzer/nagios-nrpe-2.7.1-r1/image/
[...]
Comment 1 Blu3 2007-04-27 16:30:55 UTC
Created attachment 117417 [details]
emerge --info
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2007-06-10 17:54:32 UTC
Can you check again if this is still a problem w/ 2.8.1?
Comment 3 Tobias Scherbaum (RETIRED) gentoo-dev 2007-06-30 15:17:29 UTC
(In reply to comment #2)
> Can you check again if this is still a problem w/ 2.8.1?
> 

Timeout. Feel free to re-open if this problem still occurs in current versions.