+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bash-5.3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bash-5.3/work.log => Checksum BLAKE2s OK for bash-5.3.tar.gz => Checksum SHA512 OK for bash-5.3.tar.gz ===> Installing dependencies for bash-5.3 ========================================================================== The supported build options for bash 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.bash (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, bash-5.3. Their current value is shown below: * CURSES_DEFAULT = ncurses Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses * TERMCAP_TYPE = curses 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 bison>=1.0: found bison-3.8.2nb1 => Tool dependency gtexinfo>=4.1: found gtexinfo-7.2nb1 => Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5nb1 => 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 ncurses>=6.5: found ncurses-6.5nb1 => Full dependency libiconv>=1.9.1: found libiconv-1.17nb1 ===> Overriding tools for bash-5.3 ===> Extracting for bash-5.3 ===> Patching for bash-5.3 => Applying pkgsrc patches for bash-5.3 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/shells/bash/patches/patch-Makefile.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/shells/bash/patches/patch-Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile.in,v 1.2 2025/03/30 21:16:22 wiz Exp $ | |This patch fixes the build on OpenBSD, where LIBINTL and |LIBICONV are incorrectly set. | |--- Makefile.in.orig 2014-01-25 21:27:30.000000000 +0000 |+++ Makefile.in -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 398 (offset 45 lines). Hunk #2 succeeded at 406 (offset 45 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/shells/bash/patches/patch-examples_loadables_Makefile.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/shells/bash/patches/patch-examples_loadables_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-examples_loadables_Makefile.in,v 1.1 2022/11/25 23:29:47 adam Exp $ | |Correctly install shared objects (e.g. unstripped on some platforms). | |--- examples/loadables/Makefile.in.orig 2022-11-25 23:21:05.000000000 +0000 |+++ examples/loadables/Makefile.in -------------------------- Patching file examples/loadables/Makefile.in using Plan A... Hunk #1 succeeded at 301 (offset 20 lines). done ===> Creating toolchain wrappers for bash-5.3 ===> Configuring for bash-5.3 /usr/bin/rm -f /home/pbulk/build/shells/bash/work/bash-5.3/y.tab.c => 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 => Adding run-time search paths to pkg-config files. INFO: [subst.mk:_pkgconfig] Nothing changed in "support/bash.pc.in". => Fixing locale directory references. INFO: [subst.mk:pkglocaledir] Nothing changed in "doc/Makefile.in". INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/loadables/Makefile.in". INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/loadables/Makefile.inc.in". INFO: [subst.mk:pkglocaledir] Nothing changed in "examples/loadables/perl/Makefile.in". INFO: [subst.mk:pkglocaledir] Nothing changed in "lib/glob/Makefile.in". INFO: [subst.mk:pkglocaledir] Nothing changed in "lib/malloc/Makefile.in". INFO: [subst.mk:pkglocaledir] Nothing changed in "lib/readline/Makefile.in". INFO: [subst.mk:pkglocaledir] Nothing changed in "lib/sh/Makefile.in". INFO: [subst.mk:pkglocaledir] Nothing changed in "lib/termcap/Makefile.in". INFO: [subst.mk:pkglocaledir] Nothing changed in "lib/tilde/Makefile.in". INFO: [subst.mk:pkglocaledir] Nothing changed in "support/Makefile.in". => Checking for portability problems in extracted files WARNING: [check-portability] => Found $RANDOM: WARNING: [check-portability] tests/run-minimal:25: SUFFIX=$( ${THIS_SH} -c 'echo $(( $RANDOM + $BASHPID ))' ) Explanation: =========================================================================== The variable $RANDOM is not required for a POSIX-conforming shell, and many implementations of /bin/sh do not support it. It should therefore not be used in shell programs that are meant to be portable across a large number of POSIX-like systems. =========================================================================== WARNING: [check-portability] => Found $RANDOM: WARNING: [check-portability] tests/run-all:21: SUFFIX=$( ${THIS_SH} -c 'echo $(( $RANDOM + $BASHPID ))' ) Explanation: =========================================================================== The variable $RANDOM is not required for a POSIX-conforming shell, and many implementations of /bin/sh do not support it. It should therefore not be used in shell programs that are meant to be portable across a large number of POSIX-like systems. =========================================================================== checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 Beginning configuration for bash-5.3-release for x86_64-sun-solaris2.11 checking for x86_64-sun-solaris2.11-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed 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 stdbool.h... yes checking for sys/param.h... yes checking for threads.h... yes checking for xlocale.h... yes checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for gcc option to enable large file support... none needed checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk checking for x86_64-sun-solaris2.11-ar... no checking for ar... ar checking for x86_64-sun-solaris2.11-ranlib... no checking for ranlib... ranlib checking for bison... /opt/pkg/bin/bison -y checking whether make sets $(MAKE)... yes checking for x86_64-sun-solaris2.11-strip... no checking for strip... strip checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for long double... yes checking whether char is unsigned... no checking for working volatile... yes checking for C/C++ restrict keyword... __restrict__ checking for bool, true, false... no checking for a race-free mkdir -p... mkdir -p checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /home/pbulk/build/shells/bash/work/.tools/bin/msgfmt checking for gmsgfmt... /home/pbulk/build/shells/bash/work/.tools/bin/msgfmt checking for xgettext... /home/pbulk/build/shells/bash/work/.tools/bin/xgettext checking for msgmerge... /home/pbulk/build/shells/bash/work/.tools/bin/msgmerge checking how to run the C preprocessor... gcc -E checking for egrep -e... /home/pbulk/build/shells/bash/work/.tools/bin/grep -E checking whether we are using the GNU C Library 2 or newer... no checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking for size_t... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... yes checking for getpagesize... yes checking for symlink... yes checking for uselocale... yes checking for vprintf... yes checking for alarm... yes checking for fpurge... no checking for __fpurge... yes checking for snprintf... yes checking for vsnprintf... yes checking for working mmap... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for unsigned long long int... yes checking whether imported symbols can be declared weak... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking whether POSIX threads API is available... yes checking for multithread API to use... posix checking for pthread_rwlock_t... yes checking whether pthread_rwlock_rdlock prefers a writer to a reader... yes checking for gcc options needed to detect all undeclared functions... none needed checking for ld used by gcc... /bin/ld checking if the linker (/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... yes checking for the common suffixes of directories in the library search path... lib,lib/64,lib/amd64 checking for iconv... yes checking for working iconv... yes checking whether iconv is compatible with its POSIX signature... yes checking for inttypes.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... no checking for munmap... yes checking for stpcpy... yes checking for strcasecmp... yes checking for tsearch... yes checking for __fsetlocking... yes checking whether feof_unlocked is declared... no checking whether fgets_unlocked is declared... no checking for localeconv... yes checking for bison... bison checking for bison 3.0 or newer... 3.8.2, ok checking for long long int... yes checking for wchar_t... yes checking for wint_t... yes checking whether wint_t is large enough... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for working fcntl.h... no 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... no checking for CFLocaleCopyPreferredLanguages... no checking for flexible array member... yes checking for x86_64-sun-solaris2.11-ar... ar checking for ptrdiff_t... yes checking for features.h... no checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... yes checking for wprintf... yes checking for newlocale... yes checking for putenv... yes checking for setenv... yes checking for snprintf... (cached) yes checking for strnlen... yes checking for uselocale... (cached) yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... yes checking for wcrtomb... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyPreferredLanguages... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/mkdev.h... yes checking for inttypes.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for varargs.h... no checking for limits.h... yes checking for string.h... (cached) yes checking for memory.h... yes checking for locale.h... yes checking for termcap.h... yes checking for termio.h... yes checking for termios.h... yes checking for dlfcn.h... yes checking for stddef.h... (cached) yes checking for stdint.h... (cached) yes checking for netdb.h... yes checking for pwd.h... yes checking for grp.h... yes checking for strings.h... (cached) yes checking for stdckdint.h... yes checking for regex.h... yes checking for syslog.h... yes checking for ulimit.h... yes checking for sys/pte.h... yes checking for sys/stream.h... yes checking for sys/select.h... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/mman.h... yes checking for sys/param.h... (cached) yes checking for sys/random.h... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking for sys/wait.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for sys/ptem.h... yes checking for sys/resource.h... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for uid_t... yes checking for gid_t... yes checking for working chown... yes checking whether getpgrp requires zero arguments... yes checking for working strcoll... yes checking for __setostype... no checking for wait3... yes checking for mkfifo... yes checking for dup2... yes checking for eaccess... no checking for fcntl... yes checking for getdtablesize... yes checking for getentropy... yes checking for getgroups... yes checking for gethostname... yes checking for getpagesize... (cached) yes checking for getpeername... no checking for getrandom... yes checking for getrlimit... yes checking for getrusage... yes checking for gettimeofday... yes checking for kill... yes checking for killpg... yes checking for lstat... yes checking for nanosleep... yes checking for pselect... yes checking for readlink... yes checking for select... yes checking for setdtablesize... no checking for setitimer... yes checking for statfs... yes checking for tcgetpgrp... yes checking for uname... yes checking for ulimit... yes checking for waitpid... yes checking for rename... yes checking for bcopy... yes checking for bzero... yes checking for clock_gettime... yes checking for confstr... yes checking for faccessat... yes checking for fnmatch... yes checking for getaddrinfo... no checking for gethostbyname... no checking for getservbyname... no checking for getservent... no checking for inet_aton... yes checking for imaxdiv... yes checking for memmove... yes checking for pathconf... yes checking for putenv... (cached) yes checking for raise... yes checking for random... yes checking for regcomp... yes checking for regexec... yes checking for setenv... (cached) yes checking for setlinebuf... yes checking for setlocale... yes checking for setvbuf... yes checking for siginterrupt... yes checking for strchr... yes checking for sysconf... yes checking for syslog... yes checking for tcgetattr... yes checking for tcgetwinsize... no checking for tcsetwinsize... no checking for times... yes checking for ttyname... yes checking for tzset... yes checking for unsetenv... yes checking for vasprintf... yes checking for asprintf... (cached) yes checking for isascii... yes checking for isblank... yes checking for isgraph... yes checking for isprint... yes checking for isspace... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for mkstemp... yes checking for mkdtemp... yes checking for arc4random... yes checking for strlcat... yes checking for memfd_create... no checking for shm_open... yes checking for shm_mkstemp... no checking for getcwd... (cached) yes checking for memset... yes checking for strcasecmp... (cached) yes checking for strcasestr... yes checking for strerror... yes checking for strftime... yes checking for strnlen... (cached) yes checking for strpbrk... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for strtoll... yes checking for strtoull... yes checking for strtoumax... yes checking for dprintf... no checking for strdup... yes checking for strlcpy... yes checking for reallocarray... yes checking for libaudit.h... no checking whether AUDIT_USER_TTY is declared... no checking whether confstr is declared... yes checking whether printf is declared... yes checking whether brk is declared... yes checking whether sbrk is declared... yes checking whether setregid is declared... yes checking whether strcpy is declared... yes checking whether strsignal is declared... yes checking for setresuid... no checking for setresgid... no checking whether strtold is declared... yes checking for broken strtold... no checking whether strtol is declared... yes checking whether strtoll is declared... yes checking whether strtoul is declared... yes checking whether strtoull is declared... yes checking whether strtoumax is declared... yes checking for working mktime... no checking for argz.h... no checking for errno.h... yes checking for fcntl.h... yes checking for malloc.h... yes checking for stdio_ext.h... yes checking for working mmap... (cached) yes checking for __argz_count... no checking for __argz_next... no checking for __argz_stringify... no checking for dcgettext... yes checking for locale_charset... yes checking for mempcpy... (cached) no checking for munmap... (cached) yes checking for mremap... no checking for stpcpy... (cached) yes checking for strcspn... yes checking for wctype.h... yes checking for wchar.h... (cached) yes checking for langinfo.h... yes checking for mbstr.h... no checking for mbrlen... yes checking for mbscasecmp... no checking for mbscmp... no checking for mbsncmp... no checking for mbsnrtowcs... yes checking for mbsrtowcs... yes checking for mbschr... no checking for wcrtomb... (cached) yes checking for wcscoll... yes checking for wcsdup... yes checking for wcwidth... yes checking for wctype... yes checking for wcsnrtombs... yes checking for wcswidth... yes checking whether mbrtowc and mbstate_t are properly declared... (cached) yes checking for iswlower... yes checking for iswupper... yes checking for towlower... yes checking for towupper... yes checking for iswctype... yes checking for wchar_t in wchar.h... yes checking for wctype_t in wctype.h... yes checking for wint_t in wctype.h... yes checking for wcwidth broken with unicode combining characters... no checking for locale_charset... (cached) yes checking size of wchar_t... 4 checking for dlopen in -ldl... yes checking for dlopen... yes checking for dlclose... yes checking for dlsym... yes checking for getpeername in -lsocket... yes checking for t_open in -lnsl... yes checking for gethostbyname in socket library... yes checking type of array argument to getgroups... gid_t checking for off_t... yes checking for mode_t... yes checking for uid_t... (cached) yes checking for gid_t... (cached) yes checking for pid_t... yes checking for size_t... (cached) yes checking for intptr_t... yes checking for uintptr_t... yes checking for ssize_t... yes checking for time_t... yes checking for long long int... (cached) yes checking for unsigned long long int... (cached) yes checking for sig_atomic_t in signal.h... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of char *... 8 checking size of size_t... 8 checking size of double... 8 checking size of long long... 8 checking for bits16_t... no checking for u_bits16_t... no checking for bits32_t... no checking for u_bits32_t... no checking for bits64_t... no checking for ptrdiff_t... (cached) yes checking whether stat file-mode macros are broken... no checking whether #! works in shell scripts... yes checking whether strchrnul works... yes checking if dup2 fails to clear the close-on-exec flag... no checking whether pgrps need synchronization... no checking for type of signal functions... posix checking for sys_errlist and sys_nerr... yes checking whether sys_siglist is declared... no checking for sys_siglist in system C library... no checking for _sys_siglist in signal.h or unistd.h... yes checking for _sys_siglist in system C library... yes checking for clock_t... yes checking for sigset_t... yes checking for socklen_t... yes checking for quad_t... yes checking for type of struct rlimit fields... rlim_t checking for intmax_t... yes checking for uintmax_t... yes checking size of intmax_t... 8 checking for struct termios.c_line... no checking for struct termio.c_line... yes checking for struct dirent.d_ino... yes checking for struct dirent.d_fileno... no checking for struct dirent.d_namlen... no checking for d_type member in directory struct... no checking for struct winsize in sys/ioctl.h and termios.h... termios.h checking for struct timeval in sys/time.h and time.h... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... no checking whether tzname is declared... yes checking for tzname... yes checking for struct timezone in sys/time.h and time.h... yes checking for offset of exit status in return status from wait... 8 checking for struct timespec in ... yes checking for struct stat.st_atim.tv_nsec... yes checking whether struct stat.st_atim is of type struct timespec... yes checking for sbrk... yes checking for working sbrk... yes checking for brk... no checking for the existence of strsignal... yes checking if opendir() opens non-directories... no checking whether ulimit can substitute for getdtablesize... yes checking whether fpurge is declared... no checking to see if getenv can be redefined... yes checking if getcwd() will dynamically allocate memory with 0 size... yes checking for presence of POSIX-style sigsetjmp/siglongjmp... present checking whether or not strcoll and strcmp differ... no checking for standard-conformant snprintf... yes checking for standard-conformant vsnprintf... yes checking for strtoimax... yes checking whether strtoimax is declared... yes checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... (cached) no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgets_unlocked is declared... (cached) 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... (cached) yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking for standard-conformant putenv declaration... yes checking for standard-conformant unsetenv declaration... yes checking for printf floating point output in hex notation... yes checking whether fnmatch can be used to check bracket equivalence classes... no checking if signal handlers must be reinstalled when invoked... no checking for presence of necessary job control definitions... present checking for presence of named pipes... present checking whether termios.h defines TIOCGWINSZ... yes checking for TIOCSTAT in sys/ioctl.h... no checking for FIONREAD in sys/ioctl.h... no checking whether WCONTINUED flag to waitpid is unavailable or available but broken... no checking for speed_t in sys/types.h... no checking whether getpw functions are declared in pwd.h... yes checking for unusable real-time signals due to large values... no checking for tgetent... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking whether /dev/fd is available... standard checking whether /dev/stdin stdout stderr are available... present checking for default mail directory... /var/mail checking shared object configuration for loadable builtins... supported configure: creating ./config.status config.status: creating Makefile config.status: creating builtins/Makefile config.status: creating lib/readline/Makefile config.status: creating lib/glob/Makefile config.status: creating lib/intl/Makefile config.status: creating lib/malloc/Makefile config.status: creating lib/sh/Makefile config.status: creating lib/termcap/Makefile config.status: creating lib/tilde/Makefile config.status: creating doc/Makefile config.status: creating support/Makefile config.status: creating po/Makefile.in config.status: creating examples/loadables/Makefile config.status: creating examples/loadables/Makefile.inc config.status: creating examples/loadables/Makefile.sample config.status: creating examples/loadables/perl/Makefile config.status: creating support/bash.pc config.status: creating support/bashbug.sh config.status: creating config.h config.status: creating buildconf.h config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing stamp-h commands