* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’ * installing *source* package ‘WeightSVM’ ... ** package ‘WeightSVM’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (Debian 13.2.0-23) 13.2.0’ using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpzcGl6T/R.INSTALLb95c46c76d0e5/WeightSVM/src' gcc-13 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c Rsvm.c -o Rsvm.o Rsvm.c: In function ‘svmtrain’: Rsvm.c:276:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 276 | else | ^~~~ Rsvm.c:278:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 278 | prob.W = W; | ^~~~ gcc-13 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c svm.cpp -o svm.o svm.cpp: In function ‘void solve_nu_svc(const svm_problem*, const svm_parameter*, double*, Solver::SolutionInfo*)’: svm.cpp:1509:17: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 1509 | else | ^~~~ svm.cpp:1511:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 1511 | C[i] = prob->W[i]; | ^ svm.cpp: In function ‘svm_model* svm_train(const svm_problem*, const svm_parameter*)’: svm.cpp:42:38: warning: argument 1 range [18446744056529682432, 18446744073709551608] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 42 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ~~~~~~^~~~~~~~~~~~~~~~~~ svm.cpp:2391:34: note: in expansion of macro ‘Malloc’ 2391 | model->sv_coef = Malloc(double *,nr_class-1); | ^~~~~~ In file included from /usr/include/c++/13/cstdlib:79, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R.h:39, from svm.cpp:1: /usr/include/stdlib.h:553:14: note: in a call to allocation function ‘void* malloc(size_t)’ declared here 553 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o WeightSVM.so Rsvm.o init.o svm.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpzcGl6T/R.INSTALLb95c46c76d0e5/WeightSVM/src' make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpzcGl6T/R.INSTALLb95c46c76d0e5/WeightSVM/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpzcGl6T/R.INSTALLb95c46c76d0e5/WeightSVM/src' installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-WeightSVM/00new/WeightSVM/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** 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 * creating tarball packaged installation of ‘WeightSVM’ as ‘WeightSVM_1.7-13_R_x86_64-pc-linux-gnu.tar.gz’ * DONE (WeightSVM)