>>> Building on octeon-3 under math/lrs BDEPENDS = [devel/gmake;devel/gmp] DIST = [math/lrs:lrslib-071a.tar.gz] FULLPKGNAME = lrs-071ap1 RDEPENDS = [devel/gmp] (Junk lock obtained for octeon-3 at 1728496583.92) >>> Running depends in math/lrs at 1728496583.97 last junk was in net/tclcurl /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 1728496587.73 ===> 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 1728496591.51) distfiles size=458590 >>> Running build in math/lrs at 1728496591.60 ===> math/lrs ===> Checking files for lrs-071ap1 `/ports/distfiles/lrslib-071a.tar.gz' is up to date. >> (SHA256) lrslib-071a.tar.gz: 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 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() /usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf() 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 /tmp/lrslib-980f5c.o: In function `ran_selectpivot': lrslib.c:(.text+0xfc14): warning: random() may return deterministic values, is that what you want? /tmp/lrslib-980f5c.o: In function `lrs_getfirstbasis': lrslib.c:(.text+0xd34): warning: sprintf() is often misused, please use snprintf() /usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf() /tmp/lrslib-980f5c.o: In function `lrs_read_dat': lrslib.c:(.text+0x650c): warning: strcat() is almost always misused, please use strlcat() /tmp/lrslib-980f5c.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. /tmp/lrslib-9b74ed.o: In function `ran_selectpivot': lrslib.c:(.text+0xfc14): warning: random() may return deterministic values, is that what you want? /tmp/lrsnashlib-b140eb.o: In function `printGame': lrsnashlib.c:(.text+0x3284): warning: sprintf() is often misused, please use snprintf() /usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf() /tmp/lrslib-9b74ed.o: In function `lrs_read_dat': lrslib.c:(.text+0x650c): warning: strcat() is almost always misused, please use strlcat() /tmp/lrsnash-6df8a1.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-8d6021.o: In function `ran_selectpivot': lrslib.c:(.text+0x10264): warning: random() may return deterministic values, is that what you want? /tmp/lrsnashlib-b98611.o: In function `printGame': lrsnashlib.c:(.text+0x324c): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-8d6021.o: In function `lrs_read_dat': lrslib.c:(.text+0x6770): warning: strcat() is almost always misused, please use strlcat() /tmp/lrsnash-446f59.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-706e41.o: In function `ran_selectpivot': lrslib.c:(.text+0x11294): warning: random() may return deterministic values, is that what you want? /tmp/lrsnashlib-8b5822.o: In function `printGame': lrsnashlib.c:(.text+0x32b4): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-706e41.o: In function `lrs_read_dat': lrslib.c:(.text+0x6c40): warning: strcat() is almost always misused, please use strlcat() /tmp/lrsnash-97660d.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. /tmp/lrslib-3ad0fa.o: In function `ran_selectpivot': lrslib.c:(.text+0xfc14): warning: random() may return deterministic values, is that what you want? /tmp/lrsnashlib-a7b353.o: In function `printGame': lrsnashlib.c:(.text+0x3284): warning: sprintf() is often misused, please use snprintf() /usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf() /tmp/lrslib-3ad0fa.o: In function `lrs_read_dat': lrslib.c:(.text+0x650c): warning: strcat() is almost always misused, please use strlcat() /tmp/lrslib-3ad0fa.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-d8d823.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-94134e.o: In function `ran_selectpivot': lrslib.c:(.text+0x10264): warning: random() may return deterministic values, is that what you want? /tmp/lrslib-94134e.o: In function `lrs_getfirstbasis': lrslib.c:(.text+0xd30): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-94134e.o: In function `lrs_read_dat': lrslib.c:(.text+0x6770): warning: strcat() is almost always misused, please use strlcat() /tmp/lrslib-94134e.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-0f1dc3.o: In function `ran_selectpivot': lrslib.c:(.text+0x11294): warning: random() may return deterministic values, is that what you want? /tmp/lrslib-0f1dc3.o: In function `lrs_getfirstbasis': lrslib.c:(.text+0xf54): warning: sprintf() is often misused, please use snprintf() /tmp/lrslib-0f1dc3.o: In function `lrs_read_dat': lrslib.c:(.text+0x6c40): warning: strcat() is almost always misused, please use strlcat() /tmp/lrslib-0f1dc3.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:3067 '/pobj/lrs-071a/.build_done': @cd /pobj/lrs-071a/lrslib-071a && exec /us...) *** Error 2 in math/lrs (/ports/infrastructure/mk/bsd.port.mk:2710 '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 1728496984.79 max_stuck=22.00/depends=3.76/show-prepare-results=3.83/build=393.24 Error: job failed with 512 on octeon-3 at 1728496984