* Package: net-analyzer/nrpe-2.14  * Repository: gentoo  * Maintainer: sysadmin@gentoo.org  * USE: amd64 elibc_glibc kernel_linux multilib ssl tcpd userland_GNU  * FEATURES: sandbox * If you plan to use "nrpe_check_control" then you may want to specify * different command and services files. You can override the defaults * through the "NAGIOS_COMMAND_FILE" and "NAGIOS_SERVICES_FILE" environment variables. * NAGIOS_COMMAND_FILE=/var/rw/nagios.cmd * NAGIOS_SERVICES_FILE=/etc/services.cfg >>> Unpacking source... >>> Unpacking nrpe-2.14.tar.gz to /var/tmp/portage/net-analyzer/nrpe-2.14/work >>> Source unpacked in /var/tmp/portage/net-analyzer/nrpe-2.14/work >>> Preparing source in /var/tmp/portage/net-analyzer/nrpe-2.14/work/nrpe-2.14 ... * Applying nrpe-2.14-multiline.patch ...  [ ok ] * Applying nrpe-2.14-tcpd-et-al.patch ...  [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/nrpe-2.14/work/nrpe-2.14' ... * Running aclocal ...  [ ok ] * Running autoconf ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/nrpe-2.14/work/nrpe-2.14 ... * econf: updating nrpe-2.14/config.guess with /usr/share/gnuconfig/config.guess * econf: updating nrpe-2.14/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --libexecdir=/usr/lib64/nagios/plugins --localstatedir=/var/nagios --sysconfdir=/etc/nagios --with-nrpe-user=nagios --with-nrpe-group=nagios --enable-ssl --enable-tcp-wrapper --disable-command-args checking for a BSD-compatible install... /usr/bin/install -c checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking size of int... 4 checking size of short... 2 checking size of long... 8 checking for uint32_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for va_copy... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for C99 vsnprintf... yes checking for getopt_long... yes checking for main in -lnsl... yes checking for socket in -lsocket... no checking for hosts_access in -lwrap... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for closesocket... no checking for socklen_t... yes checking for type of socket size... size_t checking for SSL headers... SSL headers found in /usr checking for SSL libraries... SSL libraries found in /usr/lib64 *** Generating DH Parameters for SSL/TLS *** Generating DH parameters, 512 bit long safe prime, generator 2 This is going to take a long time ....................................................+....................................................+....................................................+.+......................+.......+...+...+..............+.....+.....................+...............+..................................+...........................+................+.....................+..............+..................................+.................+..........................+...............+..+...........+.......................+..................................................................................................................................+..........+...................+..........................+...+...............................+.............................................+..................................+...........................................++*++*++*++*++*++* checking for Kerberos include files... could not find include files checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating subst config.status: creating src/Makefile config.status: creating package/solaris/Makefile config.status: creating init-script config.status: creating init-script.debian config.status: creating init-script.suse config.status: creating nrpe.spec config.status: creating sample-config/nrpe.cfg config.status: creating sample-config/nrpe.xinetd config.status: creating include/config.h *** Configuration summary for nrpe 2.14 12-21-2012 ***: General Options: ------------------------- NRPE port: 5666 NRPE user: nagios NRPE group: nagios Nagios user: nagios Nagios group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/nrpe-2.14/work/nrpe-2.14 ... make -j3 -C src check_nrpe nrpe make: Entering directory `/var/tmp/portage/net-analyzer/nrpe-2.14/work/nrpe-2.14/src' x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -I/usr/include/openssl -I/usr/include -DPACKAGE_NAME=\"nrpe\" -DPACKAGE_TARNAME=\"nrpe\" -DPACKAGE_VERSION=\"2.14\" -DPACKAGE_STRING=\"nrpe\ 2.14\" -DPACKAGE_BUGREPORT=\"nagios-users@lists.sourceforge.net\" -DPACKAGE_URL=\"http://www.nagios.org\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_GETOPT_H=1 -DHAVE_GRP_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_NETDB_H=1 -DHAVE_PWD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_STAT_H=1 -DRETSIGTYPE=void -DGETGROUPS_T=gid_t -DSIZEOF_INT=4 -DSIZEOF_SHORT=2 -DSIZEOF_LONG=8 -DHAVE_VA_COPY=1 -DHAVE_C99_VSNPRINTF=1 -DHAVE_GETOPT_LONG=1 -DHAVE_LIBWRAP=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -DHAVE_INITGROUPS=1 -DSOCKET_SIZE_TYPE=size_t -DHAVE_SSL=1 -DNRPE_LOG_FACILITY=\"daemon\" -DDEFAULT_SERVER_PORT=5666 -I ../include -I ./../include -o check_nrpe ./check_nrpe.c ./utils.c -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -lssl -lcrypto -lnsl x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -I/usr/include/openssl -I/usr/include -DPACKAGE_NAME=\"nrpe\" -DPACKAGE_TARNAME=\"nrpe\" -DPACKAGE_VERSION=\"2.14\" -DPACKAGE_STRING=\"nrpe\ 2.14\" -DPACKAGE_BUGREPORT=\"nagios-users@lists.sourceforge.net\" -DPACKAGE_URL=\"http://www.nagios.org\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_GETOPT_H=1 -DHAVE_GRP_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_NETDB_H=1 -DHAVE_PWD_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_STAT_H=1 -DRETSIGTYPE=void -DGETGROUPS_T=gid_t -DSIZEOF_INT=4 -DSIZEOF_SHORT=2 -DSIZEOF_LONG=8 -DHAVE_VA_COPY=1 -DHAVE_C99_VSNPRINTF=1 -DHAVE_GETOPT_LONG=1 -DHAVE_LIBWRAP=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -DHAVE_INITGROUPS=1 -DSOCKET_SIZE_TYPE=size_t -DHAVE_SSL=1 -DNRPE_LOG_FACILITY=\"daemon\" -DDEFAULT_SERVER_PORT=5666 -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -lssl -lcrypto -lnsl -lwrap In file included from ./nrpe.c:27:0: ../include/config.h:33:0: warning: "NRPE_LOG_FACILITY" redefined [enabled by default]In file included from ./check_nrpe.c:20:0: ../include/config.h:33:0: warning: "NRPE_LOG_FACILITY" redefined [enabled by default] :0:0: note: this is the location of the previous definition ../include/config.h:75:0: warning: "SOCKET_SIZE_TYPE" redefined [enabled by default] :0:0: note: this is the location of the previous definition ../include/config.h:76:0: warning: "GETGROUPS_T" redefined [enabled by default] :0:0: note: this is the location of the previous definition ../include/config.h:77:0: warning: "RETSIGTYPE" redefined [enabled by default] :0:0: note: this is the location of the previous definition :0:0: note: this is the location of the previous definition ../include/config.h:75:0: warning: "SOCKET_SIZE_TYPE" redefined [enabled by default] :0:0: note: this is the location of the previous definition ../include/config.h:76:0: warning: "GETGROUPS_T" redefined [enabled by default] :0:0: note: this is the location of the previous definition ../include/config.h:77:0: warning: "RETSIGTYPE" redefined [enabled by default] :0:0: note: this is the location of the previous definition ./check_nrpe.c: In function ‘main’: ./check_nrpe.c:126:7: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] ./check_nrpe.c:257:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat] ./nrpe.c: In function ‘main’: ./nrpe.c:179:2: warning: passing argument 1 of ‘get_log_facility’ from incompatible pointer type [enabled by default] ../include/nrpe.h:44:5: note: expected ‘char *’ but argument is of type ‘int (*)(int, int)’ ./nrpe.c:223:7: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] ./nrpe.c: In function ‘wait_for_connections’: ./nrpe.c:792:22: error: storage size of ‘req’ isn’t known ./nrpe.c:994:23: error: ‘RQ_DAEMON’ undeclared (first use in this function) ./nrpe.c:994:23: note: each undeclared identifier is reported only once for each function it appears in ./nrpe.c:994:40: error: ‘RQ_FILE’ undeclared (first use in this function) ./nrpe.c: In function ‘handle_connection’: ./nrpe.c:1283:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat] ./nrpe.c: In function ‘write_pid_file’: ./nrpe.c:1662:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ./nrpe.c: In function ‘my_system’: ./nrpe.c:1387:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] ./nrpe.c:1440:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ./nrpe.c:1450:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] ./nrpe.c: In function ‘main’: ./nrpe.c:191:9: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] ./nrpe.c:296:8: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] ./nrpe.c:366:8: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] In file included from ./../include/common.h:24:0, from ./utils.c:32: ./../include/config.h:33:0: warning: "NRPE_LOG_FACILITY" redefined [enabled by default] :0:0: note: this is the location of the previous definition ./../include/config.h:75:0: warning: "SOCKET_SIZE_TYPE" redefined [enabled by default] :0:0: note: this is the location of the previous definition ./../include/config.h:76:0: warning: "GETGROUPS_T" redefined [enabled by default] :0:0: note: this is the location of the previous definition ./../include/config.h:77:0: warning: "RETSIGTYPE" redefined [enabled by default] :0:0: note: this is the location of the previous definition In file included from ./../include/common.h:24:0, from ./utils.c:32: ./../include/config.h:33:0: warning: "NRPE_LOG_FACILITY" redefined [enabled by default] :0:0: note: this is the location of the previous definition ./../include/config.h:75:0: warning: "SOCKET_SIZE_TYPE" redefined [enabled by default] :0:0: note: this is the location of the previous definition ./../include/config.h:76:0: warning: "GETGROUPS_T" redefined [enabled by default] :0:0: note: this is the location of the previous definition ./../include/config.h:77:0: warning: "RETSIGTYPE" redefined [enabled by default] :0:0: note: this is the location of the previous definition make: *** [nrpe] Error 1 make: Leaving directory `/var/tmp/portage/net-analyzer/nrpe-2.14/work/nrpe-2.14/src' * ERROR: net-analyzer/nrpe-2.14 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/nrpe-2.14'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/nrpe-2.14'`. * The complete build log is located at '/var/tmp/portage/net-analyzer/nrpe-2.14/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nrpe-2.14/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/nrpe-2.14/work/nrpe-2.14' * S: '/var/tmp/portage/net-analyzer/nrpe-2.14/work/nrpe-2.14'