>>> Building on exopi-6 under math/foma BDEPENDS = [devel/bison;devel/gmake] DIST = [math/foma:foma-0.9.18.20200928-7a996b08.tar.gz] FULLPKGNAME = foma-0.9.18.20200928 Avoided depends for bison-3.8.2 gmake-4.4.1 distfiles size=176857 >>> Running build in math/foma at 1734973365.04 ===> math/foma ===> Building from scratch foma-0.9.18.20200928 ===> foma-0.9.18.20200928 depends on: bison-* -> bison-3.8.2 ===> foma-0.9.18.20200928 depends on: gmake-* -> gmake-4.4.1 ===> Verifying specs: c curses readline z ===> found c.100.3 curses.15.0 readline.5.0 z.7.1 ===> Checking files for foma-0.9.18.20200928 `/exopi-cvs/ports/distfiles/foma-0.9.18.20200928-7a996b08.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for foma-0.9.18.20200928 ===> Patching for foma-0.9.18.20200928 ===> Applying OpenBSD patch patch-foma_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: foma/Makefile |--- foma/Makefile.orig |+++ foma/Makefile -------------------------- Patching file foma/Makefile using Plan A... Hunk #1 succeeded at 19. Hunk #2 succeeded at 66. Hunk #3 succeeded at 85. Hunk #4 succeeded at 102. done ===> Applying OpenBSD patch patch-foma_flookup_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: foma/flookup.c |--- foma/flookup.c.orig |+++ foma/flookup.c -------------------------- Patching file foma/flookup.c using Plan A... Hunk #1 succeeded at 21. 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 foma-0.9.18.20200928 ===> Configuring for foma-0.9.18.20200928 ===> Building for foma-0.9.18.20200928 cc -O2 -pipe -c int_stack.c -o int_stack.o cc -O2 -pipe -c define.c -o define.o cc -O2 -pipe -c determinize.c -o determinize.o cc -O2 -pipe -c apply.c -o apply.o cc -O2 -pipe -c rewrite.c -o rewrite.o In file included from rewrite.c:21: In file included from ./foma.h:18: ./fomalib.h:292:21: 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 subsequent definition [-Wdeprecated-non-prototype] FEXPORT struct fsm *fsm_rewrite(); ^ rewrite.c:89:13: note: conflicting prototype is here struct fsm *fsm_rewrite(struct rewrite_set *all_rules) { ^ 1 warning generated. cc -O2 -pipe -c lexcread.c -o lexcread.o cc -O2 -pipe -c topsort.c -o topsort.o cc -O2 -pipe -c flags.c -o flags.o cc -O2 -pipe -c minimize.c -o minimize.o cc -O2 -pipe -c reverse.c -o reverse.o cc -O2 -pipe -c extract.c -o extract.o cc -O2 -pipe -c sigma.c -o sigma.o cc -O2 -pipe -c io.c -o io.o cc -O2 -pipe -c structures.c -o structures.o cc -O2 -pipe -c constructions.c -o constructions.o cc -O2 -pipe -c coaccessible.c -o coaccessible.o cc -O2 -pipe -c utf8.c -o utf8.o cc -O2 -pipe -c spelling.c -o spelling.o spelling.c:285:36: warning: passing arguments to 'node_delete_min' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curr_node = node_delete_min(medh); ^ spelling.c:40:26: 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 subsequent definition [-Wdeprecated-non-prototype] static struct astarnode *node_delete_min(); ^ spelling.c:436:19: note: conflicting prototype is here struct astarnode *node_delete_min(struct apply_med_handle *medh) { ^ 2 warnings generated. cc -O2 -pipe -c dynarray.c -o dynarray.o cc -O2 -pipe -c mem.c -o mem.o cc -O2 -pipe -c stringhash.c -o stringhash.o cc -O2 -pipe -c trie.c -o trie.o flex -8 --prefix=lexc lexc.l cc -O2 -pipe -c lex.lexc.c -o lex.lexc.o bison -v --defines=regex.h --output=regex.c regex.y flex -8 regex.l cc -O2 -pipe -c lex.yy.c -o lex.yy.o regex.l:52:12: 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] extern int yyparse(); ^ regex.h:180:5: note: conflicting prototype is here int yyparse (void *scanner, struct defined_networks *defined_nets, struct defined_functions *defined_funcs); ^ 1 warning generated. flex -8 --prefix=cmatrix cmatrix.l cc -O2 -pipe -c lex.cmatrix.c -o lex.cmatrix.o cc -O2 -pipe -c regex.c -o regex.o regex.c:1777:22: warning: passing arguments to 'yylex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yychar = yylex (&yylval, &yylloc, scanner); ^ regex.y:263:76: warning: passing arguments to 'fsm_rewrite' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (rewrite) { add_rewrite_rule(); (yyval.net) = fsm_rewrite(rewrite_rules); clear_rewrite_ruleset(rewrite_rules); } rewrite = 0; contexts = NULL; rules = NULL; rewrite_rules = NULL; } ^ regex.c:2715:15: warning: passing arguments to 'yyerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yyerror (&yylloc, scanner, defined_nets, defined_funcs, YY_("syntax error")); ^ regex.c:2830:11: warning: passing arguments to 'yyerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yyerror (&yylloc, scanner, defined_nets, defined_funcs, YY_("memory exhausted")); ^ 4 warnings generated. cc -O2 -pipe -fPIC -c int_stack.c -o int_stack.so cc -O2 -pipe -fPIC -c define.c -o define.so cc -O2 -pipe -fPIC -c determinize.c -o determinize.so cc -O2 -pipe -fPIC -c apply.c -o apply.so cc -O2 -pipe -fPIC -c rewrite.c -o rewrite.so In file included from rewrite.c:21: In file included from ./foma.h:18: ./fomalib.h:292:21: 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 subsequent definition [-Wdeprecated-non-prototype] FEXPORT struct fsm *fsm_rewrite(); ^ rewrite.c:89:13: note: conflicting prototype is here struct fsm *fsm_rewrite(struct rewrite_set *all_rules) { ^ 1 warning generated. cc -O2 -pipe -fPIC -c lexcread.c -o lexcread.so cc -O2 -pipe -fPIC -c topsort.c -o topsort.so cc -O2 -pipe -fPIC -c flags.c -o flags.so cc -O2 -pipe -fPIC -c minimize.c -o minimize.so cc -O2 -pipe -fPIC -c reverse.c -o reverse.so cc -O2 -pipe -fPIC -c extract.c -o extract.so cc -O2 -pipe -fPIC -c sigma.c -o sigma.so cc -O2 -pipe -fPIC -c io.c -o io.so cc -O2 -pipe -fPIC -c structures.c -o structures.so cc -O2 -pipe -fPIC -c constructions.c -o constructions.so cc -O2 -pipe -fPIC -c coaccessible.c -o coaccessible.so cc -O2 -pipe -fPIC -c utf8.c -o utf8.so cc -O2 -pipe -fPIC -c spelling.c -o spelling.so spelling.c:285:36: warning: passing arguments to 'node_delete_min' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curr_node = node_delete_min(medh); ^ spelling.c:40:26: 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 subsequent definition [-Wdeprecated-non-prototype] static struct astarnode *node_delete_min(); ^ spelling.c:436:19: note: conflicting prototype is here struct astarnode *node_delete_min(struct apply_med_handle *medh) { ^ 2 warnings generated. cc -O2 -pipe -fPIC -c dynarray.c -o dynarray.so cc -O2 -pipe -fPIC -c mem.c -o mem.so cc -O2 -pipe -fPIC -c stringhash.c -o stringhash.so cc -O2 -pipe -fPIC -c trie.c -o trie.so cc -O2 -pipe -fPIC -c lex.lexc.c -o lex.lexc.so cc -O2 -pipe -fPIC -c lex.yy.c -o lex.yy.so regex.l:52:12: 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] extern int yyparse(); ^ regex.h:180:5: note: conflicting prototype is here int yyparse (void *scanner, struct defined_networks *defined_nets, struct defined_functions *defined_funcs); ^ 1 warning generated. cc -O2 -pipe -fPIC -c lex.cmatrix.c -o lex.cmatrix.so cc -O2 -pipe -fPIC -c regex.c -o regex.so regex.c:1777:22: warning: passing arguments to 'yylex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yychar = yylex (&yylval, &yylloc, scanner); ^ regex.y:263:76: warning: passing arguments to 'fsm_rewrite' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { if (rewrite) { add_rewrite_rule(); (yyval.net) = fsm_rewrite(rewrite_rules); clear_rewrite_ruleset(rewrite_rules); } rewrite = 0; contexts = NULL; rules = NULL; rewrite_rules = NULL; } ^ regex.c:2715:15: warning: passing arguments to 'yyerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yyerror (&yylloc, scanner, defined_nets, defined_funcs, YY_("syntax error")); ^ regex.c:2830:11: warning: passing arguments to 'yyerror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yyerror (&yylloc, scanner, defined_nets, defined_funcs, YY_("memory exhausted")); ^ 4 warnings generated. ar cru libfoma.a int_stack.o define.o determinize.o apply.o rewrite.o lexcread.o topsort.o flags.o minimize.o reverse.o extract.o sigma.o io.o structures.o constructions.o coaccessible.o utf8.o spelling.o dynarray.o mem.o stringhash.o trie.o lex.lexc.o lex.yy.o lex.cmatrix.o regex.o ranlib libfoma.a cc -O2 -pipe -shared -o libfoma.so.1.0 int_stack.so define.so determinize.so apply.so rewrite.so lexcread.so topsort.so flags.so minimize.so reverse.so extract.so sigma.so io.so structures.so constructions.so coaccessible.so utf8.so spelling.so dynarray.so mem.so stringhash.so trie.so lex.lexc.so lex.yy.so lex.cmatrix.so regex.so -lreadline -lz -ltermcap cc -O2 -pipe -c foma.c -o foma.o cc -O2 -pipe -c stack.c -o stack.o cc -O2 -pipe -c iface.c -o iface.o iface.c:806:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = applyer(ah); ^ iface.c:1241:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = applyer(ah); ^ 2 warnings generated. flex -8 --prefix=interface interface.l cc -O2 -pipe -c lex.interface.c -o lex.interface.o cc -O2 -pipe foma.o stack.o iface.o lex.interface.o int_stack.o define.o determinize.o apply.o rewrite.o lexcread.o topsort.o flags.o minimize.o reverse.o extract.o sigma.o io.o structures.o constructions.o coaccessible.o utf8.o spelling.o dynarray.o mem.o stringhash.o trie.o lex.lexc.o lex.yy.o lex.cmatrix.o regex.o -lreadline -lz -ltermcap -o foma ld: warning: regex.c(regex.o:(function_apply)): warning: sprintf() is often misused, please use snprintf() ld: warning: dynarray.c(dynarray.o:(fsm_construct_done)): warning: rand() may return deterministic values, is that what you want? ld: warning: spelling.c(spelling.o:(print_match)): warning: stpcpy() is dangerous; do not use it ld: warning: io.c(io.o:(foma_write_prolog)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: flags.c(flags.o:(flag_create_symbol)): warning: strcat() is almost always misused, please use strlcat() ld: warning: iface.c(iface.o:(iface_view)): warning: tempnam() possibly used unsafely; consider using mkstemp() cc -O2 -pipe -c flookup.c -o flookup.o flookup.c:311:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = applyer(chain_pos->ah, tempstr); ^ flookup.c:315:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((result = applyer(chain_pos->ah, NULL)) != NULL) { ^ flookup.c:329:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = applyer(chain_pos->ah, tempstr); ^ flookup.c:338:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } while ((result = applyer(chain_pos->ah, NULL)) != NULL); ^ flookup.c:343:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = applyer(chain_pos->ah, NULL); ^ 5 warnings generated. cc -O2 -pipe flookup.o libfoma.a -lz -o flookup ld: warning: apply.c(apply.o:(apply_net) in archive libfoma.a): warning: rand() may return deterministic values, is that what you want? ld: warning: apply.c(apply.o:(apply_append) in archive libfoma.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: regex.c(regex.o:(function_apply) in archive libfoma.a): warning: sprintf() is often misused, please use snprintf() ld: warning: flags.c(flags.o:(flag_create_symbol) in archive libfoma.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: spelling.c(spelling.o:(print_match) in archive libfoma.a): warning: stpcpy() is dangerous; do not use it cc -O2 -pipe -c cgflookup.c -o cgflookup.o cgflookup.c:253:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = applyer(chain_pos->ah, tempstr); ^ cgflookup.c:260:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((result = applyer(chain_pos->ah, NULL)) != NULL) { ^ cgflookup.c:274:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = applyer(chain_pos->ah, tempstr); ^ cgflookup.c:286:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } while ((result = applyer(chain_pos->ah, NULL)) != NULL); ^ cgflookup.c:291:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = applyer(chain_pos->ah, NULL); ^ 5 warnings generated. cc -O2 -pipe cgflookup.o libfoma.a -lz -o cgflookup ld: warning: apply.c(apply.o:(apply_net) in archive libfoma.a): warning: rand() may return deterministic values, is that what you want? ld: warning: apply.c(apply.o:(apply_append) in archive libfoma.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: flags.c(flags.o:(flag_create_symbol) in archive libfoma.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: structures.c(structures.o:(fsm_get_library_version_string) in archive libfoma.a): warning: sprintf() is often misused, please use snprintf() ld: warning: spelling.c(spelling.o:(print_match) in archive libfoma.a): warning: stpcpy() is dangerous; do not use it >>> Running package in math/foma at 1734973390.95 ===> math/foma ===> Faking installation for foma-0.9.18.20200928 echo "prefix=/exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local" > libfoma.pc echo 'exec_prefix=${prefix}' >> libfoma.pc echo 'includedir=${prefix}/include' >> libfoma.pc echo 'libdir=${exec_prefix}/lib' >> libfoma.pc echo '' >> libfoma.pc echo 'Name: foma' >> libfoma.pc echo 'Description: The foma library' >> libfoma.pc echo 'Version: 1.0' >> libfoma.pc echo 'Cflags: -I${includedir}' >> libfoma.pc echo 'Libs: -L${libdir} -lfoma' >> libfoma.pc cp fomalib.h fomalibconf.h /exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local/include; chmod 644 /exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local/include/fomalib.h cp foma flookup cgflookup /exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local/bin cp libfoma.pc /exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local/lib/pkgconfig cp libfoma.so.1.0 libfoma.a /exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local/lib cd /exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local/lib; chmod 755 libfoma.so.1.0 libfoma.a; \ if test -f /exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local/lib/libfoma.so; then rm /exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local/lib/libfoma.so; fi if test -f /exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local/lib/libfoma.so.0; then rm /exopi-obj/pobj/foma-0.9.18.20200928/fake-amd64/usr/local/lib/libfoma.so.0; fi ===> Building package for foma-0.9.18.20200928 Create /exopi-cvs/ports/packages/amd64/all/foma-0.9.18.20200928.tgz Creating package foma-0.9.18.20200928 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|*** | 5% checksumming|****** | 11% checksumming|********** | 16% checksumming|************* | 21% checksumming|**************** | 26% checksumming|******************* | 32% checksumming|********************** | 37% checksumming|************************** | 42% checksumming|***************************** | 47% checksumming|******************************** | 53% checksumming|*********************************** | 58% checksumming|*************************************** | 63% checksumming|****************************************** | 68% checksumming|********************************************* | 74% checksumming|************************************************ | 79% checksumming|*************************************************** | 84% checksumming|******************************************************* | 89% checksumming|********************************************************** | 95% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|******** | 13% archiving|**************** | 26% archiving|********************************* | 52% archiving|******************************************** | 70% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/foma-0.9.18.20200928.tgz >>> Running clean in math/foma at 1734973392.74 ===> math/foma ===> Cleaning for foma-0.9.18.20200928 >>> Ended at 1734973393.01 max_stuck=0.00/build=25.89/package=1.82/clean=0.30