===> Building for units-2.01nb5 clang -DUNITSFILE=\"/opt/pkg/share/units/definitions.units\" -DLOCALEMAP=\"/opt/pkg/share/units/locale.map\" -DREADLINE -DSUPPORT_UTF8 -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"2.01\" -DPACKAGE_STRING=\"GNU\ units\ 2.01\" -DPACKAGE_BUGREPORT=\"adrianm@gnu.org\" -DPACKAGE_URL=\"http://www.gnu.org/software/units/\" -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 -pipe -Os -I/opt/pkg/include/readline -I/opt/pkg/include/ncurses -I/opt/pkg/include/python3.12 -I/opt/pkg/include -I. -c units.c In file included from units.c:57: ./units.h:57:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *strchr(); ^ ./units.h:67:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *strtok(); ^ ./units.h:68:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] double strtod(); ^ units.c:4110:49: error: expected expression rl_completion_entry_function = (Function *)completeunits; ^ units.c:4110:39: error: use of undeclared identifier 'Function'; did you mean 'isfunction'? rl_completion_entry_function = (Function *)completeunits; ^~~~~~~~ isfunction units.c:568:1: note: 'isfunction' declared here isfunction(char *str) ^ 3 warnings and 2 errors generated. *** [units.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/math/units/work/units-2.01 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/math/units/work/units-2.01 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/math/units *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/math/units