[package - 122arm64-quarterly][misc/mbuffer] Failed for mbuffer-20210328 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 27 Jul 2021 01:11:38 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     loader@FreeBSD.org
Log URL:        http://ampere1.nyi.freebsd.org/data/122arm64-quarterly/861e2a11357f/logs/mbuffer-20210328.log
Build URL:      http://ampere1.nyi.freebsd.org/build.html?mastername=122arm64-quarterly&build=861e2a11357f
Log:

=>> Building misc/mbuffer
build started at Tue Jul 27 01:11:22 UTC 2021
port directory: /usr/ports/misc/mbuffer
package name: mbuffer-20210328
building for: FreeBSD 122arm64-quarterly-job-07 12.2-RELEASE FreeBSD 12.2-RELEASE arm64
maintained by: loader@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-16-g00a37fcb
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 07

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE
UNAME_r=12.2-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-16-g00a37fcb
MASTERMNT=/usr/local/poudriere/data/.m/122arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122arm64-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for mbuffer-20210328:
     GCRYPT=off: Use gcrypt for hash generation
     MHASH=on: Use mhash for hash generation
     RHASH=off: Use rhash for hash generation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
loader@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/misc/mbuffer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/mbuffer/work  HOME=/wrkdirs/usr/ports/misc/mbuffer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/mbuffer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/misc/mbuffer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/mbuffer/work  HOME=/wrkdirs/usr/ports/misc/mbuffer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/mbuffer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install
   -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mbuffer"  EXAMPLESDIR="share/examples/mbuffer"  DATADIR="share/mbuffer"  WWWDIR="www/mbuffer"  ETCDIR="etc/mbuffer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mbuffer DOCSDIR=/usr/local/share/doc/mbuffer EXAMPLESDIR=/usr/local/share/examples/mbuffer  WWWDIR=/usr/local/www/mbuffer ETCDIR=/usr/local/etc/mbuffer
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: aarch64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: aarch64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: aarch64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE
OSREL=12.2
OSVERSION=1202000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mbuffer-20210328 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122arm64-quarterly-job-07] Installing pkg-1.16.3...
[122arm64-quarterly-job-07] Extracting pkg-1.16.3: .......... done
===>   mbuffer-20210328 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mbuffer-20210328
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by mbuffer-20210328 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by mbuffer-20210328 for building
=> SHA256 Checksum OK for mbuffer-20210328.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by mbuffer-20210328 for building
===>  Extracting for mbuffer-20210328
=> SHA256 Checksum OK for mbuffer-20210328.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for mbuffer-20210328
===>  Applying FreeBSD patches for mbuffer-20210328 from /usr/ports/misc/mbuffer/files
===========================================================================
=======================<phase: build-depends  >============================
===>   mbuffer-20210328 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.txz
[122arm64-quarterly-job-07] Installing gmake-4.3_2...
[122arm64-quarterly-job-07] `-- Installing gettext-runtime-0.21...
[122arm64-quarterly-job-07] |   `-- Installing indexinfo-0.3.1...
[122arm64-quarterly-job-07] |   `-- Extracting indexinfo-0.3.1: .... done
[122arm64-quarterly-job-07] `-- Extracting gettext-runtime-0.21: .......... done
[122arm64-quarterly-job-07] Extracting gmake-4.3_2: .......... done
===>   mbuffer-20210328 depends on package: gmake>=4.3 - found
===>   Returning to build of mbuffer-20210328
===>   mbuffer-20210328 depends on package: autoconf>=2.69 - not found
===>   Installing existing package /packages/All/autoconf-2.69_3.txz
[122arm64-quarterly-job-07] Installing autoconf-2.69_3...
[122arm64-quarterly-job-07] `-- Installing autoconf-wrapper-20131203...
[122arm64-quarterly-job-07] `-- Extracting autoconf-wrapper-20131203: .......... done
[122arm64-quarterly-job-07] `-- Installing m4-1.4.18_1,1...
[122arm64-quarterly-job-07] `-- Extracting m4-1.4.18_1,1: .......... done
[122arm64-quarterly-job-07] `-- Installing perl5-5.32.1_1...
[122arm64-quarterly-job-07] `-- Extracting perl5-5.32.1_1: .......... done
[122arm64-quarterly-job-07] Extracting autoconf-2.69_3: .......... done
===>   mbuffer-20210328 depends on package: autoconf>=2.69 - found
===>   Returning to build of mbuffer-20210328
===>   mbuffer-20210328 depends on package: automake>=1.16.1 - not found
===>   Installing existing package /packages/All/automake-1.16.3.txz
[122arm64-quarterly-job-07] Installing automake-1.16.3...
[122arm64-quarterly-job-07] Extracting automake-1.16.3: .......... done
===>   mbuffer-20210328 depends on package: automake>=1.16.1 - found
===>   Returning to build of mbuffer-20210328
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for mbuffer-20210328
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure: loading site script /usr/ports/Templates/config.site
checking build system type... aarch64-portbld-freebsd12.2
checking host system type... aarch64-portbld-freebsd12.2
checking target system type... aarch64-portbld-freebsd12.2
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
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... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cc option to accept ISO C99... none needed
checking for gtar... no
checking for C/C++ restrict keyword... __restrict
checking for inline... inline
checking whether cc provides -Wunused-result... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for sh... /bin/sh
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for mt... /usr/bin/mt
checking for gtar... no
checking for tar... /usr/bin/tar
checking for awk... /usr/bin/awk
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for struct stat.st_blksize... (cached) yes
checking for -gobjdump... no
checking for -objdump... no
checking for -llvm-objdump... no
checking for gobjdump... no
checking for objdump... no
checking for llvm-objdump... llvm-objdump
checking whether to enable assertions... yes
checking for pthread_mutex_init in -lpthread... yes
checking for library containing dlsym... none required
checking for library containing clock_gettime... none required
checking for library containing sem_init... none required
checking for library containing rint... -lm
checking for library containing seteuid... none required
checking for library containing hstrerror... none required
checking for library containing getaddrinfo... none required
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing sendfile... none required
checking sys/sendfile.h usability... no
checking sys/sendfile.h presence... no
checking for sys/sendfile.h... no
checking for size_t... (cached) yes
checking for working alloca.h... no
checking for alloca... yes
checking for mkostemp... yes
checking for library containing MD5Init... -lmd
checking md5.h usability... yes
checking md5.h presence... yes
checking for md5.h... yes
checking for library containing MD5_Init... -lcrypto
checking linking open() and write() to detect libc names... OK
checking name of open() in C library... llvm-objdump: Unknown command line argument '-T'.  Try: 'llvm-objdump --help'
llvm-objdump: Did you mean '-C'?

checking name of read() in C library... llvm-objdump: Unknown command line argument '-T'.  Try: 'llvm-objdump --help'
llvm-objdump: Did you mean '-C'?

checking name of write() in C library... llvm-objdump: Unknown command line argument '-T'.  Try: 'llvm-objdump --help'
llvm-objdump: Did you mean '-C'?

checking name of fstat() in C library... llvm-objdump: Unknown command line argument '-T'.  Try: 'llvm-objdump --help'
llvm-objdump: Did you mean '-C'?

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for mbuffer-20210328
gmake[1]: Entering directory '/wrkdirs/usr/ports/misc/mbuffer/work/mbuffer-20210328'
mkdir build
cc -MM -MG -MT build/globals.o -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. globals.c -o build/globals.d
cc -MM -MG -MT build/settings.o -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. settings.c -o build/settings.d
cc -MM -MG -MT build/common.o -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. common.c -o build/common.d
cc -MM -MG -MT build/input.o -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. input.c -o build/input.d
cc -MM -MG -MT build/hashing.o -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. hashing.c -o build/hashing.d
cc -MM -MG -MT build/mbuffer.o -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. mbuffer.c -o build/mbuffer.d
cc -MM -MG -MT build/network.o -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. network.c -o build/network.d
cc -MM -MG -MT build/log.o -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. log.c -o build/log.d
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. -c log.c -o build/log.o
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. -c network.c -o build/network.o
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. -c mbuffer.c -o build/mbuffer.o
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. -c hashing.c -o build/hashing.o
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. -c input.c -o build/input.o
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. -c common.c -o build/common.o
sh mkversion.sh
creating version.h
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. -c globals.c -o build/globals.o
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. -shared -g -fPIC idev.c -o idev.so -lcrypto -lmd -lm -lpthread -L/usr/local/lib
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr/local\" -I. -I. -shared -fPIC tapetest.c -o tapetest.so -lcrypto -lmd -lm -lpthread -L/usr/local/lib
tapetest.c:56:2: error: name of libc open() could not be determined - test cannot be performed
#error name of libc open() could not be determined - test cannot be performed
 ^
tapetest.c:60:2: error: name of libc write() could not be determined - test cannot be performed
#error name of libc write() could not be determined - test cannot be performed
 ^
tapetest.c:79:15: error: expected identifier or '('
int LIBC_OPEN(const char *path, int oflag, ...)
              ^
tapetest.c:79:15: error: expected ')'
tapetest.c:79:14: note: to match this '('
int LIBC_OPEN(const char *path, int oflag, ...)
             ^
tapetest.c:116:20: error: expected identifier or '('
ssize_t LIBC_WRITE(int filedes, const void *buf, size_t nbyte)
                   ^
tapetest.c:116:20: error: expected ')'
tapetest.c:116:19: note: to match this '('
ssize_t LIBC_WRITE(int filedes, const void *buf, size_t nbyte)
                  ^
6 errors generated.
idev.c:55:15: error: expected identifier or '('
int LIBC_OPEN(const char *path, int oflag, ...)
              ^
idev.c:55:15: error: expected ')'
idev.c:55:14: note: to match this '('
int LIBC_OPEN(const char *path, int oflag, ...)
             ^
idev.c:90:19: error: expected identifier or '('
ssize_t LIBC_READ(int fd, void *buf, size_t s)
                  ^
idev.c:90:19: error: expected ')'
idev.c:90:18: note: to match this '('
ssize_t LIBC_READ(int fd, void *buf, size_t s)
                 ^
4 errors generated.
gmake[1]: *** [Makefile:194: tapetest.so] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [Makefile:197: idev.so] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/misc/mbuffer/work/mbuffer-20210328'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/mbuffer