>>> Building on exopi-2 under security/foremost DIST = [security/foremost:foremost-1.5.7.tar.gz] FULLPKGNAME = foremost-1.5.7p4 distfiles size=52352 >>> Running build in security/foremost at 1735056458.42 ===> security/foremost ===> Building from scratch foremost-1.5.7p4 ===> Verifying specs: c ===> found c.100.3 ===> Checking files for foremost-1.5.7p4 `/exopi-cvs/ports/distfiles/foremost-1.5.7.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for foremost-1.5.7p4 cd /exopi-obj/pobj/foremost-1.5.7/foremost-1.5.7 && gunzip foremost.8.gz ===> Patching for foremost-1.5.7p4 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig Mon Feb 27 20:10:41 2017 |+++ Makefile Mon Feb 27 20:11:12 2017 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 39. done ===> Applying OpenBSD patch patch-api_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix build with -fno-common: move variable from ole.h | |Index: api.c |--- api.c.orig |+++ api.c -------------------------- Patching file api.c using Plan A... Hunk #1 succeeded at 9. done ===> Applying OpenBSD patch patch-main_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix build with -fno-common: move globals from main.h | |Index: main.c |--- main.c.orig |+++ main.c -------------------------- Patching file main.c using Plan A... Hunk #1 succeeded at 16. done ===> Applying OpenBSD patch patch-main_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix build with -fno-common | |Index: main.h |--- main.h.orig |+++ main.h -------------------------- Patching file main.h using Plan A... Hunk #1 succeeded at 187. Hunk #2 succeeded at 287. Hunk #3 succeeded at 339. Hunk #4 succeeded at 362. done ===> Applying OpenBSD patch patch-ole_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix build with -fno-common | |Index: ole.h |--- ole.h.orig |+++ ole.h -------------------------- Patching file ole.h using Plan A... Hunk #1 succeeded at 84. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for foremost-1.5.7p4 ===> Configuring for foremost-1.5.7p4 perl -pi -e 's,/usr/local/etc,/etc,' /exopi-obj/pobj/foremost-1.5.7/foremost-1.5.7/config.c ===> Building for foremost-1.5.7p4 cc -Wall -DVERSION=\"1.5.7\" -D__UNIX -O2 -pipe -c main.c main.c:293:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(!strstr(s->config_file,*argv)!=0 && !dir) ^ ~~ main.c:293:7: note: add parentheses after the '!' to evaluate the comparison first if(!strstr(s->config_file,*argv)!=0 && !dir) ^ ( ) main.c:293:7: note: add parentheses around left hand side expression to silence this warning if(!strstr(s->config_file,*argv)!=0 && !dir) ^ ( ) main.c:319:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(!strstr(s->config_file,*argv)!=0 && !dir) ^ ~~ main.c:319:8: note: add parentheses after the '!' to evaluate the comparison first if(!strstr(s->config_file,*argv)!=0 && !dir) ^ ( ) main.c:319:8: note: add parentheses around left hand side expression to silence this warning if(!strstr(s->config_file,*argv)!=0 && !dir) ^ ( ) 2 warnings generated. cc -Wall -DVERSION=\"1.5.7\" -D__UNIX -O2 -pipe -c state.c cc -Wall -DVERSION=\"1.5.7\" -D__UNIX -O2 -pipe -c helpers.c cc -Wall -DVERSION=\"1.5.7\" -D__UNIX -O2 -pipe -c config.c config.c:27:6: warning: expression result unused [-Wunused-value] *rd++; ^~~~~ config.c:32:6: warning: expression result unused [-Wunused-value] *rd++; ^~~~~ config.c:37:6: warning: expression result unused [-Wunused-value] *rd++; ^~~~~ config.c:42:6: warning: expression result unused [-Wunused-value] *rd++; ^~~~~ config.c:47:6: warning: expression result unused [-Wunused-value] *rd++; ^~~~~ config.c:52:6: warning: expression result unused [-Wunused-value] *rd++; ^~~~~ config.c:57:6: warning: expression result unused [-Wunused-value] *rd++; ^~~~~ 7 warnings generated. cc -Wall -DVERSION=\"1.5.7\" -D__UNIX -O2 -pipe -c cli.c cc -Wall -DVERSION=\"1.5.7\" -D__UNIX -c engine.c engine.c:319:17: warning: variable 'current_pos' set but not used [-Wunused-but-set-variable] unsigned char *current_pos = NULL; ^ 1 warning generated. cc -Wall -DVERSION=\"1.5.7\" -D__UNIX -O2 -pipe -c dir.c dir.c:327:15: warning: comparison of array 'needle->comment' equal to a null pointer is always false [-Wtautological-pointer-compare] if (needle->comment == NULL) ~~~~~~~~^~~~~~~ ~~~~ dir.c:387:14: warning: comparison of array 'needle->comment' equal to a null pointer is always false [-Wtautological-pointer-compare] if (needle->comment == NULL) ~~~~~~~~^~~~~~~ ~~~~ 2 warnings generated. cc -Wall -DVERSION=\"1.5.7\" -D__UNIX -O2 -pipe -c extract.c extract.c:556:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] unsigned char *currentpos = NULL; ^ extract.c:722:9: warning: variable 'extrasize' set but not used [-Wunused-but-set-variable] int extrasize = 0; ^ extract.c:1150:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] unsigned char *currentpos = NULL; ^ extract.c:1157:14: warning: variable 'fileObjHeaderSize' set but not used [-Wunused-but-set-variable] u_int64_t fileObjHeaderSize = 0; ^ extract.c:1404:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] unsigned char *currentpos = foundat; ^ extract.c:1484:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] int j = 0; ^ extract.c:1824:17: warning: variable 'currentpos' set but not used [-Wunused-but-set-variable] unsigned char *currentpos = NULL; ^ extract.c:2148:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(comment, ascii_time); ^~~~~~~~~~ extract.c:2148:19: note: treat the string as an argument to avoid this sprintf(comment, ascii_time); ^ "%s", extract.c:2097:15: warning: variable 'SizeOfCode' set but not used [-Wunused-but-set-variable] unsigned int SizeOfCode = 0; ^ extract.c:2098:15: warning: variable 'SizeOfInitializedData' set but not used [-Wunused-but-set-variable] unsigned int SizeOfInitializedData = 0; ^ extract.c:2099:15: warning: variable 'SizeOfUninitializedData' set but not used [-Wunused-but-set-variable] unsigned int SizeOfUninitializedData = 0; ^ extract.c:2100:15: warning: variable 'rva' set but not used [-Wunused-but-set-variable] unsigned int rva = 0; ^ extract.c:2103:15: warning: variable 'sizeofimage' set but not used [-Wunused-but-set-variable] unsigned int sizeofimage = 0; ^ extract.c:2105:15: warning: variable 'size_of_headers' set but not used [-Wunused-but-set-variable] unsigned int size_of_headers = 0; ^ extract.c:2109:15: warning: variable 'align' set but not used [-Wunused-but-set-variable] unsigned int align = 0; ^ extract.c:2272:13: warning: variable 'file_size' set but not used [-Wunused-but-set-variable] u_int64_t file_size = 0; ^ 16 warnings generated. cc -Wall -DVERSION=\"1.5.7\" -D__UNIX -O2 -pipe -c api.c api.c:172:11: warning: comparison of array 'dl->name' equal to a null pointer is always false [-Wtautological-pointer-compare] if (dl->name == NULL) ~~~~^~~~ ~~~~ api.c:482:10: warning: variable 'unknown' set but not used [-Wunused-but-set-variable] short unknown; ^ 2 warnings generated. cc -Wall -DVERSION=\"1.5.7\" -D__UNIX main.o state.o helpers.o config.o cli.o engine.o dir.o extract.o api.o -o foremost ld: warning: dir.c(dir.o:(cleanup_output)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: dir.c(dir.o:(cleanup_output)): warning: strcat() is almost always misused, please use strlcat() ld: warning: engine.c(engine.o:(search_chunk)): warning: sprintf() is often misused, please use snprintf() >>> Running package in security/foremost at 1735056464.42 ===> security/foremost ===> Faking installation for foremost-1.5.7p4 install -m 755 foremost /exopi-obj/pobj/foremost-1.5.7/fake-amd64/usr/local/bin install -m 444 foremost.8 /exopi-obj/pobj/foremost-1.5.7/fake-amd64/usr/local/man/man8 install -m 444 foremost.conf /exopi-obj/pobj/foremost-1.5.7/fake-amd64/usr/local/share/examples/ ===> Building package for foremost-1.5.7p4 Create /exopi-cvs/ports/packages/amd64/all/foremost-1.5.7p4.tgz Creating package foremost-1.5.7p4 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|***** | 8% checksumming|********** | 17% checksumming|*************** | 25% checksumming|******************** | 33% checksumming|************************* | 42% checksumming|******************************* | 50% checksumming|************************************ | 58% checksumming|***************************************** | 67% checksumming|********************************************** | 75% checksumming|*************************************************** | 83% checksumming|******************************************************** | 92% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving| | 1% archiving|***************************************************** | 83% archiving|********************************************************** | 91% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/foremost-1.5.7p4.tgz >>> Running clean in security/foremost at 1735056466.93 ===> security/foremost ===> Cleaning for foremost-1.5.7p4 >>> Ended at 1735056467.48 max_stuck=0.00/build=5.94/package=2.43/clean=0.69