Mock Version: 2.11
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/watchdog.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1626867954.820748/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fae5e61df10>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hlfr_9_5:/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=FalseprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hlfr_9_5:/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', '61264301bd3645a0b3f2df7d8c1521ec', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1626867954.820748/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hlfr_9_5:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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=1614643200
Wrote: /builddir/build/SRPMS/watchdog-5.15-10.fc35.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/fedora-rawhide-x86_64-1626867954.820748/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fae5e61df10>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hlfr_9_5:/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=FalseprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hlfr_9_5:/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', 'b403c1e33f014abda2487ccc2d5bb288', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1626867954.820748/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hlfr_9_5:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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=1614643200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.32JcwT
+ 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 #1 (0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch):'
Patch #1 (0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file src/watchdog.c
+ echo 'Patch #2 (0002-Generalize-and-make-watchdog-refresh-settimeout-work.patch):'
Patch #2 (0002-Generalize-and-make-watchdog-refresh-settimeout-work.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file include/extern.h
patching file src/configfile.c
patching file src/keep_alive.c
patching file watchdog.conf
patching file watchdog.conf.5
Patch #3 (0003-Ignore-build-products-in-GIT.patch):
+ echo 'Patch #3 (0003-Ignore-build-products-in-GIT.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file .gitignore
Patch #4 (0004-Compile-with-musl-when-nfs-is-disabled.patch):
+ echo 'Patch #4 (0004-Compile-with-musl-when-nfs-is-disabled.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file include/sundries.h
Patch #5 (0005-Rename-READ_ENUM-to-READ_YESNO.patch):
+ echo 'Patch #5 (0005-Rename-READ_ENUM-to-READ_YESNO.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file src/configfile.c
Patch #6 (0006-Make-IT87-fix-up-automatic-by-default.patch):
+ echo 'Patch #6 (0006-Make-IT87-fix-up-automatic-by-default.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file include/extern.h
patching file src/configfile.c
patching file src/keep_alive.c
patching file watchdog.conf.5
Patch #7 (0007-Synced-Debian-files-with-5.15-2.patch):
+ echo 'Patch #7 (0007-Synced-Debian-files-with-5.15-2.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file debian/changelog
patching file debian/control
patching file debian/po/nl.po
patching file debian/po/ru.po
patching file debian/rules
Patch #8 (0008-Fix-automated-CentOS-7-build.patch):
+ echo 'Patch #8 (0008-Fix-automated-CentOS-7-build.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file redhat/watchdog.spec
Patch #9 (0009-Bugfix-against-watchdog-configuration-file-corruptio.patch):
+ echo 'Patch #9 (0009-Bugfix-against-watchdog-configuration-file-corruptio.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file src/test_binary.c
patching file src/watchdog.c
Patch #10 (0010-Choose-libtirpc-or-another-RPC-library-for-XDR-heade.patch):
+ echo 'Patch #10 (0010-Choose-libtirpc-or-another-RPC-library-for-XDR-heade.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file configure.ac
patching file src/Makefile.am
Patch #99 (0004-watchdog-5.13-rhseldoc.patch):
+ echo 'Patch #99 (0004-watchdog-5.13-rhseldoc.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rhseldoc --fuzz=0
patching file watchdog.8
patching file watchdog.conf
Hunk #2 succeeded at 50 (offset 3 lines).
patching file watchdog.conf.5
Hunk #1 succeeded at 111 (offset 6 lines).
Hunk #2 succeeded at 126 (offset 6 lines).
Hunk #3 succeeded at 135 (offset 6 lines).
Hunk #4 succeeded at 167 (offset 6 lines).
+ autoreconf -i
configure.ac:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:6: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
+ cp /builddir/build/SOURCES/README.watchdog.ipmi .
+ cp /builddir/build/SOURCES/README.Fedora .
+ mv README README.orig
+ iconv -f ISO-8859-1 -t UTF-8
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.konvNI
+ umask 022
+ cd /builddir/build/BUILD
+ cd watchdog-5.15
+ 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	2021-07-21 11:47:46.705908315 +0000
+++ ./configure	2021-07-21 11:47:47.497905506 +0000
@@ -1926,7 +1926,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
+ '[' 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 -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/include/tirpc' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed  -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... 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 whether make supports the include directive... yes (GNU style)
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 for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for RPC... yes
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 -j2
Making all in src
make[1]: Entering directory '/builddir/build/BUILD/watchdog-5.15/src'
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-file_stat.o `test -f 'file_stat.c' || echo './'`file_stat.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-file_table.o `test -f 'file_table.c' || echo './'`file_table.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-fstab.o `test -f 'fstab.c' || echo './'`fstab.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-iface.o `test -f 'iface.c' || echo './'`iface.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-ifdown.o `test -f 'ifdown.c' || echo './'`ifdown.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-keep_alive.o `test -f 'keep_alive.c' || echo './'`keep_alive.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-load.o `test -f 'load.c' || echo './'`load.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-lomount.o `test -f 'lomount.c' || echo './'`lomount.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-memory.o `test -f 'memory.c' || echo './'`memory.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-mntent.o `test -f 'mntent.c' || echo './'`mntent.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-mount.o `test -f 'mount.c' || echo './'`mount.c
mount.c: In function 'try_mount_one':
mount.c:706:41: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  706 |                                         setuid(getuid());
      |                                         ^~~~~~~~~~~~~~~~
mount.c:707:41: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
  707 |                                         setgid(getgid());
      |                                         ^~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-net.o `test -f 'net.c' || echo './'`net.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-nfsmount.o `test -f 'nfsmount.c' || echo './'`nfsmount.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-nfsmount_clnt.o `test -f 'nfsmount_clnt.c' || echo './'`nfsmount_clnt.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-nfsmount_xdr.o `test -f 'nfsmount_xdr.c' || echo './'`nfsmount_xdr.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-pidfile.o `test -f 'pidfile.c' || echo './'`pidfile.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-shutdown.o `test -f 'shutdown.c' || echo './'`shutdown.c
In file included from /usr/include/dirent.h:25,
                 from shutdown.c:8:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-sundries.o `test -f 'sundries.c' || echo './'`sundries.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-temp.o `test -f 'temp.c' || echo './'`temp.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-test_binary.o `test -f 'test_binary.c' || echo './'`test_binary.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-umount.o `test -f 'umount.c' || echo './'`umount.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-version.o `test -f 'version.c' || echo './'`version.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-watchdog.o `test -f 'watchdog.c' || echo './'`watchdog.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-logmessage.o `test -f 'logmessage.c' || echo './'`logmessage.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-xmalloc.o `test -f 'xmalloc.c' || echo './'`xmalloc.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-heartbeat.o `test -f 'heartbeat.c' || echo './'`heartbeat.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-lock_mem.o `test -f 'lock_mem.c' || echo './'`lock_mem.c
heartbeat.c: In function 'write_heartbeat':
heartbeat.c:96:38: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
   96 |                 sprintf(tbufw, "%*s\n", TS_SIZE - 1, tbuf);
      |                                      ^
In file included from /usr/include/stdio.h:888,
                 from ../include/extern.h:4,
                 from heartbeat.c:20:
/usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 13 and 14 bytes into a destination of size 13
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-daemon-pid.o `test -f 'daemon-pid.c' || echo './'`daemon-pid.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-configfile.o `test -f 'configfile.c' || echo './'`configfile.c
configfile.c: In function 'add_test_binaries':
configfile.c:287:17: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
  287 |                 ret = readdir_r(d, &dentry, &rdret);
      |                 ^~~
In file included from configfile.c:18:
/usr/include/dirent.h:183:12: note: declared here
  183 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-errorcodes.o `test -f 'errorcodes.c' || echo './'`errorcodes.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-read-conf.o `test -f 'read-conf.c' || echo './'`read-conf.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include  -I/usr/include/tirpc  -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/include/tirpc -c -o watchdog-sigterm.o `test -f 'sigterm.c' || echo './'`sigterm.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -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/include/tirpc -c -o wd_keepalive.o wd_keepalive.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -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/include/tirpc -c -o logmessage.o logmessage.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -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/include/tirpc -c -o lock_mem.o lock_mem.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -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/include/tirpc -c -o daemon-pid.o daemon-pid.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -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/include/tirpc -c -o xmalloc.o xmalloc.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -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/include/tirpc -c -o configfile.o configfile.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -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/include/tirpc -c -o keep_alive.o keep_alive.c
configfile.c: In function 'add_test_binaries':
configfile.c:287:17: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations]
  287 |                 ret = readdir_r(d, &dentry, &rdret);
      |                 ^~~
In file included from configfile.c:18:
/usr/include/dirent.h:183:12: note: declared here
  183 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -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/include/tirpc -c -o read-conf.o read-conf.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -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/include/tirpc -c -o sigterm.o sigterm.c
gcc -DHAVE_CONFIG_H -I. -I../include  -I../include   -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/include/tirpc -c -o wd_identify.o wd_identify.c
gcc -I/usr/include/tirpc  -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/include/tirpc  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -ltirpc -o watchdog watchdog-file_stat.o watchdog-file_table.o watchdog-fstab.o watchdog-iface.o watchdog-ifdown.o watchdog-keep_alive.o watchdog-load.o watchdog-lomount.o watchdog-memory.o watchdog-mntent.o watchdog-mount.o watchdog-net.o watchdog-nfsmount.o watchdog-nfsmount_clnt.o watchdog-nfsmount_xdr.o watchdog-pidfile.o watchdog-shutdown.o watchdog-sundries.o watchdog-temp.o watchdog-test_binary.o watchdog-umount.o watchdog-version.o watchdog-watchdog.o watchdog-logmessage.o watchdog-xmalloc.o watchdog-heartbeat.o watchdog-lock_mem.o watchdog-daemon-pid.o watchdog-configfile.o watchdog-errorcodes.o watchdog-read-conf.o watchdog-sigterm.o -ltirpc  
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 -I/usr/include/tirpc  -Wl,-z,relro -Wl,--as-needed  -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 -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/include/tirpc  -Wl,-z,relro -Wl,--as-needed  -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'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EJ4Gyu
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64
++ dirname /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64
+ cd watchdog-5.15
+ install -d -m0755 /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/etc
+ install -d -m0755 /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/etc/watchdog.d
+ make DESTDIR=/builddir/build/BUILDROOT/watchdog-5.15-10.fc35.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-10.fc35.x86_64/usr/sbin'
  /usr/bin/install -c watchdog wd_keepalive wd_identify '/builddir/build/BUILDROOT/watchdog-5.15-10.fc35.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-10.fc35.x86_64/usr/share/man/man5'
 /usr/bin/install -c -m 644 watchdog.conf.5 '/builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/man/man5'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/watchdog-5.15-10.fc35.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-10.fc35.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 /builddir/build/SOURCES/watchdog.service /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/lib/systemd/system/watchdog.service
+ install -Dp -m0644 /builddir/build/SOURCES/watchdog-ping.service /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/lib/systemd/system/watchdog-ping.service
+ install -Dd -m0755 /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/libexec/watchdog/scripts
+ rm watchdog.sysconfig
+ /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 5.15-10.fc35 --unique-debug-suffix -5.15-10.fc35.x86_64 --unique-debug-src-base watchdog-5.15-10.fc35.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-10.fc35.x86_64/usr/sbin/wd_identify
extracting debug info from /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/sbin/watchdog
extracting debug info from /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/sbin/wd_keepalive
original debug info size: 448kB, size after compression: 388kB
/usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match.
478 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/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: watchdog-5.15-10.fc35.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.07TGKa
+ umask 022
+ cd /builddir/build/BUILD
+ cd watchdog-5.15
+ DOCDIR=/builddir/build/BUILDROOT/watchdog-5.15-10.fc35.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-10.fc35.x86_64/usr/share/doc/watchdog
+ cp -pr AUTHORS /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/doc/watchdog
+ cp -pr ChangeLog /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/doc/watchdog
+ cp -pr COPYING /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/doc/watchdog
+ cp -pr examples/ /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/doc/watchdog
+ cp -pr IAFA-PACKAGE /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/doc/watchdog
+ cp -pr NEWS /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/doc/watchdog
+ cp -pr README /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/doc/watchdog
+ cp -pr TODO /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/doc/watchdog
+ cp -pr README.watchdog.ipmi /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/doc/watchdog
+ cp -pr README.Fedora /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64/usr/share/doc/watchdog
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: config(watchdog) = 5.15-10.fc35 watchdog = 5.15-10.fc35 watchdog(x86-64) = 5.15-10.fc35
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: glibc >= 2.33.9000-43.fc35 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.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libtirpc.so.3()(64bit) rtld(GNU_HASH)
Processing files: watchdog-debugsource-5.15-10.fc35.x86_64
Provides: watchdog-debugsource = 5.15-10.fc35 watchdog-debugsource(x86-64) = 5.15-10.fc35
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-10.fc35.x86_64
Provides: debuginfo(build-id) = 017d659e6c8ca6515dd6c0c6d890815fe9a20ffe debuginfo(build-id) = 4bd1cf359ea1354becc6f99629e6b859518d293c debuginfo(build-id) = d3a31d04bf3c464605b29b543d217c92d06fa069 watchdog-debuginfo = 5.15-10.fc35 watchdog-debuginfo(x86-64) = 5.15-10.fc35
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-10.fc35
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64
Wrote: /builddir/build/RPMS/watchdog-debugsource-5.15-10.fc35.x86_64.rpm
Wrote: /builddir/build/RPMS/watchdog-debuginfo-5.15-10.fc35.x86_64.rpm
Wrote: /builddir/build/RPMS/watchdog-5.15-10.fc35.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sRdhwc
+ umask 022
+ cd /builddir/build/BUILD
+ cd watchdog-5.15
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/watchdog-5.15-10.fc35.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0