* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘distances’ ...
** package ‘distances’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-13) 13.2.0’
using C++ compiler: ‘g++-13 (Debian 13.2.0-13) 13.2.0’
make[1]: Entering directory '/tmp/RtmpGYPGwU/R.INSTALL1f54de33ad94b2/distances/src'
gcc-13 -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 distances-init.c -o distances-init.o
gcc-13 -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 error.c -o error.o
gcc-13 -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 get_dists.c -o get_dists.o
gcc-13 -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 internal.c -o internal.o
gcc-13 -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 max_dists.c -o max_dists.o
gcc-13 -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 nn_search.c -o nn_search.o
g++-13 -std=gnu++17 -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 -pedantic -mtune=native   -c nn_search_ann.cpp -o nn_search_ann.o
gcc-13 -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 utils.c -o utils.o
(cd libann && R_AR="ar" R_CXX="g++-13 -std=gnu++17" R_CPPFLAGS="-DNDEBUG -I/usr/local/include" R_CXXFLAGS="-fpic -g -O2 -Wall -pedantic -mtune=native " make) || exit 1;
make[2]: Entering directory '/tmp/RtmpGYPGwU/R.INSTALL1f54de33ad94b2/distances/src/libann'
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/ANN.cpp -o src/ANN.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/brute.cpp -o src/brute.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/kd_tree.cpp -o src/kd_tree.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/kd_util.cpp -o src/kd_util.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/kd_split.cpp -o src/kd_split.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/kd_dump.cpp -o src/kd_dump.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/kd_search.cpp -o src/kd_search.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/kd_pr_search.cpp -o src/kd_pr_search.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/kd_fix_rad_search.cpp -o src/kd_fix_rad_search.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/bd_tree.cpp -o src/bd_tree.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/bd_search.cpp -o src/bd_search.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/bd_pr_search.cpp -o src/bd_pr_search.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/bd_fix_rad_search.cpp -o src/bd_fix_rad_search.o
g++-13 -std=gnu++17 -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native  -Iinclude -c src/perf.cpp -o src/perf.o
ar -rcs libann.a src/ANN.o src/brute.o src/kd_tree.o src/kd_util.o src/kd_split.o src/kd_dump.o src/kd_search.o src/kd_pr_search.o src/kd_fix_rad_search.o src/bd_tree.o src/bd_search.o src/bd_pr_search.o src/bd_fix_rad_search.o src/perf.o
make[2]: Leaving directory '/tmp/RtmpGYPGwU/R.INSTALL1f54de33ad94b2/distances/src/libann'
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o distances.so distances-init.o error.o get_dists.o internal.o max_dists.o nn_search.o nn_search_ann.o utils.o libann/libann.a -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpGYPGwU/R.INSTALL1f54de33ad94b2/distances/src'
make[1]: Entering directory '/tmp/RtmpGYPGwU/R.INSTALL1f54de33ad94b2/distances/src'
make[1]: Leaving directory '/tmp/RtmpGYPGwU/R.INSTALL1f54de33ad94b2/distances/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-distances/00new/distances/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘distances’
    finding HTML links ... done
    distance_columns                        html  
    distance_matrix                         html  
    distances-package                       html  
    distances                               html  
    is.distances                            html  
    max_distance_search                     html  
    nearest_neighbor_search                 html  
** building package indices
** 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 (distances)