>>> Building on octeon-3 under math/lrs BDEPENDS = [devel/gmp;devel/gmake] DIST = [math/lrs:lrslib-071a.tar.gz] FULLPKGNAME = lrs-071ap1 RDEPENDS = [devel/gmp] (Junk lock obtained for octeon-3 at 1729534429.09) >>> Running depends in math/lrs at 1729534429.14 last junk was in net/nbtscan /usr/sbin/pkg_add -aI -Drepair gmp-6.3.0 was: /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1 gmp-6.3.0 /usr/sbin/pkg_add -aI -Drepair gmp-6.3.0 >>> Running show-prepare-results in math/lrs at 1729534433.01 ===> math/lrs ===> Building from scratch lrs-071ap1 ===> lrs-071ap1 depends on: gmake-* -> gmake-4.4.1 ===> lrs-071ap1 depends on: gmp-* -> gmp-6.3.0 ===> Verifying specs: c gmp ===> found c.100.3 gmp.11.1 gmake-4.4.1 gmp-6.3.0 (Junk lock released for octeon-3 at 1729534437.03) distfiles size=458590 >>> Running build in math/lrs at 1729534437.09 ===> math/lrs ===> Checking files for lrs-071ap1 `/ports/distfiles/lrslib-071a.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for lrs-071ap1 ===> Patching for lrs-071ap1 ===> Applying OpenBSD patch patch-makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Honour CFLAGS |Avoid library symlinks |Rectify install targets | |Index: makefile |--- makefile.orig |+++ makefile -------------------------- Patching file makefile using Plan A... Hunk #1 succeeded at 52. Hunk #2 succeeded at 134. Hunk #3 succeeded at 189. Hunk #4 succeeded at 211. Hunk #5 succeeded at 240. 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 lrs-071ap1 ===> Configuring for lrs-071ap1 ===> Building for lrs-071ap1 cc -O2 -pipe -Wall -DMA -DB128 -c -o lrs.o lrs.c cc -O2 -pipe -Wall -DMA -DSAFE -DLRSLONG -c -o lrslong1.o lrslong.c In file included from lrslong.c:14: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslong.c:14: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. cc -O2 -pipe -Wall -DMA -DSAFE -DB128 -DLRSLONG -c -o lrslong2.o lrslong.c In file included from lrslong.c:14: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslong.c:14: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. cc -O2 -pipe -Wall -DMA -DSAFE -DLRSLONG -c -o lrslib1.o lrslib.c In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. cc -O2 -pipe -Wall -DMA -DSAFE -DB128 -DLRSLONG -c -o lrslib2.o lrslib.c In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. cc -O2 -pipe -Wall -DMA -DGMP -I/usr/local/include -c -o lrslibgmp.o lrslib.c cc -O2 -pipe -Wall -DMA -DGMP -I/usr/local/include -c -o lrsgmp.o lrsgmp.c cc -O2 -pipe -Wall -c -o lrsdriver.o lrsdriver.c cc -O2 -pipe -Wall -DMA -DB128 -L/usr/local/lib -o lrs lrs.o lrslong1.o lrslong2.o lrslib1.o lrslib2.o lrslibgmp.o lrsgmp.o lrsdriver.o -lgmp /usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf() lrslib1.o: In function `ran_selectpivot_1': lrslib.c:(.text+0x105cc): warning: random() may return deterministic values, is that what you want? lrslong1.o: In function `mpgetstr10_1': lrslong.c:(.text+0x1244): warning: sprintf() is often misused, please use snprintf() lrslib1.o: In function `lrs_overflow_1': lrslib.c:(.text+0x50c4): warning: strcat() is almost always misused, please use strlcat() lrslong1.o: In function `plrs_readrat_1': lrslong.c:(.text+0x15e4): warning: strcpy() is almost always misused, please use strlcpy() cc -O2 -pipe -Wall -DGMP -I/usr/local/include -o lrsgmp lrs.c lrslib.c lrsgmp.c lrsdriver.c -L/usr/local/lib -lgmp /usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf() /tmp/lrslib-6cdcd1.o: In function `ran_selectpivot': lrslib.c:(.text+0xfc14): warning: random() may return deterministic values, is that what you want? /tmp/lrslib-6cdcd1.o: In function `lrs_getfirstbasis': lrslib.c:(.text+0xd34): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-6cdcd1.o: In function `lrs_read_dat': lrslib.c:(.text+0x650c): warning: strcat() is almost always misused, please use strlcat() /tmp/lrslib-6cdcd1.o: In function `lrs_alloc_dat': lrslib.c:(.text+0x5ff4): warning: strcpy() is almost always misused, please use strlcpy() cc -O2 -pipe -Wall hvref.c -o hvref ln -s -f lrs redund ln -s -f lrsgmp redundgmp cc -O2 -pipe -Wall -I/usr/local/include -L/usr/local/lib -o lrsnashgmp lrsnash.c lrsnashlib.c lrslib.c lrsgmp.c lrsdriver.c -lgmp -DGMP lrsnash.c:204:7: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] switch (c) { ^ lrsnash.c:201:5: note: previous statement is here if (c == -1) ^ 1 warning generated. lrsnashlib.c:202:8: warning: variable 'startcol' set but not used [-Wunused-but-set-variable] long startcol = 0; ^ 1 warning generated. /usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf() /tmp/lrslib-d2a587.o: In function `ran_selectpivot': lrslib.c:(.text+0xfc14): warning: random() may return deterministic values, is that what you want? /tmp/lrsnashlib-a4aaf7.o: In function `printGame': lrsnashlib.c:(.text+0x3284): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-d2a587.o: In function `lrs_read_dat': lrslib.c:(.text+0x650c): warning: strcat() is almost always misused, please use strlcat() /tmp/lrsnash-c2c5da.o: In function `readGame': lrsnash.c:(.text+0x3e0): warning: strcpy() is almost always misused, please use strlcpy() cc -O2 -pipe -Wall -I/usr/local/include -L/usr/local/lib -o lrsnash1 lrsnash.c lrsnashlib.c lrslib.c lrslong.c lrsdriver.c -DLRSLONG -DSAFE In file included from lrsnash.c:53: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrsnash.c:53: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ lrsnash.c:204:7: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] switch (c) { ^ lrsnash.c:201:5: note: previous statement is here if (c == -1) ^ 3 warnings generated. In file included from lrsnashlib.c:20: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrsnashlib.c:20: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ lrsnashlib.c:202:8: warning: variable 'startcol' set but not used [-Wunused-but-set-variable] long startcol = 0; ^ 3 warnings generated. In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. In file included from lrslong.c:14: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslong.c:14: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. /tmp/lrslib-e9be82.o: In function `ran_selectpivot': lrslib.c:(.text+0x10264): warning: random() may return deterministic values, is that what you want? /tmp/lrsnashlib-450cb6.o: In function `printGame': lrsnashlib.c:(.text+0x324c): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-e9be82.o: In function `lrs_read_dat': lrslib.c:(.text+0x6770): warning: strcat() is almost always misused, please use strlcat() /tmp/lrsnash-aace1a.o: In function `readGame': lrsnash.c:(.text+0x3e0): warning: strcpy() is almost always misused, please use strlcpy() cc -O2 -pipe -Wall -I/usr/local/include -L/usr/local/lib -o lrsnash2 lrsnash.c lrsnashlib.c lrslib.c lrslong.c lrsdriver.c -DLRSLONG -DSAFE -DB128 In file included from lrsnash.c:53: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrsnash.c:53: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ lrsnash.c:204:7: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] switch (c) { ^ lrsnash.c:201:5: note: previous statement is here if (c == -1) ^ 3 warnings generated. In file included from lrsnashlib.c:20: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrsnashlib.c:20: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ lrsnashlib.c:202:8: warning: variable 'startcol' set but not used [-Wunused-but-set-variable] long startcol = 0; ^ 3 warnings generated. In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. In file included from lrslong.c:14: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslong.c:14: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. /tmp/lrslib-161786.o: In function `ran_selectpivot': lrslib.c:(.text+0x11294): warning: random() may return deterministic values, is that what you want? /tmp/lrsnashlib-ada925.o: In function `printGame': lrsnashlib.c:(.text+0x32b4): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-161786.o: In function `lrs_read_dat': lrslib.c:(.text+0x6c40): warning: strcat() is almost always misused, please use strlcat() /tmp/lrsnash-9eb940.o: In function `readGame': lrsnash.c:(.text+0x3e0): warning: strcpy() is almost always misused, please use strlcpy() cc -O2 -pipe -Wall -I/usr/local/include -L/usr/local/lib -o nashdemo nashdemo.c lrsnashlib.c lrslib.c lrsgmp.c lrsdriver.c -lgmp -DGMP lrsnashlib.c:202:8: warning: variable 'startcol' set but not used [-Wunused-but-set-variable] long startcol = 0; ^ 1 warning generated. /usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf() /tmp/lrslib-6ac3a4.o: In function `ran_selectpivot': lrslib.c:(.text+0xfc14): warning: random() may return deterministic values, is that what you want? /tmp/lrsnashlib-fd4b78.o: In function `printGame': lrsnashlib.c:(.text+0x3284): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-6ac3a4.o: In function `lrs_read_dat': lrslib.c:(.text+0x650c): warning: strcat() is almost always misused, please use strlcat() /tmp/lrslib-6ac3a4.o: In function `lrs_alloc_dat': lrslib.c:(.text+0x5ff4): warning: strcpy() is almost always misused, please use strlcpy() cc -O2 -pipe -Wall -I/usr/local/include -L/usr/local/lib -o 2nash 2nash.c 2nash.c:32:35: warning: unused variable 'n' [-Wunused-variable] int n= sprintf(buffer, "lrsnash %s %s > out%i", argv[1], argv[2], l); ^ 2nash.c:35:35: warning: unused variable 'n' [-Wunused-variable] int n= sprintf(buffer, "lrsnash %s %s > out%i", argv[2], argv[1], l); ^ 2nash.c:38:9: warning: unused variable 'i' [-Wunused-variable] int i=system(buffer); ^ 2nash.c:55:15: warning: unused variable 'n' [-Wunused-variable] int n = sprintf(buffer, "/bin/mv -f out%i %s", j, argv[3]); ^ 2nash.c:59:16: warning: unused variable 'n' [-Wunused-variable] int n = sprintf(buffer, "/bin/mv -f out%i out", j); ^ 2nash.c:61:10: warning: unused variable 'i' [-Wunused-variable] int i = system(buffer); ^ 2nash.c:63:10: warning: unused variable 'n' [-Wunused-variable] int n = sprintf(buffer, "/bin/rm -f out%i", j); ^ 2nash.c:64:10: warning: unused variable 'i' [-Wunused-variable] int i = system(buffer); ^ 8 warnings generated. /tmp/2nash-7a3bc6.o: In function `main': 2nash.c:(.text+0x180): warning: sprintf() is often misused, please use snprintf() cp lrsnashgmp lrsnash cc -O2 -pipe -Wall -DSAFE -DLRSLONG -o lrs1 lrs.c lrslib.c lrslong.c lrsdriver.c In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. In file included from lrslong.c:14: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslong.c:14: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. /tmp/lrslib-1d0ca6.o: In function `ran_selectpivot': lrslib.c:(.text+0x10264): warning: random() may return deterministic values, is that what you want? /tmp/lrslib-1d0ca6.o: In function `lrs_getfirstbasis': lrslib.c:(.text+0xd30): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-1d0ca6.o: In function `lrs_read_dat': lrslib.c:(.text+0x6770): warning: strcat() is almost always misused, please use strlcat() /tmp/lrslib-1d0ca6.o: In function `lrs_alloc_dat': lrslib.c:(.text+0x621c): warning: strcpy() is almost always misused, please use strlcpy() cc -O2 -pipe -Wall -DB128 -DSAFE -DLRSLONG -o lrs2 lrs.c lrslib.c lrslong.c lrsdriver.c In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. In file included from lrslong.c:14: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslong.c:14: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. /tmp/lrslib-49a020.o: In function `ran_selectpivot': lrslib.c:(.text+0x11294): warning: random() may return deterministic values, is that what you want? /tmp/lrslib-49a020.o: In function `lrs_getfirstbasis': lrslib.c:(.text+0xf54): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-49a020.o: In function `lrs_read_dat': lrslib.c:(.text+0x6c40): warning: strcat() is almost always misused, please use strlcat() /tmp/lrslib-49a020.o: In function `lrs_alloc_dat': lrslib.c:(.text+0x66e4): warning: strcpy() is almost always misused, please use strlcpy() ln -s -f lrs1 redund1 ln -s -f lrs2 redund2 cc -O2 -pipe -Wall -fPIC -DMA -DSAFE -DLRSLONG -c -o lrslong1-shr.o lrslong.c In file included from lrslong.c:14: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslong.c:14: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. cc -O2 -pipe -Wall -fPIC -DMA -DSAFE -DB128 -DLRSLONG -c -o lrslong2-shr.o lrslong.c In file included from lrslong.c:14: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslong.c:14: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. cc -O2 -pipe -Wall -fPIC -DMA -DSAFE -DLRSLONG -c -o lrslib1-shr.o lrslib.c In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. cc -O2 -pipe -Wall -fPIC -DMA -DSAFE -DB128 -DLRSLONG -c -o lrslib2-shr.o lrslib.c In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:341:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *calloc (); ^ /usr/include/stdlib.h:105:7: note: conflicting prototype is here void *calloc(size_t, size_t); ^ In file included from lrslib.c:31: In file included from ./lrslib.h:149: ./lrslong.h:342:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc (); ^ /usr/include/stdlib.h:113:7: note: conflicting prototype is here void *malloc(size_t); ^ 2 warnings generated. cc -O2 -pipe -Wall -fPIC -DMA -DGMP -I/usr/local/include -c -o lrslibgmp-shr.o lrslib.c cc -O2 -pipe -Wall -fPIC -DMA -DGMP -I/usr/local/include -c -o lrsgmp-shr.o lrsgmp.c cc -O2 -pipe -Wall -fPIC -c -o lrsdriver-shr.o lrsdriver.c cc -shared -Wl,-soname=liblrs.so.0.0 -o liblrs.so.0.0 lrslong1-shr.o lrslong2-shr.o lrslib1-shr.o lrslib2-shr.o lrslibgmp-shr.o lrsgmp-shr.o lrsdriver-shr.o -L/usr/local/lib -lgmp ln -sf liblrs.so.0.0 liblrs.so.0 ln -sf liblrs.so.0 liblrs.so cc lrs.o -o lrs-shared -L . -llrs ./liblrs.so.0.0: warning: random() may return deterministic values, is that what you want? ./liblrs.so.0.0: warning: sprintf() is often misused, please use snprintf() ./liblrs.so.0.0: warning: strcat() is almost always misused, please use strlcat() ./liblrs.so.0.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/bin/ld: warning: libgmp.so.11.1, needed by ./liblrs.so.0.0, not found (try using -rpath or -rpath-link) ./liblrs.so.0.0: undefined reference to `__gmpz_set_si' ./liblrs.so.0.0: undefined reference to `__gmpz_clear' ./liblrs.so.0.0: undefined reference to `__gmpz_mul_ui' ./liblrs.so.0.0: undefined reference to `__gmpz_divexact' ./liblrs.so.0.0: undefined reference to `__gmpz_set' ./liblrs.so.0.0: undefined reference to `__gmpz_cmp' ./liblrs.so.0.0: undefined reference to `__gmpz_gcd' ./liblrs.so.0.0: undefined reference to `__gmpz_mul' ./liblrs.so.0.0: undefined reference to `__gmpz_cmp_ui' ./liblrs.so.0.0: undefined reference to `__gmpz_init' ./liblrs.so.0.0: undefined reference to `__gmpz_get_d' ./liblrs.so.0.0: undefined reference to `__gmpz_fac_ui' ./liblrs.so.0.0: undefined reference to `__gmpz_add' ./liblrs.so.0.0: undefined reference to `__gmpz_get_str' ./liblrs.so.0.0: undefined reference to `__gmpz_out_str' ./liblrs.so.0.0: undefined reference to `__gmpz_sub' cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [makefile:210: lrs-shared] Error 1 *** Error 2 in math/lrs (/ports/infrastructure/mk/bsd.port.mk:3069 '/pobj/lrs-071a/.build_done': @cd /pobj/lrs-071a/lrslib-071a && exec /us...) *** Error 2 in math/lrs (/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=lrs-071ap1; export _LOCKS_HELD=" lrs-071ap1"; /usr/bin/...) ===> Exiting math/lrs with an error *** Error 1 in /ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval ${e...) >>> Ended at 1729534827.70 max_stuck=21.90/depends=3.87/show-prepare-results=4.08/build=390.65 Error: job failed with 512 on octeon-3 at 1729534827