downloading reverse dependencies ... downloading CVXR_1.0-15.tar.gz ... ok downloading ROI.plugin.scs_1.1-2.tar.gz ... ok installing dependencies ‘scs’ * installing *source* package ‘scs’ ... ** this is package ‘scs’ version ‘3.2.7’ ** using staged installation > > > writeLines(getwd()) /home/hornik/tmp/scratch/RtmpsFCZRE/R.INSTALL11f8d7c22fc41/scs > writeLines(dir()) DESCRIPTION NAMESPACE NEWS.md R README.md cleanup configure configure.win inst man src tests > > # Replace printf with scs_printf > file <- "src/scs/src/aa.c" > src <- readLines(file) > src <- gsub("^(\\s*)printf\\(", "\\1scs_printf(", src) > changed_src <- c("Changed 'aa.c'", grep("printf", src, value = TRUE)) > # writeLines(changed_src) > writeLines(src, file) > > > # Replace sprintf with snprintf > file <- "src/scs/src/cones.c" > src <- paste(readLines(file), collapse = "\n") > m <- gregexpr("\\ssprintf\\(.*?;", src) > smatches <- regmatches(src, m)[[1]] > patched <- gsub("sprintf(", "snprintf(", smatches, fixed = TRUE) > patched <- strsplit(patched, ",", fixed = "TRUE") > for (i in seq_along(smatches)) { + x <- patched[[i]] + if (i == 1) { + replacement <- paste(c(x[1], " 512", tail(x, -1)), collapse = ",") + } else { + replacement <- paste(c(x[1], " 512 - strlen(tmp)", tail(x, -1)), collapse = ",") + } + src <- gsub(smatches[i], replacement, src, fixed = TRUE) + } > writeLines(src, file) > > > > ** libs using C compiler: ‘gcc-14 (Debian 14.2.0-19) 14.2.0’ gcc-14 -std=gnu23 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o (cp -f scs_mods/rw.c scs_mods/scs.c scs/src && \ cp -f scs_mods/private.c scs/linsys/cpu/direct && \ cp -f scs_mods/scs.mk scs && \ (cd scs && \ (make purge && \ make out/libscsdir.a CC="gcc-14 -std=gnu23" CFLAGS="-g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic " AR="ar" RANLIB="ranlib")) && \ touch scs.ts) make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpsFCZRE/R.INSTALL11f8d7c22fc41/scs/src/scs' make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpsFCZRE/R.INSTALL11f8d7c22fc41/scs/src/scs' make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpsFCZRE/R.INSTALL11f8d7c22fc41/scs/src/scs' gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c src/scs.c -o src/scs.o gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o src/util.o src/util.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o src/cones.o src/cones.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o src/exp_cone.o src/exp_cone.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o src/aa.o src/aa.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o src/rw.o src/rw.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o src/linalg.o src/linalg.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o src/ctrlc.o src/ctrlc.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o src/scs_version.o src/scs_version.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o src/normalize.o src/normalize.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/cpu/direct/private.o linsys/cpu/direct/private.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/SuiteSparse_config.o linsys/external/amd/SuiteSparse_config.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_1.o linsys/external/amd/amd_1.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_2.o linsys/external/amd/amd_2.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_aat.o linsys/external/amd/amd_aat.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_control.o linsys/external/amd/amd_control.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_defaults.o linsys/external/amd/amd_defaults.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_dump.o linsys/external/amd/amd_dump.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_global.o linsys/external/amd/amd_global.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_info.o linsys/external/amd/amd_info.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_order.o linsys/external/amd/amd_order.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_post_tree.o linsys/external/amd/amd_post_tree.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_postorder.o linsys/external/amd/amd_postorder.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_preprocess.o linsys/external/amd/amd_preprocess.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/amd/amd_valid.o linsys/external/amd/amd_valid.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/external/qdldl/qdldl.o linsys/external/qdldl/qdldl.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/scs_matrix.o linsys/scs_matrix.c gcc-14 -std=gnu23 -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -Wall -pedantic -funroll-loops -I. -Iinclude -Ilinsys -O3 -fPIC -DCTRLC=1 -DGPU_TRANSPOSE_MAT=1 -DUSE_LAPACK -c -o linsys/csparse.o linsys/csparse.c mkdir -p out ar rv out/libscsdir.a src/scs.o src/util.o src/cones.o src/exp_cone.o src/aa.o src/rw.o src/linalg.o src/ctrlc.o src/scs_version.o src/normalize.o linsys/cpu/direct/private.o linsys/external/amd/SuiteSparse_config.o linsys/external/amd/amd_1.o linsys/external/amd/amd_2.o linsys/external/amd/amd_aat.o linsys/external/amd/amd_control.o linsys/external/amd/amd_defaults.o linsys/external/amd/amd_dump.o linsys/external/amd/amd_global.o linsys/external/amd/amd_info.o linsys/external/amd/amd_order.o linsys/external/amd/amd_post_tree.o linsys/external/amd/amd_postorder.o linsys/external/amd/amd_preprocess.o linsys/external/amd/amd_valid.o linsys/external/qdldl/qdldl.o linsys/scs_matrix.o linsys/csparse.o ar: creating out/libscsdir.a a - src/scs.o a - src/util.o a - src/cones.o a - src/exp_cone.o a - src/aa.o a - src/rw.o a - src/linalg.o a - src/ctrlc.o a - src/scs_version.o a - src/normalize.o a - linsys/cpu/direct/private.o a - linsys/external/amd/SuiteSparse_config.o a - linsys/external/amd/amd_1.o a - linsys/external/amd/amd_2.o a - linsys/external/amd/amd_aat.o a - linsys/external/amd/amd_control.o a - linsys/external/amd/amd_defaults.o a - linsys/external/amd/amd_dump.o a - linsys/external/amd/amd_global.o a - linsys/external/amd/amd_info.o a - linsys/external/amd/amd_order.o a - linsys/external/amd/amd_post_tree.o a - linsys/external/amd/amd_postorder.o a - linsys/external/amd/amd_preprocess.o a - linsys/external/amd/amd_valid.o a - linsys/external/qdldl/qdldl.o a - linsys/scs_matrix.o a - linsys/csparse.o ranlib out/libscsdir.a make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpsFCZRE/R.INSTALL11f8d7c22fc41/scs/src/scs' gcc-14 -std=gnu23 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I./scs/include -I/home/hornik/tmp/R-d-gcc-14/include -DUSE_LAPACK -DCOPYAMATRIX -DR_LANG -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c scsr.c -o scsr.o gcc-14 -std=gnu23 -shared -L/home/hornik/tmp/R-d-gcc-14/lib -Wl,-O1 -o scs.so init.o scsr.o -Lscs/out -lscsdir -llapack -L/home/hornik/tmp/R-d-gcc-14/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R-d-gcc-14/lib -lR installing to /home/hornik/tmp/CRAN_recheck/Library/00LOCK-scs/00new/scs/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** 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 (scs) checking scs_3.2.7.tar.gz ... checking ROI.plugin.scs_1.1-2.tar.gz ... checking CVXR_1.0-15.tar.gz ... Depends: Package: scs Depends: R (>= 3.5.0) Timings: user system elapsed scs 21.275 3.672 25.782 Results: Check status summary: OK Source packages 1 Reverse depends 2 Check results summary: scs ... OK rdepends_CVXR ... OK rdepends_ROI.plugin.scs ... OK