pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

MesaLib fails to build on Linux



Hi,

im trying to build MesaLib on Arch Linux but it fails because of conflicting types. The log is attached. Anybody has any Idea why and how to fix it? I've noticed that smartos has a pre-built package of the exact same version from two years ago. Is it possible that some of my system libs are too new, even though I've set PREFER_PKGSRC=yes?

Also I noticed two other things: Rust only builds when the libunwind package from Arch Linux's repositories is not installed and the inetutils is required for pkgsrc to build due to the hostname cli missing by default. Might be good if this was mentioned somewhere (for example in bootstrap/README.Linux).

Best regards,
Ivan
: commands for target _pkgformat-bootstrap-depends; set -x; set -e; :;exec 3<&0;						 /bin/env AWK=/home/ivan/pkg/bin/nawk PKG_ADMIN=/home/ivan/pkg/sbin/pkg_admin\ -K\ /home/ivan/pkg/pkgdb  PKGSRCDIR=/home/ivan/pkgsrc PWD_CMD=/bin/pwd SED=/bin/sed  /bin/sh /home/ivan/pkgsrc/mk/pkgformat/pkg/list-dependencies  " "\ \ digest\>=20211023:../../pkgtools/digest " " " " " " " " " " " " | 				 while read type pattern dir; do					 test "$type" = "bootstrap" || continue;		 case $type in							 bootstrap)		Type=Bootstrap;;			 tool)			Type=Tool;;				 build|indirect-build)	Type=Build;;				 test)			Type=Test;;				 full|indirect-full)	Type=Full;;				 esac;								 case $type in							 bootstrap|tool)							 case "no" in			 yes)	extradep="";					 crosstargetsettings=TARGET_OPSYS=Linux\ TARGET_OS_VERSION=6.18.60\ TARGET_OPSYS_VERSION=061860\ TARGET_LOWER_OPSYS=linux\ TARGET_LOWER_OPSYS_VERSUFFIX=\ TARGET_LOWER_VARIANT_VERSION=\ TARGET_LOWER_VENDOR=unknown\ TARGET_LOWER_OS_VARIANT=\ TARGET_MACHINE_ARCH=x86_64\ TARGET_OBJECT_FMT=ELF;	 ;;						 *)	extradep=" MesaLib-21.3.9nb5";				 crosstargetsettings=;				 ;;						 esac;							 cross=no;						 pkg=`/home/ivan/pkg/sbin/pkg_info -K /home/ivan/pkg/pkgdb -E "$pattern" || true`;	 ;;							 build|full|indirect-build|indirect-full|test)			 extradep=" MesaLib-21.3.9nb5";					 crosstargetsettings=;					 cross=NO;				 pkg=`/home/ivan/pkg/sbin/pkg_info -K /home/ivan/pkg/pkgdb -E "$pattern" || true`;	 ;;							 esac;								 case "$pkg" in							 "")								 echo "=>" "$Type dependency $pattern: NOT found";	 target=reinstall;				 echo "=>" "Verifying $target for $dir";		 [ -d "$dir" ] || /bin/sh /home/ivan/pkgsrc/mk/scripts/fail echo 1>&2 "ERROR:" "[depends.mk] The directory \`\`$dir'' does not exist.";  cd $dir;						 unset _PKGSRC_BARRIER || true;				 unset MAKEFLAGS || true;				 unset TARGET_OPSYS TARGET_OS_VERSION TARGET_OPSYS_VERSION TARGET_LOWER_OPSYS TARGET_LOWER_OPSYS_VERSUFFIX TARGET_LOWER_VARIANT_VERSION TARGET_LOWER_VENDOR TARGET_LOWER_OS_VARIANT TARGET_MACHINE_ARCH TARGET_OBJECT_FMT || true;		 /bin/env  PATH=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.gcc/bin:/home/ivan/pkg/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin _PKGSRC_DEPS="$extradep"	 PKGNAME_REQD="$pattern"			 USE_CROSS_COMPILE=$cross			 $crosstargetsettings				 /home/ivan/pkg/bin/bmake _MAKE=/home/ivan/pkg/bin/bmake NATIVE_OPSYS=Linux OPSYS=Linux NATIVE_OS_VERSION=6.18.60 OS_VERSION=6.18.60 NATIVE_OPSYS_VERSION=061860 OPSYS_VERSION=061860 HOST_MACHINE_ARCH=x86_64 NATIVE_LOWER_OPSYS=linux LOWER_OPSYS=linux _PKGSRCDIR=/home/ivan/pkgsrc PKGTOOLS_VERSION=20260227 _CC=/usr/bin/cc UNPRIVILEGED_USER=ivan UNPRIVILEGED_GROUP=ivan UNPRIVILEGED_GROUPS=ivan\ wheel _PATH_ORIG=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin _AUTOMATIC=yes $target;	 case $type in						 bootstrap|tool)						 pkg=`/home/ivan/pkg/sbin/pkg_info -K /home/ivan/pkg/pkgdb -E "$pattern" || true`;;  build|full|indirect-build|indirect-full|test)		 pkg=`/home/ivan/pkg/sbin/pkg_info -K /home/ivan/pkg/pkgdb -E "$pattern" || true`;;  esac;							 case "$pkg" in						 "")	echo 1>&2 "ERROR:" "[depends.mk] A package matching \`\`$pattern'' should";  echo 1>&2 "ERROR:" "    be installed, but one cannot be found.  Perhaps there is a";  echo 1>&2 "ERROR:" "    stale work directory for $dir?";  exit 1;						 esac;							 echo "=>" "Returning to build of MesaLib-21.3.9nb5";		 ;;							 *)								 case $type in						 bootstrap|tool)						 objfmt=`/home/ivan/pkg/sbin/pkg_info -K /home/ivan/pkg/pkgdb -Q OBJECT_FMT "$pkg"`;  needobjfmt=ELF;;		 build|full|indirect-build|indirect-full|test)		 objfmt=`/home/ivan/pkg/sbin/pkg_info -K /home/ivan/pkg/pkgdb -Q OBJECT_FMT "$pkg"`;	 needobjfmt=ELF;;			 esac;							 case "$objfmt" in					 "")	echo 1>&2 "WARNING:" "[depends.mk] Unknown object format for installed package $pkg" ;;  $needobjfmt)	;;					 *)	echo 1>&2 "ERROR:" "[depends.mk] Installed package $pkg has an";  echo 1>&2 "ERROR:" "    object format \`\`$objfmt'' which differs from \`\`$needobjfmt''.  Please";  echo 1>&2 "ERROR:" "    update the $pkg package to $needobjfmt.";  exit 1;						 ;;						 esac;							 silent=;			 if test -z "${silent}"; then			 echo "=>" "$Type dependency $pattern: found $pkg";  fi;							 ;;							 esac 0<&3;				 done
+ set -e
+ :
+ exec
+ /bin/env AWK=/home/ivan/pkg/bin/nawk 'PKG_ADMIN=/home/ivan/pkg/sbin/pkg_admin -K /home/ivan/pkg/pkgdb' PKGSRCDIR=/home/ivan/pkgsrc PWD_CMD=/bin/pwd SED=/bin/sed /bin/sh /home/ivan/pkgsrc/mk/pkgformat/pkg/list-dependencies '   digest>=20211023:../../pkgtools/digest' ' ' ' ' ' ' ' ' ' ' ' '
+ read type pattern dir
+ test bootstrap = bootstrap
+ case $type in
+ Type=Bootstrap
+ case $type in
+ case "no" in
+ extradep=' MesaLib-21.3.9nb5'
+ crosstargetsettings=
+ cross=no
++ /home/ivan/pkg/sbin/pkg_info -K /home/ivan/pkg/pkgdb -E 'digest>=20211023'
+ pkg=digest-20220214
+ case "$pkg" in
+ case $type in
++ /home/ivan/pkg/sbin/pkg_info -K /home/ivan/pkg/pkgdb -Q OBJECT_FMT digest-20220214
+ objfmt=ELF
+ needobjfmt=ELF
+ case "$objfmt" in
+ silent=
+ test -z ''
+ echo '=>' 'Bootstrap dependency digest>=20211023: found digest-20220214'
=> Bootstrap dependency digest>=20211023: found digest-20220214
+ read type pattern dir
: commands for target checksum-phase; set -x; set -e; :; set -e;							 case checksum-phase in						 *-phase)	test ! -f /home/ivan/pkgsrc/graphics/MesaLib/work/.extract_done || exit 0 ;;	 esac;								 cd /home/ivan/pkgsrc/distfiles;							 if {  echo mesa-21.3.9.tar.xz; }			 | /bin/env						 DIGEST=/home/ivan/pkg/bin/digest SED=/bin/sed		 /home/ivan/pkg/bin/nawk -f /home/ivan/pkgsrc/mk/checksum/checksum.awk -- -I /dev/stdin /home/ivan/pkgsrc/graphics/MesaLib/distinfo; then  true;						 else								 echo 1>&2 "ERROR:" "Make sure the Makefile and checksum file (/home/ivan/pkgsrc/graphics/MesaLib/distinfo)";  echo 1>&2 "ERROR:" "are up to date.  If you want to override this check, type";  echo 1>&2 "ERROR:" "\"/home/ivan/pkg/bin/bmake NO_CHECKSUM=yes [other args]\".";  exit 1;							 fi
+ set -e
+ :
+ set -e
+ case checksum-phase in
+ test '!' -f /home/ivan/pkgsrc/graphics/MesaLib/work/.extract_done
+ exit 0
: commands for target _check-wrkdir-canonical; set -x; set -e; :; cd /home/ivan/pkgsrc/graphics/MesaLib/work; d=`exec pwd -P`; test "$d" = /home/ivan/pkgsrc/graphics/MesaLib/work	 || /bin/sh /home/ivan/pkgsrc/mk/scripts/fail echo 1>&2 "ERROR:" "[bsd.pkg.mk] The path to WRKDIR /home/ivan/pkgsrc/graphics/MesaLib/work must be canonical ($d)."
+ set -e
+ :
+ cd /home/ivan/pkgsrc/graphics/MesaLib/work
++ exec pwd -P
+ d=/home/ivan/pkgsrc/graphics/MesaLib/work
+ test /home/ivan/pkgsrc/graphics/MesaLib/work = /home/ivan/pkgsrc/graphics/MesaLib/work
: commands for target barrier; set -x; set -e; :;					 if test -n "" &&  /home/ivan/pkg/sbin/pkg_info -K /home/ivan/pkg/pkgdb -qe MesaLib-21.3.9nb5; then  echo ===\> "Skipping installation of already handled package";  else  cd /home/ivan/pkgsrc/graphics/MesaLib							 && /bin/env  PATH=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.gcc/bin:/home/ivan/pkg/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin /home/ivan/pkg/bin/bmake _MAKE=/home/ivan/pkg/bin/bmake NATIVE_OPSYS=Linux OPSYS=Linux NATIVE_OS_VERSION=6.18.60 OS_VERSION=6.18.60 NATIVE_OPSYS_VERSION=061860 OPSYS_VERSION=061860 HOST_MACHINE_ARCH=x86_64 NATIVE_LOWER_OPSYS=linux LOWER_OPSYS=linux _PKGSRCDIR=/home/ivan/pkgsrc PKGTOOLS_VERSION=20260227 _CC=/usr/bin/cc UNPRIVILEGED_USER=ivan UNPRIVILEGED_GROUP=ivan UNPRIVILEGED_GROUPS=ivan\ wheel _PATH_ORIG=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin _PKGSRC_BARRIER=yes all  || {								 exitcode="$?";						 /bin/env  PATH=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.gcc/bin:/home/ivan/pkg/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin /home/ivan/pkg/bin/bmake _MAKE=/home/ivan/pkg/bin/bmake NATIVE_OPSYS=Linux OPSYS=Linux NATIVE_OS_VERSION=6.18.60 OS_VERSION=6.18.60 NATIVE_OPSYS_VERSION=061860 OPSYS_VERSION=061860 HOST_MACHINE_ARCH=x86_64 NATIVE_LOWER_OPSYS=linux LOWER_OPSYS=linux _PKGSRCDIR=/home/ivan/pkgsrc PKGTOOLS_VERSION=20260227 _CC=/usr/bin/cc UNPRIVILEGED_USER=ivan UNPRIVILEGED_GROUP=ivan UNPRIVILEGED_GROUPS=ivan\ wheel _PATH_ORIG=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin _PKGSRC_BARRIER=yes barrier-error-check;  exit "$exitcode";					 };  fi
+ set -e
+ :
+ test -n ''
+ cd /home/ivan/pkgsrc/graphics/MesaLib
+ /bin/env PATH=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.gcc/bin:/home/ivan/pkg/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin /home/ivan/pkg/bin/bmake _MAKE=/home/ivan/pkg/bin/bmake NATIVE_OPSYS=Linux OPSYS=Linux NATIVE_OS_VERSION=6.18.60 OS_VERSION=6.18.60 NATIVE_OPSYS_VERSION=061860 OPSYS_VERSION=061860 HOST_MACHINE_ARCH=x86_64 NATIVE_LOWER_OPSYS=linux LOWER_OPSYS=linux _PKGSRCDIR=/home/ivan/pkgsrc PKGTOOLS_VERSION=20260227 _CC=/usr/bin/cc UNPRIVILEGED_USER=ivan UNPRIVILEGED_GROUP=ivan 'UNPRIVILEGED_GROUPS=ivan wheel' _PATH_ORIG=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin _PKGSRC_BARRIER=yes all
: commands for target _pkgformat-check-vulnerable; set -x; set -e; :;								 echo ===\> "Skipping vulnerability checks.";			 echo 1>&2 "WARNING:" "No /home/ivan/pkg/pkgdb/pkg-vulnerabilities file found.";			 echo 1>&2 "WARNING:" "To fix run: \`/home/ivan/pkg/sbin/pkg_admin -K /home/ivan/pkg/pkgdb fetch-pkg-vulnerabilities'."
+ set -e
+ :
+ echo '===>' 'Skipping vulnerability checks.'
===> Skipping vulnerability checks.
+ echo WARNING: 'No /home/ivan/pkg/pkgdb/pkg-vulnerabilities file found.'
WARNING: No /home/ivan/pkg/pkgdb/pkg-vulnerabilities file found.
+ echo WARNING: 'To fix run: `/home/ivan/pkg/sbin/pkg_admin -K /home/ivan/pkg/pkgdb fetch-pkg-vulnerabilities'\''.'
WARNING: To fix run: `/home/ivan/pkg/sbin/pkg_admin -K /home/ivan/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for MesaLib-21.3.9nb5
: commands for target meson-build; set -x; set -e; :;cd /home/ivan/pkgsrc/graphics/MesaLib/work/mesa-21.3.9 && cd . && /bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= LLVM_CONFIG_PATH=/home/ivan/pkg/libexec/libLLVM/llvm-config MESON_RSP_THRESHOLD=262144 CMAKE=false PYTHON=/home/ivan/pkg/bin/python3.14 CC=cc CFLAGS=-O2\ -I/home/ivan/pkg/include/libelf\ -I/home/ivan/pkg/include/libLLVM\ -I/home/ivan/pkg/include\ -I/home/ivan/pkg/include/libdrm\ -I/usr/include\ -I/home/ivan/pkg/include/python3.14 CPPFLAGS=-DHAVE_NOATEXIT\ -DSYSCONFDIR=/home/ivan/pkg/etc\ -I/home/ivan/pkg/include/libelf\ -I/home/ivan/pkg/include/libLLVM\ -I/home/ivan/pkg/include\ -I/home/ivan/pkg/include/libdrm\ -I/usr/include\ -I/home/ivan/pkg/include/python3.14 CXX=c++ CXXFLAGS=-O2\ -I/home/ivan/pkg/include/libelf\ -I/home/ivan/pkg/include/libLLVM\ -I/home/ivan/pkg/include\ -I/home/ivan/pkg/include/libdrm\ -I/usr/include\ -I/home/ivan/pkg/include/python3.14 COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/home/ivan/pkg/lib\ -Wl,-R/home/ivan/pkg/lib\ -L/home/ivan/pkg/lib/libLLVM\ -Wl,-R/home/ivan/pkg/lib/libLLVM\ -L/usr/lib64\ -Wl,-R/usr/lib64 LINKER_RPATH_FLAG=-R PATH=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.gcc/bin:/home/ivan/pkg/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/bin PREFIX=/home/ivan/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/home/ivan/pkg/etc HOME=/home/ivan/pkgsrc/graphics/MesaLib/work/.home CWRAPPERS_CONFIG_DIR=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/config CPP=cpp LOCALBASE=/home/ivan/pkg X11BASE=/home/ivan/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/bin/install\ -c\ -s\ -o\ ivan\ -g\ ivan\ -m\ 755 BSD_INSTALL_SCRIPT=/bin/install\ -c\ -o\ ivan\ -g\ ivan\ -m\ 755 BSD_INSTALL_LIB=/bin/install\ -c\ -o\ ivan\ -g\ ivan\ -m\ 755 BSD_INSTALL_DATA=/bin/install\ -c\ -o\ ivan\ -g\ ivan\ -m\ 644 BSD_INSTALL_MAN=/bin/install\ -c\ -o\ ivan\ -g\ ivan\ -m\ 644 BSD_INSTALL=/bin/install BSD_INSTALL_PROGRAM_DIR=/bin/install\ -d\ -o\ ivan\ -g\ ivan\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/bin/install\ -d\ -o\ ivan\ -g\ ivan\ -m\ 755 BSD_INSTALL_LIB_DIR=/bin/install\ -d\ -o\ ivan\ -g\ ivan\ -m\ 755 BSD_INSTALL_DATA_DIR=/bin/install\ -d\ -o\ ivan\ -g\ ivan\ -m\ 755 BSD_INSTALL_MAN_DIR=/bin/install\ -d\ -o\ ivan\ -g\ ivan\ -m\ 755 BSD_INSTALL_GAME=/bin/install\ -c\ -s\ -o\ ivan\ -g\ ivan\ -m\ 0755 BSD_INSTALL_GAME_DATA=/bin/install\ -c\ -o\ ivan\ -g\ ivan\ -m\ 0644 BSD_INSTALL_GAME_DIR=/bin/install\ -d\ -o\ ivan\ -g\ ivan\ -m\ 0755 INSTALL_INFO= MAKEINFO=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/makeinfo FLEX=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/flex BISON=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/bison ITSTOOL=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/itstool GDBUS_CODEGEN=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/lib64/pkgconfig:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/lib/pkgconfig:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/ivan/pkgsrc/graphics/MesaLib/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/config  ninja -j 12 -C output 
+ set -e
+ :
+ cd /home/ivan/pkgsrc/graphics/MesaLib/work/mesa-21.3.9
+ cd .
+ /bin/env USETOOLS=no 'PTHREAD_CFLAGS= -pthread ' 'PTHREAD_LDFLAGS= -pthread' 'PTHREAD_LIBS=-lpthread -lrt' PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= LLVM_CONFIG_PATH=/home/ivan/pkg/libexec/libLLVM/llvm-config MESON_RSP_THRESHOLD=262144 CMAKE=false PYTHON=/home/ivan/pkg/bin/python3.14 CC=cc 'CFLAGS=-O2 -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14' 'CPPFLAGS=-DHAVE_NOATEXIT -DSYSCONFDIR=/home/ivan/pkg/etc -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14' CXX=c++ 'CXXFLAGS=-O2 -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14' COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C 'LDFLAGS=-Wl,-zrelro -L/home/ivan/pkg/lib -Wl,-R/home/ivan/pkg/lib -L/home/ivan/pkg/lib/libLLVM -Wl,-R/home/ivan/pkg/lib/libLLVM -L/usr/lib64 -Wl,-R/usr/lib64' LINKER_RPATH_FLAG=-R PATH=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.gcc/bin:/home/ivan/pkg/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/bin PREFIX=/home/ivan/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/home/ivan/pkg/etc HOME=/home/ivan/pkgsrc/graphics/MesaLib/work/.home CWRAPPERS_CONFIG_DIR=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/config CPP=cpp LOCALBASE=/home/ivan/pkg X11BASE=/home/ivan/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no 'BSD_INSTALL_PROGRAM=/bin/install -c -s -o ivan -g ivan -m 755' 'BSD_INSTALL_SCRIPT=/bin/install -c -o ivan -g ivan -m 755' 'BSD_INSTALL_LIB=/bin/install -c -o ivan -g ivan -m 755' 'BSD_INSTALL_DATA=/bin/install -c -o ivan -g ivan -m 644' 'BSD_INSTALL_MAN=/bin/install -c -o ivan -g ivan -m 644' BSD_INSTALL=/bin/install 'BSD_INSTALL_PROGRAM_DIR=/bin/install -d -o ivan -g ivan -m 755' 'BSD_INSTALL_SCRIPT_DIR=/bin/install -d -o ivan -g ivan -m 755' 'BSD_INSTALL_LIB_DIR=/bin/install -d -o ivan -g ivan -m 755' 'BSD_INSTALL_DATA_DIR=/bin/install -d -o ivan -g ivan -m 755' 'BSD_INSTALL_MAN_DIR=/bin/install -d -o ivan -g ivan -m 755' 'BSD_INSTALL_GAME=/bin/install -c -s -o ivan -g ivan -m 0755' 'BSD_INSTALL_GAME_DATA=/bin/install -c -o ivan -g ivan -m 0644' 'BSD_INSTALL_GAME_DIR=/bin/install -d -o ivan -g ivan -m 0755' INSTALL_INFO= MAKEINFO=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/makeinfo FLEX=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/flex BISON=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/bison ITSTOOL=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/itstool GDBUS_CODEGEN=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/lib64/pkgconfig:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/lib/pkgconfig:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/ivan/pkgsrc/graphics/MesaLib/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/config ninja -j 12 -C output
ninja: Entering directory `output'
[1/2142] Compiling C object src/util/libmesa_util.a.p/fossilize_db.c.o
FAILED: [code=1] src/util/libmesa_util.a.p/fossilize_db.c.o 
cc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.9"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues";' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="13.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DMESA_EXECMEM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O2 -DHAVE_NOATEXIT -DSYSCONFDIR=/home/ivan/pkg/etc -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/fossilize_db.c.o -MF src/util/libmesa_util.a.p/fossilize_db.c.o.d -o src/util/libmesa_util.a.p/fossilize_db.c.o -c ../src/util/fossilize_db.c
In file included from ../include/c11/threads.h:66,
                 from ../src/util/simple_mtx.h:30,
                 from ../src/util/fossilize_db.h:44,
                 from ../src/util/fossilize_db.c:31:
../include/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' redefined
   54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:1191,
                 from ../include/c11/threads_posix.h:29:
/usr/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition
   25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
      |         ^~~~~~~~~~~~~~
../include/c11/threads_posix.h:69:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
   69 | typedef pthread_once_t  once_flag;
      |                         ^~~~~~~~~
/usr/include/bits/types/once_flag.h:24:21: note: previous declaration of 'once_flag' with type 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^~~~~~~~~
../include/c11/threads_posix.h:94:1: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
   94 | call_once(once_flag *flag, void (*func)(void))
      | ^~~~~~~~~
/usr/include/stdlib.h:1195:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
 1195 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^~~~~~~~~
[2/2142] Compiling C object src/util/libmesa_util.a.p/disk_cache_os.c.o
FAILED: [code=1] src/util/libmesa_util.a.p/disk_cache_os.c.o 
cc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.9"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues";' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="13.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DMESA_EXECMEM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O2 -DHAVE_NOATEXIT -DSYSCONFDIR=/home/ivan/pkg/etc -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/disk_cache_os.c.o -MF src/util/libmesa_util.a.p/disk_cache_os.c.o.d -o src/util/libmesa_util.a.p/disk_cache_os.c.o -c ../src/util/disk_cache_os.c
In file included from ../include/c11/threads.h:66,
                 from ../src/util/simple_mtx.h:30,
                 from ../src/util/u_queue.h:38,
                 from ../src/util/disk_cache_os.h:27,
                 from ../src/util/disk_cache_os.c:64:
../include/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' redefined
   54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:1191,
                 from ../src/util/disk_cache_os.c:30:
/usr/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition
   25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
      |         ^~~~~~~~~~~~~~
../include/c11/threads_posix.h:69:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
   69 | typedef pthread_once_t  once_flag;
      |                         ^~~~~~~~~
/usr/include/bits/types/once_flag.h:24:21: note: previous declaration of 'once_flag' with type 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^~~~~~~~~
../include/c11/threads_posix.h:94:1: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
   94 | call_once(once_flag *flag, void (*func)(void))
      | ^~~~~~~~~
/usr/include/stdlib.h:1195:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
 1195 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^~~~~~~~~
[3/2142] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o
FAILED: [code=1] src/util/libmesa_util.a.p/disk_cache.c.o 
cc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.9"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues";' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="13.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DMESA_EXECMEM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O2 -DHAVE_NOATEXIT -DSYSCONFDIR=/home/ivan/pkg/etc -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/disk_cache.c.o -MF src/util/libmesa_util.a.p/disk_cache.c.o.d -o src/util/libmesa_util.a.p/disk_cache.c.o -c ../src/util/disk_cache.c
In file included from ../include/c11/threads.h:66,
                 from ../src/util/simple_mtx.h:30,
                 from ../src/util/u_queue.h:38,
                 from ../src/util/disk_cache_os.h:27,
                 from ../src/util/disk_cache.c:49:
../include/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' redefined
   54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:1191,
                 from ../src/util/disk_cache.c:29:
/usr/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition
   25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
      |         ^~~~~~~~~~~~~~
../include/c11/threads_posix.h:69:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
   69 | typedef pthread_once_t  once_flag;
      |                         ^~~~~~~~~
/usr/include/bits/types/once_flag.h:24:21: note: previous declaration of 'once_flag' with type 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^~~~~~~~~
../include/c11/threads_posix.h:94:1: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
   94 | call_once(once_flag *flag, void (*func)(void))
      | ^~~~~~~~~
/usr/include/stdlib.h:1195:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
 1195 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^~~~~~~~~
[4/2142] Compiling C object src/util/libmesa_util.a.p/u_idalloc.c.o
FAILED: [code=1] src/util/libmesa_util.a.p/u_idalloc.c.o 
cc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.9"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues";' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="13.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DMESA_EXECMEM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O2 -DHAVE_NOATEXIT -DSYSCONFDIR=/home/ivan/pkg/etc -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/u_idalloc.c.o -MF src/util/libmesa_util.a.p/u_idalloc.c.o.d -o src/util/libmesa_util.a.p/u_idalloc.c.o -c ../src/util/u_idalloc.c
In file included from ../include/c11/threads.h:66,
                 from ../src/util/simple_mtx.h:30,
                 from ../src/util/u_idalloc.h:39,
                 from ../src/util/u_idalloc.c:35:
../include/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' redefined
   54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:1191,
                 from ../include/c11/threads_posix.h:29:
/usr/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition
   25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
      |         ^~~~~~~~~~~~~~
../include/c11/threads_posix.h:69:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
   69 | typedef pthread_once_t  once_flag;
      |                         ^~~~~~~~~
/usr/include/bits/types/once_flag.h:24:21: note: previous declaration of 'once_flag' with type 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^~~~~~~~~
../include/c11/threads_posix.h:94:1: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
   94 | call_once(once_flag *flag, void (*func)(void))
      | ^~~~~~~~~
/usr/include/stdlib.h:1195:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
 1195 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^~~~~~~~~
[5/2142] Compiling C object src/util/libmesa_util.a.p/os_socket.c.o
[6/2142] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o
[7/2142] Compiling C object src/util/libmesa_util.a.p/os_memory_fd.c.o
[8/2142] Compiling C object src/util/format/libmesa_format.a.p/u_format.c.o
FAILED: [code=1] src/util/format/libmesa_format.a.p/u_format.c.o 
cc -Isrc/util/format/libmesa_format.a.p -Isrc/util/format -I../src/util/format -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.9"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues";' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="13.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DMESA_EXECMEM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O2 -DHAVE_NOATEXIT -DSYSCONFDIR=/home/ivan/pkg/etc -fPIC -Werror=pointer-arith -MD -MQ src/util/format/libmesa_format.a.p/u_format.c.o -MF src/util/format/libmesa_format.a.p/u_format.c.o.d -o src/util/format/libmesa_format.a.p/u_format.c.o -c ../src/util/format/u_format.c
In file included from ../include/c11/threads.h:66,
                 from ../src/util/u_thread.h:35,
                 from ../src/util/u_cpu_detect.h:40,
                 from ../src/util/format/u_format.c:37:
../include/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' redefined
   54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:1191,
                 from ../src/gallium/include/pipe/p_compiler.h:38,
                 from ../src/gallium/include/pipe/p_defines.h:31,
                 from ../src/util/format/u_format.h:34,
                 from ../src/util/format/u_format.c:35:
/usr/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition
   25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
      |         ^~~~~~~~~~~~~~
../include/c11/threads_posix.h:69:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
   69 | typedef pthread_once_t  once_flag;
      |                         ^~~~~~~~~
/usr/include/bits/types/once_flag.h:24:21: note: previous declaration of 'once_flag' with type 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^~~~~~~~~
../include/c11/threads_posix.h:94:1: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
   94 | call_once(once_flag *flag, void (*func)(void))
      | ^~~~~~~~~
/usr/include/stdlib.h:1195:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
 1195 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^~~~~~~~~
[9/2142] Compiling C object src/util/libmesa_util.a.p/perf_u_trace.c.o
FAILED: [code=1] src/util/libmesa_util.a.p/perf_u_trace.c.o 
cc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.9"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues";' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="13.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DMESA_EXECMEM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O2 -DHAVE_NOATEXIT -DSYSCONFDIR=/home/ivan/pkg/etc -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/perf_u_trace.c.o -MF src/util/libmesa_util.a.p/perf_u_trace.c.o.d -o src/util/libmesa_util.a.p/perf_u_trace.c.o -c ../src/util/perf/u_trace.c
In file included from ../include/c11/threads.h:66,
                 from ../src/util/simple_mtx.h:30,
                 from ../src/util/u_queue.h:38,
                 from ../src/util/perf/u_trace.h:31,
                 from ../src/util/perf/u_trace.c:32:
../include/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' redefined
   54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:1191,
                 from ../src/gallium/include/pipe/p_compiler.h:38,
                 from ../src/gallium/include/pipe/p_context.h:31,
                 from ../src/gallium/auxiliary/util/u_inlines.h:31,
                 from ../src/util/perf/u_trace.c:28:
/usr/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition
   25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
      |         ^~~~~~~~~~~~~~
../include/c11/threads_posix.h:69:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
   69 | typedef pthread_once_t  once_flag;
      |                         ^~~~~~~~~
/usr/include/bits/types/once_flag.h:24:21: note: previous declaration of 'once_flag' with type 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^~~~~~~~~
../include/c11/threads_posix.h:94:1: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
   94 | call_once(once_flag *flag, void (*func)(void))
      | ^~~~~~~~~
/usr/include/stdlib.h:1195:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
 1195 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^~~~~~~~~
[10/2142] Compiling C object src/util/libmesa_util.a.p/half_float.c.o
FAILED: [code=1] src/util/libmesa_util.a.p/half_float.c.o 
cc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.9"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues";' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="13.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DMESA_EXECMEM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O2 -DHAVE_NOATEXIT -DSYSCONFDIR=/home/ivan/pkg/etc -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/half_float.c.o -MF src/util/libmesa_util.a.p/half_float.c.o.d -o src/util/libmesa_util.a.p/half_float.c.o -c ../src/util/half_float.c
In file included from ../include/c11/threads.h:66,
                 from ../src/util/u_thread.h:35,
                 from ../src/util/u_cpu_detect.h:40,
                 from ../src/util/half_float.h:32,
                 from ../src/util/half_float.c:30:
../include/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' redefined
   54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:1191,
                 from ../include/c11/threads_posix.h:29:
/usr/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition
   25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
      |         ^~~~~~~~~~~~~~
../include/c11/threads_posix.h:69:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
   69 | typedef pthread_once_t  once_flag;
      |                         ^~~~~~~~~
/usr/include/bits/types/once_flag.h:24:21: note: previous declaration of 'once_flag' with type 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^~~~~~~~~
../include/c11/threads_posix.h:94:1: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
   94 | call_once(once_flag *flag, void (*func)(void))
      | ^~~~~~~~~
/usr/include/stdlib.h:1195:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
 1195 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^~~~~~~~~
[11/2142] Compiling C object src/util/format/libmesa_format.a.p/u_format_bptc.c.o
FAILED: [code=1] src/util/format/libmesa_format.a.p/u_format_bptc.c.o 
cc -Isrc/util/format/libmesa_format.a.p -Isrc/util/format -I../src/util/format -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.9"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues";' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="13.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DMESA_EXECMEM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O2 -DHAVE_NOATEXIT -DSYSCONFDIR=/home/ivan/pkg/etc -fPIC -Werror=pointer-arith -MD -MQ src/util/format/libmesa_format.a.p/u_format_bptc.c.o -MF src/util/format/libmesa_format.a.p/u_format_bptc.c.o.d -o src/util/format/libmesa_format.a.p/u_format_bptc.c.o -c ../src/util/format/u_format_bptc.c
In file included from ../include/c11/threads.h:66,
                 from ../src/util/u_thread.h:35,
                 from ../src/util/u_cpu_detect.h:40,
                 from ../src/util/half_float.h:32,
                 from ../src/util/format/../../mesa/main/texcompress_bptc_tmp.h:32,
                 from ../src/util/format/u_format_bptc.c:33:
../include/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' redefined
   54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:1191,
                 from ../src/gallium/include/pipe/p_compiler.h:38,
                 from ../src/gallium/include/pipe/p_defines.h:31,
                 from ../src/util/format/u_format.h:34,
                 from ../src/util/format/u_format_bptc.c:26:
/usr/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition
   25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
      |         ^~~~~~~~~~~~~~
../include/c11/threads_posix.h:69:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
   69 | typedef pthread_once_t  once_flag;
      |                         ^~~~~~~~~
/usr/include/bits/types/once_flag.h:24:21: note: previous declaration of 'once_flag' with type 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^~~~~~~~~
../include/c11/threads_posix.h:94:1: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
   94 | call_once(once_flag *flag, void (*func)(void))
      | ^~~~~~~~~
/usr/include/stdlib.h:1195:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
 1195 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^~~~~~~~~
[12/2142] Compiling C object src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o
FAILED: [code=1] src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o 
cc -Isrc/util/format/libmesa_format.a.p -Isrc/util/format -I../src/util/format -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/home/ivan/pkg/include/libelf -I/home/ivan/pkg/include/libLLVM -I/home/ivan/pkg/include -I/home/ivan/pkg/include/libdrm -I/usr/include -I/home/ivan/pkg/include/python3.14 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.3.9"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues";' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="13.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DMESA_EXECMEM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O2 -DHAVE_NOATEXIT -DSYSCONFDIR=/home/ivan/pkg/etc -fPIC -Werror=pointer-arith -MD -MQ src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o -MF src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o.d -o src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o -c src/util/format/u_format_table.c
In file included from ../include/c11/threads.h:66,
                 from ../src/util/u_thread.h:35,
                 from ../src/util/u_cpu_detect.h:40,
                 from ../src/util/half_float.h:32,
                 from src/util/format/u_format_table.c:41:
../include/c11/threads_posix.h:54:9: warning: 'ONCE_FLAG_INIT' redefined
   54 | #define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:1191,
                 from ../src/gallium/include/pipe/p_compiler.h:38,
                 from ../src/gallium/include/pipe/p_defines.h:31,
                 from ../src/util/format/u_format.h:34,
                 from src/util/format/u_format_table.c:30:
/usr/include/bits/types/once_flag.h:25:9: note: this is the location of the previous definition
   25 | #define ONCE_FLAG_INIT __ONCE_FLAG_INIT
      |         ^~~~~~~~~~~~~~
../include/c11/threads_posix.h:69:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
   69 | typedef pthread_once_t  once_flag;
      |                         ^~~~~~~~~
/usr/include/bits/types/once_flag.h:24:21: note: previous declaration of 'once_flag' with type 'once_flag'
   24 | typedef __once_flag once_flag;
      |                     ^~~~~~~~~
../include/c11/threads_posix.h:94:1: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
   94 | call_once(once_flag *flag, void (*func)(void))
      | ^~~~~~~~~
/usr/include/stdlib.h:1195:13: note: previous declaration of 'call_once' with type 'void(once_flag *, void (*)(void))'
 1195 | extern void call_once (once_flag *__flag, void (*__func)(void));
      |             ^~~~~~~~~
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /home/ivan/pkgsrc/graphics/MesaLib
+ exitcode=1
+ /bin/env PATH=/home/ivan/pkgsrc/graphics/MesaLib/work/.cwrapper/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.buildlink/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.tools/bin:/home/ivan/pkgsrc/graphics/MesaLib/work/.gcc/bin:/home/ivan/pkg/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin /home/ivan/pkg/bin/bmake _MAKE=/home/ivan/pkg/bin/bmake NATIVE_OPSYS=Linux OPSYS=Linux NATIVE_OS_VERSION=6.18.60 OS_VERSION=6.18.60 NATIVE_OPSYS_VERSION=061860 OPSYS_VERSION=061860 HOST_MACHINE_ARCH=x86_64 NATIVE_LOWER_OPSYS=linux LOWER_OPSYS=linux _PKGSRCDIR=/home/ivan/pkgsrc PKGTOOLS_VERSION=20260227 _CC=/usr/bin/cc UNPRIVILEGED_USER=ivan UNPRIVILEGED_GROUP=ivan 'UNPRIVILEGED_GROUPS=ivan wheel' _PATH_ORIG=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin:/home/ivan/pkg/bin:/home/ivan/pkg/sbin _PKGSRC_BARRIER=yes barrier-error-check
: commands for target barrier-error-check; set -x; set -e; :;								 test -d /home/ivan/pkgsrc/graphics/MesaLib/work/.warning || exit 0;				 cd /home/ivan/pkgsrc/graphics/MesaLib/work/.warning;						 if [ `echo *.tmp` != '*.tmp' ]; then                          /bin/rm -f *.tmp;                                          fi;                                                              for file in ./*; do						 test "$file" != "./*" || exit 0;			 break;							 done;								 if /home/ivan/pkg/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' ./*; then				 /bin/cat ./* | /bin/sed -e "s|^|WARNING: |" 1>&2;				 /bin/mv -f ./* /home/ivan/pkgsrc/graphics/MesaLib/work/.warning-done;			 fi
+ set -e
+ :
+ test -d /home/ivan/pkgsrc/graphics/MesaLib/work/.warning
+ cd /home/ivan/pkgsrc/graphics/MesaLib/work/.warning
++ echo '*.tmp'
+ '[' '*.tmp' '!=' '*.tmp' ']'
+ for file in ./*
+ test './*' '!=' './*'
+ exit 0
: commands for target barrier-error-check; set -x; set -e; :;								 test -d /home/ivan/pkgsrc/graphics/MesaLib/work/.error || exit 0;				 cd /home/ivan/pkgsrc/graphics/MesaLib/work/.error;						 if [ `echo *.tmp` != '*.tmp' ]; then                          /bin/rm -f *.tmp;                                          fi;                                                              for file in ./*; do						 test "$file" != "./*" || exit 0;			 break;							 done;								 if /home/ivan/pkg/bin/nawk 'END { exit (NR > 0) ? 0 : 1; }' ./*; then				 /bin/cat ./* | /bin/sed -e "s|^|ERROR: |" 1>&2;				 /bin/mv -f ./* /home/ivan/pkgsrc/graphics/MesaLib/work/.error-done;			 exit 1;							 fi
+ set -e
+ :
+ test -d /home/ivan/pkgsrc/graphics/MesaLib/work/.error
+ cd /home/ivan/pkgsrc/graphics/MesaLib/work/.error
++ echo '*.tmp'
+ '[' '*.tmp' '!=' '*.tmp' ']'
+ for file in ./*
+ test './*' '!=' './*'
+ exit 0
+ exit 1
*** Error code 1

Stop.
bmake: stopped making "all" in /home/ivan/pkgsrc/graphics/MesaLib



Home | Main Index | Thread Index | Old Index