>>> Building on exopi-1 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 exopi-1 at 1731876495.42) >>> Running depends in math/lrs at 1731876495.47 last junk was in net/bgpq4 /usr/sbin/pkg_add -aI -Drepair gmake-4.4.1 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 gmake-4.4.1 gmp-6.3.0 >>> Running show-prepare-results in math/lrs at 1731876496.85 ===> 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 exopi-1 at 1731876497.40) distfiles size=458590 >>> Running build in math/lrs at 1731876497.44 ===> math/lrs ===> Checking files for lrs-071ap1 `/exopi-cvs/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 ld: warning: lrslong.c(lrslong1.o:(mpgetstr10_1)): warning: sprintf() is often misused, please use snprintf() ld: warning: lrslong.c(lrslong2.o:(plrs_readrat_2)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lrslib.c(lrslibgmp.o:(lrs_read_dat_gmp)): warning: strcat() is almost always misused, please use strlcat() ld: warning: lrslib.c(lrslib2.o:(ran_selectpivot_2)): warning: random() may return deterministic values, is that what you want? cc -O2 -pipe -Wall -DGMP -I/usr/local/include -o lrsgmp lrs.c lrslib.c lrsgmp.c lrsdriver.c -L/usr/local/lib -lgmp ld: warning: lrslib.c(/tmp/lrslib-00b9b9.o:(lrs_getfirstbasis)): warning: sprintf() is often misused, please use snprintf() ld: warning: lrslib.c(/tmp/lrslib-00b9b9.o:(lrs_alloc_dat)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lrslib.c(/tmp/lrslib-00b9b9.o:(lrs_read_dat)): warning: strcat() is almost always misused, please use strlcat() ld: warning: lrslib.c(/tmp/lrslib-00b9b9.o:(ran_selectpivot)): warning: random() may return deterministic values, is that what you want? 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. ld: warning: lrsnash.c(/tmp/lrsnash-6a35a8.o:(readGame)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lrsnashlib.c(/tmp/lrsnashlib-251b0e.o:(printGame)): warning: sprintf() is often misused, please use snprintf() ld: warning: lrslib.c(/tmp/lrslib-7262e2.o:(lrs_read_dat)): warning: strcat() is almost always misused, please use strlcat() ld: warning: lrslib.c(/tmp/lrslib-7262e2.o:(ran_selectpivot)): warning: random() may return deterministic values, is that what you want? 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. ld: warning: lrsnash.c(/tmp/lrsnash-6fa4e9.o:(readGame)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lrslong.c(/tmp/lrslong-f7f497.o:(mpgetstr10)): warning: sprintf() is often misused, please use snprintf() ld: warning: lrslib.c(/tmp/lrslib-1e2d87.o:(lrs_read_dat)): warning: strcat() is almost always misused, please use strlcat() ld: warning: lrslib.c(/tmp/lrslib-1e2d87.o:(ran_selectpivot)): warning: random() may return deterministic values, is that what you want? 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. ld: warning: lrsnash.c(/tmp/lrsnash-e6a06d.o:(readGame)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lrsnashlib.c(/tmp/lrsnashlib-394789.o:(printGame)): warning: sprintf() is often misused, please use snprintf() ld: warning: lrslib.c(/tmp/lrslib-a33c18.o:(lrs_read_dat)): warning: strcat() is almost always misused, please use strlcat() ld: warning: lrslib.c(/tmp/lrslib-a33c18.o:(ran_selectpivot)): warning: random() may return deterministic values, is that what you want? 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. ld: warning: lrslib.c(/tmp/lrslib-589c6b.o:(lrs_getfirstbasis)): warning: sprintf() is often misused, please use snprintf() ld: warning: lrsgmp.c(/tmp/lrsgmp-740c10.o:(plrs_readrat)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lrslib.c(/tmp/lrslib-589c6b.o:(lrs_read_dat)): warning: strcat() is almost always misused, please use strlcat() ld: warning: lrslib.c(/tmp/lrslib-589c6b.o:(ran_selectpivot)): warning: random() may return deterministic values, is that what you want? 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. ld: warning: 2nash.c(/tmp/2nash-24b562.o:(main)): 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. ld: warning: lrslong.c(/tmp/lrslong-89a881.o:(mpgetstr10)): warning: sprintf() is often misused, please use snprintf() ld: warning: lrslong.c(/tmp/lrslong-89a881.o:(plrs_readrat)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lrslib.c(/tmp/lrslib-f306eb.o:(lrs_read_dat)): warning: strcat() is almost always misused, please use strlcat() ld: warning: lrslib.c(/tmp/lrslib-f306eb.o:(ran_selectpivot)): warning: random() may return deterministic values, is that what you want? 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. ld: warning: lrslib.c(/tmp/lrslib-b305d7.o:(lrs_getfirstbasis)): warning: sprintf() is often misused, please use snprintf() ld: warning: lrslib.c(/tmp/lrslib-b305d7.o:(lrs_alloc_dat)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lrslib.c(/tmp/lrslib-b305d7.o:(lrs_read_dat)): warning: strcat() is almost always misused, please use strlcat() ld: warning: lrslib.c(/tmp/lrslib-b305d7.o:(ran_selectpivot)): warning: random() may return deterministic values, is that what you want? 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 cc -O2 -pipe -Wall -DGMP -DMA lrsnash.c lrsnashlib.c -I/usr/local/include -o lrsnash-shared -L . -L/usr/local/lib -llrs -lgmp 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. ld: warning: lrsnash.c(/tmp/lrsnash-e1dfd6.o:(readGame)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lrsnashlib.c(/tmp/lrsnashlib-9abe92.o:(printGame)): warning: sprintf() is often misused, please use snprintf() >>> Running package in math/lrs at 1731876531.17 ===> math/lrs ===> Faking installation for lrs-071ap1 mkdir -p /exopi-obj/pobj/lrs-071a/fake-amd64/usr/local/include/lrslib install lrslib.h lrsdriver.h lrsgmp.h lrslong.h lrsmp.h lrsnashlib.h lrsrestart.h /exopi-obj/pobj/lrs-071a/fake-amd64/usr/local/include/lrslib mkdir -p /exopi-obj/pobj/lrs-071a/fake-amd64/usr/local/bin for file in lrs-shared lrsnash-shared lrs1 lrs2 lrsgmp lrsnash1 lrsnash2 lrsnashgmp 2nash nashdemo redund redund1 redund2 redundgmp; do cp ${file} /exopi-obj/pobj/lrs-071a/fake-amd64/usr/local/bin/$(basename $file -shared); done mkdir -p /exopi-obj/pobj/lrs-071a/fake-amd64/usr/local/lib install liblrs.so.0.0 /exopi-obj/pobj/lrs-071a/fake-amd64/usr/local/lib ===> Building package for lrs-071ap1 Create /exopi-cvs/ports/packages/amd64/all/lrs-071ap1.tgz Creating package lrs-071ap1 reading plist| checking dependencies| checking dependencies|devel/gmp,-main checksumming| checksumming| | 0% checksumming|** | 3% checksumming|**** | 6% checksumming|****** | 9% checksumming|******* | 12% checksumming|********* | 15% checksumming|*********** | 18% checksumming|************* | 21% checksumming|*************** | 24% checksumming|***************** | 27% checksumming|****************** | 30% checksumming|******************** | 33% checksumming|********************** | 36% checksumming|************************ | 39% checksumming|************************** | 42% checksumming|**************************** | 45% checksumming|****************************** | 48% checksumming|******************************* | 52% checksumming|********************************* | 55% checksumming|*********************************** | 58% checksumming|************************************* | 61% checksumming|*************************************** | 64% checksumming|***************************************** | 67% checksumming|******************************************* | 70% checksumming|******************************************** | 73% checksumming|********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************** | 82% checksumming|**************************************************** | 85% checksumming|****************************************************** | 88% checksumming|******************************************************* | 91% checksumming|********************************************************* | 94% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 1% archiving|**** | 6% archiving|******** | 12% archiving|************ | 18% archiving|**************** | 24% archiving|******************* | 30% archiving|*********************** | 35% archiving|************************ | 37% archiving|**************************** | 44% archiving|********************************* | 51% archiving|************************************* | 58% archiving|***************************************** | 64% archiving|*************************************************** | 80% archiving|************************************************************** | 97% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/lrs-071ap1.tgz >>> Running clean in math/lrs at 1731876532.66 ===> math/lrs ===> Cleaning for lrs-071ap1 >>> Ended at 1731876532.86 max_stuck=1.65/depends=1.39/show-prepare-results=0.60/build=33.73/package=1.48/clean=0.24