* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘tesseract’ ...
** package ‘tesseract’ successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/leptonica 
Using PKG_LIBS=-ltesseract -larchive -lcurl 
Using CXX11CPP: g++-14 -E -std=gnu++11
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpV5Oe3c/R.INSTALL1b9beb61f67537/tesseract/src'
rm -f tesseract.so RcppExports.o tesseract.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/include/leptonica  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I/usr/include/leptonica  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tesseract.cpp -o tesseract.o
tesseract.cpp: In function ‘Rcpp::List engine_info_internal(TessPtr)’:
tesseract.cpp:115:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  115 |   for (int i = 0; i < langs.size(); i++)
      |                   ~~^~~~~~~~~~~~~~
tesseract.cpp:120:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  120 |   for (int i = 0; i < langs.size(); i++)
      |                   ~~^~~~~~~~~~~~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o tesseract.so RcppExports.o tesseract.o -ltesseract -larchive -lcurl -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpV5Oe3c/R.INSTALL1b9beb61f67537/tesseract/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpV5Oe3c/R.INSTALL1b9beb61f67537/tesseract/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpV5Oe3c/R.INSTALL1b9beb61f67537/tesseract/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-tesseract/00new/tesseract/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘tesseract’
    finding HTML links ... done
    ocr                                     html  
    tessdata                                html  
    tesseract                               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 (tesseract)