=> Checksum BLAKE2s OK for grub-2.12.tar.xz
=> Checksum SHA512 OK for grub-2.12.tar.xz
===> Installing dependencies for grub2-2.12
==========================================================================
The supported build options for grub2 are:

	debug freetype fuse grub-efi

The currently selected options are:

	freetype

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.grub2 (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
grub2-2.12.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 312

Based on these variables, the following variables have been set:

        * PYPACKAGE = python312

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency help2man>=1.36: found help2man-1.49.3
=> Tool dependency python312>=3.12: found python312-3.12.8nb1
=> Tool dependency dejavu-ttf>=2.34nb1: found dejavu-ttf-2.37
=> Tool dependency unifont-[0-9]*: found unifont-15.0.03
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency gawk>=3.1.1: found gawk-5.3.0
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency xz>=4.999.9betanb1: found xz-5.6.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency png>=1.2.4: found png-1.6.44
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for grub2-2.12
===> Extracting for grub2-2.12
[ -f  /Users/pbulk/build/sysutils/grub2/work/grub-2.12/grub-core/extra_deps.lst ] ||  touch /Users/pbulk/build/sysutils/grub2/work/grub-2.12/grub-core/extra_deps.lst
===> Patching for grub2-2.12
=> Applying pkgsrc patches for grub2-2.12
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/grub2/patches/patch-tests_util_grub-shell.in
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/grub2/patches/patch-tests_util_grub-shell.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-tests_util_grub-shell.in,v 1.1 2024/02/07 17:50:45 wiz Exp $
|
|Fix unportable test(1) operator.
|
|--- tests/util/grub-shell.in.orig	2024-01-27 16:08:06.031712989 +0000
|+++ tests/util/grub-shell.in
--------------------------
Patching file tests/util/grub-shell.in using Plan A...
Hunk #1 succeeded at 426.
done
===> Creating toolchain wrappers for grub2-2.12
===> Configuring for grub2-2.12
=> Fixing fonts search paths in configure.
=> Fixing installation of OS configuration scripts.
=> Fixing configuration paths in scripts.
=> Fixing tabulations for sed in scripts.
WARNING: [subst.mk:fix-sed-tabs] Nothing changed in "util/grub.d/00_header.in".
WARNING: [subst.mk:fix-sed-tabs] Nothing changed in "util/grub.d/10_illumos.in".
WARNING: [subst.mk:fix-sed-tabs] Nothing changed in "util/grub.d/10_windows.in".
WARNING: [subst.mk:fix-sed-tabs] Nothing changed in "util/grub.d/10_xnu.in".
WARNING: [subst.mk:fix-sed-tabs] Nothing changed in "util/grub.d/25_bli.in".
WARNING: [subst.mk:fix-sed-tabs] Nothing changed in "util/grub.d/30_uefi-firmware.in".
WARNING: [subst.mk:fix-sed-tabs] Nothing changed in "util/grub.d/40_custom.in".
WARNING: [subst.mk:fix-sed-tabs] Nothing changed in "util/grub.d/41_custom.in".
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Fixing locale directory references.
checking for x86_64-apple-darwin23-gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether the compiler is clang... yes
checking for compiler option needed when checking for declarations... -Werror=implicit-function-declaration
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for sys/types.h... (cached) yes
checking for features.h... no
checking for linewrap.h... no
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for dirent.h... yes
checking for fnmatch.h... yes
checking for sys/stat.h... (cached) yes
checking for getopt.h... yes
checking for sys/cdefs.h... yes
checking for threads.h... no
checking for limits.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for langinfo.h... yes
checking for xlocale.h... yes
checking for sys/mman.h... yes
checking for malloc.h... no
checking for sys/time.h... yes
checking for strings.h... (cached) yes
checking for sysexits.h... yes
checking for crtdefs.h... no
checking for wctype.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking build system type... x86_64-apple-darwin23
checking host system type... x86_64-apple-darwin23
checking target system type... x86_64-pc-none
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /opt/pkg/bin/gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of clang... gcc3
checking pkg-config is at least version 0.9.0... yes
checking for cmp... /usr/bin/cmp
checking for bison... /opt/pkg/bin/bison -y
checking for x86_64-apple-darwin23-ranlib... no
checking for ranlib... ranlib
checking for gawk... (cached) /opt/pkg/bin/gawk
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for bison... (cached) /opt/pkg/bin/bison -y
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for makeinfo... /Users/pbulk/build/sysutils/grub2/work/.tools/bin/makeinfo
checking for Minix Amsterdam compiler... no
checking for x86_64-apple-darwin23-ar... no
checking for ar... ar
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for clang++ option to enable C++11 features... -std=gnu++11
checking dependency style of clang++ -std=gnu++11... gcc3
checking dependency style of clang... gcc3
checking whether /opt/pkg/bin/python3.12 version is >= 2.6... yes
checking for /opt/pkg/bin/python3.12 version... 3.1
checking for /opt/pkg/bin/python3.12 platform... darwin
checking for /opt/pkg/bin/python3.12 script directory... ${prefix}/lib/python3.12/site-packages
checking for /opt/pkg/bin/python3.12 extension module directory... ${exec_prefix}/lib/python3.12/site-packages
checking for clang++... yes
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking whether NLS is requested... yes
checking for msgfmt... /Users/pbulk/build/sysutils/grub2/work/.tools/bin/msgfmt
checking for gmsgfmt... /Users/pbulk/build/sysutils/grub2/work/.tools/bin/msgfmt
checking for xgettext... /opt/pkg/bin/xgettext
checking for msgmerge... /opt/pkg/bin/msgmerge
checking for ld used by clang... /Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl -liconv -Wl,-framework -Wl,CoreFoundation
checking for special C compiler options needed for large files... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) no
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking size of long... 8
checking size of off_t... 8
checking for help2man... /opt/pkg/bin/help2man
checking for posix_memalign... yes
checking for memalign... no
checking for getextmntent... no
checking for atexit... yes
checking for sys/param.h... (cached) yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking for limits.h... (cached) yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... no
checking sys/sysmacros.h presence... no
checking for sys/sysmacros.h... no
checking for struct statfs.f_fstypename... yes
checking for struct statfs.f_mntfromname... yes
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking for opendisk in -lutil... no
checking for getrawpartition in -lutil... no
checking whether -Wtrampolines work... no
checking for gcc... gcc
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict__
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for flockfile... yes
checking for funlockfile... yes
checking for btowc... yes
checking for _set_invalid_parameter_handler... no
checking for fchdir... yes
checking for fcntl... yes
checking for symlink... yes
checking for mempcpy... no
checking for fnmatch... yes
checking for mbsrtowcs... yes
checking for getdelim... yes
checking for getdtablesize... yes
checking for getprogname... yes
checking for getexecname... no
checking for isblank... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for isascii... yes
checking for mprotect... yes
checking for nl_langinfo... yes
checking for lstat... yes
checking for openat... yes
checking for pipe... yes
checking for iswctype... yes
checking for sleep... yes
checking for strndup... yes
checking for vasnprintf... no
checking for snprintf... yes
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for wcwidth... yes
checking for wmempcpy... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking whether <wchar.h> uses 'inline' correctly... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... fr_FR.ISO8859-1
checking whether malloc is ptrdiff_t safe... yes
checking whether malloc, realloc, calloc set errno on failure... yes
checking whether the preprocessor supports include_next... yes
checking whether source code line length is unlimited... yes
checking for complete errno.h... yes
checking whether ctype.h defines __header_inline... yes
checking whether fchdir is declared... yes
checking for working fcntl.h... yes
checking for pid_t... yes
checking for mode_t... yes
checking for mbstate_t... yes
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking whether getcwd (NULL, 0) allocates memory for result... yes
checking for getcwd with POSIX signature... yes
checking whether getdelim is declared... yes
checking whether getdtablesize is declared... yes
checking whether getline is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking whether POSIX threads API is available... yes
checking whether setlocale (LC_ALL, NULL) is multithread-safe... no
checking whether setlocale (category, NULL) is multithread-safe... yes
checking whether imported symbols can be declared weak... no
checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... no
checking for wint_t... yes
checking whether wint_t is large enough... yes
checking whether the compiler produces multi-arch binaries... no
checking whether stdint.h conforms to C99... yes
checking whether stdint.h works without ISO C predefines... yes
checking whether stdint.h has UINTMAX_WIDTH etc.... no
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ALTMON_1... no
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking for wchar_t... yes
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether locale.h defines locale_t... no
checking whether locale.h conforms to POSIX:2001... yes
checking whether struct lconv is properly defined... yes
checking whether imported symbols can be declared weak... (cached) no
checking for multithread API to use... posix
checking whether malloc (0) returns nonnull... yes
checking for a traditional japanese locale... ja_JP.eucJP
checking for a french Unicode locale... fr_FR.UTF-8
checking for a transitional chinese locale... zh_CN.GB18030
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memrchr is declared... no
checking for O_CLOEXEC... yes
checking for promoted mode_t type... int
checking whether lstat correctly handles trailing slash... no
checking whether alarm is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether fcloseall is declared... no
checking which flavor of printf attribute matches inttypes macros... system
checking whether ecvt is declared... yes
checking whether fcvt is declared... yes
checking whether gcvt is declared... yes
checking whether strdup is declared... yes
checking whether strerror(0) succeeds... no
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking for struct timespec in <time.h>... yes
checking for TIME_UTC in <time.h>... yes
checking whether execvpe is declared... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking where to find the exponent in a 'double'... word 1 bit 20
checking whether snprintf returns a byte count as in C99... yes
checking whether snprintf truncates the result as in C99... yes
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking whether vsnprintf is declared... yes
checking whether wcsdup is declared... yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking for C compiler option to allow warnings... -Wno-error
checking for alloca as a compiler built-in... yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking whether program_invocation_name is defined... no
checking whether program_invocation_short_name is defined... no
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... yes
checking for __builtin_expect... yes
checking whether calloc (0, n) and calloc (n, 0) return nonnull... yes
checking whether this system supports file names of any length... no
checking for dirfd... yes
checking whether dirfd is declared... yes
checking whether dirfd is a macro... no
checking whether // is distinct from /... no
checking whether dup2 works... yes
checking for error_at_line... no
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... yes
checking for flexible array member... yes
checking whether conversion from 'int' to 'long double' works... yes
checking for working POSIX fnmatch... no
checking whether free is known to preserve errno... no
checking for working getdelim function... yes
checking whether getdtablesize works... yes
checking for getline... yes
checking for working getline function... yes
checking whether program_invocation_name is declared... (cached) no
checking whether program_invocation_short_name is declared... (cached) no
checking whether __argv is declared... no
checking whether __progname is defined in default libraries... yes
checking whether the compiler supports the __inline keyword... yes
checking for pthread_rwlock_t... yes
checking whether pthread_rwlock_rdlock prefers a writer to a reader... yes
checking whether malloc (0) returns nonnull... (cached) yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc stores incomplete characters... no
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbsrtowcs works... yes
checking whether mbswidth is declared in <wchar.h>... no
checking for mbstate_t... (cached) yes
checking for mbtowc... yes
checking for mempcpy... (cached) no
checking for memrchr... no
checking whether YESEXPR works... yes
checking whether open recognizes a trailing slash... no
checking whether program_invocation_name is declared... (cached) no
checking whether program_invocation_short_name is declared... (cached) no
checking for rawmemchr... no
checking whether realloc (0, 0) returns nonnull... yes
checking for reallocarray... no
checking for working re_compile_pattern... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether isblank is declared... yes
checking whether setlocale (LC_ALL, NULL) is multithread-safe... (cached) no
checking whether setlocale (category, NULL) is multithread-safe... (cached) yes
checking whether imported symbols can be declared weak... (cached) no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking whether sleep is declared... yes
checking for working sleep... yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on files... no
checking for struct stat.st_atim.tv_nsec... no
checking for struct stat.st_atimespec.tv_nsec... yes
checking for struct stat.st_birthtimespec.tv_nsec... yes
checking for working stdalign.h... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking whether strncasecmp is declared... yes
checking for strchrnul... no
checking for working strndup... yes
checking for working strnlen... yes
checking for variable-length arrays... yes
checking for ptrdiff_t... yes
checking for vsnprintf... yes
checking whether snprintf respects a size of 1... yes
checking whether printf supports POSIX/XSI format strings with positions... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether wcrtomb works in the C locale... yes
checking whether wcrtomb return value is correct... yes
checking whether wcwidth is declared... yes
checking whether wcwidth works reasonably in UTF-8 locales... no
checking for wmemchr... yes
checking for stdint.h... (cached) yes
checking which extra warnings work...  -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2
checking for x86_64-gcc... no
checking for x86_64-egcs... no
checking for x86_64-cc... no
checking for gcc... gcc
checking for x86_64-objcopy... no
checking for objcopy... no
checking for x86_64-strip... no
checking for strip... strip
checking for x86_64-nm... no
checking for nm... nm
checking for x86_64-ranlib... no
checking for ranlib... ranlib
checking which extra warnings work...  -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2
checking if compiling with clang... yes
checking for options to compile assembly... 
checking whether -freg-struct-return works... no
checking whether -Wa,-mx86-used-note works... no
checking for options to get soft-float... -msoft-float -Xclang -msoft-float -Xclang -no-implicit-float
checking whether -fno-omit-frame-pointer works... yes
checking whether -fno-dwarf2-cfi-asm works... yes
checking whether -mno-stack-arg-probe works... yes
checking whether -fno-asynchronous-unwind-tables works... yes
checking whether -fno-unwind-tables works... yes
checking whether -fno-ident works... yes
checking for target linking format... -arch,x86_64
checking for objconv... no
checking for objconv... no
configure: error: objconv not found which is required when building with apple compiler
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/grub2
*** Error code 1

Stop.
bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/grub2