===> Building for libpgm-5.1.118nb10 /opt/pkg/bin/mksh ./libtool --tag=CC --mode=compile clang -DPACKAGE_NAME=\"OpenPGM\" -DPACKAGE_TARNAME=\"openpgm\" -DPACKAGE_VERSION=\"5.1.118\" -DPACKAGE_STRING=\"OpenPGM\ 5.1.118\" -DPACKAGE_BUGREPORT=\"openpgm-dev@googlegroups.com\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_FLOAT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_MEMORY_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMEB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_ATEXIT=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_FLOOR=1 -DHAVE_FTIME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_REGCOMP=1 -DHAVE_SELECT=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_SQRT=1 -DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRPBRK=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -I./include -DCONFIG_16BIT_CHECKSUM -DCONFIG_GALOIS_MUL_LUT -DGETTEXT_PACKAGE='"pgm"' -pipe -Os -D_REENTRANT -DCONFIG_HAVE_GETNETENT -DCONFIG_HAVE_ISO_VARARGS -DCONFIG_HAVE_GNUC_VARARGS -DCONFIG_HAVE_ALLOCA_H -DCONFIG_HAVE_BACKTRACE -DCONFIG_HAVE_PSELECT -DCONFIG_HAVE_POLL -DCONFIG_HAVE_GETIFADDRS -DCONFIG_HAVE_IFR_NETMASK -DCONFIG_HAVE_MCAST_JOIN -DCONFIG_HAVE_IP_MREQN -DCONFIG_HAVE_SPRINTF_GROUPING -DCONFIG_HAVE_VASPRINTF -DCONFIG_HAVE_DSO_VISIBILITY -DCONFIG_BIND_INADDR_ANY -DCONFIG_HOST_ORDER_IP_LEN -DCONFIG_HOST_ORDER_IP_OFF -DCONFIG_TICKET_SPINLOCK -DCONFIG_DUMB_RWSPINLOCK -MT libpgm_noinst_la-thread.lo -MD -MP -MF .deps/libpgm_noinst_la-thread.Tpo -c -o libpgm_noinst_la-thread.lo `test -f 'thread.c' || echo './'`thread.c libtool: compile: clang -DPACKAGE_NAME=\"OpenPGM\" -DPACKAGE_TARNAME=\"openpgm\" -DPACKAGE_VERSION=\"5.1.118\" "-DPACKAGE_STRING=\"OpenPGM 5.1.118\"" -DPACKAGE_BUGREPORT=\"openpgm-dev@googlegroups.com\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_FLOAT_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_MEMORY_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMEB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_ATEXIT=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_FLOOR=1 -DHAVE_FTIME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_REGCOMP=1 -DHAVE_SELECT=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_SQRT=1 -DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRPBRK=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRTOULL=1 -I. -I./include -DCONFIG_16BIT_CHECKSUM -DCONFIG_GALOIS_MUL_LUT -DGETTEXT_PACKAGE=\"pgm\" -pipe -Os -D_REENTRANT -DCONFIG_HAVE_GETNETENT -DCONFIG_HAVE_ISO_VARARGS -DCONFIG_HAVE_GNUC_VARARGS -DCONFIG_HAVE_ALLOCA_H -DCONFIG_HAVE_BACKTRACE -DCONFIG_HAVE_PSELECT -DCONFIG_HAVE_POLL -DCONFIG_HAVE_GETIFADDRS -DCONFIG_HAVE_IFR_NETMASK -DCONFIG_HAVE_MCAST_JOIN -DCONFIG_HAVE_IP_MREQN -DCONFIG_HAVE_SPRINTF_GROUPING -DCONFIG_HAVE_VASPRINTF -DCONFIG_HAVE_DSO_VISIBILITY -DCONFIG_BIND_INADDR_ANY -DCONFIG_HOST_ORDER_IP_LEN -DCONFIG_HOST_ORDER_IP_OFF -DCONFIG_TICKET_SPINLOCK -DCONFIG_DUMB_RWSPINLOCK -MT libpgm_noinst_la-thread.lo -MD -MP -MF .deps/libpgm_noinst_la-thread.Tpo -c thread.c -fno-common -DPIC -o .libs/libpgm_noinst_la-thread.o In file included from thread.c:23: In file included from ./include/impl/framework.h:30: ./include/pgm/atomic.h:71:22: warning: 'OSAtomicAdd32Barrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations] const uint32_t nv = OSAtomicAdd32Barrier ((int32_t)val, (volatile int32_t*)atomic); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/OSAtomicDeprecated.h:162:9: note: 'OSAtomicAdd32Barrier' has been explicitly marked deprecated here int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue ); ^ In file included from thread.c:23: In file included from ./include/impl/framework.h:30: ./include/pgm/atomic.h:107:2: warning: 'OSAtomicAdd32Barrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations] OSAtomicAdd32Barrier ((int32_t)val, (volatile int32_t*)atomic); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/OSAtomicDeprecated.h:162:9: note: 'OSAtomicAdd32Barrier' has been explicitly marked deprecated here int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t *__theValue ); ^ In file included from thread.c:23: In file included from ./include/impl/framework.h:30: ./include/pgm/atomic.h:138:2: warning: 'OSAtomicIncrement32Barrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_fetch_add() from <stdatomic.h> instead [-Wdeprecated-declarations] OSAtomicIncrement32Barrier ((volatile int32_t*)atomic); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/OSAtomicDeprecated.h:183:9: note: 'OSAtomicIncrement32Barrier' has been explicitly marked deprecated here int32_t OSAtomicIncrement32Barrier( volatile int32_t *__theValue ); ^ In file included from thread.c:23: In file included from ./include/impl/framework.h:30: ./include/pgm/atomic.h:169:2: warning: 'OSAtomicDecrement32Barrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_fetch_sub() from <stdatomic.h> instead [-Wdeprecated-declarations] OSAtomicDecrement32Barrier ((volatile int32_t*)atomic); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/OSAtomicDeprecated.h:202:9: note: 'OSAtomicDecrement32Barrier' has been explicitly marked deprecated here int32_t OSAtomicDecrement32Barrier( volatile int32_t *__theValue ); ^ In file included from thread.c:23: In file included from ./include/impl/framework.h:66: In file included from ./include/impl/notify.h:46: In file included from ./include/impl/sockaddr.h:38: ./include/pgm/in.h:33:8: error: redefinition of 'group_req' struct group_req ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/netinet/in.h:537:8: note: previous definition is here struct group_req { ^ In file included from thread.c:23: In file included from ./include/impl/framework.h:66: In file included from ./include/impl/notify.h:46: In file included from ./include/impl/sockaddr.h:38: ./include/pgm/in.h:39:8: error: redefinition of 'group_source_req' struct group_source_req ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/netinet/in.h:542:8: note: previous definition is here struct group_source_req { ^ In file included from thread.c:23: In file included from ./include/impl/framework.h:70: In file included from ./include/impl/rate_control.h:36: In file included from ./include/impl/thread.h:62: ./include/impl/ticket.h:137:9: warning: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in macOS 10.12 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead [-Wdeprecated-declarations] return OSAtomicCompareAndSwap32Barrier ((int32_t)oldval, (int32_t)newval, (volatile int32_t*)atomic); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/OSAtomicDeprecated.h:519:9: note: 'OSAtomicCompareAndSwap32Barrier' has been explicitly marked deprecated here bool OSAtomicCompareAndSwap32Barrier( int32_t __oldValue, int32_t __newValue, volatile int32_t *__theValue ); ^ 5 warnings and 2 errors generated. *** [libpgm_noinst_la-thread.lo] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/devel/libpgm/work/libpgm-5.1.118/openpgm/pgm bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/devel/libpgm/work/libpgm-5.1.118/openpgm/pgm *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/libpgm *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/libpgm