D: [iurt_root_command] chroot warning: %configure2_5x is deprecated, use %configure instead Installing /home/iurt/rpmbuild/SRPMS/watchdog-5.15-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.rKPyvT + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf watchdog-5.15 + /usr/bin/gzip -dc /home/iurt/rpmbuild/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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.dlbTuU + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd watchdog-5.15 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-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 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 aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of aarch64-mageia-linux-gnu-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... aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-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 + /usr/bin/make -O -j8 V=1 VERBOSE=1 LIBS=-ltirpc Making all in src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o file_stat.o file_stat.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ifdown.o ifdown.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o iface.o iface.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o load.o load.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o file_table.o file_table.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o keep_alive.o keep_alive.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o lomount.o lomount.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o memory.o memory.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o mntent.o mntent.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o fstab.o fstab.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nfsmount_clnt.o nfsmount_clnt.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o net.o net.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pidfile.o pidfile.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nfsmount_xdr.o nfsmount_xdr.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o shutdown.o shutdown.c In file included from /usr/include/dirent.h:25, from shutdown.c:8: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o version.o version.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o test_binary.o test_binary.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o temp.o temp.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o sundries.o sundries.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o umount.o umount.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o logmessage.o logmessage.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o xmalloc.o xmalloc.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o errorcodes.o errorcodes.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o lock_mem.o lock_mem.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o daemon-pid.o daemon-pid.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o heartbeat.o heartbeat.c 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=] 96 | sprintf(tbufw, "%*s\n", TS_SIZE - 1, tbuf); | ^ In file included from /usr/include/stdio.h:867, 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 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nfsmount.o nfsmount.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o sigterm.o sigterm.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o watchdog.o watchdog.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o configfile.o configfile.c configfile.c: In function 'add_test_binaries': configfile.c:276:3: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] 276 | 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, | ^~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o read-conf.o read-conf.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o wd_keepalive.o wd_keepalive.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o mount.o mount.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] 706 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ mount.c:707:6: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] 707 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o wd_identify.o wd_identify.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 -ltirpc make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o wd_identify wd_identify.o logmessage.o xmalloc.o configfile.o read-conf.o -ltirpc make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' aarch64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 -ltirpc make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Nothing to be done for 'all-am'. + mv README README.orig + iconv -f ISO-8859-1 -t UTF-8 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3jpJfW + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64 + cd watchdog-5.15 + '[' 1 -eq 1 ']' + install -d -m0755 /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/etc + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/sbin' /usr/bin/install -p watchdog wd_keepalive wd_identify '/home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/sbin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15' make[2]: Nothing to be done for 'install-exec-am'. installing /etc/watchdog.conf /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/man/man5' /usr/bin/install -p -m 644 watchdog.conf.5 '/home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/man/man5' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/man/man8' /usr/bin/install -p -m 644 watchdog.8 wd_keepalive.8 wd_identify.8 '/home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/man/man8' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15' + install -Dp -m0644 redhat/sysconf.redhat /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/etc/sysconfig/watchdog + install -Dp -m0755 redhat/watchdog.init /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/etc/rc.d/init.d/watchdog + install -Dp -m0644 /home/iurt/rpmbuild/SOURCES/watchdog.service /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/lib/systemd/system/watchdog.service + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 5.15-1.mga8 --unique-debug-suffix -5.15-1.mga8.aarch64 --unique-debug-src-base watchdog-5.15-1.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/watchdog-5.15 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/sbin/watchdog explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/sbin/wd_identify explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/sbin/wd_keepalive extracting debug info from /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/sbin/wd_identify extracting debug info from /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/sbin/watchdog extracting debug info from /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/sbin/wd_keepalive original debug info size: 628kB, size after compression: 520kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 474 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /etc/rc.d/init.d/watchdog from /bin/sh to #!/usr/bin/sh Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.EL0RrT + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd watchdog-5.15 + '[' 1 -eq 1 ']' + make check Making check in src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/watchdog-5.15' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: watchdog-5.15-1.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.vlkasU + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd watchdog-5.15 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/doc/watchdog + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/doc/watchdog + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/doc/watchdog + cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/doc/watchdog + cp -pr NEWS /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/doc/watchdog + cp -pr README /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/doc/watchdog + cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/doc/watchdog + cp -pr README.watchdog.ipmi /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/doc/watchdog + cp -pr examples/ /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64/usr/share/doc/watchdog + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(watchdog) = 5.15-1.mga8 watchdog = 5.15-1.mga8 watchdog(aarch-64) = 5.15-1.mga8 Requires(interp): /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 Requires(preun): /bin/sh Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libtirpc.so.3()(64bit) libtirpc.so.3(TIRPC_0.3.0)(64bit) Processing files: watchdog-debugsource-5.15-1.mga8.aarch64 Provides: watchdog-debugsource = 5.15-1.mga8 watchdog-debugsource(aarch-64) = 5.15-1.mga8 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-1.mga8.aarch64 Provides: debuginfo(build-id) = 3a94ee5c69b04b23f3abd54b7b888a7ce3e4dd62 debuginfo(build-id) = 4cbd8171a8526292c350dace26dedd4992992073 debuginfo(build-id) = aca9e1460c2d0751ce9fcc1c77dfca0f9c16be35 watchdog-debuginfo = 5.15-1.mga8 watchdog-debuginfo(aarch-64) = 5.15-1.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: watchdog-debugsource(aarch-64) = 5.15-1.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/watchdog-5.15-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/watchdog-debugsource-5.15-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/watchdog-debuginfo-5.15-1.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.iXYWaW + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd watchdog-5.15 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/watchdog-5.15-1.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.OqUI5S + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf watchdog-5.15 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!