Mock Version: 1.1.18 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/nrpe.spec'], False, '/var/lib/mock/rhel-6-x86_64/root/', None, 0, True, False, 500, 490, None, False, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/nrpe.spec'] Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nrpe-2.13-1.el6.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/nrpe.spec'], False, '/var/lib/mock/rhel-6-x86_64/root/', None, 0, True, False, 500, 490, None, False, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/nrpe.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DLZSBg + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf nrpe-2.13 + /usr/bin/gzip -dc /builddir/build/SOURCES/nrpe-2.13.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd nrpe-2.13 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nrpe-initreload.patch):' Patch #0 (nrpe-initreload.patch): + /bin/cat /builddir/build/SOURCES/nrpe-initreload.patch + /usr/bin/patch -s -p0 --fuzz=0 + echo 'Patch #1 (nrpe-read-extra-conf.patch):' Patch #1 (nrpe-read-extra-conf.patch): + /bin/cat /builddir/build/SOURCES/nrpe-read-extra-conf.patch + /usr/bin/patch -s -p0 -b --suffix .sysconfig --fuzz=0 + echo 'Patch #2 (nrpe-directory_for_configs.diff):' Patch #2 (nrpe-directory_for_configs.diff): + /bin/cat /builddir/build/SOURCES/nrpe-directory_for_configs.diff + /usr/bin/patch -s -p1 -b --suffix .dir --fuzz=0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oJHTDa + umask 022 + cd /builddir/build/BUILD + cd nrpe-2.13 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + ./configure --with-init-dir=/etc/rc.d/init.d --with-nrpe-port=5666 --with-nrpe-user=nrpe --with-nrpe-group=nrpe --bindir=/usr/sbin --libdir=/doesnt/matter/ --libexecdir=/usr/libexec/nagios/plugins --datadir=/usr/share/nagios --sysconfdir=/etc/nagios --localstatedir=/var/log/nagios --enable-command-args checking for a BSD-compatible install... /usr/bin/install -c checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for egrep... 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 tcpd.h usability... no checking tcpd.h presence... no checking for tcpd.h... no 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 for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes 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 main in -lwrap... no 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 src/Makefile config.status: creating subst config.status: creating include/config.h *** Configuration summary for nrpe 2.13 11-11-2011 ***: General Options: ------------------------- NRPE port: 5666 NRPE user: nrpe NRPE group: nrpe 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. + make -j4 all cd ./src/; make ; cd .. make[1]: Entering directory `/builddir/build/BUILD/nrpe-2.13/src' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c acl.c -L/usr/lib64 -lssl -lcrypto -lnsl gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -L/usr/lib64 -lssl -lcrypto -lnsl nrpe.c: In function 'main': nrpe.c:104: warning: implicit declaration of function 'asprintf' nrpe.c:218: warning: assignment discards qualifiers from pointer target type nrpe.c:186: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result nrpe.c:293: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result check_nrpe.c: In function 'main': check_nrpe.c:126: warning: assignment discards qualifiers from pointer target type check_nrpe.c:260: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' nrpe.c: In function 'my_system': nrpe.c:1284: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result nrpe.c:1337: warning: ignoring return value of 'write', declared with attribute warn_unused_result nrpe.c:1347: warning: ignoring return value of 'write', declared with attribute warn_unused_result nrpe.c: In function 'write_pid_file': nrpe.c:1559: warning: ignoring return value of 'write', declared with attribute warn_unused_result nrpe.c: At top level: ../include/acl.h:54: warning: 'ip_acl_head' defined but not used ../include/acl.h:54: warning: 'ip_acl_prev' defined but not used ../include/acl.h:55: warning: 'dns_acl_head' defined but not used ../include/acl.h:55: warning: 'dns_acl_prev' defined but not used nrpe.c: In function 'wait_for_connections': nrpe.c:932: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:902: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:888: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:884: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:882: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:876: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:872: note: initialized from here nrpe.c:708: warning: 'new_sd' may be used uninitialized in this function make[1]: Leaving directory `/builddir/build/BUILD/nrpe-2.13/src' *** Compile finished *** If the NRPE daemon and client compiled without any errors, you can continue with the installation or upgrade process. Read the PDF documentation (NRPE.pdf) for information on the next steps you should take to complete the installation or upgrade. + sed -i 's/# chkconfig: 2345/# chkconfig: - /' init-script + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zgfYOs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64 + cd nrpe-2.13 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64 + install -D -p -m 0755 init-script /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64//etc/rc.d/init.d/nrpe + install -D -p -m 0644 sample-config/nrpe.cfg /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64//etc/nagios/nrpe.cfg + install -D -p -m 0755 src/nrpe /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64//usr/sbin/nrpe + install -D -p -m 0755 src/check_nrpe /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64//usr/libexec/nagios/plugins/check_nrpe + install -D -p -m 0644 /builddir/build/SOURCES/nrpe.sysconfig /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64//etc/sysconfig/nrpe + install -d /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/etc/nagios/nrpe.d + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/nrpe-2.13 extracting debug info from /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/usr/libexec/nagios/plugins/check_nrpe extracting debug info from /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/usr/sbin/nrpe 186 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: nrpe-2.13-1.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8T7yoM + umask 022 + cd /builddir/build/BUILD + cd nrpe-2.13 + DOCDIR=/builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/usr/share/doc/nrpe-2.13 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/usr/share/doc/nrpe-2.13 + /bin/mkdir -p /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/usr/share/doc/nrpe-2.13 + cp -pr Changelog LEGAL README README.SSL SECURITY docs/NRPE.pdf /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/usr/share/doc/nrpe-2.13 + exit 0 Provides: config(nrpe) = 2.13-1.el6 nagios-nrpe = 2.13-1.el6 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires(pre): /bin/sh /usr/sbin/useradd Requires(post): /bin/sh /sbin/chkconfig /sbin/service Requires(preun): /bin/sh /sbin/chkconfig /sbin/service Requires(postun): /bin/sh /sbin/service Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libnsl.so.1()(64bit) libssl.so.10()(64bit) rtld(GNU_HASH) Obsoletes: nagios-nrpe <= 2.12-2 Processing files: nagios-plugins-nrpe-2.13-1.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pSRh35 + umask 022 + cd /builddir/build/BUILD + cd nrpe-2.13 + DOCDIR=/builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/usr/share/doc/nagios-plugins-nrpe-2.13 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/usr/share/doc/nagios-plugins-nrpe-2.13 + /bin/mkdir -p /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/usr/share/doc/nagios-plugins-nrpe-2.13 + cp -pr Changelog LEGAL README /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64/usr/share/doc/nagios-plugins-nrpe-2.13 + exit 0 Provides: check_nrpe = 2.13-1.el6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libnsl.so.1()(64bit) libssl.so.10()(64bit) rtld(GNU_HASH) Processing files: nrpe-debuginfo-2.13-1.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64 Wrote: /builddir/build/RPMS/nrpe-2.13-1.el6.x86_64.rpm Wrote: /builddir/build/RPMS/nagios-plugins-nrpe-2.13-1.el6.x86_64.rpm Wrote: /builddir/build/RPMS/nrpe-debuginfo-2.13-1.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Tlc9In + umask 022 + cd /builddir/build/BUILD + cd nrpe-2.13 + rm -rf /builddir/build/BUILDROOT/nrpe-2.13-1.el6.x86_64 + exit 0 Child returncode was: 0 LEAVE do -->