=> Bootstrap dependency digest>=20211023: found digest-20220214 => 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 = 311 Based on these variables, the following variables have been set: * PYPACKAGE = python311 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 python311>=3.11: found python311-3.11.9nb1 => Tool dependency dejavu-ttf>=2.34nb1: found dejavu-ttf-2.37 => Tool dependency unifont-[0-9]*: found unifont-15.0.03 => Tool dependency mktools-[0-9]*: found mktools-20220614 => 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.2.0nb1 => Tool dependency xz>=4.999.9betanb1: found xz-5.6.2 => 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.2nb1 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 ===> 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 portability problems in extracted files 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 gawk: fatal error: internal error Abort trap configure: error: flex is too old. GRUB requires 2.5.35 or above *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/grub2 *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/grub2