>>> Building on armv7-1 under security/foremost DIST = [security/foremost:foremost-1.5.7.tar.gz] FULLPKGNAME = foremost-1.5.7p3 distfiles size=52352 >>> Running build in security/foremost at 1622584083.08 ===> security/foremost ===> Verifying specs: c ===> found c.96.0 ===> Checking files for foremost-1.5.7p3 `/usr/ports/distfiles/foremost-1.5.7.tar.gz' is up to date. >> (SHA256) foremost-1.5.7.tar.gz: OK ===> Extracting for foremost-1.5.7p3 cd /usr/obj/ports/foremost-1.5.7/foremost-1.5.7 && gunzip foremost.8.gz ===> Patching for foremost-1.5.7p3 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-Makefile,v 1.1 2017/02/27 19:15:32 jca Exp $ |--- 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: -------------------------- |$OpenBSD: patch-api_c,v 1.1 2021/02/26 21:06:12 naddy Exp $ | |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: -------------------------- |$OpenBSD: patch-main_c,v 1.1 2021/02/26 21:06:12 naddy Exp $ | |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: -------------------------- |$OpenBSD: patch-main_h,v 1.1 2021/02/26 21:06:12 naddy Exp $ | |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: -------------------------- |$OpenBSD: patch-ole_h,v 1.1 2021/02/26 21:06:12 naddy Exp $ | |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.7p3 ===> Configuring for foremost-1.5.7p3 perl -pi -e 's,/usr/local/etc,/etc,' /usr/obj/ports/foremost-1.5.7/foremost-1.5.7/config.c ===> Building for foremost-1.5.7p3 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 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: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", 1 warning 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) ~~~~^~~~ ~~~~ 1 warning 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: error: duplicate symbol: __progname >>> defined at crt0.c >>> /usr/bin/../lib/crt0.o:(__progname) >>> defined at main.c >>> main.o:(.bss+0x4) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error 1 in /usr/obj/ports/foremost-1.5.7/foremost-1.5.7 (Makefile:113 'foremost') *** Error 2 in security/foremost (/usr/ports/infrastructure/mk/bsd.port.mk:2947 '/usr/obj/ports/foremost-1.5.7/.build_done': @cd /usr/obj/po...) *** Error 2 in security/foremost (/usr/ports/infrastructure/mk/bsd.port.mk:2602 'build': @lock=foremost-1.5.7p3; export _LOCKS_HELD=" forem...) ===> Exiting security/foremost with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Running clean in security/foremost at 1622584099.00 ===> security/foremost ===> Cleaning for foremost-1.5.7p3 >>> Ended at 1622584099.52 max_stuck=0.00/build=15.93/clean=0.58 Error: job failed with 512 on armv7-1 at 1622584099