[package - 132powerpc64-quarterly][graphics/nvidia-texture-tools] Failed for nvidia-texture-tools-2.1.2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 05 Jan 2024 16:08:19 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:     amdmi3@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul1/data/132powerpc64-quarterly/294d1b3c41db/logs/nvidia-texture-tools-2.1.2.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=132powerpc64-quarterly&build=294d1b3c41db
Log:

=>> Building graphics/nvidia-texture-tools
build started at Fri Jan  5 16:07:35 UTC 2024
port directory: /usr/ports/graphics/nvidia-texture-tools
package name: nvidia-texture-tools-2.1.2
building for: FreeBSD 132powerpc64-quarterly-job-03 13.2-RELEASE FreeBSD 13.2-RELEASE powerpc
maintained by: amdmi3@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  854 Oct 17 01:03 /usr/ports/graphics/nvidia-texture-tools/Makefile
Ports top last git commit: 294d1b3c4
Ports top unclean checkout: no
Port dir last git commit: b41c26148
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500003
Jail OSVERSION: 1302001
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE
UNAME_r=13.2-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/132powerpc64-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/132powerpc64-quarterly/03/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132powerpc64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for nvidia-texture-tools-2.1.2:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
amdmi3@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/.cache  HOME=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/.cache  HOME=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/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 DESTDIR=/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-stric
 t-aliasing  "  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--
PORTDOCS="" CMAKE_BUILD_TYPE="release" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nvidia-texture-tools"  EXAMPLESDIR="share/examples/nvidia-texture-tools"  DATADIR="share/nvidia-texture-tools"  WWWDIR="www/nvidia-texture-tools"  ETCDIR="etc/nvidia-texture-tools"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   nvidia-texture-tools-2.1.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[132powerpc64-quarterly-job-03] Installing pkg-1.20.9...
[132powerpc64-quarterly-job-03] Extracting pkg-1.20.9: .......... done
===>   nvidia-texture-tools-2.1.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of nvidia-texture-tools-2.1.2
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by nvidia-texture-tools-2.1.2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by nvidia-texture-tools-2.1.2 for building
=> SHA256 Checksum OK for castano-nvidia-texture-tools-2.1.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by nvidia-texture-tools-2.1.2 for building
===>  Extracting for nvidia-texture-tools-2.1.2
=> SHA256 Checksum OK for castano-nvidia-texture-tools-2.1.2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for nvidia-texture-tools-2.1.2
===>  Applying FreeBSD patches for nvidia-texture-tools-2.1.2 from /usr/ports/graphics/nvidia-texture-tools/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   nvidia-texture-tools-2.1.2 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.26.1_3.pkg
[132powerpc64-quarterly-job-03] Installing cmake-core-3.26.1_3...
[132powerpc64-quarterly-job-03] `-- Installing expat-2.5.0...
[132powerpc64-quarterly-job-03] `-- Extracting expat-2.5.0: .......... done
[132powerpc64-quarterly-job-03] `-- Installing jsoncpp-1.9.5...
[132powerpc64-quarterly-job-03] `-- Extracting jsoncpp-1.9.5: .......... done
[132powerpc64-quarterly-job-03] `-- Installing libuv-1.46.0...
[132powerpc64-quarterly-job-03] `-- Extracting libuv-1.46.0: .......... done
[132powerpc64-quarterly-job-03] `-- Installing rhash-1.4.4...
[132powerpc64-quarterly-job-03] |   `-- Installing gettext-runtime-0.22_1...
[132powerpc64-quarterly-job-03] |   | `-- Installing indexinfo-0.3.1...
[132powerpc64-quarterly-job-03] |   | `-- Extracting indexinfo-0.3.1: .... done
[132powerpc64-quarterly-job-03] |   `-- Extracting gettext-runtime-0.22_1: .......... done
[132powerpc64-quarterly-job-03] `-- Extracting rhash-1.4.4: .......... done
[132powerpc64-quarterly-job-03] Extracting cmake-core-3.26.1_3: .......... done
===>   nvidia-texture-tools-2.1.2 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of nvidia-texture-tools-2.1.2
===>   nvidia-texture-tools-2.1.2 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.11.1,2.pkg
[132powerpc64-quarterly-job-03] Installing ninja-1.11.1,2...
[132powerpc64-quarterly-job-03] `-- Installing python39-3.9.18...
[132powerpc64-quarterly-job-03] |   `-- Installing libffi-3.4.4...
<snip>
^
/usr/lib/clang/14.0.5/include/altivec.h:10105:1: note: candidate function
vec_splat(vector bool int __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10113:45: note: candidate function
static __inline__ vector float __ATTRS_o_ai vec_splat(vector float __a,
                                            ^
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC1_Encode_kernel.cpp:35:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC1_Encode_kernel.h:26:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/Common_Def.h:75:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/source/cmp_math_vec4.h:325:
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1034:31: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  result = (__vector unsigned long long) vec_cts (temp, 0);
                              ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1036:29: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  return (__m64) ((__vector long long) result)[0];
                            ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1087:50: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  vm1 = (__vector signed int) (__vector unsigned long long) {__B, __B};
                                                 ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1090:39: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  return ((__m128) (__vector unsigned long long)
                                      ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1091:27: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
    { ((__vector unsigned long long)vf1) [0],
                          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[ 14% 20/131] /usr/bin/c++   -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=c++11 -MD -MT extern/rg_etc1_v104/CMakeFiles/rg_etc1.dir/rg_etc1.cpp.o -MF extern/rg_etc1_v104/CMakeFiles/rg_etc1.dir/rg_etc1.cpp.o.d -o extern/rg_etc1_v104/CMakeFiles/rg_etc1.dir/rg_etc1.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/rg_etc1_v104/rg_etc1.cpp
[ 15% 20/131] /usr/bin/c++ -DASPM_GPU -D_LINUX -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/source -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=c++11 -MD -MT extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC2_Encode_kernel.cpp.o -MF extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC2_Encode_kernel.cpp.o.d -o extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC2_Encode_kernel.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.cpp
FAILED: extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC2_Encode_kernel.cpp.o 
/usr/bin/c++ -DASPM_GPU -D_LINUX -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/source -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=c++11 -MD -MT extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC2_Encode_kernel.cpp.o -MF extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC2_Encode_kernel.cpp.o.d -o extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC2_Encode_kernel.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.cpp
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.cpp:24:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.h:26:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/Common_Def.h:75:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/source/cmp_math_vec4.h:325:
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:31:2: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
#error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
 ^
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.cpp:24:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.h:26:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/Common_Def.h:75:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/source/cmp_math_vec4.h:325:
In file included from /usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:56:
/usr/lib/clang/14.0.5/include/ppc_wrappers/mmintrin.h:31:2: error: "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
#error                                                                         \
 ^
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.cpp:24:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.h:26:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/Common_Def.h:75:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/source/cmp_math_vec4.h:325:
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:99:11: error: use of undeclared identifier 'vec_vsx_ld'
  return (vec_vsx_ld(0, __P));
          ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:318:7: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'?
  c = vec_sqrt (a);
      ^
/usr/lib/clang/14.0.5/include/altivec.h:8501:34: note: 'vec_rsqrt' declared here
static vector float __ATTRS_o_ai vec_rsqrt(vector float __a) {
                                 ^
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.cpp:24:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.h:26:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/Common_Def.h:75:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/source/cmp_math_vec4.h:325:
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:352:11: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'?
  return (vec_sqrt ((__v4sf)__A));
          ^
/usr/lib/clang/14.0.5/include/altivec.h:8501:34: note: 'vec_rsqrt' declared here
static vector float __ATTRS_o_ai vec_rsqrt(vector float __a) {
                                 ^
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.cpp:24:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.h:26:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/Common_Def.h:75:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/source/cmp_math_vec4.h:325:
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:972:21: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  __vector unsigned long long result;
                    ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:975:40: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  temp = (__v4sf) vec_splat ((__vector long long)__A, 0);
                                       ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:975:19: error: call to 'vec_splat' is ambiguous
  temp = (__v4sf) vec_splat ((__vector long long)__A, 0);
                  ^~~~~~~~~
/usr/lib/clang/14.0.5/include/altivec.h:10036:1: note: candidate function
vec_splat(vector signed char __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10041:1: note: candidate function
vec_splat(vector unsigned char __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10046:1: note: candidate function
vec_splat(vector bool char __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10051:1: note: candidate function
vec_splat(vector signed short __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10060:1: note: candidate function
vec_splat(vector unsigned short __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10069:1: note: candidate function
vec_splat(vector bool short __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10077:45: note: candidate function
static __inline__ vector pixel __ATTRS_o_ai vec_splat(vector pixel __a,
                                            ^
/usr/lib/clang/14.0.5/include/altivec.h:10087:1: note: candidate function
vec_splat(vector signed int __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10096:1: note: candidate function
vec_splat(vector unsigned int __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10105:1: note: candidate function
vec_splat(vector bool int __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10113:45: note: candidate function
static __inline__ vector float __ATTRS_o_ai vec_splat(vector float __a,
                                            ^
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.cpp:24:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.h:26:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/Common_Def.h:75:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/source/cmp_math_vec4.h:325:
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:976:13: error: use of undeclared identifier 'vec_rint'
  rounded = vec_rint(temp);
            ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:977:31: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  result = (__vector unsigned long long) vec_cts (rounded, 0);
                              ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:979:29: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  return (__m64) ((__vector long long) result)[0];
                            ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1030:21: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  __vector unsigned long long result;
                    ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1033:40: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  temp = (__v4sf) vec_splat ((__vector long long)__A, 0);
                                       ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1033:19: error: call to 'vec_splat' is ambiguous
  temp = (__v4sf) vec_splat ((__vector long long)__A, 0);
                  ^~~~~~~~~
/usr/lib/clang/14.0.5/include/altivec.h:10036:1: note: candidate function
vec_splat(vector signed char __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10041:1: note: candidate function
vec_splat(vector unsigned char __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10046:1: note: candidate function
vec_splat(vector bool char __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10051:1: note: candidate function
vec_splat(vector signed short __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10060:1: note: candidate function
vec_splat(vector unsigned short __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10069:1: note: candidate function
vec_splat(vector bool short __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10077:45: note: candidate function
static __inline__ vector pixel __ATTRS_o_ai vec_splat(vector pixel __a,
                                            ^
/usr/lib/clang/14.0.5/include/altivec.h:10087:1: note: candidate function
vec_splat(vector signed int __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10096:1: note: candidate function
vec_splat(vector unsigned int __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10105:1: note: candidate function
vec_splat(vector bool int __a, unsigned const int __b) {
^
/usr/lib/clang/14.0.5/include/altivec.h:10113:45: note: candidate function
static __inline__ vector float __ATTRS_o_ai vec_splat(vector float __a,
                                            ^
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.cpp:24:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC2_Encode_kernel.h:26:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/Common_Def.h:75:
In file included from /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/source/cmp_math_vec4.h:325:
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1034:31: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  result = (__vector unsigned long long) vec_cts (temp, 0);
                              ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1036:29: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  return (__m64) ((__vector long long) result)[0];
                            ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1087:50: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  vm1 = (__vector signed int) (__vector unsigned long long) {__B, __B};
                                                 ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1090:39: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
  return ((__m128) (__vector unsigned long long)
                                      ^
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:1091:27: error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
    { ((__vector unsigned long long)vf1) [0],
                          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
===> 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/graphics/nvidia-texture-tools