=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for mtools-4.0.26.tar.bz2 => Checksum RMD160 OK for mtools-4.0.26.tar.bz2 => Checksum SHA512 OK for mtools-4.0.26.tar.bz2 ===> Installing dependencies for mtools-4.0.26 ========================================================================== 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.2.1nb1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for mtools-4.0.26 ===> Extracting for mtools-4.0.26 ===> Patching for mtools-4.0.26 => Applying pkgsrc patches for mtools-4.0.26 => Verifying /opt/pkgsrc/sysutils/mtools/patches/patch-aa => Applying pkgsrc patch /opt/pkgsrc/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 278 (offset 1 line). done => Verifying /opt/pkgsrc/sysutils/mtools/patches/patch-ae => Applying pkgsrc patch /opt/pkgsrc/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 112 (offset 44 lines). Hunk #2 succeeded at 120 (offset 44 lines). done ===> Creating toolchain wrappers for mtools-4.0.26 ===> Configuring for mtools-4.0.26 => 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 checking for aarch64-apple-darwin20-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 accept ISO C89... none needed 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 whether clang needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c -o sjmulder -g staff checking whether ln -s works... yes checking for install-info... /opt/work/sysutils/mtools/work/.tools/bin/install-info 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking build system type... aarch64-apple-darwin20 checking host system type... aarch64-apple-darwin20 checking target system type... aarch64-apple-darwin20 checking for an ANSI C-conforming const... yes checking for inline... inline checking for getpwnam in -lsun... no checking for cam_open_device in -lcam... no checking for iconv in -liconv... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking linux/unistd.h usability... no checking linux/unistd.h presence... no checking for linux/unistd.h... no checking libc.h usability... yes checking libc.h presence... yes checking for libc.h... yes 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 sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for strings.h... (cached) yes checking for string.h... (cached) 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... no checking malloc.h presence... no checking for malloc.h... no 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... no checking sys/sysmacros.h presence... no checking for sys/sysmacros.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.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 linux/fs.h usability... no checking linux/fs.h presence... no checking for linux/fs.h... no checking termio.h usability... no checking termio.h presence... no checking for termio.h... no checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.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 return type of signal handlers... void checking for uid_t in sys/types.h... yes checking for caddr_t... yes checking size of size_t... 8 checking size of time_t... 8 checking size of long... 8 checking size of long long... 8 checking whether llseek declared in unistd.h... no checking whether lseek64 declared in unistd.h... yes 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 time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... (cached) void 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 strtoi... no 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 setpgrp... yes checking for tcsetattr... yes checking for tcflush... yes checking for basename... yes checking for fchdir... yes checking for media_oldaliases... no checking for llseek... no checking for lseek64... no checking for snprintf... yes checking for stat64... yes checking for setlocale... 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 getuserid... no checking for getgroupid... no checking for alarm... yes checking for sigaction... yes checking for usleep... yes checking for 64-bit off_t... yes checking whether clang supports loff_t type... no checking whether clang supports offset_t type... no checking whether clang supports long long type... yes checking for utimes... yes checking for tzset... yes checking for gettimeofday... yes checking declaration of sys_errlist... yes checking for X... no checking for main in -lsocket... no checking for main in -lbsd... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h => Substituting "strtoi" in config.h config.c floppyd_io.c mformat.c mpartition.c mtools.h strtonum.c