WARNING: [license.mk] Every package should define a LICENSE.
===> Building for socket++-1.12.10nb2
Making all in socket++
gmake[1]: Entering directory '/Users/pbulk/build/net/socket++/work/socket++-1.12.10/socket++'
/opt/pkg/bin/gmake  all-am
gmake[2]: Entering directory '/Users/pbulk/build/net/socket++/work/socket++-1.12.10/socket++'
/opt/pkg/bin/mksh ../libtool  --tag=CXX   --mode=compile clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I.. -I..    -pipe -Os -MT sockstream.lo -MD -MP -MF .deps/sockstream.Tpo -c -o sockstream.lo sockstream.cpp
libtool: compile:  clang++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I.. -pipe -Os -MT sockstream.lo -MD -MP -MF .deps/sockstream.Tpo -c sockstream.cpp  -fno-common -DPIC -o .libs/sockstream.o
sockstream.cpp:72:2: error: invalid preprocessing directive
#typedef int socklen_t;
 ^
In file included from sockstream.cpp:84:
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:626: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);
                 ^
2 errors generated.
gmake[2]: *** [Makefile:516: sockstream.lo] Error 1
gmake[2]: Leaving directory '/Users/pbulk/build/net/socket++/work/socket++-1.12.10/socket++'
gmake[1]: *** [Makefile:391: all] Error 2
gmake[1]: Leaving directory '/Users/pbulk/build/net/socket++/work/socket++-1.12.10/socket++'
gmake: *** [Makefile:390: all-recursive] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/socket++
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/socket++