=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for nvidia-texture-tools-2.1.0nb9
[  1%] Building C object extern/poshlib/CMakeFiles/posh.dir/posh.c.o
[  2%] Building CXX object src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o
[  3%] Building CXX object src/bc7/CMakeFiles/bc7.dir/avpcl.cpp.o
cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:645:8: error: #error "Unknown CPU"
  645 | #      error "Unknown CPU"
      |        ^~~~~
distcc[4239] ERROR: compile /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp on 10.0.20.122:3760 failed
distcc[4239] (dcc_build_somewhere) Warning: remote compilation of '/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp' failed, retrying locally
distcc[4239] Warning: failed to distribute /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp to 10.0.20.122:3760, running locally instead
distcc[17737] ERROR: compile /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/bc7/avpcl.cpp on 10.0.20.122:3760 failed
distcc[17737] (dcc_build_somewhere) Warning: remote compilation of '/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/bc7/avpcl.cpp' failed, retrying locally
distcc[17737] Warning: failed to distribute /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/bc7/avpcl.cpp to 10.0.20.122:3760, running locally instead
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:645:8: error: #error "Unknown CPU"
  645 | #      error "Unknown CPU"
      |        ^~~~~
In file included from /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:3:
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h: In function 'bool nv::isValidPtr(const void*)':
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:174:10: error: cast from 'const void*' to 'uint32' {aka 'unsigned int'} loses precision [-fpermissive]
  174 |      if (reinterpret_cast<uint32>(ptr) == 0xcccccccc) return false;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:175:10: error: cast from 'const void*' to 'uint32' {aka 'unsigned int'} loses precision [-fpermissive]
  175 |      if (reinterpret_cast<uint32>(ptr) == 0xcdcdcdcd) return false;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:176:10: error: cast from 'const void*' to 'uint32' {aka 'unsigned int'} loses precision [-fpermissive]
  176 |      if (reinterpret_cast<uint32>(ptr) == 0xdddddddd) return false;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:177:10: error: cast from 'const void*' to 'uint32' {aka 'unsigned int'} loses precision [-fpermissive]
  177 |      if (reinterpret_cast<uint32>(ptr) == 0xffffffff) return false;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvmath/nvmath.h:8,
                 from /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvmath/Vector.h:7,
                 from /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/bc7/tile.h:16,
                 from /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/bc7/avpcl.cpp:15:
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h: In function 'bool nv::isValidPtr(const void*)':
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:174:10: error: cast from 'const void*' to 'uint32' {aka 'unsigned int'} loses precision [-fpermissive]
  174 |      if (reinterpret_cast<uint32>(ptr) == 0xcccccccc) return false;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:175:10: error: cast from 'const void*' to 'uint32' {aka 'unsigned int'} loses precision [-fpermissive]
  175 |      if (reinterpret_cast<uint32>(ptr) == 0xcdcdcdcd) return false;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:176:10: error: cast from 'const void*' to 'uint32' {aka 'unsigned int'} loses precision [-fpermissive]
  176 |      if (reinterpret_cast<uint32>(ptr) == 0xdddddddd) return false;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:177:10: error: cast from 'const void*' to 'uint32' {aka 'unsigned int'} loses precision [-fpermissive]
  177 |      if (reinterpret_cast<uint32>(ptr) == 0xffffffff) return false;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: warning: command-line option '-std=c++11' is valid for C++/ObjC++ but not for C
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void* {anonymous}::callerAddress(void*)':
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:699:5: warning: no return statement in function returning non-void [-Wreturn-type]
  699 |     }
      |     ^
[  4%] Linking C static library libposh.a
In file included from /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:7,
                 from /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:3:
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp: In function 'void nv::debug::dumpCallstack(nv::MessageHandler*, int)':
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/nvcore.h:281:14: error: cannot convert 'int' to 'va_list'
  281 | #define NULL 0
      |              ^
      |              |
      |              int
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:1024:43: note: in expansion of macro 'NULL'
 1024 |             messageHandler->log(lines[i], NULL);
      |                                           ^~~~
In file included from /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp:3:
/tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.h:184:52: note:   initializing argument 2 of 'virtual void nv::MessageHandler::log(const char*, va_list)'
  184 |         virtual void log(const char * str, va_list arg) = 0;
      |                                            ~~~~~~~~^~~
distcc[4239] ERROR: compile /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0/src/nvcore/Debug.cpp on localhost failed
--- src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o ---
*** [src/nvcore/CMakeFiles/nvcore.dir/Debug.cpp.o] Error code 1

make[2]: stopped in /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0
1 error

make[2]: stopped in /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0
--- src/nvcore/CMakeFiles/nvcore.dir/all ---
*** [src/nvcore/CMakeFiles/nvcore.dir/all] Error code 2

make[1]: stopped in /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0
--- src/bc7/CMakeFiles/bc7.dir/all ---
*** [src/bc7/CMakeFiles/bc7.dir/all] Error code 6

make[1]: stopped in /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0
--- extern/poshlib/CMakeFiles/posh.dir/all ---
*** [extern/poshlib/CMakeFiles/posh.dir/all] Error code 6

make[1]: stopped in /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0
3 errors

make[1]: stopped in /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0
*** [all] Error code 2

make: stopped in /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0
1 error

make: stopped in /tmp/pkgbuild/graphics/nvidia-texture-tools/work.aarch64eb/nvidia-texture-tools-2.1.0
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/graphics/nvidia-texture-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/nvidia-texture-tools