WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tcl-expat-1.1nb7 /Users/pbulk/build/textproc/tcl-expat/work/.cwrapper/bin/shlibtool --mode=compile clang -c -I/opt/pkg/include tclexpat.c libtool: compile: clang -c -I/Users/pbulk/build/textproc/tcl-expat/work/.buildlink/include tclexpat.c -fno-common -DPIC -o .libs/tclexpat.o tclexpat.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tclexpat_Init (interp) ^ tclexpat.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatObjCmd(dummy, interp, objc, objv) ^ tclexpat.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatCreateParser(interp, expat) ^ tclexpat.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatFreeParser(expat) ^ tclexpat.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatInstanceCmd (clientData, interp, objc, objv) ^ tclexpat.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatParse (interp, expat, data, len) ^ tclexpat.c:468:22: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] sprintf(s, "%d", XML_GetCurrentLineNumber(expat->parser)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ tclexpat.c:471:22: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] sprintf(s, "%d", XML_GetCurrentColumnNumber(expat->parser)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ tclexpat.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatConfigure (interp, expat, objc, objv) ^ tclexpat.c:692:34: warning: incompatible pointer types passing 'XML_Parser' (aka 'struct XML_ParserStruct *') to parameter of type 'TclExpatInfo *' (aka 'struct TclExpatInfo *') [-Wincompatible-pointer-types] return TclExpatParse(interp, expat->parser, "", 0); ^~~~~~~~~~~~~ tclexpat.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatCget (interp, expat, objc, objv) ^ tclexpat.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatHandlerResult(expat, result) ^ tclexpat.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatElementStartHandler(userData, name, atts) ^ tclexpat.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatElementEndHandler(userData, name) ^ tclexpat.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatCharacterDataHandler(userData, s, len) ^ tclexpat.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatProcessingInstructionHandler(userData, target, data) ^ tclexpat.c:1071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatDefaultHandler(userData, s, len) ^ tclexpat.c:1130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatUnparsedDeclHandler(userData, entityname, base, systemId, publicId, notationName) ^ tclexpat.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatNotationDeclHandler(userData, notationName, base, systemId, publicId) ^ tclexpat.c:1277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatUnknownEncodingHandler(encodingHandlerData, name, info) ^ tclexpat.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatExternalEntityRefHandler(parser, openEntityNames, base, systemId, publicId) ^ tclexpat.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclExpatDeleteCmd(clientData) ^ 22 warnings generated. /Users/pbulk/build/textproc/tcl-expat/work/.cwrapper/bin/shlibtool --mode=link clang -o tclexpat.la tclexpat.lo -L/opt/pkg/lib -rpath "$(echo /opt/pkg/lib/tcl | cut -f 1 -d :)" -Wl,-rpath,/opt/pkg/lib -lexpat -ltcl85 -module -avoid-version libtool: link: clang -Wl,-undefined -Wl,dynamic_lookup -o .libs/tclexpat.so -bundle .libs/tclexpat.o -L/Users/pbulk/build/textproc/tcl-expat/work/.buildlink/lib /Users/pbulk/build/textproc/tcl-expat/work/.buildlink/lib/libexpat.dylib -ltcl85 -Wl,-rpath -Wl,/opt/pkg/lib ld: library 'tcl85' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [tclexpat.so] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/textproc/tcl-expat/work/TclExpat-1.1 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/textproc/tcl-expat/work/TclExpat-1.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/tcl-expat *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/tcl-expat