* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘ahocorasick’ ...
** this is package ‘ahocorasick’ version ‘0.2.0’
** package ‘ahocorasick’ successfully unpacked and MD5 sums checked
** using staged installation
Using cargo 1.94.1 (29ea6fb6a 2026-03-24) (built from a source tarball)
Using rustc 1.94.1 (e408947bf 2026-03-25) (built from a source tarball)
Building for CRAN.
Writing `src/Makevars`.
`tools/config.R` has finished.
** libs
using C compiler: ‘gcc-15 (Debian 15.2.0-17) 15.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src'
gcc-15 -I"/home/hornik/tmp/R.check/r-patched-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/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src/.cargo && \
cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/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/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src/.cargo && \
cp rust/vendor-config.toml /home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src/.cargo/config.toml; \
fi
=== Using offline vendor tarball ===
export CARGO_HOME=/home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src/.cargo && \
export PATH="/home/hornik/bin:/usr/local/bin:/usr/bin:/bin:/home/hornik/.cargo/bin" && \
RUSTFLAGS=" --print=native-static-libs" cargo build -j 2 --offline --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target
Compiling proc-macro2 v1.0.106
Compiling quote v1.0.45
Compiling unicode-ident v1.0.24
Compiling extendr-ffi v0.9.0
Compiling paste v1.0.15
Compiling lazy_static v1.5.0
Compiling extendr-api v0.9.0
Compiling syn v2.0.117
Compiling once_cell v1.21.4
Compiling memchr v2.8.0
Compiling aho-corasick v1.1.4
Compiling readonly v0.2.13
Compiling extendr-macros v0.9.0
Compiling ahocorasick v0.2.0 (/home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/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 43.51s
# Always clean up CARGOTMP
rm -Rf /home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src/.cargo;
gcc-15 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o ahocorasick.so entrypoint.o -L./rust/target/release -lahocorasick -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
rm -Rf /home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src/.cargo /home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src/vendor ./rust/target
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpzqPxTu/R.INSTALL10c547133b003b/ahocorasick/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-ahocorasick/00new/ahocorasick/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘ahocorasick’
finding HTML links ... done
ac_build html
ac_count html
ac_count_file html
ac_detect html
ac_detect_file html
ac_extract html
ac_extract_df html
ac_extract_file html
ac_info html
ac_locate html
ac_locate_bytes html
ac_locate_df html
ac_locate_file html
ac_patterns html
ac_replace html
ac_replace_file html
** 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 (ahocorasick)