* installing *source* package ‘relm’ ...
** this is package ‘relm’ version ‘0.5.0’
** package ‘relm’ successfully unpacked and MD5 sums checked
** using staged installation
Using rustc 1.99.0 (b940084d7 2026-09-28) (Fedora 1.99.0-1.fc44)
Using cargo 1.99.0 (5f94df478 2026-08-27) (Fedora 1.99.0-1.fc44)
Using cmake 4.3.0
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
specified C++17
using C compiler: ‘clang version 23.1.4’
using C++ compiler: ‘clang version 23.1.4’
using C++17
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang/relm/src'
/usr/local/clang23/bin/clang-23 -std=gnu23 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang23/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c entrypoint.c -o entrypoint.o
if [ -d ./vendor ]; then \
	echo "=== Using offline vendor directory ==="; \
	mkdir -p /data/localhost/ripley/R/packages/tests-clang/relm/src/.cargo && \
	cp rust/vendor-config.toml /data/localhost/ripley/R/packages/tests-clang/relm/src/.cargo/config.toml; \
elif [ -f ./rust/vendor.tar.xz ]; then \
	echo "=== Using offline vendor tarball ==="; \
	tar xf rust/vendor.tar.xz && \
	mkdir -p /data/localhost/ripley/R/packages/tests-clang/relm/src/.cargo && \
	cp rust/vendor-config.toml /data/localhost/ripley/R/packages/tests-clang/relm/src/.cargo/config.toml; \
fi
=== Using offline vendor tarball ===
export CARGO_HOME=/data/localhost/ripley/R/packages/tests-clang/relm/src/.cargo && \
export CMAKE='/usr/sbin/cmake' RELM_R_PORTABLE=1 CC="/usr/local/clang23/bin/clang-23 -std=gnu23" CXX="/usr/local/clang23/bin/clang++" CFLAGS="-isystem /usr/local/clang23/include -I/usr/local/clang/include -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -fpic" CXXFLAGS="-isystem /usr/local/clang23/include -I/usr/local/clang/include -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw  -fpic -std=gnu++17" && \
export PATH="/usr/local/clang/bin:/data/localhost/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/localhost/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/data/localhost/ripley/.composer/vendor/bin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/localhost/ripley/.cargo/bin" && \
RUSTFLAGS=" --print=native-static-libs" cargo build --locked -j 2 --offline   -p rebirth-ffi --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target 
warning: a `-j` argument was passed to Cargo but Cargo is also configured with an external jobserver in its environment, ignoring the `-j` parameter
   Compiling proc-macro2 v1.0.106
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.46
   Compiling autocfg v1.5.1
   Compiling libm v0.2.16
   Compiling num-traits v0.2.19
   Compiling zerocopy v0.8.52
   Compiling cfg-if v1.0.4
   Compiling syn v2.0.118
   Compiling libc v0.2.186
   Compiling getrandom v0.3.4
   Compiling version_check v0.9.5
   Compiling once_cell v1.21.4
   Compiling semver v1.0.28
   Compiling ahash v0.8.12
   Compiling bytes v1.12.0
   Compiling arrow-schema v59.0.0
   Compiling rustc_version v0.4.1
   Compiling iana-time-zone v0.1.65
   Compiling shlex v2.0.1
   Compiling serde_core v1.0.228
   Compiling find-msvc-tools v0.1.9
   Compiling cc v1.2.65
   Compiling hashbrown v0.17.1
   Compiling extendr-ffi v0.9.0
   Compiling flatbuffers v25.12.19
   Compiling serde v1.0.228
   Compiling serde_json v1.0.145
   Compiling bitflags v2.13.0
   Compiling paste v1.0.15
   Compiling memchr v2.8.3
   Compiling lazy_static v1.5.0
   Compiling extendr-api v0.9.0
   Compiling itoa v1.0.18
   Compiling ryu v1.0.23
   Compiling rebirth-ffi v0.0.0 (/data/localhost/ripley/R/packages/tests-clang/relm/src/rust/rebirth-ffi)
   Compiling num-integer v0.1.46
   Compiling chrono v0.4.45
   Compiling num-complex v0.4.6
   Compiling num-bigint v0.4.8
   Compiling cmake v0.1.58
   Compiling rebirth-llm v0.0.0 (/data/localhost/ripley/R/packages/tests-clang/relm/src/rust/rebirth-llm)
   Compiling zerocopy-derive v0.8.52
   Compiling readonly v0.2.13
   Compiling extendr-macros v0.9.0
error: failed to run custom build command for `rebirth-llm v0.0.0 (/data/localhost/ripley/R/packages/tests-clang/relm/src/rust/rebirth-llm)`

Caused by:
  process didn't exit successfully: `/data/localhost/ripley/R/packages/tests-clang/relm/src/./rust/target/release/build/rebirth-llm-76dbc5cea0047da7/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs
  cargo:rerun-if-changed=build_support.rs
  cargo:rerun-if-changed=native/grammar.cpp
  cargo:rerun-if-changed=native/abi.cpp
  cargo:rerun-if-changed=native/spill_lease.cpp
  cargo:rerun-if-changed=native/projection.cpp
  cargo:rerun-if-changed=native/projection.h
  cargo:rerun-if-changed=native/CMakeLists.txt
  cargo:rerun-if-changed=native/windows_compat.cmake
  cargo:rerun-if-changed=native/windows_thread_compat.h
  cargo:rerun-if-env-changed=RELM_NATIVE_SANITIZERS
  cargo:rerun-if-env-changed=RELM_R_PORTABLE
  cargo:rerun-if-env-changed=CC
  cargo:rerun-if-env-changed=CXX
  cargo:rerun-if-env-changed=CFLAGS
  cargo:rerun-if-env-changed=CXXFLAGS
  cargo:rerun-if-env-changed=CUDA_PATH
  cargo:rerun-if-env-changed=CUDAARCHS
  cargo:rerun-if-env-changed=CUDACXX
  cargo:rerun-if-env-changed=CUDAHOSTCXX
  cargo:rerun-if-changed=/data/localhost/ripley/R/packages/tests-clang/relm/src/llama.cpp/CMakeLists.txt
  cargo:rerun-if-changed=/data/localhost/ripley/R/packages/tests-clang/relm/src/llama.cpp/VENDORING.md
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
  CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
  CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-unknown-linux-gnu = None
  CMAKE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE = None
  CMAKE = Some("/usr/sbin/cmake")
  -- The C compiler identification is Clang 23.1.4
  -- The CXX compiler identification is Clang 23.1.4
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /usr/local/clang23/bin/clang-23 - 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/local/clang23/bin/clang++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- llama.cpp version: 0.4.0-dev
  -- Found Git: /usr/sbin/git (found version "2.56.0")
  -- The ASM compiler identification is Clang with GNU-like command-line
  -- Found assembler: /usr/local/clang23/bin/clang-23
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
  -- Found Threads: TRUE
  -- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF
  -- CMAKE_SYSTEM_PROCESSOR: x86_64
  -- GGML_SYSTEM_ARCH: x86
  -- Including CPU backend
  -- x86 detected
  -- Adding CPU backend variant ggml-cpu:  
  -- ggml version: 0.23.0
  -- ggml commit:  unknown
  -- Configuring done (1.7s)
  -- Generating done (0.2s)
  -- Build files have been written to: /data/localhost/ripley/R/packages/tests-clang/relm/src/rust/target/release/build/rebirth-llm-64035b1a6a8a75b8/out/build
  gmake[2]: Entering directory '/data/localhost/ripley/R/packages/tests-clang/relm/src/rust/target/release/build/rebirth-llm-64035b1a6a8a75b8/out/build'
  [  0%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-backend-meta.cpp.o
  [  0%] Building C object ggml/src/CMakeFiles/ggml-base.dir/ggml.c.o
  [  0%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml.cpp.o
  [  0%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-backend.cpp.o
  [  1%] Building C object ggml/src/CMakeFiles/ggml-base.dir/ggml-alloc.c.o
  [  1%] Building CXX object vendor/hash/CMakeFiles/vendor-hash.dir/hash.cpp.o
  [  1%] Building C object vendor/hash/CMakeFiles/vendor-hash.dir/xxhash/xxhash.c.o
  [  2%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-opt.cpp.o
  [  3%] Building CXX object vendor/hash/CMakeFiles/vendor-hash.dir/sha1/sha1.c.o
  [  3%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/ggml-threading.cpp.o
  [  4%] Building C object ggml/src/CMakeFiles/ggml-base.dir/ggml-quants.c.o
  [  4%] Building C object vendor/hash/CMakeFiles/vendor-hash.dir/sha256/sha256.c.o
  [  4%] Building CXX object ggml/src/CMakeFiles/ggml-base.dir/gguf.cpp.o
  [  5%] Linking CXX static library libvendor-hash.a
  [  5%] Built target vendor-hash
  gmake[2]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang/relm/src/rust/target/release/build/rebirth-llm-64035b1a6a8a75b8/out/build'

  --- stderr
  running: cd "/data/localhost/ripley/R/packages/tests-clang/relm/src/./rust/target/release/build/rebirth-llm-64035b1a6a8a75b8/out/build" && CMAKE_PREFIX_PATH="" LC_ALL="C" "/usr/sbin/cmake" "/data/localhost/ripley/R/packages/tests-clang/relm/src/llama.cpp" "-B" "/data/localhost/ripley/R/packages/tests-clang/relm/src/./rust/target/release/build/rebirth-llm-64035b1a6a8a75b8/out/build" "-DGGML_NATIVE=OFF" "-DGGML_CPU_ALL_VARIANTS=OFF" "-DGGML_SSE42=OFF" "-DGGML_AVX=OFF" "-DGGML_AVX_VNNI=OFF" "-DGGML_AVX2=OFF" "-DGGML_BMI2=OFF" "-DGGML_AVX512=OFF" "-DGGML_AVX512_VBMI=OFF" "-DGGML_AVX512_VNNI=OFF" "-DGGML_AVX512_BF16=OFF" "-DGGML_FMA=OFF" "-DGGML_F16C=OFF" "-DGGML_AMX_TILE=OFF" "-DGGML_AMX_INT8=OFF" "-DGGML_AMX_BF16=OFF" "-DGGML_CPU_ARM_ARCH=" "-DCMAKE_C_FLAGS=-isystem /usr/local/clang23/include -I/usr/local/clang/include -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -fpic" "-DCMAKE_C_FLAGS_RELEASE=" "-DCMAKE_CXX_FLAGS=-isystem /usr/local/clang23/include -I/usr/local/clang/include -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw  -fpic -std=gnu++17" "-DCMAKE_CXX_FLAGS_RELEASE=" "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" "-DCMAKE_BUILD_TYPE=Release" "-DBUILD_SHARED_LIBS=OFF" "-DLLAMA_BUILD_TESTS=OFF" "-DLLAMA_BUILD_EXAMPLES=OFF" "-DLLAMA_BUILD_TOOLS=OFF" "-DLLAMA_BUILD_SERVER=OFF" "-DLLAMA_BUILD_COMMON=OFF" "-DLLAMA_BUILD_APP=OFF" "-DLLAMA_BUILD_MTMD=ON" "-DMTMD_VIDEO=OFF" "-DGGML_BLAS=OFF" "-DGGML_OPENMP=OFF" "-DGGML_METAL=OFF" "-DGGML_CUDA=OFF" "-DCMAKE_INSTALL_PREFIX=/data/localhost/ripley/R/packages/tests-clang/relm/src/./rust/target/release/build/rebirth-llm-64035b1a6a8a75b8/out" "-DCMAKE_C_COMPILER=/usr/local/clang23/bin/clang-23" "-DCMAKE_CXX_COMPILER=/usr/local/clang23/bin/clang++" "-DCMAKE_ASM_FLAGS= -w -isystem /usr/local/clang23/include -I/usr/local/clang/include -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -fpic" "-DCMAKE_ASM_COMPILER=/usr/local/clang23/bin/clang-23"
  CMAKE_BUILD_TYPE=Release
  fatal: not a git repository (or any parent up to mount point /)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
  fatal: not a git repository (or any parent up to mount point /)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
  running: cd "/data/localhost/ripley/R/packages/tests-clang/relm/src/./rust/target/release/build/rebirth-llm-64035b1a6a8a75b8/out/build" && LC_ALL="C" MAKEFLAGS="-j --jobserver-fds=fifo:/tmp/GMfifo2719299 --jobserver-auth=fifo:/tmp/GMfifo2719299" "/usr/sbin/cmake" "--build" "/data/localhost/ripley/R/packages/tests-clang/relm/src/./rust/target/release/build/rebirth-llm-64035b1a6a8a75b8/out/build" "--target" "install" "--config" "Release"
  /data/localhost/ripley/R/packages/tests-clang/relm/src/llama.cpp/ggml/src/gguf.cpp:996:94: error: use of undeclared identifier 'errno'
    996 |         GGML_LOG_ERROR("%s: failed to open GGUF file '%s' (%s)\n", __func__, fname, strerror(errno));
        |                                                                                              ^~~~~
  1 error generated.
  make[4]: *** [ggml/src/CMakeFiles/ggml-base.dir/build.make:191: ggml/src/CMakeFiles/ggml-base.dir/gguf.cpp.o] Error 1
  make[4]: *** Waiting for unfinished jobs....
  make[3]: *** [CMakeFiles/Makefile2:333: ggml/src/CMakeFiles/ggml-base.dir/all] Error 2
  gmake[2]: *** [Makefile:136: all] Error 2

  thread 'main' (2729440) panicked at /data/localhost/ripley/R/packages/tests-clang/relm/src/vendor/cmake-0.1.58/src/lib.rs:1132:5:

  command did not execute successfully, got: exit status: 2

  build script failed, must exit now
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
make[1]: *** [Makevars:38: rust/target/release/librelm.a] Error 101
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang/relm/src'
ERROR: compilation failed for package ‘relm’
* removing ‘/data/localhost/ripley/R/packages/tests-clang/relm.Rcheck/relm’