[exp - 123amd64-default-build-as-user][emulators/wine-proton] Failed for wine-proton-7.0.4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 17 Dec 2022 22:32:18 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:     iwtcex@gmail.com
Log URL:        https://pkg-status.freebsd.org/package19/data/123amd64-default-build-as-user/caf21b157e15/logs/wine-proton-7.0.4.log
Build URL:      https://pkg-status.freebsd.org/package19/build.html?mastername=123amd64-default-build-as-user&build=caf21b157e15
Log:

=>> Building emulators/wine-proton
build started at Sat Dec 17 22:24:32 UTC 2022
port directory: /usr/ports/emulators/wine-proton
package name: wine-proton-7.0.4
building for: FreeBSD 123amd64-default-build-as-user-job-05 12.3-RELEASE-p10 FreeBSD 12.3-RELEASE-p10 amd64
maintained by: iwtcex@gmail.com
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1203000
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p10
UNAME_r=12.3-RELEASE-p10
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-23-ga7f8d188
MASTERMNT=/poudriere/data/.m/123amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/123amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/123amd64-default-build-as-user/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 wine-proton-7.0.4:
     PULSEAUDIO=on: Build winepulse.drv
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
iwtcex@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--verbose  --libdir=/usr/local/wine-proton/lib  --disable-kerberos  --disable-tests  --with-fontconfig  --with-freetype  --with-gnutls  --with-gstreamer  --with-openal  --with-opengl  --with-oss  --with-sdl  --with-vulkan  --with-x  --with-xinerama  --with-xinput2  --with-xrandr  --with-xrender  --with-pcap  --with-pthread  --with-mingw CROSSCC="clang" CROSSCFLAGS="-isystem /usr/ports/emulators/wine-proton/files/clang"  --without-alsa  --without-capi  --without-coreaudio  --without-cups  --without-dbus  --without-gettext  --without-gettextpo  --without-gphoto  --without-gssapi  --without-inotify  --without-krb5  --without-ldap  --without-netapi  --without-opencl  --without-osmesa  --without-sane  --without-udev  --without-unwind  --without-usb  --without-v4l2  --without-vkd3d --with-pulse --enable-win64 --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local/wine-proton ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
CPPBIN="cpp12" FLEX="/usr/local/bin/flex" JXRLIB_CFLAGS="-I/usr/local/include/jxrlib" MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/wine-proton/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/wine-proton/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/wine-proton/work/.cache  HOME=/wrkdirs/usr/ports/emulators/wine-proton/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/wine-proton/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/wine-proton/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/u
 sr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" DEFAULT_AUTOCONF=2.71 CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/wine-proton/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/wine-proton/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/wine-proton/work/.cache  HOME=/wrkdirs/usr/ports/emulators/wine-proton/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/wine-proton/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/wine-proton/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS
 ="/usr/local/bin/strings" DEFAULT_AUTOCONF=2.71 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc12" CFLAGS="-O2 -pipe  -D__NR_futex="-1" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp12" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -L/usr/local/lib/gcc12 " LIBS="-L/usr/local/lib"  CXX="g++12" CXXFLAGS="-O2 -pipe  -D__NR_futex="-1" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -Wl,-rpath=/usr/local/lib/gcc12 -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--
PULSEAUDIO="" NO_PULSEAUDIO="@comment " GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd12  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" WINE32="@comment " WINE64="" WINEARCH="x86_64" OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/wine-proton"  EXAMPLESDIR="share/examples/wine-proton"  DATADIR="share/wine-proton"  WWWDIR="www/wine-proton"  ETCDIR="etc/wine-proton"
--End PLIST_SUB--

--SUB_LIST--
PULSEAUDIO="" NO_PULSEAUDIO="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/wine-proton DOCSDIR=/usr/local/share/doc/wine-proton EXAMPLESDIR=/usr/local/share/examples/wine-proton  WWWDIR=/usr/local/www/wine-proton ETCDIR=/usr/local/etc/wine-proton
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# 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: x86_64-unknown-freebsd12.3 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: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=error: invalid value 'c++2b' in '-std=c++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=error: invalid value 'gnu++2b' in '-std=gnu++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p10
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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 LGPL21 LGPL3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   wine-proton-7.0.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.0.pkg
[123amd64-default-build-as-user-job-05] Installing pkg-1.19.0...
[123amd64-default-build-as-user-job-05] Extracting pkg-1.19.0: .......... done
===>   wine-proton-7.0.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of wine-proton-7.0.4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL21 LGPL3 accepted by the user
===> Fetching all distfiles required by wine-proton-7.0.4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL21 LGPL3 accepted by the user
===> Fetching all distfiles required by wine-proton-7.0.4 for building
=> SHA256 Checksum OK for ValveSoftware-wine-7.0-4-fb6e6af8928a29660e8cf797d43e028ea5bf8d23_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License LGPL21 LGPL3 accepted by the user
===> Fetching all distfiles required by wine-proton-7.0.4 for building
===>  Extracting for wine-proton-7.0.4
=> SHA256 Checksum OK for ValveSoftware-wine-7.0-4-fb6e6af8928a29660e8cf797d43e028ea5bf8d23_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for wine-proton-7.0.4
===>  Applying FreeBSD patches for wine-proton-7.0.4 from /usr/ports/emulators/wine-proton/files
===========================================================================
=======================<phase: build-depends  >============================
===>   wine-proton-7.0.4 depends on file: /usr/local/bin/flex - not found
===>   Installing existing package /packages/All/flex-2.6.4_2.pkg
[123amd64-default-build-as-user-job-05] Installing flex-2.6.4_2...
[123amd64-default-build-as-user-job-05] `-- Installing gettext-runtime-0.21.1...
[123amd64-default-build-as-user-job-05] |   `-- Installing indexinfo-0.3.1...
[123amd64-default-build-as-user-job-05] |   `-- Extracting indexinfo-0.3.1: .... done
[123amd64-default-build-as-user-job-05] `-- Extracting gettext-runtime-0.21.1: .......... done
[123amd64-default-build-as-user-job-05] Extracting flex-2.6.4_2: .......... done
===>   wine-proton-7.0.4 depends on file: /usr/local/bin/flex - found
===>   Returning to build of wine-proton-7.0.4
===>   wine-proton-7.0.4 depends on package: llvm12>=0 - not found
===>   Installing existing package /packages/All/llvm12-12.0.1_10.pkg
[123amd64-default-build-as-user-job-05] Installing llvm12-12.0.1_10...
[123amd64-default-build-as-user-job-05] `-- Installing libedit-3.1.20221030,1...
[123amd64-default-build-as-user-job-05] `-- Extracting libedit-3.1.20221030,1: .......... done
[123amd64-default-build-as-user-job-05] `-- Installing libxml2-2.10.3_1...
[123amd64-default-build-as-user-job-05] |   `-- Installing readline-8.2.0...
<snip>
gcc12 -m64 -c -o server/completion.o server/completion.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe \
  -fcf-protection=none -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement \
  -Wempty-body -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 \
  -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith \
  -Wlogical-op -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/console.o server/console.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/debugger.o server/debugger.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/device.o server/device.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
In file included from server/device.c:34:
include/ddk/wdm.h:1653:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1653 | void    FASTCALL ExAcquireFastMutex(FAST_MUTEX*);
      | ^~~~
include/ddk/wdm.h:1654:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1654 | void    FASTCALL ExAcquireFastMutexUnsafe(PFAST_MUTEX);
      | ^~~~
include/ddk/wdm.h:1680:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1680 | void    FASTCALL ExReleaseFastMutex(FAST_MUTEX*);
      | ^~~~
include/ddk/wdm.h:1681:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1681 | void    FASTCALL ExReleaseFastMutexUnsafe(PFAST_MUTEX);
      | ^~~~
include/ddk/wdm.h:1739:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1739 | void    FASTCALL KeAcquireInStackQueuedSpinLockAtDpcLevel(KSPIN_LOCK*,KLOCK_QUEUE_HANDLE*);
      | ^~~~
include/ddk/wdm.h:1774:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1774 | void    FASTCALL KeReleaseInStackQueuedSpinLockFromDpcLevel(KLOCK_QUEUE_HANDLE*);
      | ^~~~
include/ddk/wdm.h:1814:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1814 | void    FASTCALL ObfReferenceObject(void*);
      | ^~~~
gcc12 -m64 -c -o server/directory.o server/directory.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
In file included from server/directory.c:33:
include/ddk/wdm.h:1653:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1653 | void    FASTCALL ExAcquireFastMutex(FAST_MUTEX*);
      | ^~~~
include/ddk/wdm.h:1654:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1654 | void    FASTCALL ExAcquireFastMutexUnsafe(PFAST_MUTEX);
      | ^~~~
include/ddk/wdm.h:1680:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1680 | void    FASTCALL ExReleaseFastMutex(FAST_MUTEX*);
      | ^~~~
include/ddk/wdm.h:1681:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1681 | void    FASTCALL ExReleaseFastMutexUnsafe(PFAST_MUTEX);
      | ^~~~
include/ddk/wdm.h:1739:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1739 | void    FASTCALL KeAcquireInStackQueuedSpinLockAtDpcLevel(KSPIN_LOCK*,KLOCK_QUEUE_HANDLE*);
      | ^~~~
include/ddk/wdm.h:1774:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1774 | void    FASTCALL KeReleaseInStackQueuedSpinLockFromDpcLevel(KLOCK_QUEUE_HANDLE*);
      | ^~~~
include/ddk/wdm.h:1814:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1814 | void    FASTCALL ObfReferenceObject(void*);
      | ^~~~
gcc12 -m64 -c -o server/esync.o server/esync.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/event.o server/event.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/fd.o server/fd.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/file.o server/file.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
In file included from server/fd.c:104:
include/ddk/wdm.h:1653:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1653 | void    FASTCALL ExAcquireFastMutex(FAST_MUTEX*);
      | ^~~~
include/ddk/wdm.h:1654:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1654 | void    FASTCALL ExAcquireFastMutexUnsafe(PFAST_MUTEX);
      | ^~~~
include/ddk/wdm.h:1680:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1680 | void    FASTCALL ExReleaseFastMutex(FAST_MUTEX*);
      | ^~~~
include/ddk/wdm.h:1681:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1681 | void    FASTCALL ExReleaseFastMutexUnsafe(PFAST_MUTEX);
      | ^~~~
include/ddk/wdm.h:1739:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1739 | void    FASTCALL KeAcquireInStackQueuedSpinLockAtDpcLevel(KSPIN_LOCK*,KLOCK_QUEUE_HANDLE*);
      | ^~~~
include/ddk/wdm.h:1774:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1774 | void    FASTCALL KeReleaseInStackQueuedSpinLockFromDpcLevel(KLOCK_QUEUE_HANDLE*);
      | ^~~~
include/ddk/wdm.h:1814:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1814 | void    FASTCALL ObfReferenceObject(void*);
      | ^~~~
gcc12 -m64 -c -o server/fsync.o server/fsync.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
server/fsync.c:251:12: warning: 'alloc_shm_idx_from_word' defined but not used [-Wunused-function]
  251 | static int alloc_shm_idx_from_word( unsigned int word_index )
      |            ^~~~~~~~~~~~~~~~~~~~~~~
gcc12 -m64 -c -o server/handle.o server/handle.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/hook.o server/hook.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/mach.o server/mach.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/mailslot.o server/mailslot.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/main.o server/main.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
gcc12 -m64 -c -o server/mapping.o server/mapping.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
In file included from server/mapping.c:38:
include/ddk/wdm.h:1653:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1653 | void    FASTCALL ExAcquireFastMutex(FAST_MUTEX*);
      | ^~~~
include/ddk/wdm.h:1654:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1654 | void    FASTCALL ExAcquireFastMutexUnsafe(PFAST_MUTEX);
      | ^~~~
include/ddk/wdm.h:1680:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1680 | void    FASTCALL ExReleaseFastMutex(FAST_MUTEX*);
      | ^~~~
include/ddk/wdm.h:1681:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1681 | void    FASTCALL ExReleaseFastMutexUnsafe(PFAST_MUTEX);
      | ^~~~
include/ddk/wdm.h:1739:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1739 | void    FASTCALL KeAcquireInStackQueuedSpinLockAtDpcLevel(KSPIN_LOCK*,KLOCK_QUEUE_HANDLE*);
      | ^~~~
include/ddk/wdm.h:1774:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1774 | void    FASTCALL KeReleaseInStackQueuedSpinLockFromDpcLevel(KLOCK_QUEUE_HANDLE*);
      | ^~~~
include/ddk/wdm.h:1814:1: warning: 'fastcall' attribute ignored [-Wattributes]
 1814 | void    FASTCALL ObfReferenceObject(void*);
      | ^~~~
gcc12 -m64 -c -o server/mutex.o server/mutex.c -Iserver -Iinclude -D__WINESRC__ -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -isystem /usr/local/include -O2 -pipe  -D__NR_futex=-1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing 
server/mapping.c: In function 'create_shared_mapping':
server/mapping.c:1150:46: error: 'F_SEAL_SHRINK' undeclared (first use in this function)
 1150 |     static int seals = F_SEAL_FUTURE_WRITE | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
      |                                              ^~~~~~~~~~~~~
server/mapping.c:1150:46: note: each undeclared identifier is reported only once for each function it appears in
server/mapping.c:1150:62: error: 'F_SEAL_GROW' undeclared (first use in this function)
 1150 |     static int seals = F_SEAL_FUTURE_WRITE | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
      |                                                              ^~~~~~~~~~~
server/mapping.c:1150:76: error: 'F_SEAL_SEAL' undeclared (first use in this function)
 1150 |     static int seals = F_SEAL_FUTURE_WRITE | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
      |                                                                            ^~~~~~~~~~~
server/mapping.c:1167:40: error: 'F_ADD_SEALS' undeclared (first use in this function)
 1167 |     fcntl( get_unix_fd( mapping->fd ), F_ADD_SEALS, seals );
      |                                        ^~~~~~~~~~~
gmake[1]: *** [Makefile:180704: server/mapping.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/wine-proton/work/wine-fb6e6af8928a29660e8cf797d43e028ea5bf8d23'
===> 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/emulators/wine-proton