Cook: watchdog 5.15 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libtirpc-dev-1.1.4-any Extracting source archive "watchdog-5.15.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk 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) awk checking for i486-slitaz-linux-gcc... i486-slitaz-linux-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 i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking whether i486-slitaz-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for sendmail... /usr/sbin/sendmail checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 i486-slitaz-linux-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... no 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 Making all in src make[1]: Entering directory '/home/slitaz/wok/watchdog/source/watchdog-5.15/src' i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT file_stat.o -MD -MP -MF .deps/file_stat.Tpo -c -o file_stat.o file_stat.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT file_table.o -MD -MP -MF .deps/file_table.Tpo -c -o file_table.o file_table.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT fstab.o -MD -MP -MF .deps/fstab.Tpo -c -o fstab.o fstab.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT iface.o -MD -MP -MF .deps/iface.Tpo -c -o iface.o iface.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT ifdown.o -MD -MP -MF .deps/ifdown.Tpo -c -o ifdown.o ifdown.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT keep_alive.o -MD -MP -MF .deps/keep_alive.Tpo -c -o keep_alive.o keep_alive.c mv -f .deps/file_stat.Tpo .deps/file_stat.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c mv -f .deps/file_table.Tpo .deps/file_table.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT lomount.o -MD -MP -MF .deps/lomount.Tpo -c -o lomount.o lomount.c mv -f .deps/iface.Tpo .deps/iface.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT memory.o -MD -MP -MF .deps/memory.Tpo -c -o memory.o memory.c mv -f .deps/ifdown.Tpo .deps/ifdown.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT mntent.o -MD -MP -MF .deps/mntent.Tpo -c -o mntent.o mntent.c mv -f .deps/keep_alive.Tpo .deps/keep_alive.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT mount.o -MD -MP -MF .deps/mount.Tpo -c -o mount.o mount.c mv -f .deps/fstab.Tpo .deps/fstab.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT net.o -MD -MP -MF .deps/net.Tpo -c -o net.o net.c mv -f .deps/load.Tpo .deps/load.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT nfsmount.o -MD -MP -MF .deps/nfsmount.Tpo -c -o nfsmount.o nfsmount.c mv -f .deps/nfsmount.Tpo .deps/nfsmount.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT nfsmount_clnt.o -MD -MP -MF .deps/nfsmount_clnt.Tpo -c -o nfsmount_clnt.o nfsmount_clnt.c mv -f .deps/nfsmount_clnt.Tpo .deps/nfsmount_clnt.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT nfsmount_xdr.o -MD -MP -MF .deps/nfsmount_xdr.Tpo -c -o nfsmount_xdr.o nfsmount_xdr.c mv -f .deps/nfsmount_xdr.Tpo .deps/nfsmount_xdr.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT pidfile.o -MD -MP -MF .deps/pidfile.Tpo -c -o pidfile.o pidfile.c mv -f .deps/lomount.Tpo .deps/lomount.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT shutdown.o -MD -MP -MF .deps/shutdown.Tpo -c -o shutdown.o shutdown.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" ^~~~~~~ mv -f .deps/memory.Tpo .deps/memory.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT sundries.o -MD -MP -MF .deps/sundries.Tpo -c -o sundries.o sundries.c mv -f .deps/mntent.Tpo .deps/mntent.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT temp.o -MD -MP -MF .deps/temp.Tpo -c -o temp.o temp.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()); ^~~~~~~~~~~~~~~~ mv -f .deps/pidfile.Tpo .deps/pidfile.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT test_binary.o -MD -MP -MF .deps/test_binary.Tpo -c -o test_binary.o test_binary.c mv -f .deps/sundries.Tpo .deps/sundries.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT umount.o -MD -MP -MF .deps/umount.Tpo -c -o umount.o umount.c mv -f .deps/net.Tpo .deps/net.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c mv -f .deps/version.Tpo .deps/version.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT watchdog.o -MD -MP -MF .deps/watchdog.Tpo -c -o watchdog.o watchdog.c mv -f .deps/temp.Tpo .deps/temp.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT logmessage.o -MD -MP -MF .deps/logmessage.Tpo -c -o logmessage.o logmessage.c mv -f .deps/test_binary.Tpo .deps/test_binary.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c mv -f .deps/shutdown.Tpo .deps/shutdown.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT heartbeat.o -MD -MP -MF .deps/heartbeat.Tpo -c -o heartbeat.o heartbeat.c mv -f .deps/mount.Tpo .deps/mount.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT lock_mem.o -MD -MP -MF .deps/lock_mem.Tpo -c -o lock_mem.o lock_mem.c mv -f .deps/logmessage.Tpo .deps/logmessage.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT daemon-pid.o -MD -MP -MF .deps/daemon-pid.Tpo -c -o daemon-pid.o daemon-pid.c mv -f .deps/umount.Tpo .deps/umount.Po mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT configfile.o -MD -MP -MF .deps/configfile.Tpo -c -o configfile.o configfile.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT errorcodes.o -MD -MP -MF .deps/errorcodes.Tpo -c -o errorcodes.o errorcodes.c mv -f .deps/lock_mem.Tpo .deps/lock_mem.Po mv -f .deps/heartbeat.Tpo .deps/heartbeat.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT read-conf.o -MD -MP -MF .deps/read-conf.Tpo -c -o read-conf.o read-conf.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT sigterm.o -MD -MP -MF .deps/sigterm.Tpo -c -o sigterm.o sigterm.c mv -f .deps/errorcodes.Tpo .deps/errorcodes.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT wd_keepalive.o -MD -MP -MF .deps/wd_keepalive.Tpo -c -o wd_keepalive.o wd_keepalive.c mv -f .deps/daemon-pid.Tpo .deps/daemon-pid.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -D_GLIBCXX_USE_C99_MATH=1 -I/usr/include/tirpc/ -march=i486 -Os -pipe -mindirect-branch=thunk -MT wd_identify.o -MD -MP -MF .deps/wd_identify.Tpo -c -o wd_identify.o wd_identify.c configfile.c: In function 'add_test_binaries': 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, ^~~~~~~~~ mv -f .deps/watchdog.Tpo .deps/watchdog.Po mv -f .deps/configfile.Tpo .deps/configfile.Po mv -f .deps/sigterm.Tpo .deps/sigterm.Po mv -f .deps/wd_identify.Tpo .deps/wd_identify.Po mv -f .deps/read-conf.Tpo .deps/read-conf.Po i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -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 i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -ltirpc -o wd_identify wd_identify.o logmessage.o xmalloc.o configfile.o read-conf.o mv -f .deps/wd_keepalive.Tpo .deps/wd_keepalive.Po i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -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 make[1]: Leaving directory '/home/slitaz/wok/watchdog/source/watchdog-5.15/src' make[1]: Entering directory '/home/slitaz/wok/watchdog/source/watchdog-5.15' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/slitaz/wok/watchdog/source/watchdog-5.15' Making install in src make[1]: Entering directory '/home/slitaz/wok/watchdog/source/watchdog-5.15/src' make[2]: Entering directory '/home/slitaz/wok/watchdog/source/watchdog-5.15/src' make[2]: Nothing to be done for 'install-data-am'. .././install-sh -c -d '/home/slitaz/wok/watchdog/install/usr/sbin' /usr/bin/install -c watchdog wd_keepalive wd_identify '/home/slitaz/wok/watchdog/install/usr/sbin' make[2]: Leaving directory '/home/slitaz/wok/watchdog/source/watchdog-5.15/src' make[1]: Leaving directory '/home/slitaz/wok/watchdog/source/watchdog-5.15/src' make[1]: Entering directory '/home/slitaz/wok/watchdog/source/watchdog-5.15' make[2]: Entering directory '/home/slitaz/wok/watchdog/source/watchdog-5.15' make[2]: Nothing to be done for 'install-exec-am'. installing /etc/watchdog.conf ./install-sh -c -d '/home/slitaz/wok/watchdog/install/usr/share/man/man5' ./install-sh -c -d '/home/slitaz/wok/watchdog/install/usr/share/man/man8' /usr/bin/install -c -m 644 watchdog.8 wd_keepalive.8 wd_identify.8 '/home/slitaz/wok/watchdog/install/usr/share/man/man8' /usr/bin/install -c -m 644 watchdog.conf.5 '/home/slitaz/wok/watchdog/install/usr/share/man/man5' make[2]: Leaving directory '/home/slitaz/wok/watchdog/source/watchdog-5.15' make[1]: Leaving directory '/home/slitaz/wok/watchdog/source/watchdog-5.15' ================================================================================ Executing strip on all files... Done Time: 0.37s. Size: 144784 B -> 115336 B. Save: 29 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.57s. Size: 28003 B -> 11108 B. Save: 16 KB. Cache hit: 4/4. ================================================================================ Build dependencies to remove: 2 Removing: advancecomp-static libtirpc-dev Pack: watchdog 5.15 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "watchdog-5.15-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/watchdog-5.15... Done Checking site script in source/watchdog-5.15... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: watchdog 5.15 ================================================================================ Src file : watchdog-5.15.tar.gz Src size : 224.0K Source dir : 1.9M Produced : 176.0K Cook time : 13s Cook date : 2020-09-13 07:05 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 156.0K : 35.5K : 4 : watchdog-5.15-i486.tazpkg ================================================================================