* installing *source* package ‘ipf’ ...
** this is package ‘ipf’ version ‘0.0.1’
** package ‘ipf’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.93.1 (083ac5135 2025-12-15) (Fedora 1.93.1-1.fc42)
Using rustc 1.93.1 (01f6ddf75 2026-02-11) (Fedora 1.93.1-1.fc42)
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ipf/src'
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/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/gannet/ripley/R/packages/tests-clang/ipf/src/.cargo && \
	cp rust/vendor-config.toml /data/gannet/ripley/R/packages/tests-clang/ipf/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/gannet/ripley/R/packages/tests-clang/ipf/src/.cargo && \
	cp rust/vendor-config.toml /data/gannet/ripley/R/packages/tests-clang/ipf/src/.cargo/config.toml; \
fi
=== Using offline vendor tarball ===
export CARGO_HOME=/data/gannet/ripley/R/packages/tests-clang/ipf/src/.cargo && \
export PATH="/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" && \
RUSTFLAGS=" --print=native-static-libs" cargo build -j 2 --offline --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.18
   Compiling quote v1.0.45
   Compiling extendr-ffi v0.9.0
   Compiling syn v2.0.118
   Compiling paste v1.0.15
   Compiling extendr-api v0.9.0
   Compiling lazy_static v1.5.0
   Compiling extendr-macros v0.9.0
   Compiling readonly v0.2.13
   Compiling once_cell v1.21.3
   Compiling ipf v0.1.0 (/data/gannet/ripley/R/packages/tests-clang/ipf/src/rust)
note: link against the following native artifacts when linking against this static library. The order and any duplication can be significant on some platforms.

note: native-static-libs: -lR -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc

    Finished `release` profile [optimized] target(s) in 1m 13s
export CARGO_HOME=/data/gannet/ripley/R/packages/tests-clang/ipf/src/.cargo && \
export PATH="/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" && \
cargo run -j 2 --offline --bin document --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 quote v1.0.45
   Compiling unicode-ident v1.0.18
   Compiling extendr-ffi v0.9.0
   Compiling paste v1.0.15
   Compiling syn v2.0.118
   Compiling extendr-api v0.9.0
   Compiling lazy_static v1.5.0
   Compiling once_cell v1.21.3
   Compiling readonly v0.2.13
   Compiling extendr-macros v0.9.0
   Compiling ipf v0.1.0 (/data/gannet/ripley/R/packages/tests-clang/ipf/src/rust)
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "-m64" "/tmp/RtmpWSOA5G/working_dir/rustcfUWTvG/symbols.o" "<18 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/data/gannet/ripley/R/packages/tests-clang/ipf/src/rust/target/debug/deps/{libipf-cd1a18d2d8f979da,libextendr_api-c52fdd847cca015f,libonce_cell-cf49fdc91d01a6b9,libextendr_ffi-decefc48f47ac202}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/RtmpWSOA5G/working_dir/rustcfUWTvG/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/data/gannet/ripley/R/packages/tests-clang/ipf/src/./rust/target/debug/deps/document-aa8590dc7ba97efe" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /usr/bin/ld: cannot find -lR: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: could not compile `ipf` (bin "document") due to 1 previous error
make[1]: *** [Makevars:28: rust/target/release/libipf.a] Error 101
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ipf/src'
ERROR: compilation failed for package ‘ipf’
* removing ‘/data/gannet/ripley/R/packages/tests-clang/ipf.Rcheck/ipf’