=> 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 stockfish-9
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o benchmark.o benchmark.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o bitbase.o bitbase.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o bitboard.o bitboard.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o endgame.o endgame.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o evaluate.o evaluate.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o main.o main.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o material.o material.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o misc.o misc.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o movegen.o movegen.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o movepick.o movepick.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o pawns.o pawns.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o position.o position.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o psqt.o psqt.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o search.o search.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o thread.o thread.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o timeman.o timeman.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o tt.o tt.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o uci.o uci.cpp
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o ucioption.o ucioption.cpp
pawns.cpp:226:18: error: call to 'popcount' is ambiguous
  e->asymmetry = popcount(e->semiopenFiles[WHITE] ^ e->semiopenFiles[BLACK]);
                 ^~~~~~~~
/usr/include/strings.h:57:14: note: candidate function
unsigned int    popcount(unsigned int) __constfunc;
                ^
./bitboard.h:264:12: note: candidate function
inline int popcount(Bitboard b) {
           ^
pawns.cpp:227:18: error: call to 'popcount' is ambiguous
  e->openFiles = popcount(e->semiopenFiles[WHITE] & e->semiopenFiles[BLACK]);
                 ^~~~~~~~
/usr/include/strings.h:57:14: note: candidate function
unsigned int    popcount(unsigned int) __constfunc;
                ^
./bitboard.h:264:12: note: candidate function
inline int popcount(Bitboard b) {
           ^
g++ -O2 -Wall -Wcast-qual -fno-exceptions -std=c++11  -pedantic -Wextra -Wshadow -m32 -DNDEBUG -O3 -DNO_PREFETCH -flto   -c -o syzygy/tbprobe.o syzygy/tbprobe.cpp
2 errors generated.
<builtin>: recipe for target 'pawns.o' failed
gmake: *** [pawns.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/games/stockfish
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/games/stockfish