=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/moscow_ml", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for moscow_ml-2.10.1 cd config; /opt/pkg/bin/gmake all gmake[1]: Entering directory '/var/tmp/work/lang/moscow_ml/work/mosml-ver-2.10.1/src/config' sh autoconf gcc Checking the sizes of integers and pointers... Wow! A 64 bit architecture! The char type is signed. Good! This is a little-endian architecture. This architecture has no alignment constraints. Doubles can be word-aligned. Function "memmove" is provided and handles overlapping moves correctly. Function "bcopy" is provided and handles overlapping moves correctly. Function "memcpy" is provided and handles overlapping moves correctly. _setjmp and _longjmp appear to work. Good! sighandler.c:3:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1 warning generated. sighandler.c:3:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] sighandler.c:6:7: warning: incompatible function pointer types assigning to 'int (*)()' from 'void (*)(int)' [-Wincompatible-function-pointer-types] 2 warnings generated. Sorry, I can't determine the return type for signal handlers. I'm assuming "void". If this seems to cause errors, try to change "sighandler_return_type" in s.h Signals have the BSD semantics. rename() found. You have BSD sockets. lockf() found. mkfifo() found. getpriority() found. utimes() found. dup2() found. fchmod() found. truncate() found. select() found. symlink() found. wait3() found. waitpid() found. cp m.h s.h ../runtime gmake[1]: Leaving directory '/var/tmp/work/lang/moscow_ml/work/mosml-ver-2.10.1/src/config' cd runtime; /opt/pkg/bin/gmake all gmake[1]: Entering directory '/var/tmp/work/lang/moscow_ml/work/mosml-ver-2.10.1/src/runtime' awk -f ../tools/make-jumptbl instruct.h > jumptbl.h gcc -c -Dunix -O3 -DTHREADED -fPIC -o expand.o expand.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o misc.o misc.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o stacks.o stacks.c In file included from stacks.c:4: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ 1 warning generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o fix_code.o fix_code.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o main.o main.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o fail.o fail.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o signals.o signals.c main.c:86:24: warning: passing arguments to 'searchpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | truename = searchpath(*name); | ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o freelist.o freelist.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o major_gc.o major_gc.c 1 warning generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o minor_gc.o minor_gc.c freelist.c:71:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | static char *allocate_block (wh_sz, prev, cur) | ^ freelist.c:99:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | char *fl_allocate (wo_sz) | ^ freelist.c:138:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | char *fl_merge_block (bp) | ^ freelist.c:202:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | void fl_add_block (bp) | ^ 4 warnings generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o memory.o memory.c In file included from minor_gc.c:5: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ 1 warning generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o alloc.o alloc.c In file included from memory.c:3: In file included from ./mlvalues.h:5: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o roots.o roots.c 1 warning generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o compare.o compare.c In file included from alloc.c:7: In file included from ./alloc.h:5: In file included from ./misc.h:6: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ 1 warning generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o ints.o ints.c roots.c:16:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | copy_fn (sp, *sp); | ^ roots.c:24:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | copy_fn (sp, *sp); | ^ roots.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | void local_roots (copy_fn) | ^ 3 warnings generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o floats.o floats.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o str.o str.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o io.o io.c floats.c:87:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 87 | extern double atof(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:149:9: note: conflicting prototype is here 149 | double atof(const char *); | ^ 1 warning generated. In file included from str.c:5: In file included from ./alloc.h:5: In file included from ./misc.h:6: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o extern.o extern.c str.c:37:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 37 | return (*p1 < *p2 ? Val_long(-1) : Val_long(1)); | ^~~~~~~~~~~~ ./mlvalues.h:63:37: note: expanded from macro 'Val_long' 63 | #define Val_long(x) (((long)(x) << 1) + 1) | ~~~~~~~~~ ^ str.c:41:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 41 | return Val_long(-2); | ^~~~~~~~~~~~ ./mlvalues.h:63:37: note: expanded from macro 'Val_long' 63 | #define Val_long(x) (((long)(x) << 1) + 1) | ~~~~~~~~~ ^ 3 warnings generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o externcp.o externcp.c extern.c:56:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | static byteoffset_t emit(v) | ^ extern.c:129:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | value extern_val(chan, v) /* ML */ | ^ In file included from io.c:16: In file included from ./alloc.h:5: In file included from ./misc.h:6: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ 2 warnings generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o intern.o intern.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o interncp.o interncp.c 1 warning generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o hash.o hash.c In file included from intern.c:4: In file included from ./debugger.h:4: In file included from ./misc.h:6: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ hash.c:13:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | value hash_univ_param(count, limit, obj) /* ML */ | ^ hash.c:26:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | value hash_univ_safe_param(count, limit, obj) /* ML */ | ^ 2 warnings generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o sys.o sys.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o meta.o meta.c 1 warning generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o parsing.o parsing.c parsing.c:72:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | value parse_engine(tables, env, cmd, arg) /* ML */ | ^ parsing.c:132:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 132 | env->curr_char = Val_int(-1); | ^~~~~~~~~~~ ./mlvalues.h:67:17: note: expanded from macro 'Val_int' 67 | #define Val_int Val_long | ^ ./mlvalues.h:63:37: note: expanded from macro 'Val_long' 63 | #define Val_long(x) (((long)(x) << 1) + 1) | ~~~~~~~~~ ^ 2 warnings generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o lexing.o lexing.c In file included from meta.c:5: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ meta.c:53:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | value realloc_global(size) /* ML */ | ^ meta.c:76:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | value static_alloc(size) /* ML */ | ^ meta.c:82:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | value static_free(blk) /* ML */ | ^ meta.c:89:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | value static_resize(blk, new_size) /* ML */ | ^ meta.c:95:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | value obj_is_block(arg) /* ML */ | ^ meta.c:101:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | value obj_block(tag, size) /* ML */ | ^ 7 warnings generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o gc_ctrl.o gc_ctrl.c In file included from sys.c:16: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ lexing.c:18:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | value get_next_char(lexbuf) /* ML */ | ^ 1 warning generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o mosml.o mosml.c 1 warning generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o unix.o unix.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o runtime.o runtime.c gcc -c -Dunix -O3 -DTHREADED -fPIC -o md5sum.o md5sum.c In file included from mosml.c:28: In file included from ./mlvalues.h:5: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o callback.o callback.c mosml.c:979:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 979 | extern char *realpath(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:248:18: note: conflicting prototype is here 248 | char *_LIBC_CSTR realpath(const char * __restrict, char * __restrict _LIBC_COUNT__PATH_MAX) __DARWIN_EXTSN(realpath); | ^ mosml.c:994:9: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 994 | res = tmpnam(NULL); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:287:1: note: 'tmpnam' has been explicitly marked deprecated here 287 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 3 warnings generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o dynlib.o dynlib.c sed -n -e '/\/\* ML \*\//s/.* \([a-zA-Z0-9_][a-zA-Z0-9_]*\) *(.*/\1/p' \ compare.c extern.c externcp.c floats.c gc_ctrl.c hash.c intern.c interncp.c interp.c ints.c io.c lexing.c meta.c parsing.c str.c sys.c mosml.c unix.c md5sum.c callback.c dynlib.c > primitives2 sh -c 'if cmp -s primitives primitives2; \ then rm primitives2; \ else mv primitives2 primitives; \ fi' In file included from md5sum.c:4: In file included from ./mlvalues.h:5: ./config.h:23:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 23 | #define bcopy(src,dst,len) memmove((dst), (src), (len)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here 45 | #define bcopy(src, dest, ...) \ | ^ gcc -c -Dunix -O3 -DTHREADED -fPIC -o interp.o interp.c (echo '#include "mlvalues.h"'; \ echo '#include "prims.h"'; \ sed -e 's/.*/extern value &();/' primitives; \ echo 'c_primitive cprim[] = {'; \ sed -e 's/.*/ &,/' primitives; \ echo ' 0 };'; \ echo 'char * names_of_cprim[] = {'; \ sed -e 's/.*/ "&",/' primitives; \ echo ' 0 };') > prims.c 1 warning generated. gcc -c -Dunix -O3 -DTHREADED -fPIC -o prims.o prims.c interp.c:1135:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | accu = (cprim[u16pc])(accu); | ^ interp.c:1142:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | accu = (cprim[u16pc])(sp[1], accu); | ^ interp.c:1149:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | accu = (cprim[u16pc])(sp[2], sp[1], accu); | ^ interp.c:1156:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | accu = (cprim[u16pc])(sp[3], sp[2], sp[1], accu); | ^ interp.c:1163:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | accu = (cprim[u16pc])(sp[4], sp[3], sp[2], sp[1], accu); | ^ interp.c:1177:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | accu = (cprim[u16pc])(args, n); | ^ 6 warnings generated. gcc -rdynamic -Wl,-rpath,/opt/pkg/lib/mosml -o camlrunm prims.o interp.o expand.o misc.o stacks.o fix_code.o main.o fail.o signals.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o compare.o ints.o floats.o str.o io.o extern.o externcp.o intern.o interncp.o hash.o sys.o meta.o parsing.o lexing.o gc_ctrl.o mosml.o unix.o runtime.o md5sum.o callback.o dynlib.o -lm -ldl -L/opt/pkg/lib strip -S camlrunm gmake[1]: Leaving directory '/var/tmp/work/lang/moscow_ml/work/mosml-ver-2.10.1/src/runtime' cp runtime/camlrunm . cd mosmlyac; /opt/pkg/bin/gmake all gmake[1]: Entering directory '/var/tmp/work/lang/moscow_ml/work/mosml-ver-2.10.1/src/mosmlyac' gcc -c -O -DNDEBUG -o closure.o closure.c gcc -c -O -DNDEBUG -o error.o error.c gcc -c -O -DNDEBUG -o lalr.o lalr.c lalr.c:429:27: warning: passing arguments to 'transpose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | new_includes = transpose(includes, ngotos); | ^ lalr.c:23:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | short **transpose(); | ^ lalr.c:470:9: note: conflicting prototype is here 470 | short **transpose(short **R, int n) | ^ gcc -c -O -DNDEBUG -o lr0.o lr0.c gcc -c -O -DNDEBUG -o main.o main.c 2 warnings generated. gcc -c -O -DNDEBUG -o mkpar.o mkpar.c lr0.c:109:25: warning: passing arguments to 'get_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | shiftset[i] = get_state(symbol); | ^ lr0.c:13:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | int get_state(); | ^ lr0.c:154:5: note: conflicting prototype is here 154 | int get_state(int symbol) | ^ lr0.c:201:32: warning: passing arguments to 'new_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | sp = sp->link = new_state(symbol); | ^ lr0.c:209:33: warning: passing arguments to 'new_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | state_set[key] = sp = new_state(symbol); | ^ lr0.c:14:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | core *new_state(); | ^ lr0.c:280:7: note: conflicting prototype is here 280 | core *new_state(int symbol) | ^ main.c:74:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 74 | extern char *mktemp(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:233:18: note: conflicting prototype is here 233 | char *_LIBC_CSTR mktemp(char *_LIBC_CSTR); | ^ main.c:75:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 75 | extern char *getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ main.c:279:5: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 279 | mktemp(action_file_name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:231:1: note: 'mktemp' has been explicitly marked deprecated here 231 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ main.c:280:5: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 280 | mktemp(entry_file_name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:231:1: note: 'mktemp' has been explicitly marked deprecated here 231 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ main.c:281:5: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 281 | mktemp(text_file_name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:231:1: note: 'mktemp' has been explicitly marked deprecated here 231 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ main.c:282:5: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 282 | mktemp(union_file_name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:231:1: note: 'mktemp' has been explicitly marked deprecated here 231 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 6 warnings generated. gcc -c -O -DNDEBUG -o output.o output.c mkpar.c:36:27: warning: passing arguments to 'parse_actions' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | parser[i] = parse_actions(i); | ^ mkpar.c:17:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern action *parse_actions(); | ^ mkpar.c:46:9: note: conflicting prototype is here 46 | action *parse_actions(register int stateno) | ^ mkpar.c:50:25: warning: passing arguments to 'get_shifts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | actions = get_shifts(stateno); | ^ mkpar.c:51:29: warning: passing arguments to 'add_reductions' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | actions = add_reductions(stateno, actions); | ^ mkpar.c:18:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern action *get_shifts(); | ^ mkpar.c:56:9: note: conflicting prototype is here 56 | action *get_shifts(int stateno) | ^ mkpar.c:19:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern action *add_reductions(); | ^ mkpar.c:89:9: note: conflicting prototype is here 89 | action *add_reductions(int stateno, register action *actions) | ^ mkpar.c:105:23: warning: passing arguments to 'add_reduce' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | actions = add_reduce(actions, ruleno, j); | ^ mkpar.c:20:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern action *add_reduce(); | ^ mkpar.c:112:9: note: conflicting prototype is here 112 | action *add_reduce(register action *actions, | ^ 5 warnings generated. gcc -c -O -DNDEBUG -o reader.o reader.c 8 warnings generated. gcc -c -O -DNDEBUG -o skeleton.o skeleton.c gcc -c -O -DNDEBUG -o symtab.o symtab.c gcc -c -O -DNDEBUG -o verbose.o verbose.c gcc -c -O -DNDEBUG -o warshall.o warshall.c gcc -O -DNDEBUG -L/opt/pkg/lib -o mosmlyac closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o strip -S mosmlyac gmake[1]: Leaving directory '/var/tmp/work/lang/moscow_ml/work/mosml-ver-2.10.1/src/mosmlyac' cd mosmllib; /opt/pkg/bin/gmake all gmake[1]: Entering directory '/var/tmp/work/lang/moscow_ml/work/mosml-ver-2.10.1/src/mosmllib' cpp -P -traditional -Dunix -Umsdos Array.mlp > Array.sml ../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Vector.sig ../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes List.sig exec failed gmake[1]: *** [../Makefile.inc:214: Array.sml] Error 255 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/var/tmp/work/lang/moscow_ml/work/mosml-ver-2.10.1/src/mosmllib' gmake: *** [Makefile:30: world] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/moscow_ml *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/moscow_ml