=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for HElib-20130501
g++ -g -Wall -O2 -I/usr/pkg/include  -c NumbTh.cpp
g++ -g -Wall -O2 -I/usr/pkg/include  -c timing.cpp
g++ -g -Wall -O2 -I/usr/pkg/include  -c bluestein.cpp
g++ -g -Wall -O2 -I/usr/pkg/include  -c PAlgebra.cpp
g++ -g -Wall -O2 -I/usr/pkg/include  -c CModulus.cpp
g++ -g -Wall -O2 -I/usr/pkg/include  -c FHEContext.cpp
In file included from FHEContext.h:23:0,
                 from FHEContext.cpp:18:
PAlgebra.h: In member function 'PAlgebraModDerived<type>& PAlgebraModDerived<type>::operator=(const PAlgebraModDerived<type>&)':
PAlgebra.h:401:5: error: there are no arguments to 'assert' that depend on a template parameter, so a declaration of 'assert' must be available [-fpermissive]
     assert(&zMStar == &other.zMStar);
     ^~~~~~
PAlgebra.h:401:5: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
gmake: *** [Makefile:56: FHEContext.o] Error 1
gmake: *** Waiting for unfinished jobs....
NumbTh.cpp: In function 'void sampleHWt(NTL::ZZX&, long int, long int)':
NumbTh.cpp:389:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (n<=0) n=deg(poly)+1; if (n<=0) return;
   ^~
NumbTh.cpp:389:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if (n<=0) n=deg(poly)+1; if (n<=0) return;
                            ^~
NumbTh.cpp: In function 'void sampleSmall(NTL::ZZX&, long int)':
NumbTh.cpp:410:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (n<=0) n=deg(poly)+1; if (n<=0) return;
   ^~
NumbTh.cpp:410:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if (n<=0) n=deg(poly)+1; if (n<=0) return;
                            ^~
NumbTh.cpp: In function 'void sampleGaussian(NTL::ZZX&, long int, double)':
NumbTh.cpp:429:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (n<=0) n=deg(poly)+1; if (n<=0) return;
   ^~
NumbTh.cpp:429:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if (n<=0) n=deg(poly)+1; if (n<=0) return;
                            ^~
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/security/HElib
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/HElib