* installing *source* package ‘lightgbm’ ... ** 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 18.1.6 (1)’ using C++17 clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c boosting/boosting.cpp -o boosting/boosting.o In file included from boosting/boosting.cpp:5: In file included from ./include/LightGBM/boosting.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c boosting/gbdt.cpp -o boosting/gbdt.o In file included from boosting/gbdt.cpp:5: In file included from boosting/gbdt.h:8: In file included from ./include/LightGBM/boosting.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c boosting/gbdt_model_text.cpp -o boosting/gbdt_model_text.o In file included from boosting/gbdt_model_text.cpp:5: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c boosting/gbdt_prediction.cpp -o boosting/gbdt_prediction.o In file included from boosting/gbdt_prediction.cpp:5: In file included from ./include/LightGBM/objective_function.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c boosting/prediction_early_stop.cpp -o boosting/prediction_early_stop.o In file included from boosting/prediction_early_stop.cpp:7: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c boosting/sample_strategy.cpp -o boosting/sample_strategy.o In file included from boosting/sample_strategy.cpp:6: In file included from ./include/LightGBM/sample_strategy.h:11: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/bin.cpp -o io/bin.o In file included from io/bin.cpp:5: In file included from ./include/LightGBM/bin.h:9: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/config.cpp -o io/config.o In file included from io/config.cpp:5: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/config_auto.cpp -o io/config_auto.o In file included from io/config_auto.cpp:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/dataset.cpp -o io/dataset.o In file included from io/dataset.cpp:6: In file included from ./include/LightGBM/dataset.h:9: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/dataset_loader.cpp -o io/dataset_loader.o In file included from io/dataset_loader.cpp:5: In file included from ./include/LightGBM/dataset_loader.h:8: In file included from ./include/LightGBM/dataset.h:9: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/file_io.cpp -o io/file_io.o In file included from io/file_io.cpp:8: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/json11.cpp -o io/json11.o In file included from io/json11.cpp:23: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/metadata.cpp -o io/metadata.o In file included from io/metadata.cpp:5: In file included from ./include/LightGBM/dataset.h:9: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/parser.cpp -o io/parser.o In file included from io/parser.cpp:5: In file included from io/parser.hpp:8: In file included from ./include/LightGBM/dataset.h:9: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/train_share_states.cpp -o io/train_share_states.o In file included from io/train_share_states.cpp:7: In file included from ./include/LightGBM/train_share_states.h:8: In file included from ./include/LightGBM/bin.h:9: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c io/tree.cpp -o io/tree.o In file included from io/tree.cpp:5: In file included from ./include/LightGBM/tree.h:8: In file included from ./include/LightGBM/dataset.h:9: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c metric/dcg_calculator.cpp -o metric/dcg_calculator.o In file included from metric/dcg_calculator.cpp:5: In file included from ./include/LightGBM/metric.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c metric/metric.cpp -o metric/metric.o In file included from metric/metric.cpp:5: In file included from ./include/LightGBM/metric.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c objective/objective_function.cpp -o objective/objective_function.o In file included from objective/objective_function.cpp:5: In file included from ./include/LightGBM/objective_function.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ In file included from objective/objective_function.cpp:11: objective/xentropy_objective.hpp:179:14: warning: private field 'deterministic_' is not used [-Wunused-private-field] 179 | const bool deterministic_; | ^ objective/xentropy_objective.hpp:311:14: warning: private field 'deterministic_' is not used [-Wunused-private-field] 311 | const bool deterministic_; | ^ 3 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c network/linker_topo.cpp -o network/linker_topo.o In file included from network/linker_topo.cpp:5: In file included from ./include/LightGBM/network.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c network/linkers_mpi.cpp -o network/linkers_mpi.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c network/linkers_socket.cpp -o network/linkers_socket.o In file included from network/linkers_socket.cpp:7: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c network/network.cpp -o network/network.o In file included from network/network.cpp:5: In file included from ./include/LightGBM/network.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c treelearner/data_parallel_tree_learner.cpp -o treelearner/data_parallel_tree_learner.o In file included from treelearner/data_parallel_tree_learner.cpp:9: In file included from treelearner/parallel_tree_learner.h:8: In file included from ./include/LightGBM/network.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c treelearner/feature_histogram.cpp -o treelearner/feature_histogram.o In file included from treelearner/feature_histogram.cpp:7: In file included from treelearner/feature_histogram.hpp:9: In file included from ./include/LightGBM/bin.h:9: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c treelearner/feature_parallel_tree_learner.cpp -o treelearner/feature_parallel_tree_learner.o In file included from treelearner/feature_parallel_tree_learner.cpp:8: In file included from treelearner/parallel_tree_learner.h:8: In file included from ./include/LightGBM/network.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c treelearner/gpu_tree_learner.cpp -o treelearner/gpu_tree_learner.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c treelearner/gradient_discretizer.cpp -o treelearner/gradient_discretizer.o In file included from treelearner/gradient_discretizer.cpp:7: In file included from treelearner/gradient_discretizer.hpp:9: In file included from ./include/LightGBM/bin.h:9: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c treelearner/linear_tree_learner.cpp -o treelearner/linear_tree_learner.o In file included from treelearner/linear_tree_learner.cpp:5: In file included from treelearner/linear_tree_learner.h:14: In file included from treelearner/serial_tree_learner.h:8: In file included from ./include/LightGBM/dataset.h:9: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c treelearner/serial_tree_learner.cpp -o treelearner/serial_tree_learner.o In file included from treelearner/serial_tree_learner.cpp:5: In file included from treelearner/serial_tree_learner.h:8: In file included from ./include/LightGBM/dataset.h:9: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c treelearner/tree_learner.cpp -o treelearner/tree_learner.o In file included from treelearner/tree_learner.cpp:5: In file included from ./include/LightGBM/tree_learner.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c treelearner/voting_parallel_tree_learner.cpp -o treelearner/voting_parallel_tree_learner.o In file included from treelearner/voting_parallel_tree_learner.cpp:5: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c utils/openmp_wrapper.cpp -o utils/openmp_wrapper.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c c_api.cpp -o c_api.o In file included from c_api.cpp:8: In file included from ./include/LightGBM/boosting.h:8: In file included from ./include/LightGBM/config.h:21: In file included from ./include/LightGBM/utils/common.h:9: ./include/LightGBM/utils/log.h:19:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 19 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DEIGEN_DONT_PARALLELIZE -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 -DR_NO_REMAP -c lightgbm_R.cpp -o lightgbm_R.o In file included from lightgbm_R.cpp:6: ./lightgbm_R.h:10:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 10 | #define R_NO_REMAP | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o lightgbm.so boosting/boosting.o boosting/gbdt.o boosting/gbdt_model_text.o boosting/gbdt_prediction.o boosting/prediction_early_stop.o boosting/sample_strategy.o io/bin.o io/config.o io/config_auto.o io/dataset.o io/dataset_loader.o io/file_io.o io/json11.o io/metadata.o io/parser.o io/train_share_states.o io/tree.o metric/dcg_calculator.o metric/metric.o objective/objective_function.o network/linker_topo.o network/linkers_mpi.o network/linkers_socket.o network/network.o treelearner/data_parallel_tree_learner.o treelearner/feature_histogram.o treelearner/feature_parallel_tree_learner.o treelearner/gpu_tree_learner.o treelearner/gradient_discretizer.o treelearner/linear_tree_learner.o treelearner/serial_tree_learner.o treelearner/tree_learner.o treelearner/voting_parallel_tree_learner.o utils/openmp_wrapper.o c_api.o lightgbm_R.o -pthread -L/home/hornik/tmp/R/lib -lR installing to /srv/hornik/tmp/CRAN/lightgbm.Rcheck/00LOCK-lightgbm/00new/lightgbm/libs ** R ** data ** demo ** 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 (lightgbm)