[package - 132releng-armv7-default][misc/air] Failed for air-ai-chat-client-g20230102_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 03 Feb 2024 04:02:49 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:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/132releng-armv7-default/7036c2716ded/logs/air-ai-chat-client-g20230102_1.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=132releng-armv7-default&build=7036c2716ded
Log:

=>> Building misc/air
build started at Sat Feb  3 03:57:58 UTC 2024
port directory: /usr/ports/misc/air
package name: air-ai-chat-client-g20230102_1
building for: FreeBSD 132releng-armv7-default-job-02 13.2-RELEASE-p5 FreeBSD 13.2-RELEASE-p5 1302001 arm
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  4916 Jan 14 01:02 /usr/ports/misc/air/Makefile
Ports top last git commit: 7036c2716d
Ports top unclean checkout: no
Port dir last git commit: 109c3d4629
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500006
Jail OSVERSION: 1302001
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p5 1302001
UNAME_r=13.2-RELEASE-p5
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.1
MASTERMNT=/usr/local/poudriere/data/.m/132releng-armv7-default/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/132releng-armv7-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=132releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132releng-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1
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---
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/misc/air/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/air/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/air/work/.cache  HOME=/wrkdirs/usr/ports/misc/air/work TMPDIR="/wrkdirs/usr/ports/misc/air/work" PATH=/wrkdirs/usr/ports/misc/air/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/air/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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/misc/air/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/air/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/air/work/.cache  HOME=/wrkdirs/usr/ports/misc/air/work TMPDIR="/wrkdirs/usr/ports/misc/air/work" PATH=/wrkdirs/usr/ports/misc/air/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/air/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/usr/local/llvm15/bin/clang" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/usr/local/llvm15/bin/clang-cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="/usr/local/llvm15/bin/clang++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFI
X="/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--
OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/air"  EXAMPLESDIR="share/examples/air"  DATADIR="share/air"  WWWDIR="www/air"  ETCDIR="etc/air"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/air DOCSDIR=/usr/local/share/doc/air EXAMPLESDIR=/usr/local/share/examples/air  WWWDIR=/usr/local/www/air ETCDIR=/usr/local/etc/air
--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)  524288
stack size              (kbytes, -s)  65536
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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   air-ai-chat-client-g20230102_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[132releng-armv7-default-job-02] Installing pkg-1.20.9_1...
[132releng-armv7-default-job-02] Extracting pkg-1.20.9_1: .......... done
===>   air-ai-chat-client-g20230102_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of air-ai-chat-client-g20230102_1
===========================================================================
=======================<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 APACHE20 accepted by the user
===> Fetching all distfiles required by air-ai-chat-client-g20230102_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by air-ai-chat-client-g20230102_1 for building
=> SHA256 Checksum OK for rust/crates/addr2line-0.21.0.crate.
=> SHA256 Checksum OK for rust/crates/adler-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/aho-corasick-1.1.2.crate.
=> SHA256 Checksum OK for rust/crates/android-tzdata-0.1.1.crate.
=> SHA256 Checksum OK for rust/crates/android_system_properties-0.1.5.crate.
=> SHA256 Checksum OK for rust/crates/async-trait-0.1.77.crate.
=> SHA256 Checksum OK for rust/crates/autocfg-1.1.0.crate.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.69.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.21.5.crate.
=> SHA256 Checksum OK for rust/crates/bindgen-0.66.1.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-1.3.2.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-2.4.1.crate.
=> SHA256 Checksum OK for rust/crates/bumpalo-3.14.0.crate.
=> SHA256 Checksum OK for rust/crates/bytes-1.5.0.crate.
=> SHA256 Checksum OK for rust/crates/cc-1.0.83.crate.
=> SHA256 Checksum OK for rust/crates/cexpr-0.6.0.crate.
=> SHA256 Checksum OK for rust/crates/cfg-if-1.0.0.crate.
=> SHA256 Checksum OK for rust/crates/chrono-0.4.31.crate.
=> SHA256 Checksum OK for rust/crates/clang-sys-1.7.0.crate.
=> SHA256 Checksum OK for rust/crates/coolor-0.8.0.crate.
=> SHA256 Checksum OK for rust/crates/core-foundation-0.9.4.crate.
=> SHA256 Checksum OK for rust/crates/core-foundation-sys-0.8.6.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-0.8.3.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-channel-0.5.10.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-deque-0.8.4.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-epoch-0.9.17.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-queue-0.3.10.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-utils-0.8.18.crate.
=> SHA256 Checksum OK for rust/crates/crossterm-0.23.2.crate.
=> SHA256 Checksum OK for rust/crates/crossterm_winapi-0.9.1.crate.
=> SHA256 Checksum OK for rust/crates/dirs-5.0.1.crate.
=> SHA256 Checksum OK for rust/crates/dirs-sys-0.4.1.crate.
=> SHA256 Checksum OK for rust/crates/either-1.9.0.crate.
=> SHA256 Checksum OK for rust/crates/encoding_rs-0.8.33.crate.
=> SHA256 Checksum OK for rust/crates/env_logger-0.10.1.crate.
=> SHA256 Checksum OK for rust/crates/equivalent-1.0.1.crate.
=> SHA256 Checksum OK for rust/crates/errno-0.3.8.crate.
=> SHA256 Checksum OK for rust/crates/fastrand-2.0.1.crate.
=> SHA256 Checksum OK for rust/crates/fnv-1.0.7.crate.
=> SHA256 Checksum OK for rust/crates/foreign-types-0.3.2.crate.
=> SHA256 Checksum OK for rust/crates/foreign-types-shared-0.1.1.crate.
=> SHA256 Checksum OK for rust/crates/form_urlencoded-1.2.1.crate.
=> SHA256 Checksum OK for rust/crates/futures-channel-0.3.30.crate.
=> SHA256 Checksum OK for rust/crates/futures-core-0.3.30.crate.
=> SHA256 Checksum OK for rust/crates/futures-sink-0.3.30.crate.
=> SHA256 Checksum OK for rust/crates/futures-task-0.3.30.crate.
=> SHA256 Checksum OK for rust/crates/futures-util-0.3.30.crate.
=> SHA256 Checksum OK for rust/crates/getopts-0.2.21.crate.
<snip>
warning: llama_cpp_rs@0.3.0:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: llama_cpp_rs@0.3.0: /usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:377:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
warning: llama_cpp_rs@0.3.0:     return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
warning: llama_cpp_rs@0.3.0:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: llama_cpp_rs@0.3.0: /usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:398:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
warning: llama_cpp_rs@0.3.0:     return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
warning: llama_cpp_rs@0.3.0:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: llama_cpp_rs@0.3.0: /usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:420:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
warning: llama_cpp_rs@0.3.0:     return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
warning: llama_cpp_rs@0.3.0:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: llama_cpp_rs@0.3.0: /usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:443:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
warning: llama_cpp_rs@0.3.0:     return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2);
warning: llama_cpp_rs@0.3.0:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: llama_cpp_rs@0.3.0: /usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:465:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
warning: llama_cpp_rs@0.3.0:     return (__m64)__builtin_ia32_paddusb((__v8qi)__m1, (__v8qi)__m2);
warning: llama_cpp_rs@0.3.0:            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: llama_cpp_rs@0.3.0: fatal error: too many errors emitted, stopping now [-ferror-limit=]
warning: llama_cpp_rs@0.3.0: 20 errors generated.

error: failed to run custom build command for `llama_cpp_rs v0.3.0`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ARCH=arm CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnueabihf CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=freebsd CARGO_CFG_TARGET_POINTER_WIDTH=32 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='-Ctarget-cpu=-Clink-arg=-fstack-protector-strong' CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/misc/air/work/air-0e4c219/cargo-crates/llama_cpp_rs-0.3.0 CARGO_PKG_AUTHORS='mdrokz <mohammadmunshi@gmail.com>' CARGO_PKG_DESCRIPTION='Rust bindings for LLAMA.CPP inference' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='' CARGO_PKG_LICENSE_FILE=LICENSE CARGO_PKG_NAME=llama_cpp_rs CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/mdrokz/rust-llama.cpp' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.3.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE=
'' DEBUG=false HOST=armv7-unknown-freebsd LD_LIBRARY_PATH='/wrkdirs/usr/ports/misc/air/work/target/release/deps:/wrkdirs/usr/ports/misc/air/work/target/release:/usr/local/lib/rustlib/armv7-unknown-freebsd/lib' NUM_JOBS=3 OPT_LEVEL=3 OUT_DIR=/wrkdirs/usr/ports/misc/air/work/target/armv7-unknown-freebsd/release/build/llama_cpp_rs-cc70d7f4039994a7/out PROFILE=release RUSTC=/usr/local/bin/rustc RUSTC_LINKER=/usr/local/llvm15/bin/clang RUSTDOC=/usr/local/bin/rustdoc TARGET=armv7-unknown-freebsd /wrkdirs/usr/ports/misc/air/work/target/release/build/llama_cpp_rs-a34ac0b59083bbbc/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=TARGET
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_armv7-unknown-freebsd
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_armv7_unknown_freebsd
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
  cargo:rerun-if-changed=/usr/include/stdbool.h
  TARGET = Some("armv7-unknown-freebsd")
  OPT_LEVEL = Some("3")
  HOST = Some("armv7-unknown-freebsd")
  cargo:rerun-if-env-changed=CC_armv7-unknown-freebsd
  CC_armv7-unknown-freebsd = None
  cargo:rerun-if-env-changed=CC_armv7_unknown_freebsd
  CC_armv7_unknown_freebsd = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = Some("/usr/local/llvm15/bin/clang")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  cargo:rerun-if-env-changed=CFLAGS_armv7-unknown-freebsd
  CFLAGS_armv7-unknown-freebsd = None
  cargo:rerun-if-env-changed=CFLAGS_armv7_unknown_freebsd
  CFLAGS_armv7_unknown_freebsd = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some("-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing ")
  running: "/usr/local/llvm15/bin/clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=armv7-unknown-freebsd" "-O2" "-pipe" "-fstack-protector-strong" "-fno-strict-aliasing" "-I" "./llama.cpp" "-D_GNU_SOURCE" "-DGGML_USE_K_QUANTS" "-o" "/wrkdirs/usr/ports/misc/air/work/target/armv7-unknown-freebsd/release/build/llama_cpp_rs-cc70d7f4039994a7/out/./llama.cpp/ggml.o" "-c" "./llama.cpp/ggml.c"
  exit status: 0
  running: "/usr/local/llvm15/bin/clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=armv7-unknown-freebsd" "-O2" "-pipe" "-fstack-protector-strong" "-fno-strict-aliasing" "-I" "./llama.cpp" "-D_GNU_SOURCE" "-DGGML_USE_K_QUANTS" "-o" "/wrkdirs/usr/ports/misc/air/work/target/armv7-unknown-freebsd/release/build/llama_cpp_rs-cc70d7f4039994a7/out/./llama.cpp/ggml-alloc.o" "-c" "./llama.cpp/ggml-alloc.c"
  exit status: 0
  running: "/usr/local/llvm15/bin/clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=armv7-unknown-freebsd" "-O2" "-pipe" "-fstack-protector-strong" "-fno-strict-aliasing" "-I" "./llama.cpp" "-D_GNU_SOURCE" "-DGGML_USE_K_QUANTS" "-o" "/wrkdirs/usr/ports/misc/air/work/target/armv7-unknown-freebsd/release/build/llama_cpp_rs-cc70d7f4039994a7/out/./llama.cpp/k_quants.o" "-c" "./llama.cpp/k_quants.c"
  cargo:warning=In file included from ./llama.cpp/k_quants.c:50:

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

  cargo:warning=#error "This header is only meant to be used on x86 and x64 architecture"

  cargo:warning= ^

  cargo:warning=In file included from ./llama.cpp/k_quants.c:50:

  cargo:warning=In file included from /usr/local/llvm15/lib/clang/15.0.7/include/immintrin.h:17:

  cargo:warning=In file included from /usr/local/llvm15/lib/clang/15.0.7/include/x86gprintrin.h:15:

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/hresetintrin.h:42:27: error: invalid input constraint 'a' in asm

  cargo:warning=  __asm__ ("hreset $0" :: "a"(__eax));

  cargo:warning=                          ^

  cargo:warning=In file included from ./llama.cpp/k_quants.c:50:

  cargo:warning=In file included from /usr/local/llvm15/lib/clang/15.0.7/include/immintrin.h:21:

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

  cargo:warning=#error "This header is only meant to be used on x86 and x64 architecture"

  cargo:warning= ^

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:54:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:133:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:163:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:193:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:220:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:243:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:264:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:291:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:314:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:335:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_punpckldq((__v2si)__m1, (__v2si)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:356:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:377:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:398:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:420:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:443:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/mmintrin.h:465:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size

  cargo:warning=    return (__m64)__builtin_ia32_paddusb((__v8qi)__m1, (__v8qi)__m2);

  cargo:warning=           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=]

  cargo:warning=20 errors generated.

  exit status: 1

  --- stderr


  error occurred: Command "/usr/local/llvm15/bin/clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=armv7-unknown-freebsd" "-O2" "-pipe" "-fstack-protector-strong" "-fno-strict-aliasing" "-I" "./llama.cpp" "-D_GNU_SOURCE" "-DGGML_USE_K_QUANTS" "-o" "/wrkdirs/usr/ports/misc/air/work/target/armv7-unknown-freebsd/release/build/llama_cpp_rs-cc70d7f4039994a7/out/./llama.cpp/k_quants.o" "-c" "./llama.cpp/k_quants.c" with args "clang" did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...
*** Error code 101

Stop.
make: stopped in /usr/ports/misc/air