=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for socket++-1.12.10nb2 Making all in socket++ gmake[1]: Entering directory '/var/pkgsrc/work/net/socket++/work/socket++-1.12.10/socket++' /usr/pkg/bin/gmake all-am gmake[2]: Entering directory '/var/pkgsrc/work/net/socket++/work/socket++-1.12.10/socket++' /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -MT sockstream.lo -MD -MP -MF .deps/sockstream.Tpo -c -o sockstream.lo sockstream.cpp /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -MT sockinet.lo -MD -MP -MF .deps/sockinet.Tpo -c -o sockinet.lo sockinet.cpp /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -MT sockunix.lo -MD -MP -MF .deps/sockunix.Tpo -c -o sockunix.lo sockunix.cpp libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -O2 -MT sockunix.lo -MD -MP -MF .deps/sockunix.Tpo -c sockunix.cpp -fPIC -DPIC -o .libs/sockunix.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -O2 -MT sockstream.lo -MD -MP -MF .deps/sockstream.Tpo -c sockstream.cpp -fPIC -DPIC -o .libs/sockstream.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -O2 -MT sockinet.lo -MD -MP -MF .deps/sockinet.Tpo -c sockinet.cpp -fPIC -DPIC -o .libs/sockinet.o In file included from sockstream.cpp:80: /usr/include/unistd.h:409:6: error: conflicting types for 'gethostname' int gethostname(char *, size_t); ^ ./local.h:94:18: note: previous declaration is here extern "C" int gethostname (char* hostname, int len); ^ In file included from sockinet.cpp:48: /usr/include/unistd.h:409:6: error: conflicting types for 'gethostname' int gethostname(char *, size_t); ^ ./local.h:94:18: note: previous declaration is here extern "C" int gethostname (char* hostname, int len); ^ 1 error generated. Makefile:502: recipe for target 'sockstream.lo' failed gmake[2]: *** [sockstream.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 1 error generated. Makefile:502: recipe for target 'sockinet.lo' failed gmake[2]: *** [sockinet.lo] Error 1 libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -O2 -MT sockunix.lo -MD -MP -MF .deps/sockunix.Tpo -c sockunix.cpp -o sockunix.o >/dev/null 2>&1 mv -f .deps/sockunix.Tpo .deps/sockunix.Plo gmake[2]: Leaving directory '/var/pkgsrc/work/net/socket++/work/socket++-1.12.10/socket++' Makefile:383: recipe for target 'all' failed gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory '/var/pkgsrc/work/net/socket++/work/socket++-1.12.10/socket++' Makefile:386: recipe for target 'all-recursive' failed gmake: *** [all-recursive] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/socket++ *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/socket++