* installing *source* package ‘gpboost’ ... ** this is package ‘gpboost’ version ‘1.5.7’ ** using staged installation checking location of R... /home/hornik/tmp/R checking whether MM_PREFETCH works... yes checking whether MM_MALLOC works... yes configure: creating ./config.status config.status: creating src/Makevars ** libs using C compiler: ‘Debian clang version 19.1.7 (3)’ using C++ compiler: ‘Debian clang version 19.1.7 (3)’ using C++17 clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c boosting/boosting.cpp -o boosting/boosting.o In file included from boosting/boosting.cpp:7: In file included from boosting/dart.hpp:16: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from boosting/boosting.cpp:7: In file included from boosting/dart.hpp:16: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from boosting/boosting.cpp:7: In file included from boosting/dart.hpp:16: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:2053:11: warning: unused variable 'range_dist' [-Wunused-variable] 2053 | double range_dist = cm_dist * dist_ij; | ^~~~~~~~~~ In file included from boosting/boosting.cpp:7: In file included from boosting/dart.hpp:16: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: ./include/GPBoost/re_model_template.h:8967:10: warning: variable 'counter' set but not used [-Wunused-but-set-variable] 8967 | int counter = 0; | ^ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c boosting/gbdt.cpp -o boosting/gbdt.o In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:2053:11: warning: unused variable 'range_dist' [-Wunused-variable] 2053 | double range_dist = cm_dist * dist_ij; | ^~~~~~~~~~ In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: ./include/GPBoost/re_model_template.h:8967:10: warning: variable 'counter' set but not used [-Wunused-but-set-variable] 8967 | int counter = 0; | ^ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c boosting/gbdt_model_text.cpp -o boosting/gbdt_model_text.o In file included from boosting/gbdt_model_text.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from boosting/gbdt_model_text.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from boosting/gbdt_model_text.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:2053:11: warning: unused variable 'range_dist' [-Wunused-variable] 2053 | double range_dist = cm_dist * dist_ij; | ^~~~~~~~~~ In file included from boosting/gbdt_model_text.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: ./include/GPBoost/re_model_template.h:8967:10: warning: variable 'counter' set but not used [-Wunused-but-set-variable] 8967 | int counter = 0; | ^ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c boosting/gbdt_prediction.cpp -o boosting/gbdt_prediction.o In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: In file included from ./include/GPBoost/cov_fcts.h:14: ./include/GPBoost/sparse_matrix_utils.h:493:20: error: use of undeclared identifier 'omp_get_max_threads' 493 | int numThreads = omp_get_max_threads(); | ^ ./include/GPBoost/sparse_matrix_utils.h:497:14: error: use of undeclared identifier 'omp_get_thread_num' 497 | int tid = omp_get_thread_num(); | ^ In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:2053:11: warning: unused variable 'range_dist' [-Wunused-variable] 2053 | double range_dist = cm_dist * dist_ij; | ^~~~~~~~~~ In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: ./include/GPBoost/re_model_template.h:8967:10: warning: variable 'counter' set but not used [-Wunused-but-set-variable] 8967 | int counter = 0; | ^ ./include/GPBoost/re_model_template.h:9844:42: warning: expression result unused [-Wunused-value] 9844 | re_comp_cross_cov_cluster_i_pred_ip->coords_; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 6 warnings and 2 errors generated. make: *** [/home/hornik/tmp/R/etc/Makeconf:209: boosting/gbdt_prediction.o] Error 1 ERROR: compilation failed for package ‘gpboost’ * removing ‘/srv/hornik/tmp/CRAN_pretest/gpboost.Rcheck/gpboost’