Cook: nagios-nsca 2.9.1 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libmcrypt-2.5.8-i486 Installing (pkg/local): libmcrypt-dev-2.5.8-any Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): libwrap-7.6.24-i486 Installing (pkg/local): tcpd-7.6.24-i486 Installing (pkg/local): libwrap-dev-7.6.24-any Extracting source archive "nsca-2.9.1.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 build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking db.h usability... no checking db.h presence... no checking for db.h... no checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for unistd.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/config.h usability... no checking sys/config.h presence... no checking for sys/config.h... no checking sys/int_types.h usability... no checking sys/int_types.h presence... no checking for sys/int_types.h... no checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking for sys/wait.h... (cached) yes checking for an ANSI C-conforming const... yes checking for working volatile... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 4 checking for uint32_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for main in -lnsl... no checking for socket in -lsocket... no checking for main in -lwrap... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for sig_atomic_t... yes checking for socklen_t... yes checking for type of socket size... size_t checking for libmcrypt-config... /usr/bin/libmcrypt-config checking for libmcrypt - version >= 2.4.11... yes checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating subst config.status: creating src/Makefile config.status: creating package/solaris/Makefile config.status: creating init-script config.status: creating sample-config/nsca.cfg config.status: creating sample-config/send_nsca.cfg config.status: creating sample-config/nsca.xinetd config.status: creating include/config.h *** Configuration summary for nsca 2.9.1 01-27-2012 ***: General Options: ------------------------- NSCA port: 5667 NSCA user: nagios NSCA group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NSCA daemon and client. cd ./src/; make all ; cd .. make[1]: Entering directory '/home/slitaz/wok/nagios-nsca/source/nagios-nsca-2.9.1/src' i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -DHAVE_LIBMCRYPT -I/usr/include -DHAVE_CONFIG_H -o nsca ./nsca.c ./netutils.c ./utils.c -Wl,-Os,--as-needed -L/usr/lib -lmcrypt -lwrap i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -DHAVE_LIBMCRYPT -I/usr/include -DHAVE_CONFIG_H -o send_nsca ./send_nsca.c ./netutils.c ./utils.c -Wl,-Os,--as-needed -L/usr/lib -lmcrypt ./nsca.c: In function 'read_config_file': ./nsca.c:479:29: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] asprintf(&checkresult_test,"%s/nsca.test.%i",check_result_path,getpid()); ^~~~~~~~ vsprintf ./nsca.c: In function 'write_checkresult_file': ./nsca.c:1246:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] fprintf(checkresult_file_fp,"file_time=%d\n\n",current_time); ~^ ~~~~~~~~~~~~ %ld ./nsca.c: In function 'main': ./nsca.c:153:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(config_file,sizeof(config_file)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nsca.c: In function 'write_pid_file': ./nsca.c:1447:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,pbuf,strlen(pbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nsca.c:1448:3: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(fd,usr,grp); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/fcntl.h:328, from ./../include/config.h:134, from ./../include/common.h:24, from ./nsca.c:19: In function 'open', inlined from 'read_config_file.constprop' at ./nsca.c:480:49: /usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments __open_missing_mode (); ^~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:24: nsca] Error 1 make[1]: Leaving directory '/home/slitaz/wok/nagios-nsca/source/nagios-nsca-2.9.1/src' *** Compile finished *** If the compile finished without any errors, you should find client and server binaries in the src/ subdirectory. Read the README file for more information on installing the binaries, creating configuration files, and using the server and client. cp: can't stat '/home/slitaz/wok/nagios-nsca/source/nagios-nsca-2.9.1/src/nsca': No such file or directory ================================================================================ Executing strip on all files... Done Time: 0.08s. Size: 32980 B -> 26944 B. Save: 6 KB. ================================================================================ Build dependencies to remove: 8 Removing: libgdbm libmcrypt libmcrypt-dev libwrap libwrap-dev perl perl-core tcpd Pack: nagios-nsca 2.9.1 ================================================================================ 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 Removing old package "nagios-nsca-2.9.1-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "nagios-nsca-2.9.1-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/nagios-nsca-2.9.1... Done Checking site script in source/nagios-nsca-2.9.1... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Debug information packerr. ================================================================================ Cook date: 2022-07-22 14:56 Wasted time : 7s 200:/usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments 215:cp: can't stat '/home/slitaz/wok/nagios-nsca/source/nagios-nsca-2.9.1/src/nsca': No such file or directory ================================================================================