=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for ordCalc-0.2nb6 cd src ; make ord make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/data/scratch/math/ordCalc/work/ordCalc_0.2/src' bison -d -v parse.y parse.y: warning: 1 shift/reduce conflict [-Wconflicts-sr] g++ -c -g parse.tab.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] parse.tab.c:1746:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] yyerror (YY_("syntax error")); ^ parse.tab.c:1890:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] yyerror (YY_("memory exhausted")); ^ 2 warnings generated. g++ -c -g intfc.cpp intfc.cpp:1683:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (params) if (size = params->size()) { ~~~~~^~~~~~~~~~~~~~~~ intfc.cpp:1683:26: note: place parentheses around the assignment to silence this warning if (params) if (size = params->size()) { ^ ( ) intfc.cpp:1683:26: note: use '==' to turn this assignment into an equality comparison if (params) if (size = params->size()) { ^ == 1 warning generated. g++ -c -g parse.cpp g++ -c -g ordBase.cpp ordBase.cpp:1045:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else outDbgStream() << "finalTerms = " << finalTerms->normalForm() ^ ordBase.cpp:1062:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else outDbgStream() << "terms = NULL\n" ; ^ ordBase.cpp:1597:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else temp = productTable[index] ; ^ ordBase.cpp:1980:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 4 warnings generated. g++ -c -g finitefuncOrd.cpp finitefuncOrd.cpp:562:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ finitefuncOrd.cpp:577:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ finitefuncOrd.cpp:644:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else str += pe.psiNormalForm() ; ^ finitefuncOrd.cpp:648:13: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete params ; ^ [] finitefuncOrd.cpp:590:35: note: allocated with 'new[]' here const Ordinal ** params = new const Ordinal * [size+2] ; ^ finitefuncOrd.cpp:1095:28: warning: for loop has empty body [-Wempty-body] for (;params[size];size++); ^ finitefuncOrd.cpp:1095:28: note: put the semicolon on a separate line to silence this warning 5 warnings generated. g++ -c -g iterfuncOrd.cpp iterfuncOrd.cpp:21:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else codeLevel = finiteFuncCodeLevel; ^ iterfuncOrd.cpp:134:13: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete params ; ^ [] iterfuncOrd.cpp:89:35: note: allocated with 'new[]' here const Ordinal ** params = new const Ordinal * [size+2] ; ^ 2 warnings generated. g++ -c -g admisOrd.cpp admisOrd.cpp:386:18: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (embeddings.embedIndex.compare(indexCK)<0) ^ admisOrd.cpp:438:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ admisOrd.cpp:1318:13: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!termEmbed.type == Embeddings::paramRestrict) return embeddings; ^ ~~ admisOrd.cpp:1318:13: note: add parentheses after the '!' to evaluate the comparison first if (!termEmbed.type == Embeddings::paramRestrict) return embeddings; ^ ( ) admisOrd.cpp:1318:13: note: add parentheses around left hand side expression to silence this warning if (!termEmbed.type == Embeddings::paramRestrict) return embeddings; ^ ( ) 3 warnings generated. g++ -c -g ordDebug.cpp ordDebug.cpp:24:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] int n = sizes[i] = (rand() && 255) | 3; ^ ~~~ ordDebug.cpp:24:36: note: use '&' for a bitwise operation int n = sizes[i] = (rand() && 255) | 3; ^~ & ordDebug.cpp:24:36: note: remove constant to silence this warning int n = sizes[i] = (rand() && 255) | 3; ~^~~~~~ 1 warning generated. g++ -c -g ordinal.cpp ordinal.cpp:306:9: warning: expression result unused [-Wunused-value] "\\mindex{{\\tt Ordinal} exponentiation \\Cpp{} code examples}\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ordinal.cpp:956:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else abortError = compare(le) < 0; ^ ordinal.cpp:1022:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else assert(pdiff>= 0) ; ^ ordinal.cpp:1290:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else outStream() << tmp2.normalForm() << ", i = " << i << ^ ordinal.cpp:1380:38: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((acmpb == -1) || (acmpb ==1) && b.isZero()) { ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~ ordinal.cpp:1380:38: note: place parentheses around the '&&' expression to silence this warning if ((acmpb == -1) || (acmpb ==1) && b.isZero()) { ^ ( ) ordinal.cpp:1423:51: error: ordered comparison between pointer and zero ('const ord::Ordinal *' and 'int') else if (params[maxIndex]->compare(params[index]<0)) maxIndex = index ; ~~~~~~~~~~~~~^~ 5 warnings and 1 error generated. Makefile:65: recipe for target 'ordinal.o' failed make[1]: *** [ordinal.o] Error 1 make[1]: Leaving directory '/data/scratch/math/ordCalc/work/ordCalc_0.2/src' Makefile:7: recipe for target 'EXE' failed gmake: *** [EXE] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/math/ordCalc *** Error code 1 Stop. make: stopped in /data/pkgsrc/math/ordCalc