* Package: net-analyzer/nrpe-2.15-r2 * Repository: gentoo * Maintainer: sysadmin@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux tcpd userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * 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.15.tar.gz to /var/tmp/portage/net-analyzer/nrpe-2.15-r2/work >>> Source unpacked in /var/tmp/portage/net-analyzer/nrpe-2.15-r2/work >>> Preparing source in /var/tmp/portage/net-analyzer/nrpe-2.15-r2/work/nrpe-2.15 ... * Applying nrpe-2.14-multiline.patch ... [ ok ] * Applying nrpe-2.15-tcpd-et-al.patch ... [ ok ] * Applying nrpe-2.15-autoconf-header.patch ... [ ok ] * Applying nrpe-2.15-metachar-security-fix.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/nrpe-2.15-r2/work/nrpe-2.15' ... * Running aclocal ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: nrpe-2.15/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/nrpe-2.15-r2/work/nrpe-2.15 ... * econf: updating nrpe-2.15/config.sub with /usr/share/gnuconfig/config.sub * econf: updating nrpe-2.15/config.guess with /usr/share/gnuconfig/config.guess ./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 --disable-ssl --enable-tcp-wrapper --disable-command-args configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/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 perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating include/config.h 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/autoconf.h *** Configuration summary for nrpe 2.15 09-06-2013 ***: 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.15-r2/work/nrpe-2.15 ... make -j1 -C src check_nrpe nrpe make: Entering directory '/var/tmp/portage/net-analyzer/nrpe-2.15-r2/work/nrpe-2.15/src' x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I ../include -I ./../include -o check_nrpe ./check_nrpe.c ./utils.c -Wl,-O1 -Wl,--as-needed -lnsl In file included from ./check_nrpe.c:20:0: ../include/config.h:34:0: warning: "NRPE_LOG_FACILITY" redefined #define NRPE_LOG_FACILITY daemon ^ In file included from ../include/config.h:29:0, from ./check_nrpe.c:20: ../include/autoconf.h:144:0: note: this is the location of the previous definition #define NRPE_LOG_FACILITY "daemon" ^ In file included from ./check_nrpe.c:20:0: ../include/config.h:76:0: warning: "SOCKET_SIZE_TYPE" redefined #define SOCKET_SIZE_TYPE "" ^ In file included from ../include/config.h:29:0, from ./check_nrpe.c:20: ../include/autoconf.h:177:0: note: this is the location of the previous definition #define SOCKET_SIZE_TYPE size_t ^ In file included from ./check_nrpe.c:20:0: ../include/config.h:77:0: warning: "GETGROUPS_T" redefined #define GETGROUPS_T "" ^ In file included from ../include/config.h:29:0, from ./check_nrpe.c:20: ../include/autoconf.h:15:0: note: this is the location of the previous definition #define GETGROUPS_T gid_t ^ In file included from ./check_nrpe.c:20:0: ../include/config.h:78:0: warning: "RETSIGTYPE" redefined #define RETSIGTYPE "" ^ In file included from ../include/config.h:29:0, from ./check_nrpe.c:20: ../include/autoconf.h:165:0: note: this is the location of the previous definition #define RETSIGTYPE void ^ ./check_nrpe.c: In function ‘main’: ./check_nrpe.c:273:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf("CHECK_NRPE: Receive underflow - only %d bytes received (%d expected) ^ In file included from ./../include/common.h:24:0, from ./utils.c:32: ./../include/config.h:34:0: warning: "NRPE_LOG_FACILITY" redefined #define NRPE_LOG_FACILITY daemon ^ In file included from ./../include/config.h:29:0, from ./../include/common.h:24, from ./utils.c:32: ./../include/autoconf.h:144:0: note: this is the location of the previous definition #define NRPE_LOG_FACILITY "daemon" ^ In file included from ./../include/common.h:24:0, from ./utils.c:32: ./../include/config.h:76:0: warning: "SOCKET_SIZE_TYPE" redefined #define SOCKET_SIZE_TYPE "" ^ In file included from ./../include/config.h:29:0, from ./../include/common.h:24, from ./utils.c:32: ./../include/autoconf.h:177:0: note: this is the location of the previous definition #define SOCKET_SIZE_TYPE size_t ^ In file included from ./../include/common.h:24:0, from ./utils.c:32: ./../include/config.h:77:0: warning: "GETGROUPS_T" redefined #define GETGROUPS_T "" ^ In file included from ./../include/config.h:29:0, from ./../include/common.h:24, from ./utils.c:32: ./../include/autoconf.h:15:0: note: this is the location of the previous definition #define GETGROUPS_T gid_t ^ In file included from ./../include/common.h:24:0, from ./utils.c:32: ./../include/config.h:78:0: warning: "RETSIGTYPE" redefined #define RETSIGTYPE "" ^ In file included from ./../include/config.h:29:0, from ./../include/common.h:24, from ./utils.c:32: ./../include/autoconf.h:165:0: note: this is the location of the previous definition #define RETSIGTYPE void ^ x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -Wl,-O1 -Wl,--as-needed -lnsl -lwrap In file included from ./nrpe.c:27:0: ../include/config.h:34:0: warning: "NRPE_LOG_FACILITY" redefined #define NRPE_LOG_FACILITY daemon ^ In file included from ../include/config.h:29:0, from ./nrpe.c:27: ../include/autoconf.h:144:0: note: this is the location of the previous definition #define NRPE_LOG_FACILITY "daemon" ^ In file included from ./nrpe.c:27:0: ../include/config.h:76:0: warning: "SOCKET_SIZE_TYPE" redefined #define SOCKET_SIZE_TYPE "" ^ In file included from ../include/config.h:29:0, from ./nrpe.c:27: ../include/autoconf.h:177:0: note: this is the location of the previous definition #define SOCKET_SIZE_TYPE size_t ^ In file included from ./nrpe.c:27:0: ../include/config.h:77:0: warning: "GETGROUPS_T" redefined #define GETGROUPS_T "" ^ In file included from ../include/config.h:29:0, from ./nrpe.c:27: ../include/autoconf.h:15:0: note: this is the location of the previous definition #define GETGROUPS_T gid_t ^ In file included from ./nrpe.c:27:0: ../include/config.h:78:0: warning: "RETSIGTYPE" redefined #define RETSIGTYPE "" ^ In file included from ../include/config.h:29:0, from ./nrpe.c:27: ../include/autoconf.h:165:0: note: this is the location of the previous definition #define RETSIGTYPE void ^ ./nrpe.c:103:29: error: unknown type name ‘SSL’ void complete_SSL_shutdown( SSL *); ^ In file included from ./nrpe.c:27:0: ./nrpe.c: In function ‘main’: ../include/config.h:34:33: warning: passing argument 1 of ‘get_log_facility’ from incompatible pointer type #define NRPE_LOG_FACILITY daemon ^ ./nrpe.c:192:19: note: in expansion of macro ‘NRPE_LOG_FACILITY’ get_log_facility(NRPE_LOG_FACILITY); ^ In file included from ./nrpe.c:29:0: ../include/nrpe.h:44:5: note: expected ‘char *’ but argument is of type ‘int (*)(int, int)’ int get_log_facility(char *); ^ ./nrpe.c: In function ‘handle_connection’: ./nrpe.c:1406:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=] syslog(LOG_DEBUG,"Sending response - bytes left: %d", strlen(pbuffer)); ^ ./nrpe.c: At top level: ./nrpe.c:1818:29: error: unknown type name ‘SSL’ void complete_SSL_shutdown( SSL *ssl) { ^ ./nrpe.c: In function ‘main’: ./nrpe.c:204:3: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] getcwd(config_file,sizeof(config_file)); ^ ./nrpe.c:309:3: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ ./nrpe.c:379:3: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ ./nrpe.c: In function ‘my_system’: ./nrpe.c:1510:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] pipe(fd); ^ ./nrpe.c:1563:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd[1],buffer,strlen(buffer)+1); ^ ./nrpe.c:1573:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd[1],buffer,bytes_read); ^ ./nrpe.c: In function ‘write_pid_file’: ./nrpe.c:1785:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd,pbuf,strlen(pbuf)); ^ In file included from ./../include/common.h:24:0, from ./utils.c:32: ./../include/config.h:34:0: warning: "NRPE_LOG_FACILITY" redefined #define NRPE_LOG_FACILITY daemon ^ In file included from ./../include/config.h:29:0, from ./../include/common.h:24, from ./utils.c:32: ./../include/autoconf.h:144:0: note: this is the location of the previous definition #define NRPE_LOG_FACILITY "daemon" ^ In file included from ./../include/common.h:24:0, from ./utils.c:32: ./../include/config.h:76:0: warning: "SOCKET_SIZE_TYPE" redefined #define SOCKET_SIZE_TYPE "" ^ In file included from ./../include/config.h:29:0, from ./../include/common.h:24, from ./utils.c:32: ./../include/autoconf.h:177:0: note: this is the location of the previous definition #define SOCKET_SIZE_TYPE size_t ^ In file included from ./../include/common.h:24:0, from ./utils.c:32: ./../include/config.h:77:0: warning: "GETGROUPS_T" redefined #define GETGROUPS_T "" ^ In file included from ./../include/config.h:29:0, from ./../include/common.h:24, from ./utils.c:32: ./../include/autoconf.h:15:0: note: this is the location of the previous definition #define GETGROUPS_T gid_t ^ In file included from ./../include/common.h:24:0, from ./utils.c:32: ./../include/config.h:78:0: warning: "RETSIGTYPE" redefined #define RETSIGTYPE "" ^ In file included from ./../include/config.h:29:0, from ./../include/common.h:24, from ./utils.c:32: ./../include/autoconf.h:165:0: note: this is the location of the previous definition #define RETSIGTYPE void ^ Makefile:39: recipe for target 'nrpe' failed make: *** [nrpe] Error 1 make: Leaving directory '/var/tmp/portage/net-analyzer/nrpe-2.15-r2/work/nrpe-2.15/src' * ERROR: net-analyzer/nrpe-2.15-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/nrpe-2.15-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/nrpe-2.15-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:nrpe-2.15-r2:20160817-160016.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/nrpe-2.15-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nrpe-2.15-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/nrpe-2.15-r2/work/nrpe-2.15' * S: '/var/tmp/portage/net-analyzer/nrpe-2.15-r2/work/nrpe-2.15'