* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* 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.97.1 (8bab26f4f 2026-07-14) (built from a source tarball)
Using cargo 1.97.1 (c980f4866 2026-06-30) (built from a source tarball)
Using cmake 4.3.4
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
specified C++17
using C compiler: ‘gcc-16 (Debian 16.2.0-3) 16.2.0’
using C++ compiler: ‘g++-16 (Debian 16.2.0-3) 16.2.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src'
gcc-16 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c entrypoint.c -o entrypoint.o
if [ -d ./vendor ]; then \
echo "=== Using offline vendor directory ==="; \
mkdir -p /home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src/.cargo && \
cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/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 /home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src/.cargo && \
cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src/.cargo/config.toml; \
fi
=== Using offline vendor tarball ===
export CARGO_HOME=/home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src/.cargo && \
export CMAKE='/usr/bin/cmake' RELM_R_PORTABLE=1 CC="gcc-16" CXX="g++-16" CFLAGS="-I/usr/local/include -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -fpic" CXXFLAGS="-I/usr/local/include -g -O2 -Wall -pedantic -mtune=native -fpic -std=gnu++17" && \
export PATH="/home/hornik/bin:/usr/local/bin:/usr/bin:/bin:/home/hornik/.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
Compiling proc-macro2 v1.0.106
Compiling quote v1.0.46
Compiling unicode-ident v1.0.24
Compiling autocfg v1.5.1
Compiling libm v0.2.16
Compiling num-traits v0.2.19
Compiling syn v2.0.118
Compiling zerocopy v0.8.52
Compiling cfg-if v1.0.4
Compiling libc v0.2.186
Compiling num-integer v0.1.46
Compiling version_check v0.9.5
Compiling getrandom v0.3.4
Compiling ahash v0.8.12
Compiling num-bigint v0.4.8
Compiling zerocopy-derive v0.8.52
Compiling semver v1.0.28
Compiling bytes v1.12.0
Compiling once_cell v1.21.4
Compiling half v2.7.1
Compiling rustc_version v0.4.1
Compiling arrow-buffer v59.0.0
Compiling iana-time-zone v0.1.65
Compiling arrow-schema v59.0.0
Compiling serde_core v1.0.228
Compiling shlex v2.0.1
Compiling find-msvc-tools v0.1.9
Compiling cc v1.2.65
Compiling arrow-data v59.0.0
Compiling chrono v0.4.45
Compiling flatbuffers v25.12.19
Compiling num-complex v0.4.6
Compiling extendr-ffi v0.9.0
Compiling hashbrown v0.17.1
Compiling cmake v0.1.58
Compiling arrow-array v59.0.0
Compiling serde v1.0.228
Compiling paste v1.0.15
Compiling bitflags v2.13.0
Compiling serde_json v1.0.145
Compiling arrow-select v59.0.0
Compiling rebirth-llm v0.0.0 (/home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src/rust/rebirth-llm)
Compiling extendr-api v0.9.0
Compiling itoa v1.0.18
Compiling memchr v2.8.3
Compiling lazy_static v1.5.0
Compiling ryu v1.0.23
Compiling extendr-macros v0.9.0
Compiling arrow-ipc v59.0.0
Compiling readonly v0.2.13
Compiling rebirth-ffi v0.0.0 (/home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src/rust/rebirth-ffi)
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: -lrelm-grammar -lmtmd -lvendor-hash -lllama -lggml -lggml-cpu -lggml-base -lstdc++ -lm -ldl -lc -lm -lrt -lpthread -lR -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc
Finished `release` profile [optimized] target(s) in 7m 37s
# Always clean up CARGOTMP
rm -Rf /home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src/.cargo;
g++-16 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o relm.so entrypoint.o -L./rust/target/release -lrelm -Wl,--start-group -lrelm-grammar -lmtmd -lvendor-hash -lllama -lggml -lggml-cpu -lggml-base -Wl,--end-group -lstdc++ -lm -ldl -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/bin/Rscript' --vanilla ../tools/generate-wrappers.R "relm.so" ../R/extendr-wrappers.R
RELM_R_HOSTED_WRAPPERS_OK
rm -Rf /home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src/.cargo /home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src/vendor ./rust/target
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpUMV7vW/R.INSTALL262fea5f2e2d1b/relm/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-relm/00new/relm/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (relm)