[package - main-arm64-default][graphics/nvidia-texture-tools] Failed for nvidia-texture-tools-2.1.2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 05 Jul 2022 05:27:53 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:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/p8030cefbe5dd_sef86876b84/logs/nvidia-texture-tools-2.1.2.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p8030cefbe5dd_sef86876b84
Log:

=>> Building graphics/nvidia-texture-tools
build started at Tue Jul  5 05:27:32 UTC 2022
port directory: /usr/ports/graphics/nvidia-texture-tools
package name: nvidia-texture-tools-2.1.2
building for: FreeBSD main-arm64-default-job-08 14.0-CURRENT FreeBSD 14.0-CURRENT 1400063 arm64
maintained by: amdmi3@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1400063
Job Id: 08




!!! Jail is newer than host. (Jail: 1400063, Host: 1400050) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400063
UNAME_v=FreeBSD 14.0-CURRENT 1400063
UNAME_r=14.0-CURRENT
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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for 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/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/libdata/pkgconfig NO_PIE=yes 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-strict-aliasing  "  M
 ANPREFIX="/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=14.0 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
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400063
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   nvidia-texture-tools-2.1.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.3.pkg
[main-arm64-default-job-08] Installing pkg-1.18.3...
[main-arm64-default-job-08] Extracting pkg-1.18.3: .......... 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  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by nvidia-texture-tools-2.1.2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  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>============================
===========================================================================
=======================<phase: extract        >============================
===>  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  >============================
===========================================================================
=======================<phase: patch          >============================
===>  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  >============================
===>   nvidia-texture-tools-2.1.2 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.23.2.pkg
[main-arm64-default-job-08] Installing cmake-3.23.2...
[main-arm64-default-job-08] `-- Installing curl-7.84.0...
[main-arm64-default-job-08] |   `-- Installing ca_root_nss-3.78...
[main-arm64-default-job-08] |   `-- Extracting ca_root_nss-3.78: .......... done
<snip>
===>   nvidia-texture-tools-2.1.2 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.10.2,2.pkg
[main-arm64-default-job-08] Installing ninja-1.10.2,2...
[main-arm64-default-job-08] `-- Installing python39-3.9.13...
[main-arm64-default-job-08] |   `-- Installing libffi-3.4.2...
[main-arm64-default-job-08] |   `-- Extracting libffi-3.4.2: .......... done
[main-arm64-default-job-08] |   `-- Installing mpdecimal-2.5.1...
[main-arm64-default-job-08] |   `-- Extracting mpdecimal-2.5.1: .......... done
[main-arm64-default-job-08] |   `-- Installing readline-8.1.2...
[main-arm64-default-job-08] |   `-- Extracting readline-8.1.2: .......... done
[main-arm64-default-job-08] `-- Extracting python39-3.9.13: .......... done
[main-arm64-default-job-08] Extracting ninja-1.10.2,2: ........ done
=====
Message from python39-3.9.13:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
===>   nvidia-texture-tools-2.1.2 depends on executable: ninja - found
===>   Returning to build of nvidia-texture-tools-2.1.2
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for nvidia-texture-tools-2.1.2
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/.build
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 14.0.5
-- The CXX compiler identification is Clang 14.0.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) 
-- Looking for CUDA - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found Threads: TRUE  
-- Use thread library: -pthread
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file execinfo.h
-- Looking for include file execinfo.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file dispatch/dispatch.h
-- Looking for include file dispatch/dispatch.h - not found
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE


-- Build files have been written to: /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for nvidia-texture-tools-2.1.2
[  0% 2/131] /usr/bin/cc   -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MD -MT extern/poshlib/CMakeFiles/posh.dir/posh.c.o -MF extern/poshlib/CMakeFiles/posh.dir/posh.c.o.d -o extern/poshlib/CMakeFiles/posh.dir/posh.c.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/poshlib/posh.c
[  1% 3/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/Etc.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/Etc.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/Etc.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/Etc/Etc.cpp
[  2% 4/131] : && /usr/local/bin/cmake -E rm -f extern/poshlib/libposh.a && /usr/bin/llvm-ar qc extern/poshlib/libposh.a  extern/poshlib/CMakeFiles/posh.dir/posh.c.o && /usr/bin/llvm-ranlib extern/poshlib/libposh.a && :
[  3% 5/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/EtcMath.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/EtcMath.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/EtcMath.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/Etc/EtcMath.cpp
[  3% 6/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcBlock4x4.cpp
[  4% 7/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcBlock4x4Encoding.cpp
[  5% 8/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_ETC1.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_ETC1.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_ETC1.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcBlock4x4Encoding_ETC1.cpp
[  6% 9/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_R11.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_R11.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_R11.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcBlock4x4Encoding_R11.cpp
[  6% 10/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/EtcImage.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/EtcImage.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/EtcImage.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/Etc/EtcImage.cpp
[  7% 11/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RG11.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RG11.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RG11.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcBlock4x4Encoding_RG11.cpp
[  8% 12/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGB8.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGB8.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGB8.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcBlock4x4Encoding_RGB8.cpp
[  9% 13/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGBA8.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGBA8.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGBA8.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcBlock4x4Encoding_RGBA8.cpp
[  9% 14/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGB8A1.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGB8A1.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGB8A1.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcBlock4x4Encoding_RGB8A1.cpp
[ 10% 15/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcDifferentialTrys.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcDifferentialTrys.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcDifferentialTrys.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcDifferentialTrys.cpp
[ 11% 16/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcIndividualTrys.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcIndividualTrys.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcIndividualTrys.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcIndividualTrys.cpp
[ 12% 17/131] /usr/bin/c++  -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./Etc -I/wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/./EtcCodec -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MD -MT extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcSortedBlockList.cpp.o -MF extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcSortedBlockList.cpp.o.d -o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcSortedBlockList.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/EtcLib/EtcCodec/EtcSortedBlockList.cpp
[ 12% 18/131] : && /usr/local/bin/cmake -E rm -f extern/EtcLib/libEtcLib.a && /usr/bin/llvm-ar qc extern/EtcLib/libEtcLib.a  extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/Etc.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/EtcImage.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/Etc/EtcMath.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_ETC1.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_R11.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RG11.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGB8.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGB8A1.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcBlock4x4Encoding_RGBA8.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcDifferentialTrys.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcInd
 ividualTrys.cpp.o extern/EtcLib/CMakeFiles/EtcLib.dir/EtcCodec/EtcSortedBlockList.cpp.o && /usr/bin/llvm-ranlib extern/EtcLib/libEtcLib.a && :
[ 13% 19/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 -std=c++11 -MD -MT extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC1_Encode_kernel.cpp.o -MF extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC1_Encode_kernel.cpp.o.d -o extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC1_Encode_kernel.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC1_Encode_kernel.cpp
FAILED: extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC1_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 -std=c++11 -MD -MT extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC1_Encode_kernel.cpp.o -MF extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC1_Encode_kernel.cpp.o.d -o extern/CMP_Core/CMakeFiles/CMP_Core.dir/shaders/BC1_Encode_kernel.cpp.o -c /wrkdirs/usr/ports/graphics/nvidia-texture-tools/work/nvidia-texture-tools-2.1.2/extern/CMP_Core/shaders/BC1_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/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/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
#error "This header is only meant to be used on x86 and x64 architecture"
 ^
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:
In file included from /usr/lib/clang/14.0.5/include/xmmintrin.h:17:
/usr/lib/clang/14.0.5/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
#error "This header is only meant to be used on x86 and x64 architecture"
 ^
/usr/lib/clang/14.0.5/include/mmintrin.h:37:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
    __builtin_ia32_emms();
    ^
/usr/include/c++/v1/math.h:670:12: note: '__builtin_isless' declared here
    return isless(__lcpp_x, __lcpp_y);
           ^
/usr/include/math.h:119:23: note: expanded from macro 'isless'
#define isless(x, y)            __builtin_isless((x), (y))
                                ^
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:
In file included from /usr/lib/clang/14.0.5/include/xmmintrin.h:17:
/usr/lib/clang/14.0.5/include/mmintrin.h:37:25: error: too few arguments to function call, expected 2, have 0
    __builtin_ia32_emms();
    ~~~~~~~~~~~~~~~~~~~~^
/usr/lib/clang/14.0.5/include/mmintrin.h:54:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:71:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
    return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
           ^
/usr/lib/clang/14.0.5/include/mmintrin.h:133:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
    return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:163:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
    return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:193:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
    return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:220:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw'
    return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:243:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd'
    return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:264:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq'
    return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:291:19: error: use of undeclared identifier '__builtin_ia32_punpcklbw'
    return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:314:19: error: use of undeclared identifier '__builtin_ia32_punpcklwd'
    return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:335:19: error: use of undeclared identifier '__builtin_ia32_punpckldq'
    return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:356:19: error: use of undeclared identifier '__builtin_ia32_paddb'; did you mean '__builtin_arm_addg'?
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:356:19: note: '__builtin_arm_addg' declared here
/usr/lib/clang/14.0.5/include/mmintrin.h:356:19: error: first argument of MTE builtin function must be a pointer ('__v8qi' (vector of 8 'char' values) invalid)
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^                    ~~~~~~~~~~~~
/usr/lib/clang/14.0.5/include/mmintrin.h:377:19: error: use of undeclared identifier '__builtin_ia32_paddw'; did you mean '__builtin_arm_addg'?
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:356:19: note: '__builtin_arm_addg' declared here
    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
                  ^
/usr/lib/clang/14.0.5/include/mmintrin.h:377:19: error: first argument of MTE builtin function must be a pointer ('__v4hi' (vector of 4 'short' values) invalid)
    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
                  ^                    ~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[ 14% 19/131] /usr/bin/c++   -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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
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