+ 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/mtools-4.0.43/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mtools-4.0.43/work.log => Checksum BLAKE2s OK for mtools-4.0.43.tar.bz2 => Checksum SHA512 OK for mtools-4.0.43.tar.bz2 ===> Installing dependencies for mtools-4.0.43 ========================================================================== The supported build options for mtools are: floppyd You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.mtools (not defined) ========================================================================== => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency gtexinfo>=3.12: found gtexinfo-7.2nb1 => 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 libiconv>=1.9.1nb4: found libiconv-1.17 ===> Overriding tools for mtools-4.0.43 ===> Extracting for mtools-4.0.43 ===> Patching for mtools-4.0.43 => Applying pkgsrc patches for mtools-4.0.43 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/mtools/patches/patch-aa => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/mtools/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.12 2011/03/09 20:25:08 asau Exp $ | |--- Makefile.in.orig 2010-10-17 02:23:20.000000000 +0400 |+++ Makefile.in 2011-03-09 23:09:25.000000000 +0300 -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 26. Hunk #2 succeeded at 64. Hunk #3 succeeded at 264 (offset -13 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/mtools/patches/patch-ae => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/mtools/patches/patch-ae Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ae,v 1.4 2013/01/18 00:34:30 mef Exp $ | |See |http://gnats.netbsd.org/18771 | |mtools drops its privileges so thoroughly that it can't regain its |original effective group id for opening the device file. This |defeats the "setgid mtools" setup that is mentioned in the |documentation and described in the comment above Setuid() in |privileges.c. | |--- privileges.c.orig 2003-12-11 18:07:44.000000000 +0000 |+++ privileges.c -------------------------- Patching file privileges.c using Plan A... Hunk #1 succeeded at 111 (offset 43 lines). Hunk #2 succeeded at 119 (offset 43 lines). done ===> Creating toolchain wrappers for mtools-4.0.43 ===> Configuring for mtools-4.0.43 => 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 => Checking for portability problems in extracted files configure: WARNING: unrecognized options: --with-libiconv-prefix 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk checking whether ln -s works... yes checking for install-info... /home/pbulk/build/sysutils/mtools/work/.tools/bin/install-info checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking target system type... x86_64-sun-solaris2.11 checking for an ANSI C-conforming const... yes checking for inline... inline checking for getpwnam in -lsun... no checking for media_oldaliases... no checking for iconv in -liconv... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep checking for egrep... (cached) /usr/xpg4/bin/grep -E 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 stdbool.h that conforms to C99... yes checking for _Bool... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for inttypes.h... (cached) yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for memory.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking sys/floppy.h usability... no checking sys/floppy.h presence... no checking for sys/floppy.h... no checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking xlocale.h usability... yes checking xlocale.h presence... yes checking for xlocale.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/fdio.h usability... yes checking sys/fdio.h presence... yes checking for sys/fdio.h... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for ssize_t... yes checking for size_t... yes checking for off_t... yes checking for uid_t in sys/types.h... yes checking for pid_t... yes checking for caddr_t... yes checking for long long... yes checking size of size_t... 8 checking size of off_t... 8 checking size of time_t... 8 checking size of long... 8 checking size of int... 4 checking for htons... yes checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for strerror... yes checking for random... yes checking for srandom... yes checking for strchr... yes checking for strrchr... yes checking for lockf... yes checking for flock... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strnlen... yes checking for atexit... yes checking for on_exit... no checking for getpass... yes checking for memmove... yes checking for strdup... yes checking for strndup... yes checking for strcspn... yes checking for strspn... yes checking for strtoul... yes checking for strtol... yes checking for strtoll... yes checking for strtoui... no checking for memcpy... yes checking for strpbrk... yes checking for memset... yes checking for setenv... yes checking for seteuid... yes checking for setresuid... no checking for tcsetattr... yes checking for tcflush... yes checking for basename... yes checking for readdir... yes checking for snprintf... yes checking for setlocale... yes checking for strstr... yes checking for toupper_l... yes checking for strncasecmp_l... yes checking for wcsdup... yes checking for wcscasecmp... yes checking for wcsnlen... yes checking for putwc... yes checking for alarm... yes checking for sigaction... yes checking for usleep... yes checking for lstat... yes checking for unsetenv... yes checking for mkdir... yes checking for utimes... yes checking for tzset... yes checking for gettimeofday... yes checking whether sys_errlist is declared... no checking whether optarg is declared... yes checking for X... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --with-libiconv-prefix