=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/php-sqlrelay", "all", "PHP_VERSION_REQD=74", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for php74-sqlrelay-1.9.3nb15 /opt/pkg/bin/mksh ../../../libtool --mode=compile clang++ -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include/php/7.4/ext/pdo -I/opt/pkg/include/php/7.4 -Wall -pipe -Wno-overloaded-virtual -Wno-error=date-time -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include/php/7.4/ext/pdo -I/opt/pkg/include/php/7.4 -I../../.. -I../../../src/api/c++ -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/php/7.4 -I/opt/pkg/include/php/7.4/main -I/opt/pkg/include/php/7.4/TSRM -I/opt/pkg/include/php/7.4/Zend -I/opt/pkg/include/php/7.4/ext -I/opt/pkg/include/php/7.4/ext/date/lib -DCOMPILE_DL=1 -c sql_relay.cpp -o sql_relay.lo libtool: compile: clang++ -Wno-implicit-function-declaration -pipe -Os -I/var/tmp/work/databases/php-sqlrelay/work/.buildlink/include -DLDAP_DEPRECATED -I/var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/libxml2 -I/var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/ext/pdo -I/var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4 -Wall -pipe -Wno-overloaded-virtual -Wno-error=date-time -DLDAP_DEPRECATED -I../../.. -I../../../src/api/c++ -I/var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/main -I/var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/TSRM -I/var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend -I/var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/ext -I/var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/ext/date/lib -DCOMPILE_DL=1 -c sql_relay.cpp -fno-common -DPIC -o .libs/sql_relay.o sql_relay.cpp:52:12: warning: undefining builtin macro [-Wbuiltin-macro-redefined] 52 | #undef __cplusplus | ^ In file included from sql_relay.cpp:72: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/main/php.h:33: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend/zend.h:27: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend/zend_types.h:25: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend/zend_portability.h:43: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend/zend_config.h:1: /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/main/../main/php_config.h:1550:9: warning: 'HAVE_SOCKLEN_T' macro redefined [-Wmacro-redefined] 1550 | #define HAVE_SOCKLEN_T 1 | ^ sql_relay.cpp:57:12: note: previous definition is here 57 | #define HAVE_SOCKLEN_T | ^ In file included from sql_relay.cpp:72: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/main/php.h:33: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend/zend.h:27: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend/zend_types.h:25: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend/zend_portability.h:58: In file included from /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/stddef.h:35: In file included from /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stddef.h:108: /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_wchar_t.h:24:24: error: cannot combine with previous 'int' declaration specifier 24 | typedef __WCHAR_TYPE__ wchar_t; | ^ In file included from sql_relay.cpp:72: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/main/php.h:33: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend/zend.h:27: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend/zend_types.h:25: In file included from /var/tmp/work/databases/php-sqlrelay/work/.buildlink/include/php/7.4/Zend/zend_portability.h:61: /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/dlfcn.h:79:8: error: unknown type name '_Bool' 79 | extern bool dlopen_preflight(const char* __path) __API_AVAILABLE(macos(10.5), ios(2.0)) __DYLDDL_UNAVAILABLE; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:354:2: error: unknown type name '_Bool' 354 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:378:2: error: unknown type name '_Bool' 378 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:402:2: error: unknown type name '_Bool' 402 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:426:2: error: unknown type name '_Bool' 426 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:572:2: error: unknown type name '_Bool' 572 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:648:2: error: unknown type name '_Bool' 648 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:771:2: error: unknown type name '_Bool' 771 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:1161:2: error: unknown type name '_Bool' 1161 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:1188:2: error: unknown type name '_Bool' 1188 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:1216:2: error: unknown type name '_Bool' 1216 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:1246:2: error: unknown type name '_Bool' 1246 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:1274:2: error: unknown type name '_Bool' 1274 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:1305:2: error: unknown type name '_Bool' 1305 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:1389:2: error: unknown type name '_Bool' 1389 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:2000:2: error: unknown type name '_Bool' 2000 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:2026:2: error: unknown type name '_Bool' 2026 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ sql_relay.cpp:2050:2: error: unknown type name '_Bool' 2050 | bool r; | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stdbool.h:24:14: note: expanded from macro 'bool' 24 | #define bool _Bool | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. gmake: *** [Makefile:8: sql_relay.lo] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/php-sqlrelay *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/php-sqlrelay