Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i586 --nodeps builddir/build/SPECS/nrpe.spec'], False, '/var/lib/mock/dist-f11-build-603517-87942/root/', None, 86400, True, 0, 421, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i586 --nodeps builddir/build/SPECS/nrpe.spec'] warning: Could not canonicalize hostname: x86-5.fedora.phx.redhat.com Building target platforms: i586 Building for target i586 Wrote: /builddir/build/SRPMS/nrpe-2.12-11.fc11.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i586 --nodeps builddir/build/SPECS/nrpe.spec'], False, '/var/lib/mock/dist-f11-build-603517-87942/root/', None, 86400, True, 0, 421, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i586 --nodeps builddir/build/SPECS/nrpe.spec'] Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bvQatc + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf nrpe-2.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/nrpe-2.12.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd nrpe-2.12 + /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.85cNaJ + umask 022 + cd /builddir/build/BUILD + cd nrpe-2.12 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables' + ./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/lib/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... i686-pc-linux-gnu checking host system type... i686-pc-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... 4 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/lib *** 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.12 03-10-2008 ***: 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.12/src' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/lib -lssl -lcrypto -lnsl gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -L/usr/lib -lssl -lcrypto -lnsl nrpe.c: In function 'main': nrpe.c:97: warning: implicit declaration of function 'asprintf' nrpe.c:179: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result nrpe.c:286: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result nrpe.c: In function 'my_system': nrpe.c:1340: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result nrpe.c:1393: warning: ignoring return value of 'write', declared with attribute warn_unused_result nrpe.c:1403: warning: ignoring return value of 'write', declared with attribute warn_unused_result nrpe.c: In function 'write_pid_file': nrpe.c:1615: warning: ignoring return value of 'write', declared with attribute warn_unused_result nrpe.c: In function 'wait_for_connections': nrpe.c:921: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:881: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:877: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:874: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:869: warning: dereferencing pointer 'nptr' does break strict-aliasing rules nrpe.c:865: note: initialized from here nrpe.c:701: warning: 'new_sd' may be used uninitialized in this function make[1]: Leaving directory `/builddir/build/BUILD/nrpe-2.12/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.RcQ0TE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386 ++ dirname /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386 + cd nrpe-2.12 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386 + install -D -p -m 0755 init-script /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386//etc/rc.d/init.d/nrpe + install -D -p -m 0644 sample-config/nrpe.cfg /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386//etc/nagios/nrpe.cfg + install -D -p -m 0755 src/nrpe /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386//usr/sbin/nrpe + install -D -p -m 0755 src/check_nrpe /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386//usr/lib/nagios/plugins/check_nrpe + install -D -p -m 0644 /builddir/build/SOURCES/nrpe.sysconfig /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386//etc/sysconfig/nrpe + install -d /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/etc/nrpe.d + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/nrpe-2.12 extracting debug info from /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/usr/sbin/nrpe extracting debug info from /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/usr/lib/nagios/plugins/check_nrpe 150 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.12-11.fc11.i586 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EwyT5A + umask 022 + cd /builddir/build/BUILD + cd nrpe-2.12 + DOCDIR=/builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/usr/share/doc/nrpe-2.12 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/usr/share/doc/nrpe-2.12 + /bin/mkdir -p /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/usr/share/doc/nrpe-2.12 + cp -pr Changelog LEGAL README README.SSL SECURITY docs/NRPE.pdf /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/usr/share/doc/nrpe-2.12 + exit 0 Provides: config(nrpe) = 2.12-11.fc11 nagios-nrpe = 2.12-11.fc11 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libcrypto.so.8 libnsl.so.1 libssl.so.8 rtld(GNU_HASH) Processing files: nagios-plugins-nrpe-2.12-11.fc11.i586 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DQyYlx + umask 022 + cd /builddir/build/BUILD + cd nrpe-2.12 + DOCDIR=/builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/usr/share/doc/nagios-plugins-nrpe-2.12 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/usr/share/doc/nagios-plugins-nrpe-2.12 + /bin/mkdir -p /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/usr/share/doc/nagios-plugins-nrpe-2.12 + cp -pr Changelog LEGAL README /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386/usr/share/doc/nagios-plugins-nrpe-2.12 + exit 0 Provides: check_nrpe = 2.12-11.fc11 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libcrypto.so.8 libnsl.so.1 libssl.so.8 rtld(GNU_HASH) Processing files: nrpe-debuginfo-2.12-11.fc11.i586 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386 warning: Could not canonicalize hostname: x86-5.fedora.phx.redhat.com Wrote: /builddir/build/RPMS/nrpe-2.12-11.fc11.i586.rpm Wrote: /builddir/build/RPMS/nagios-plugins-nrpe-2.12-11.fc11.i586.rpm Wrote: /builddir/build/RPMS/nrpe-debuginfo-2.12-11.fc11.i586.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0MQvbj + umask 022 + cd /builddir/build/BUILD + cd nrpe-2.12 + rm -rf /builddir/build/BUILDROOT/nrpe-2.12-11.fc11.i386 + exit 0 Child returncode was: 0 LEAVE do -->