===> Building for emacs30-nox11-30.1 /opt/pkg/bin/gmake actual-all || /opt/pkg/bin/gmake advice-on-failure make-target=all exit-status=$? gmake[1]: Entering directory '/Users/pbulk/build/editors/emacs30-nox11/work/emacs-30.1' /opt/pkg/bin/gmake -C lib all gmake[2]: Entering directory '/Users/pbulk/build/editors/emacs30-nox11/work/emacs-30.1/lib' GEN alloca.h GEN assert.h GEN byteswap.h GEN dirent.h GEN endian.h GEN fcntl.h GEN getopt.h GEN getopt-cdefs.h GEN malloc/dynarray.gl.h GEN malloc/dynarray-skeleton.gl.h GEN malloc/scratch_buffer.gl.h GEN ieee754.h GEN inttypes.h echo '#include "mini-gmp.h"' > gmp.h-t mv gmp.h-t gmp.h GEN limits.h GEN signal.h GEN stdbit.h GEN stdckdint.h GEN stddef.h GEN stdint.h GEN stdio.h GEN stdlib.h GEN string.h GEN sys/random.h GEN sys/select.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN time.h GEN unistd.h CC fingerprint.o CC memmem.o CC mktime.o CC acl-errno-valid.o CC acl-internal.o CC get-permissions.o CC set-permissions.o CC allocator.o CC openat-proc.o CC binary-io.o CC boot-time.o CC byteswap.o CC c-ctype.o CC c-strcasecmp.o CC c-strncasecmp.o CC canonicalize-lgpl.o CC careadlinkat.o CC cloexec.o CC close-stream.o CC copy-file-range.o CC md5-stream.o CC md5.o CC sha1.o CC sha256.o CC sha512.o CC dtoastr.o CC dtotimespec.o CC endian.o CC euidaccess.o CC faccessat.o CC file-has-acl.o CC filemode.o CC filevercmp.o CC fpending.o CC free.o CC fstatat.o CC fsusage.o CC getgroups.o CC getopt.o CC getopt1.o getopt1.c:28:50: error: expected ')' getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, ^ getopt1.c:28:13: note: to match this '(' getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, ^ getopt1.c:28:1: error: conflicting types for 'getopt_long' getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, ^ /Users/pbulk/build/editors/emacs30-nox11/work/.buildlink/include/getopt.h:62:5: note: previous declaration is here int getopt_long(int, char * const *, const char *, ^ getopt1.c:31:44: error: use of undeclared identifier 'argv' return _getopt_internal (argc, (char **) argv, options, long_options, ^ getopt1.c:31:50: error: use of undeclared identifier 'options'; did you mean 'optind'? return _getopt_internal (argc, (char **) argv, options, long_options, ^~~~~~~ optind /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:512:12: note: 'optind' declared here extern int optind, opterr, optopt; ^ getopt1.c:31:59: error: use of undeclared identifier 'long_options' return _getopt_internal (argc, (char **) argv, options, long_options, ^ getopt1.c:32:7: error: use of undeclared identifier 'opt_index'; did you mean 'optind'? opt_index, 0, 0); ^~~~~~~~~ optind /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:512:12: note: 'optind' declared here extern int optind, opterr, optopt; ^ getopt1.c:50:55: error: expected ')' getopt_long_only (int argc, char *__getopt_argv_const *argv, ^ getopt1.c:50:18: note: to match this '(' getopt_long_only (int argc, char *__getopt_argv_const *argv, ^ getopt1.c:54:44: error: use of undeclared identifier 'argv' return _getopt_internal (argc, (char **) argv, options, long_options, ^ getopt1.c:54:50: error: use of undeclared identifier 'options'; did you mean 'optind'? return _getopt_internal (argc, (char **) argv, options, long_options, ^~~~~~~ optind /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:512:12: note: 'optind' declared here extern int optind, opterr, optopt; ^ getopt1.c:54:59: error: use of undeclared identifier 'long_options' return _getopt_internal (argc, (char **) argv, options, long_options, ^ getopt1.c:55:7: error: use of undeclared identifier 'opt_index'; did you mean 'optind'? opt_index, 1, 0); ^~~~~~~~~ optind /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:512:12: note: 'optind' declared here extern int optind, opterr, optopt; ^ 11 errors generated. gmake[2]: *** [Makefile:103: getopt1.o] Error 1 gmake[2]: Leaving directory '/Users/pbulk/build/editors/emacs30-nox11/work/emacs-30.1/lib' gmake[1]: *** [Makefile:537: lib] Error 2 gmake[1]: Leaving directory '/Users/pbulk/build/editors/emacs30-nox11/work/emacs-30.1' gmake[1]: Entering directory '/Users/pbulk/build/editors/emacs30-nox11/work/emacs-30.1' *** *** "make all" failed with exit status 2. *** *** You could try to: *** - run "make bootstrap", which might fix the problem *** - run "make V=1", which displays the full commands invoked by make, *** to further investigate the problem *** gmake[1]: *** [Makefile:418: advice-on-failure] Error 2 gmake[1]: Leaving directory '/Users/pbulk/build/editors/emacs30-nox11/work/emacs-30.1' gmake: *** [Makefile:374: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/emacs30-nox11 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/emacs30-nox11