Cook: vfsync 2017-05-21 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): openssl-dev-1.1.1a-i486 Installing (pkg/local): libunistring-0.9.10-i486 Installing (pkg/local): libidn2-2.0.5-i486 Installing (pkg/local): libcurl-7.63.0-i486 Installing (pkg/local): curl-7.63.0-i486 Installing (pkg/local): libunistring-dev-0.9.10-any Installing (pkg/local): libidn2-dev-2.0.5-any Installing (pkg/local): zlib-dev-1.2.11-i486 Installing (pkg/local): curl-dev-7.63.0-any Extracting source archive "vfsync-2017-05-21.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 gcc -O2 -Wall -g -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -D_GNU_SOURCE -DCONFIG_VERSION=\"2017-05-21\" -c -o vfsync.o vfsync.c gcc -O2 -Wall -g -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -D_GNU_SOURCE -DCONFIG_VERSION=\"2017-05-21\" -c -o fs_wget.o fs_wget.c gcc -O2 -Wall -g -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -D_GNU_SOURCE -DCONFIG_VERSION=\"2017-05-21\" -c -o fs.o fs.c gcc -O2 -Wall -g -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -D_GNU_SOURCE -DCONFIG_VERSION=\"2017-05-21\" -c -o fs_disk.o fs_disk.c gcc -O2 -Wall -g -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -D_GNU_SOURCE -DCONFIG_VERSION=\"2017-05-21\" -c -o fs_utils.o fs_utils.c gcc -O2 -Wall -g -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -D_GNU_SOURCE -DCONFIG_VERSION=\"2017-05-21\" -c -o cutils.o cutils.c gcc -O2 -Wall -g -Werror -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -D_GNU_SOURCE -DCONFIG_VERSION=\"2017-05-21\" -c -o vfagent.o vfagent.c vfsync.c: In function 'encrypt_file': vfsync.c:2159:5: error: 'RAND_pseudo_bytes' is deprecated [-Werror=deprecated-declarations] RAND_pseudo_bytes(iv, AES_BLOCK_SIZE); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/aes.h:13, from fs_wget.h:32, from vfsync.c:48: /usr/include/openssl/rand.h:44:1: note: declared here DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) ^~~~~~~~~~~~~~~~~~ fs_wget.c: In function 'fs_net_event_loop': fs_wget.c:282:28: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict] select(fd_max + 1, &rfds, &wfds, &rfds, &tv); ^~~~~ ~~~~~ vfsync.c: In function 'fs_lock': vfsync.c:1056:13: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result] write(fd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ vfagent.c: In function 'main': vfagent.c:234:17: error: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Werror=unused-result] chdir("/"); ^~~~~~~~~~ vfagent.c: In function 'handle_client': vfagent.c:141:5: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result] write(fd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:55: fs_wget.o] Error 1 make: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make: *** [Makefile:55: vfagent.o] Error 1 cc1: all warnings being treated as errors make: *** [Makefile:55: vfsync.o] Error 1 Build dependencies to remove: 9 Removing: curl curl-dev libcurl libidn2 libidn2-dev libunistring libunistring-dev openssl-dev zlib-dev Debug information ret1. ================================================================================ Cook date: 2018-12-27 07:12 Wasted time : 5s 31:vfsync.c:2159:5: error: 'RAND_pseudo_bytes' is deprecated [-Werror=deprecated-declarations] 41:fs_wget.c:282:28: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict] 45:vfsync.c:1056:13: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result] 49:vfagent.c:234:17: error: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Werror=unused-result] 53:vfagent.c:141:5: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result] ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================