Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nrpe.spec'], chrootPath='/var/lib/mock/fedora-34-x86_64-1614019848.782636/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyuzhsj6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyuzhsj6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6daa498275d9425bb6cded2d1dd0701b', '-D', '/var/lib/mock/fedora-34-x86_64-1614019848.782636/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyuzhsj6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nrpe.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1611619200 Wrote: /builddir/build/SRPMS/nrpe-4.0.3-3.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nrpe.spec'], chrootPath='/var/lib/mock/fedora-34-x86_64-1614019848.782636/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyuzhsj6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyuzhsj6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '68b8f1da773e4234870bf2eba257b77b', '-D', '/var/lib/mock/fedora-34-x86_64-1614019848.782636/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyuzhsj6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nrpe.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1611619200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jaTFDY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nrpe-4.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/nrpe-4.0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nrpe-4.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/nrpe-0003-Include-etc-npre.d-config-directory.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9s2uB5 + umask 022 + cd /builddir/build/BUILD + cd nrpe-4.0.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-04-28 21:10:40.000000000 +0000 +++ ./configure 2021-02-22 18:51:14.403411508 +0000 @@ -2088,7 +2088,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-init-dir=/etc/rc.d/init.d --with-nrpe-port=5666 --with-nrpe-user=nrpe --with-nrpe-group=nrpe --with-piddir=/var/run/nrpe --bindir=/usr/sbin --libdir=/doesnt/matter/ --libexecdir=/usr/lib64/nagios/plugins --datadir=/usr/share/nagios --sysconfdir=/etc/nagios --localstatedir=/var/run/ --enable-command-args configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-init-dir checking for a BSD-compatible install... /usr/bin/install -c checking what the operating system is ... linux checking what the distribution type is ... fedora checking what init system is being used ... ./configure: line 2911: ps: command not found unknown checking what inetd is being used ... ./configure: line 3039: ps: command not found unknown checking for which paths to use ... default checking for which init file to use ... unknown checking for which inetd files to use ... unknown checking for x86_64-redhat-linux-gnu-gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 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 paths.h usability... yes checking paths.h presence... yes checking for paths.h... 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 struct sockaddr_storage... yes checking for seteuid... 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... no 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 strtok_r... yes checking for initgroups... yes checking for closesocket... no checking for sigaction... yes checking for scandir... yes checking for socklen_t... yes checking for type of socket size... size_t checking for Kerberos include files... configure: WARNING: could not find include files checking for x86_64-redhat-linux-gnu-pkg-config... x86_64-redhat-linux-gnu-pkg-config checking whether compiling and linking against SSL works... yes checking for openssl... /bin/openssl *** Generating DH Parameters for SSL/TLS *** Generating DH parameters, 2048 bit long safe prime, generator 2 This is going to take a long time .............................................+.......................................................+..................................................................................................................+...............................................................................................................................................................................................................................+........................+.......................................+...................................................................................................................................................................................+.......+.................................................................................................................................................................................................+.......................+....+............................................................................................................+..................................................................+..............................................................................................................................................................................................................................................................................................+....................................................................................................+.+................................+................................................................................................................................................................................................................................................................................................+....................................................+....+............................+................................................................................................................................+.................................................................+..................................+..............................................................................................................................................................................................+...............................................................................................................................................................................................................................+...............................................................................+...........+.............................................................................+..........................+.............................+..........................................................................................................+.......................................................................+...............................................................................+...............................................................................+....................................+...................+.....................................+.............................................................................................................................................+..............................................................................................+..................................................................................................................+.............................................................................................+..................+............................................................................................................+...............+..........................................................................................++*++*++*++* checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating nrpe.spec config.status: creating uninstall config.status: creating sample-config/nrpe.cfg config.status: creating startup/bsd-init config.status: creating startup/debian-init config.status: creating startup/default-init config.status: creating startup/default-inetd config.status: creating startup/default-service config.status: creating startup/default-socket config.status: creating startup/default-socket-svc config.status: creating startup/default-xinetd config.status: creating startup/mac-init.plist config.status: creating startup/mac-inetd.plist config.status: creating startup/newbsd-init config.status: creating startup/openbsd-init config.status: creating startup/openrc-conf config.status: creating startup/openrc-init config.status: creating startup/solaris-init.xml config.status: creating startup/solaris-inetd.xml config.status: creating startup/tmpfile.conf config.status: creating startup/upstart-init config.status: creating startup/rh-upstart-init config.status: creating include/common.h config.status: creating include/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-init-dir *** Configuration summary for nrpe 4.0.3 2020-04-28 ***: 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 or type 'make' to get a list of make options. + make -j2 all cd ./src/; make make[1]: Entering directory '/builddir/build/BUILD/nrpe-4.0.3/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lssl -lcrypto gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_CONFIG_H -I ../include -I ./../include -o check_nrpe ./check_nrpe.c ./utils.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lssl -lcrypto ./check_nrpe.c: In function 'setup_ssl': ./check_nrpe.c:906:9: warning: enumeration value 'SSL_Ver_Invalid' not handled in switch [-Wswitch] 906 | switch(sslprm.ssl_proto_ver) { | ^~~~~~ ./check_nrpe.c:906:9: warning: enumeration value 'SSLv2' not handled in switch [-Wswitch] ./check_nrpe.c:906:9: warning: enumeration value 'SSLv2_plus' not handled in switch [-Wswitch] ./check_nrpe.c: In function 'connect_to_remote': ./check_nrpe.c:1153:30: warning: unused variable 'peer_cn' [-Wunused-variable] 1153 | char peer_cn[256], buffer[2048]; | ^~~~~~~ ./nrpe.c: In function 'main': ./nrpe.c:169:19: warning: unused variable 'y' [-Wunused-variable] 169 | uint32_t y; | ^ ./check_nrpe.c: In function 'verify_callback': ./check_nrpe.c:1629:14: warning: variable 'ssl' set but not used [-Wunused-but-set-variable] 1629 | SSL *ssl; | ^~~ ./nrpe.c: In function 'init_ssl': ./nrpe.c:357:9: warning: enumeration value 'SSLv2' not handled in switch [-Wswitch] 357 | switch(sslprm.ssl_proto_ver) { | ^~~~~~ ./nrpe.c:357:9: warning: enumeration value 'SSLv2_plus' not handled in switch [-Wswitch] ./nrpe.c: In function 'verify_callback': ./nrpe.c:749:19: warning: variable 'ssl' set but not used [-Wunused-but-set-variable] 749 | SSL *ssl; | ^~~ ./nrpe.c: In function 'process_metachars': ./nrpe.c:782:38: warning: left-hand operand of comma expression has no effect [-Wunused-value] 782 | for (i = 0, j = 0; i < length, j < length; i++, j++) { | ^ ./nrpe.c: In function 'read_config_file': ./nrpe.c:833:21: warning: unused variable 'st' [-Wunused-variable] 833 | struct stat st; | ^~ In file included from ./nrpe.c:41: At top level: ../include/acl.h:61:39: warning: 'dns_acl_prev' defined but not used [-Wunused-variable] 61 | static struct dns_acl *dns_acl_head, *dns_acl_prev; | ^~~~~~~~~~~~ ../include/acl.h:61:24: warning: 'dns_acl_head' defined but not used [-Wunused-variable] 61 | static struct dns_acl *dns_acl_head, *dns_acl_prev; | ^~~~~~~~~~~~ ../include/acl.h:60:37: warning: 'ip_acl_prev' defined but not used [-Wunused-variable] 60 | static struct ip_acl *ip_acl_head, *ip_acl_prev; | ^~~~~~~~~~~ ../include/acl.h:60:23: warning: 'ip_acl_head' defined but not used [-Wunused-variable] 60 | static struct ip_acl *ip_acl_head, *ip_acl_prev; | ^~~~~~~~~~~ ./nrpe.c: In function 'read_config_dir': ./nrpe.c:1153:68: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] 1153 | snprintf(config_file, sizeof(config_file) - 1, "%s/%s", dirname, dirfile->d_name); | ^~ In file included from /usr/include/stdio.h:866, from ../include/config.h:31, from ./nrpe.c:37: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/config.h:190, from ./nrpe.c:37: In function 'strncpy', inlined from 'my_system' at ./nrpe.c:2343:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 1035 bytes from a string of length 2047 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ./acl.c: In function 'is_an_allowed_host': ./acl.c:576:74: warning: unused variable 'resolved' [-Wunused-variable] 576 | struct in6_addr *resolved = &(((struct sockaddr_in6 *) (ai->ai_addr))->sin6_addr); | ^~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/nrpe-4.0.3/src' *** Compile finished *** You can now continue with the installation or upgrade process. Read the PDF documentation (docs/NRPE.pdf) for information on the next steps you should take to complete the installation or upgrade. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oQeOYM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64 ++ dirname /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64 + cd nrpe-4.0.3 + rm -rf /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64 + install -D -m 0644 -p startup/default-service /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/lib/systemd/system/nrpe.service + install -D -p -m 0644 sample-config/nrpe.cfg /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64//etc/nagios/nrpe.cfg + install -D -p -m 0755 src/nrpe /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64//usr/sbin/nrpe + install -D -p -m 0755 src/check_nrpe /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64//usr/lib64/nagios/plugins/check_nrpe + install -D -p -m 0644 /builddir/build/SOURCES/nrpe.sysconfig /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64//etc/sysconfig/nrpe + install -d /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/etc/nrpe.d + install -d /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/var/run/nrpe + install -D -p -m 0644 /builddir/build/SOURCES/nrpe-tmpfiles.conf /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/lib/tmpfiles.d/nrpe.conf + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 4.0.3-3.fc34 --unique-debug-suffix -4.0.3-3.fc34.x86_64 --unique-debug-src-base nrpe-4.0.3-3.fc34.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/nrpe-4.0.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/lib64/nagios/plugins/check_nrpe explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/sbin/nrpe extracting debug info from /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/sbin/nrpe extracting debug info from /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/lib64/nagios/plugins/check_nrpe original debug info size: 300kB, size after compression: 284kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 358 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: nrpe-4.0.3-3.fc34.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nZLh9a + umask 022 + cd /builddir/build/BUILD + cd nrpe-4.0.3 + DOCDIR=/builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nrpe + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nrpe + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nrpe + cp -pr LICENSE.md /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nrpe + cp -pr LEGAL /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nrpe + cp -pr README.md /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nrpe + cp -pr README.SSL.md /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nrpe + cp -pr SECURITY.md /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nrpe + cp -pr docs/NRPE.pdf /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nrpe + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(nrpe) = 4.0.3-3.fc34 nagios-nrpe = 4.0.3-3.fc34 nrpe = 4.0.3-3.fc34 nrpe(x86-64) = 4.0.3-3.fc34 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 Requires(pre): /bin/sh /usr/sbin/useradd /usr/sbin/usermod Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(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.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) rtld(GNU_HASH) Processing files: nagios-plugins-nrpe-4.0.3-3.fc34.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AuAtMv + umask 022 + cd /builddir/build/BUILD + cd nrpe-4.0.3 + DOCDIR=/builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nagios-plugins-nrpe + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nagios-plugins-nrpe + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nagios-plugins-nrpe + cp -pr LICENSE.md /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nagios-plugins-nrpe + cp -pr LEGAL /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nagios-plugins-nrpe + cp -pr README.md /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64/usr/share/doc/nagios-plugins-nrpe + RPM_EC=0 ++ jobs -p + exit 0 Provides: check_nrpe = 4.0.3-3.fc34 nagios-plugins-nrpe = 4.0.3-3.fc34 nagios-plugins-nrpe(x86-64) = 4.0.3-3.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) rtld(GNU_HASH) Processing files: nrpe-debugsource-4.0.3-3.fc34.x86_64 Provides: nrpe-debugsource = 4.0.3-3.fc34 nrpe-debugsource(x86-64) = 4.0.3-3.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nrpe-debuginfo-4.0.3-3.fc34.x86_64 Provides: debuginfo(build-id) = 791bca91f19550883b07bb9baefbf87863d52809 nrpe-debuginfo = 4.0.3-3.fc34 nrpe-debuginfo(x86-64) = 4.0.3-3.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nrpe-debugsource(x86-64) = 4.0.3-3.fc34 Processing files: nagios-plugins-nrpe-debuginfo-4.0.3-3.fc34.x86_64 Provides: debuginfo(build-id) = 3b09681bed8a53784ae15bb56e3380e7cccc1b96 nagios-plugins-nrpe-debuginfo = 4.0.3-3.fc34 nagios-plugins-nrpe-debuginfo(x86-64) = 4.0.3-3.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nrpe-debugsource(x86-64) = 4.0.3-3.fc34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64 Wrote: /builddir/build/RPMS/nrpe-debugsource-4.0.3-3.fc34.x86_64.rpm Wrote: /builddir/build/RPMS/nrpe-4.0.3-3.fc34.x86_64.rpm Wrote: /builddir/build/RPMS/nagios-plugins-nrpe-debuginfo-4.0.3-3.fc34.x86_64.rpm Wrote: /builddir/build/RPMS/nrpe-debuginfo-4.0.3-3.fc34.x86_64.rpm Wrote: /builddir/build/RPMS/nagios-plugins-nrpe-4.0.3-3.fc34.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.owUUEk + umask 022 + cd /builddir/build/BUILD + cd nrpe-4.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nrpe-4.0.3-3.fc34.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0