=> Checksum BLAKE2s OK for grep-3.11.tar.xz => Checksum SHA512 OK for grep-3.11.tar.xz ===> Installing dependencies for grep-3.11 ========================================================================== The supported build options for grep are: nls The currently selected options are: nls You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.grep (not defined) ========================================================================== => Tool dependency gtexinfo>=4.0: found gtexinfo-7.1.1nb1 => Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency xz>=4.999.9betanb1: found xz-5.8.1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency pcre2>=10.30: found pcre2-10.45 => Full dependency libiconv>=1.9.1: found libiconv-1.17 ===> Overriding tools for grep-3.11 ===> Extracting for grep-3.11 ===> Patching for grep-3.11 => Applying pkgsrc patches for grep-3.11 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/grep/patches/patch-configure => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/grep/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.2 2021/08/15 17:08:24 wiz Exp $ | |* pkgsrc always supplies working grep. | |--- configure.orig 2021-08-14 19:53:52.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 4638 (offset 380 lines). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/grep/patches/patch-src_Makefile.in => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/grep/patches/patch-src_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_Makefile.in,v 1.2 2019/06/11 10:17:28 jperkin Exp $ | |Make the paths in gegrep & gfgrep absolute so if they are used without |${PREFIX}/${PKGGNUDIR}bin being in the path, they still work. | |--- src/Makefile.in.orig 2016-12-07 08:15:19.000000000 +0100 |+++ src/Makefile.in 2017-03-30 10:33:33.000000000 +0200 -------------------------- Patching file src/Makefile.in using Plan A... Hunk #1 succeeded at 2152 (offset 551 lines). done ===> Creating toolchain wrappers for grep-3.11 ===> Configuring for grep-3.11 => 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 a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff checking whether sleep supports fractional seconds... true checking the filesystem timestamp resolution... 0.8 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/install -d -o pbulk -g staff -m 755 checking for gawk... /opt/pkg/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking build system type... aarch64-apple-darwin23 checking host system type... aarch64-apple-darwin23 checking for gawk... (cached) /opt/pkg/bin/nawk checking for aarch64-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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether the compiler is clang... yes checking for compiler option needed when checking for declarations... -Werror=implicit-function-declaration checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... gcc3 checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/param.h... yes checking for sys/socket.h... yes checking for dirent.h... yes checking for error.h... no checking for fnmatch.h... yes checking for stdio_ext.h... no checking for sys/vfs.h... no checking for getopt.h... yes checking for sys/cdefs.h... yes checking for threads.h... no checking for iconv.h... yes checking for limits.h... yes checking for crtdefs.h... no checking for wctype.h... 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 stdbool.h... yes checking for stdckdint.h... no checking for features.h... no checking for arpa/inet.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for sys/select.h... yes checking for sys/wait.h... yes checking for pthread.h... yes checking for sys/ioctl.h... yes checking for sys/uio.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... clang -E checking for egrep -e... /Users/pbulk/build/textproc/grep/work/.tools/bin/grep -E checking for Minix Amsterdam compiler... no checking for aarch64-apple-darwin23-ar... no checking for ar... ar checking for aarch64-apple-darwin23-ranlib... no checking for ranlib... ranlib checking for clang option to enable large file support... none needed checking for clang option for timestamps after 2038... none needed checking for aarch64-apple-darwin23-ranlib... ranlib checking pkg-config is at least version 0.9.0... no checking for size_t... yes checking for an ANSI C-conforming const... yes checking for working alloca.h... yes checking for alloca... yes checking whether the preprocessor supports include_next... yes checking whether source code line length is unlimited... yes checking whether uses 'inline' correctly... yes checking for btowc... yes checking for mbrtowc... yes checking for _set_invalid_parameter_handler... no checking for fchdir... yes checking for fcntl... yes checking for symlink... yes checking for fdopendir... yes checking for fnmatch... yes checking for mbsrtowcs... yes checking for fstatat... yes checking for openat... yes checking for fstatfs... yes checking for getdtablesize... yes checking for getexecname... no checking for isblank... yes checking for iswcntrl... yes checking for lstat... yes checking for mbsinit... yes checking for mbrlen... yes checking for mbslen... no checking for mprotect... yes checking for pipe... yes checking for iswctype... yes checking for sigaltstack... yes checking for setrlimit... yes checking for getrlimit... yes checking for __xpg_strerror_r... no checking for strtoimax... yes checking for strtoumax... yes checking for wcrtomb... yes checking for wctob... yes checking for wcwidth... yes checking for gettimeofday... yes checking for pselect... yes checking for pthread_sigmask... yes checking for setenv... yes checking for sleep... yes checking for snprintf... yes checking for shutdown... yes checking for vasnprintf... no checking for isascii... yes checking for setlocale... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... fr_FR.ISO8859-1 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 32-bit host C ABI... no checking for ELF binary format... no checking for the common suffixes of directories in the library search path... lib,lib,lib checking whether malloc is ptrdiff_t safe... yes checking whether malloc, realloc, calloc set errno on failure... yes checking for inline... inline checking for clang options needed to detect all undeclared functions... -fno-builtin checking for complete errno.h... yes checking for error... no checking whether error_at_line is declared... no checking whether strerror_r is declared... yes checking whether strerror_r returns char *... no 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 promoted mode_t type... int checking for mbstate_t... yes checking whether fopen recognizes a trailing slash... yes checking whether fflush works on input streams... no checking whether stat file-mode macros are broken... no checking for C/C++ restrict keyword... __restrict__ checking for nlink_t... yes checking whether lstat correctly handles trailing slash... no checking for O_CLOEXEC... yes checking whether getcwd (NULL, 0) allocates memory for result... yes checking for getcwd with POSIX signature... yes checking whether getdtablesize is declared... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... no checking for pthread.h... (cached) 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 host CPU and C ABI... arm64 checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking whether iconv is compatible with its POSIX signature... yes 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 INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... yes checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... yes checking whether iswcntrl works... yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... 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 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 for unreachable... no 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 for a sed that does not truncate output... /opt/pkg/bin/nbsed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking whether malloc (0) returns nonnull... 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... (cached) assume yes checking whether the C locale is free of encoding errors... yes checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether memrchr is declared... no checking whether defines MIN and MAX... no checking whether defines MIN and MAX... yes checking for sigset_t... yes checking whether alarm is declared... yes checking for ssize_t... yes checking for uid_t... yes checking for gid_t... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... no checking whether fcloseall is declared... no checking whether getw is declared... yes checking whether putw is declared... yes 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 MB_CUR_MAX is correct... yes checking whether strdup is declared... yes checking whether strerror(0) succeeds... no checking for strerror_r... yes checking whether strnlen is declared... yes checking whether strstr works... yes checking whether strtoimax is declared... yes checking whether strtoumax is declared... yes checking for struct timespec in ... yes checking for TIME_UTC in ... yes checking whether execvpe is declared... no 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 whether wcsdup is declared... yes checking for C compiler option to allow warnings... -Wno-error checking for C++ compiler option to allow warnings... none checking whether is self-contained... yes checking for shutdown... (cached) yes checking whether defines the SHUT_* macros... yes checking for struct sockaddr_storage... yes checking for sa_family_t... yes checking for struct sockaddr_storage.ss_family... yes checking for a turkish Unicode locale... none checking if environ is properly declared... no checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking for off_t... yes checking for LC_MESSAGES... yes checking for uselocale... yes checking whether uselocale works... yes checking for fake locale system (OpenBSD)... no checking for Solaris 11.4 locale system... no checking for getlocalename_l... no checking for CFPreferencesCopyAppValue... yes checking for CFLocaleCopyPreferredLanguages... yes checking whether is self-contained... yes checking for pthread_t... yes checking for pthread_spinlock_t... no checking for PTHREAD_CREATE_DETACHED... yes checking for PTHREAD_MUTEX_RECURSIVE... yes checking for PTHREAD_MUTEX_ROBUST... no checking for PTHREAD_PROCESS_SHARED... yes checking for sched.h... yes checking for struct sched_param... yes checking for library containing setsockopt... none needed checking whether setenv is declared... yes checking for search.h... yes checking for tsearch... yes checking whether snprintf returns a byte count as in C99... yes checking whether printf supports POSIX/XSI format strings with positions... yes checking whether snprintf is declared... yes checking where to find the exponent in a 'double'... word 1 bit 20 checking whether declares ioctl... yes checking whether unsetenv is declared... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether snprintf truncates the result as in C99... yes checking for wcslen... yes checking for snprintf... (cached) yes checking for strnlen... yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking for alignas and alignof... yes, macros checking for alloca as a compiler built-in... yes checking whether to enable assertions... yes checking for static_assert... no checking whether btowc(0) is correct... yes checking whether btowc(EOF) is correct... yes checking whether btowc is consistent with mbrtowc in the C locale... yes checking whether the C locale is free of encoding errors... (cached) 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 closedir... yes checking for d_ino member in directory struct... yes checking for d_type member in directory struct... yes checking for dirfd... yes checking whether dirfd is declared... yes checking whether dirfd is a macro... no checking how to get the file descriptor associated with an open DIR*... no_such_member checking whether // is distinct from /... no checking whether dup works... yes checking whether dup2 works... yes checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... yes checking whether fdopendir is declared... yes checking whether fdopendir works... yes checking for mempcpy... no checking for flexible array member... yes checking for working POSIX fnmatch... no checking whether fopen supports the mode character 'x'... yes checking whether fopen supports the mode character 'e'... no checking for __fpending... no checking whether free is known to preserve errno... no checking whether fstatat (..., 0) works... yes checking for fts_open... yes checking whether getdtablesize works... yes checking for getpagesize... yes checking whether getpagesize is declared... yes checking for getprogname... yes checking whether program_invocation_name is declared... no checking whether the compiler generally respects inline... yes checking for iswblank... yes checking whether iswblank is declared... yes checking whether iswdigit is ISO C compliant... yes checking whether iswxdigit is ISO C compliant... yes checking whether the compiler supports the __inline keyword... yes checking whether localeconv works... yes checking for pthread_rwlock_t... yes checking whether pthread_rwlock_rdlock prefers a writer to a reader... yes checking whether lseek detects pipes... yes checking whether SEEK_DATA works but is incompatible with GNU... no checking whether malloc (0) returns nonnull... (cached) yes checking whether mbrtowc handles a NULL pwc argument... (cached) yes checking whether mbrtowc handles a NULL string argument... (cached) yes checking whether mbrtowc has a correct return value... (cached) yes checking whether mbrtowc returns 0 when parsing a NUL character... (cached) yes checking whether mbrtowc stores incomplete characters... (cached) no checking whether mbrtowc works on empty input... (cached) assume yes checking whether the C locale is free of encoding errors... (cached) yes checking whether mbsrtowcs works... yes checking whether the C locale is free of encoding errors... (cached) yes checking for mbtowc... yes checking for mempcpy... (cached) no checking for memrchr... no checking for nl_langinfo... yes checking whether YESEXPR works... yes checking for obstacks that work with any size object... no checking whether open recognizes a trailing slash... no checking for opendir... yes checking for Perl 5.005 or newer... no configure: WARNING: WARNING: You don't seem to have perl5.005 or newer installed, or you lack a usable version of the Perl File::Compare module. As a result, you may be unable to run a few tests or to regenerate certain files if you modify the sources from which they are derived. checking for raise... yes checking for sigprocmask... yes checking for rawmemchr... no checking for readdir... yes checking whether realloc (0, 0) returns nonnull... yes checking for reallocarray... no checking for working re_compile_pattern... no 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 stack direction... grows down checking for stack_t... yes checking for working sigaltstack... guessing yes checking for correct stack_t interpretation... yes checking for ssize_t... (cached) 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 va_copy... yes checking for bool, true, false... no checking for stpcpy... yes checking for working strnlen... yes checking whether strstr works in linear time... no checking whether strstr works... (cached) yes checking whether strtoimax works... yes checking for strtoll... yes checking whether strtoll works... no checking for strtoull... yes checking whether strtoull works... no checking for variable-length arrays... yes checking whether wcrtomb works in the C locale... yes checking whether wcrtomb return value is correct... yes checking whether wctob works... yes checking whether wctob is declared... yes checking whether wcwidth is declared... yes checking whether wcwidth works reasonably in UTF-8 locales... no checking for wmemchr... yes checking for wmempcpy... no checking whether fdopen sets errno... yes checking whether conversion from 'int' to 'long double' works... yes checking for ftruncate... yes checking for gettimeofday with POSIX signature... yes checking for duplocale... yes checking for library containing inet_pton... none required checking whether inet_pton is declared... yes checking whether byte ordering is bigendian... no checking for ioctl... yes checking for ioctl with POSIX signature... no checking for newlocale... yes checking for newlocale... (cached) yes checking for duplocale... (cached) yes checking for freelocale... yes checking for newlocale... (cached) yes checking for library containing nanosleep... none required checking for working nanosleep... no (mishandles large arguments) checking whether is self-contained... yes checking for uselocale... (cached) yes checking whether uselocale works... (cached) yes checking whether perror matches strerror... yes checking whether signature of pselect conforms to POSIX... yes checking whether pselect detects invalid fds... yes checking whether pthread_create exists as a global function... yes checking whether pthread_sigmask is a macro... no checking whether pthread_sigmask works without -lpthread... yes checking whether pthread_sigmask returns error numbers... yes checking whether pthread_sigmask unblocks signals correctly... guessing yes checking for putenv compatible with GNU and SVID... no checking whether _putenv is declared... no checking whether select supports a 0 argument... yes checking whether select detects invalid fds... yes checking whether setenv validates arguments... yes checking whether setlocale supports the C locale... yes checking for sigprocmask... (cached) 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 snprintf... (cached) yes checking whether snprintf respects a size of 1... yes checking for socklen_t... yes checking for catgets... yes checking whether symlink handles trailing slash correctly... no checking for pthread_atfork... yes checking for sys/single_threaded.h... no checking whether time() works... guessing yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv obeys POSIX... yes checking for ptrdiff_t... yes checking for stdint.h... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether closedir returns void... no checking whether NLS is requested... yes checking for msgfmt... /Users/pbulk/build/textproc/grep/work/.tools/bin/msgfmt checking for gmsgfmt... /Users/pbulk/build/textproc/grep/work/.tools/bin/msgfmt checking for xgettext... /opt/pkg/bin/xgettext checking for msgmerge... /opt/pkg/bin/msgmerge checking for CFPreferencesCopyAppValue... (cached) yes checking for CFLocaleCopyPreferredLanguages... (cached) yes checking for GNU gettext in libc... no checking for iconv... (cached) yes checking for working iconv... (cached) 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 PCRE... no checking for pcre2_compile... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating gnulib-tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile. /opt/pkg/bin/mksh: /bin/mv: inaccessible or not found *** Error code 127 Stop. bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/grep WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile. *** Error code 1 Stop. bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/textproc/grep