Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/watchdog.spec'], chrootPath='/var/lib/mock/dist-circle8-build-43824-9226/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/watchdog.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/watchdog-5.15-2.el8.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/watchdog.spec'], chrootPath='/var/lib/mock/dist-circle8-build-43824-9226/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/watchdog.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ktfeJR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf watchdog-5.15 + /usr/bin/gzip -dc /builddir/build/SOURCES/watchdog-5.15.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd watchdog-5.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3 (0003-watchdog-5.13-rhsel.patch):' Patch #3 (0003-watchdog-5.13-rhsel.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rhsel --fuzz=0 patching file src/test_binary.c patching file src/watchdog.c Patch #4 (0004-watchdog-5.13-rhseldoc.patch): + echo 'Patch #4 (0004-watchdog-5.13-rhseldoc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rhseldoc --fuzz=0 patching file watchdog.8 patching file watchdog.conf patching file watchdog.conf.5 + cp /builddir/build/SOURCES/README.watchdog.ipmi . + cp /builddir/build/SOURCES/README.Fedora . + mv README.Fedora README.RHEL + mv README README.orig + iconv -f ISO-8859-1 -t UTF-8 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w4x0xV + umask 022 + cd /builddir/build/BUILD + cd watchdog-5.15 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 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 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ltirpc' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether build environment is sane... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gawk... (cached) gawk checking for x86_64-redhat-linux-gnu-gcc... no checking for 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 gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for sendmail... /usr/lib/sendmail checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... yes checking for alloca... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gethostname... yes checking for select... yes checking for socket... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking for strtoul... yes checking for uname... yes checking whether to log via syslog... yes checking whether to include NFS support... yes checking for minimum value accepted as reboot cause... 2 checking for timer margin used by kernel... 60 checking for config filename... /etc/watchdog.conf checking for test binary directory... /etc/watchdog.d checking for pid filename... "/var/run/watchdog.pid" checking for keepalive pid filename... "/var/run/wd_keepalive.pid" checking for random seed filename... "/var/run/random-seed" checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h config.status: executing depfiles commands + make -j8 Making all in src make[1]: Entering directory '/builddir/build/BUILD/watchdog-5.15/src' gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o file_stat.o file_stat.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o file_table.o file_table.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o fstab.o fstab.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o iface.o iface.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o ifdown.o ifdown.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o keep_alive.o keep_alive.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o load.o load.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o lomount.o lomount.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o memory.o memory.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o mntent.o mntent.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o mount.o mount.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o net.o net.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o nfsmount.o nfsmount.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o nfsmount_clnt.o nfsmount_clnt.c mount.c: In function 'try_mount_one': mount.c:706:6: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^~~~~~~~~~~~~~~~ mount.c:707:6: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o nfsmount_xdr.o nfsmount_xdr.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o pidfile.o pidfile.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o shutdown.o shutdown.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o sundries.o sundries.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o temp.o temp.c In file included from /usr/include/dirent.h:25, from shutdown.c:8: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o test_binary.o test_binary.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o umount.o umount.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o version.o version.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o watchdog.o watchdog.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o logmessage.o logmessage.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o xmalloc.o xmalloc.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o heartbeat.o heartbeat.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o lock_mem.o lock_mem.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o daemon-pid.o daemon-pid.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o configfile.o configfile.c configfile.c: In function 'add_test_binaries': gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o errorcodes.o errorcodes.c configfile.c:276:3: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] ret = readdir_r(d, &dentry, &rdret); ^~~ In file included from configfile.c:18: /usr/include/dirent.h:183:12: note: declared here extern int readdir_r (DIR *__restrict __dirp, ^~~~~~~~~ heartbeat.c: In function 'write_heartbeat': heartbeat.c:96:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(tbufw, "%*s\n", TS_SIZE - 1, tbuf); ^ In file included from /usr/include/stdio.h:873, from ../include/extern.h:4, from heartbeat.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 14 bytes into a destination of size 13 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o read-conf.o read-conf.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o sigterm.o sigterm.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o wd_keepalive.o wd_keepalive.c gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -c -o wd_identify.o wd_identify.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ltirpc -o watchdog file_stat.o file_table.o fstab.o iface.o ifdown.o keep_alive.o load.o lomount.o memory.o mntent.o mount.o net.o nfsmount.o nfsmount_clnt.o nfsmount_xdr.o pidfile.o shutdown.o sundries.o temp.o test_binary.o umount.o version.o watchdog.o logmessage.o xmalloc.o heartbeat.o lock_mem.o daemon-pid.o configfile.o errorcodes.o read-conf.o sigterm.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ltirpc -o wd_keepalive wd_keepalive.o logmessage.o lock_mem.o daemon-pid.o xmalloc.o configfile.o keep_alive.o read-conf.o sigterm.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/tirpc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ltirpc -o wd_identify wd_identify.o logmessage.o xmalloc.o configfile.o read-conf.o make[1]: Leaving directory '/builddir/build/BUILD/watchdog-5.15/src' make[1]: Entering directory '/builddir/build/BUILD/watchdog-5.15' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/watchdog-5.15' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.k8cQhU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64 + cd watchdog-5.15 + install -d -m0755 /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/etc + install -d -m0755 /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/etc/watchdog.d + make DESTDIR=/builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64 install Making install in src make[1]: Entering directory '/builddir/build/BUILD/watchdog-5.15/src' make[2]: Entering directory '/builddir/build/BUILD/watchdog-5.15/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/sbin' /usr/bin/install -c watchdog wd_keepalive wd_identify '/builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/sbin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/watchdog-5.15/src' make[1]: Leaving directory '/builddir/build/BUILD/watchdog-5.15/src' make[1]: Entering directory '/builddir/build/BUILD/watchdog-5.15' make[2]: Entering directory '/builddir/build/BUILD/watchdog-5.15' make[2]: Nothing to be done for 'install-exec-am'. installing /etc/watchdog.conf /usr/bin/mkdir -p '/builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/man/man5' /usr/bin/install -c -m 644 watchdog.conf.5 '/builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 watchdog.8 wd_keepalive.8 wd_identify.8 '/builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/watchdog-5.15' make[1]: Leaving directory '/builddir/build/BUILD/watchdog-5.15' + install -Dp -m0644 watchdog.sysconfig /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/etc/sysconfig/watchdog + install -Dp -m0644 /builddir/build/SOURCES/watchdog.service /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/lib/systemd/system/watchdog.service + install -Dp -m0644 /builddir/build/SOURCES/watchdog-ping.service /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/lib/systemd/system/watchdog-ping.service + install -Dd -m0755 /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/libexec/watchdog/scripts + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 5.15-2.el8 --unique-debug-suffix -5.15-2.el8.x86_64 --unique-debug-src-base watchdog-5.15-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/watchdog-5.15 extracting debug info from /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/sbin/watchdog extracting debug info from /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/sbin/wd_identify extracting debug info from /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/sbin/wd_keepalive /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 474 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: watchdog-5.15-2.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2foicR + umask 022 + cd /builddir/build/BUILD + cd watchdog-5.15 + DOCDIR=/builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + cp -pr AUTHORS /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + cp -pr ChangeLog /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + cp -pr COPYING /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + cp -pr examples/ /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + cp -pr IAFA-PACKAGE /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + cp -pr NEWS /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + cp -pr README /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + cp -pr TODO /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + cp -pr README.watchdog.ipmi /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + cp -pr README.RHEL /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64/usr/share/doc/watchdog + exit 0 Provides: config(watchdog) = 5.15-2.el8 watchdog = 5.15-2.el8 watchdog(x86-64) = 5.15-2.el8 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(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libtirpc.so.3()(64bit) libtirpc.so.3(TIRPC_0.3.0)(64bit) rtld(GNU_HASH) Processing files: watchdog-debugsource-5.15-2.el8.x86_64 Provides: watchdog-debugsource = 5.15-2.el8 watchdog-debugsource(x86-64) = 5.15-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: watchdog-debuginfo-5.15-2.el8.x86_64 Provides: debuginfo(build-id) = 124559e3155ada69e59fc140623f8f2b73be0ed1 debuginfo(build-id) = 7820c3bc0645cabdcc806fceb7e502c65900a7ca debuginfo(build-id) = e8b9da9cc7f20ca561274656c08838a04e797829 watchdog-debuginfo = 5.15-2.el8 watchdog-debuginfo(x86-64) = 5.15-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: watchdog-debugsource(x86-64) = 5.15-2.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64 Wrote: /builddir/build/RPMS/watchdog-5.15-2.el8.x86_64.rpm Wrote: /builddir/build/RPMS/watchdog-debugsource-5.15-2.el8.x86_64.rpm Wrote: /builddir/build/RPMS/watchdog-debuginfo-5.15-2.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CC10WS + umask 022 + cd /builddir/build/BUILD + cd watchdog-5.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/watchdog-5.15-2.el8.x86_64 + exit 0 Child return code was: 0