=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Installing for R-data.table-1.16.4 => Generating pre-install file lists => Creating installation directories * installing *source* package 'data.table' ... ** this is package 'data.table' version '1.16.4' ** package 'data.table' successfully unpacked and MD5 sums checked ** using staged installation gcc 7.5.0 *** pkg-config is not installed. *** Compilation will now be attempted and if it works you can ignore this message. In *** particular, this should be the case on Mac where zlib is built in or pkg-config *** is not installed. However, if compilation fails, try 'locate zlib.h zconf.h' and *** ensure the zlib development library is installed : *** deb: zlib1g-dev (Debian, Ubuntu, ...) *** rpm: zlib-devel (Fedora, EPEL, ...) *** There is a zlib in brew for OSX but the built in zlib should work. *** Note that zlib is required to compile R itself so you may find the advice in the R-admin *** guide helpful regarding zlib. On Debian/Ubuntu, zlib1g-dev is a dependency of r-base as *** shown by 'apt-cache showsrc r-base | grep ^Build-Depends | grep zlib', and therefore *** 'sudo apt-get build-dep r-base' should be sufficient too. *** To silence this message, please ensure that : *** 1) 'pkg-config --exists zlib' succeeds (i.e. $? -eq 0) *** 2) 'pkg-config --libs zlib' contains -lz *** Compilation will now be attempted ... *** *** OpenMP not supported! data.table uses OpenMP to automatically *** parallelize operations like sorting, grouping, file reading, etc. *** For details on how to install the necessary toolchains on your OS see: *** https://github.com/Rdatatable/data.table/wiki/Installation *** Continuing installation without OpenMP support... *** *** Compilation without compression support in fwrite ** libs using C compiler: 'gcc (nb4 20200810) 7.5.0' gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c assign.c -o assign.o assign.c: In function 'finalizer': assign.c:11:8: warning: implicit declaration of function 'TRUELENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] tl = TRUELENGTH(p); ^~~~~~~~~~ XLENGTH assign.c:21:3: warning: implicit declaration of function 'SETLENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] SETLENGTH(x,50+n*2*sizeof(void *)/4); // 1*n for the names, 1*n for the VECSXP itself (both are over allocated). ^~~~~~~~~ XLENGTH assign.c: In function '_selfrefok': assign.c:129:5: warning: implicit declaration of function 'SET_TRUELENGTH'; did you mean 'SET_RAW_ELT'? [-Wimplicit-function-declaration] SET_TRUELENGTH(names, LENGTH(names)); ^~~~~~~~~~~~~~ SET_RAW_ELT assign.c: In function 'assign': assign.c:604:9: warning: implicit declaration of function 'ATTRIB'; did you mean 'ALTREP'? [-Wimplicit-function-declaration] s = ATTRIB(index); ^~~~~~ ALTREP assign.c:604:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] s = ATTRIB(index); ^ assign.c:613:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] s = ATTRIB(index); // reset to first element ^ In file included from assign.c:1:0: assign.c: In function 'memrecycle': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ assign.c:806:35: note: in expansion of macro 'STRING_PTR_RO' const SEXP *targetLevelsD=STRING_PTR_RO(targetLevels), *sourceLevelsD=STRING_PTR_RO(sourceLevels); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ assign.c:806:35: note: in expansion of macro 'STRING_PTR_RO' const SEXP *targetLevelsD=STRING_PTR_RO(targetLevels), *sourceLevelsD=STRING_PTR_RO(sourceLevels); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ assign.c:806:79: note: in expansion of macro 'STRING_PTR_RO' const SEXP *targetLevelsD=STRING_PTR_RO(targetLevels), *sourceLevelsD=STRING_PTR_RO(sourceLevels); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ assign.c:842:33: note: in expansion of macro 'STRING_PTR_RO' const SEXP *sourceD = STRING_PTR_RO(source); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ assign.c:1110:24: note: in expansion of macro 'STRING_PTR_RO' const SEXP *ld = STRING_PTR_RO(PROTECT(getAttrib(source, R_LevelsSymbol))); protecti++; ^~~~~~~~~~~~~ assign.c:1124:13: warning: implicit declaration of function 'OBJECT'; did you mean 'OBJSXP'? [-Wimplicit-function-declaration] if (OBJECT(source) && getAttrib(source, R_ClassSymbol)!=R_NilValue) { ^~~~~~ OBJSXP assign.c:964:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] const STYPE *sd = (const STYPE *)RFUN(source); \ ^ assign.c:1132:7: note: in expansion of macro 'BODY' BODY(SEXP, STRING_PTR_RO, SEXP, val, SET_STRING_ELT(target, off+i, cval)) ^~~~ assign.c:964:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] const STYPE *sd = (const STYPE *)RFUN(source); \ ^ assign.c:1152:21: note: in expansion of macro 'BODY' case STRSXP: BODY(SEXP, STRING_PTR_RO, SEXP, PROTECT(allocVector(STRSXP, 1));SET_STRING_ELT(cval, 0, val);copyMostAttrib(source,cval);UNPROTECT(1), SET_VECTOR_ELT(target,off+i,cval)) ^~~~ gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c between.c -o between.o In file included from between.c:1:0: between.c: In function 'between': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ between.c:163:22: note: in expansion of macro 'STRING_PTR_RO' const SEXP *lp = STRING_PTR_RO(lower); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ between.c:163:22: note: in expansion of macro 'STRING_PTR_RO' const SEXP *lp = STRING_PTR_RO(lower); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ between.c:164:22: note: in expansion of macro 'STRING_PTR_RO' const SEXP *up = STRING_PTR_RO(upper); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ between.c:165:22: note: in expansion of macro 'STRING_PTR_RO' const SEXP *xp = STRING_PTR_RO(x); ^~~~~~~~~~~~~ In file included from data.table.h:16:0, from between.c:1: data.table.h:39:22: warning: implicit declaration of function 'LEVELS' [-Wimplicit-function-declaration] #define IS_ASCII(x) (LEVELS(x) & 64) // API expected in R >= 4.5 ^ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:203:24: note: in definition of macro 'CHAR' #define CHAR(x) R_CHAR(x) ^ data.table.h:73:24: note: in expansion of macro 'IS_ASCII' #define NEED2UTF8(s) !(IS_ASCII(s) || (s)==NA_STRING || IS_UTF8(s)) ^~~~~~~~ data.table.h:74:23: note: in expansion of macro 'NEED2UTF8' #define ENC2UTF8(s) (!NEED2UTF8(s) ? (s) : mkCharCE(translateCharUTF8(s), CE_UTF8)) ^~~~~~~~~ between.c:171:63: note: in expansion of macro 'ENC2UTF8' if (l!=NA_STRING && u!=NA_STRING && l!=u && strcmp(CHAR(ENC2UTF8(l)), CHAR(ENC2UTF8(u)))>0) ^~~~~~~~ gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c bmerge.c -o bmerge.o In file included from bmerge.c:1:0: bmerge.c: In function 'bmerge_r': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ bmerge.c:349:23: note: in expansion of macro 'STRING_PTR_RO' const SEXP *icv = STRING_PTR_RO(ic); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ bmerge.c:349:23: note: in expansion of macro 'STRING_PTR_RO' const SEXP *icv = STRING_PTR_RO(ic); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ bmerge.c:350:23: note: in expansion of macro 'STRING_PTR_RO' const SEXP *xcv = STRING_PTR_RO(xc); ^~~~~~~~~~~~~ In file included from bmerge.c:1:0: data.table.h:39:22: warning: implicit declaration of function 'LEVELS' [-Wimplicit-function-declaration] #define IS_ASCII(x) (LEVELS(x) & 64) // API expected in R >= 4.5 ^ data.table.h:73:24: note: in expansion of macro 'IS_ASCII' #define NEED2UTF8(s) !(IS_ASCII(s) || (s)==NA_STRING || IS_UTF8(s)) ^~~~~~~~ data.table.h:74:23: note: in expansion of macro 'NEED2UTF8' #define ENC2UTF8(s) (!NEED2UTF8(s) ? (s) : mkCharCE(translateCharUTF8(s), CE_UTF8)) ^~~~~~~~~ bmerge.c:351:23: note: in expansion of macro 'ENC2UTF8' const SEXP ival = ENC2UTF8(icv[ir]); ^~~~~~~~ gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c chmatch.c -o chmatch.o In file included from chmatch.c:1:0: chmatch.c: In function 'chmatchMain': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ chmatch.c:43:10: note: in expansion of macro 'STRING_PTR_RO' xd = STRING_PTR_RO(PROTECT(coerceUtf8IfNeeded(x))); nprotect++; ^~~~~~~~~~~~~ chmatch.c:43:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] xd = STRING_PTR_RO(PROTECT(coerceUtf8IfNeeded(x))); nprotect++; ^ In file included from chmatch.c:1:0: data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ chmatch.c:45:20: note: in expansion of macro 'STRING_PTR_RO' const SEXP *td = STRING_PTR_RO(PROTECT(coerceUtf8IfNeeded(table))); nprotect++; ^~~~~~~~~~~~~ chmatch.c:61:20: warning: implicit declaration of function 'TRUELENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] const int tl = TRUELENGTH(s); ^~~~~~~~~~ XLENGTH chmatch.c:64:7: warning: implicit declaration of function 'SET_TRUELENGTH'; did you mean 'SET_RAW_ELT'? [-Wimplicit-function-declaration] SET_TRUELENGTH(s,0); ^~~~~~~~~~~~~~ SET_RAW_ELT gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c cj.c -o cj.o In file included from cj.c:1:0: cj.c: In function 'cj': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ cj.c:65:29: note: in expansion of macro 'STRING_PTR_RO' const SEXP *sourceP = STRING_PTR_RO(source); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ cj.c:65:29: note: in expansion of macro 'STRING_PTR_RO' const SEXP *sourceP = STRING_PTR_RO(source); ^~~~~~~~~~~~~ gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c coalesce.c -o coalesce.o In file included from coalesce.c:1:0: coalesce.c: In function 'coalesce': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ coalesce.c:144:22: note: in expansion of macro 'STRING_PTR_RO' const SEXP *xP = STRING_PTR_RO(first); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ coalesce.c:144:22: note: in expansion of macro 'STRING_PTR_RO' const SEXP *xP = STRING_PTR_RO(first); ^~~~~~~~~~~~~ coalesce.c:155:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion] valP[k++] = STRING_PTR_RO(item); ^ gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c dogroups.c -o dogroups.o dogroups.c: In function 'anySpecialStatic': dogroups.c:49:25: warning: implicit declaration of function 'TRUELENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] return ALTREP(x) || TRUELENGTH(x)<0; ^~~~~~~~~~ XLENGTH dogroups.c:57:21: warning: implicit declaration of function 'ATTRIB'; did you mean 'ALTREP'? [-Wimplicit-function-declaration] for(attribs = ATTRIB(list_el); attribs != R_NilValue; attribs = CDR(attribs)) { ^~~~~~ ALTREP dogroups.c:57:19: warning: assignment makes pointer from integer without a cast [-Wint-conversion] for(attribs = ATTRIB(list_el); attribs != R_NilValue; attribs = CDR(attribs)) { ^ In file included from data.table.h:16:0, from dogroups.c:1: dogroups.c: In function 'dogroups': /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:19: warning: implicit declaration of function 'Rf_findVar'; did you mean 'Rf_findFun'? [-Wimplicit-function-declaration] #define findVar Rf_findVar ^ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:31: note: in definition of macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ dogroups.c:90:24: note: in expansion of macro 'findVar' SEXP SDall = PROTECT(findVar(install(".SDall"), env)); nprotect++; // PROTECT for rchk ^~~~~~~ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:19: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] #define findVar Rf_findVar ^ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:31: note: in definition of macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ dogroups.c:90:24: note: in expansion of macro 'findVar' SEXP SDall = PROTECT(findVar(install(".SDall"), env)); nprotect++; // PROTECT for rchk ^~~~~~~ In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:6: note: expected 'SEXP {aka struct SEXPREC *}' but argument is of type 'int' SEXP Rf_protect(SEXP); ^~~~~~~~~~ In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:19: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] #define findVar Rf_findVar ^ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:31: note: in definition of macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ dogroups.c:91:21: note: in expansion of macro 'findVar' SEXP SD = PROTECT(findVar(install(".SD"), env)); nprotect++; ^~~~~~~ In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:6: note: expected 'SEXP {aka struct SEXPREC *}' but argument is of type 'int' SEXP Rf_protect(SEXP); ^~~~~~~~~~ dogroups.c:105:5: warning: implicit declaration of function 'SET_TRUELENGTH'; did you mean 'SET_LENGTH'? [-Wimplicit-function-declaration] SET_TRUELENGTH(VECTOR_ELT(BY,i), -1); // marker for anySpecialStatic(); see its comments ^~~~~~~~~~~~~~ SET_LENGTH In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:19: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] #define findVar Rf_findVar ^ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:31: note: in definition of macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ dogroups.c:112:17: note: in expansion of macro 'findVar' N = PROTECT(findVar(install(".N"), env)); nprotect++; // PROTECT for rchk ^~~~~~~ In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:6: note: expected 'SEXP {aka struct SEXPREC *}' but argument is of type 'int' SEXP Rf_protect(SEXP); ^~~~~~~~~~ In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:19: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] #define findVar Rf_findVar ^ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:31: note: in definition of macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ dogroups.c:114:17: note: in expansion of macro 'findVar' GRP = PROTECT(findVar(install(".GRP"), env)); nprotect++; ^~~~~~~ In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:6: note: expected 'SEXP {aka struct SEXPREC *}' but argument is of type 'int' SEXP Rf_protect(SEXP); ^~~~~~~~~~ In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:19: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] #define findVar Rf_findVar ^ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:31: note: in definition of macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ dogroups.c:116:17: note: in expansion of macro 'findVar' iSD = PROTECT(findVar(install(".iSD"), env)); nprotect++; // 1-row and possibly no cols (if no i variables are used via JIS) ^~~~~~~ In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:6: note: expected 'SEXP {aka struct SEXPREC *}' but argument is of type 'int' SEXP Rf_protect(SEXP); ^~~~~~~~~~ In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:19: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] #define findVar Rf_findVar ^ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:31: note: in definition of macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ dogroups.c:117:17: note: in expansion of macro 'findVar' xSD = PROTECT(findVar(install(".xSD"), env)); nprotect++; ^~~~~~~ In file included from data.table.h:16:0, from dogroups.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:6: note: expected 'SEXP {aka struct SEXPREC *}' but argument is of type 'int' SEXP Rf_protect(SEXP); ^~~~~~~~~~ dogroups.c:130:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] for (s = ATTRIB(SD); s != R_NilValue && TAG(s)!=R_RowNamesSymbol; s = CDR(s)); // getAttrib0 basically but that's hidden in attrib.c; #loop_counter_not_local_scope_ok ^ dogroups.c:194:7: warning: implicit declaration of function 'SETLENGTH'; did you mean 'SET_LENGTH'? [-Wimplicit-function-declaration] SETLENGTH(VECTOR_ELT(SDall,j), grpn); // before copying data in otherwise assigning after the end could error R API checks ^~~~~~~~~ SET_LENGTH dogroups.c:282:35: warning: implicit declaration of function 'isFrame' [-Wimplicit-function-declaration] if (!isVector(thiscol) || isFrame(thiscol)) ^~~~~~~ dogroups.c: In function 'keepattr': dogroups.c:501:3: warning: implicit declaration of function 'SET_ATTRIB'; did you mean 'SET_ATTR'? [-Wimplicit-function-declaration] SET_ATTRIB(to, ATTRIB(from)); ^~~~~~~~~~ SET_ATTR dogroups.c:504:5: warning: implicit declaration of function 'SET_OBJECT'; did you mean 'NEW_OBJECT'? [-Wimplicit-function-declaration] SET_OBJECT(to, OBJECT(from)); ^~~~~~~~~~ NEW_OBJECT dogroups.c:504:20: warning: implicit declaration of function 'OBJECT'; did you mean 'OBJSXP'? [-Wimplicit-function-declaration] SET_OBJECT(to, OBJECT(from)); ^~~~~~ OBJSXP gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c fastmean.c -o fastmean.o gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c fcast.c -o fcast.o gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c fifelse.c -o fifelse.o In file included from fifelse.c:1:0: fifelse.c: In function 'fifelseR': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ fifelse.c:149:45: note: in expansion of macro 'STRING_PTR_RO' const SEXP *restrict pa = na_a ? NULL : STRING_PTR_RO(a); ^~~~~~~~~~~~~ fifelse.c:149:43: warning: pointer/integer type mismatch in conditional expression const SEXP *restrict pa = na_a ? NULL : STRING_PTR_RO(a); ^ fifelse.c:150:43: warning: pointer/integer type mismatch in conditional expression const SEXP *restrict pb = na_b ? NULL : STRING_PTR_RO(b); ^ fifelse.c:151:44: warning: pointer/integer type mismatch in conditional expression const SEXP *restrict pna = na_n ? NULL : STRING_PTR_RO(na); ^ fifelse.c: In function 'fcaseR': fifelse.c:372:26: warning: assignment makes pointer from integer without a cast [-Wint-conversion] if (!naout) pthens = STRING_PTR_RO(thens); // the content is not useful if out is NA_LOGICAL scalar ^ gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c fmelt.c -o fmelt.o In file included from fmelt.c:1:0: fmelt.c: In function 'combineFactorLevels': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ fmelt.c:405:25: note: in expansion of macro 'STRING_PTR_RO' const SEXP *targetd = STRING_PTR_RO(target); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ fmelt.c:405:25: note: in expansion of macro 'STRING_PTR_RO' const SEXP *targetd = STRING_PTR_RO(target); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ fmelt.c:411:25: note: in expansion of macro 'STRING_PTR_RO' const SEXP *thisd = STRING_PTR_RO(this); ^~~~~~~~~~~~~ fmelt.c:416:16: warning: implicit declaration of function 'TRUELENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] int tl = TRUELENGTH(s); ^~~~~~~~~~ XLENGTH fmelt.c:419:7: warning: implicit declaration of function 'SET_TRUELENGTH'; did you mean 'SET_LENGTH'? [-Wimplicit-function-declaration] SET_TRUELENGTH(s,-(++nlevel)); ^~~~~~~~~~~~~~ SET_LENGTH In file included from fmelt.c:1:0: fmelt.c: In function 'getidcols': data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ fmelt.c:751:25: note: in expansion of macro 'STRING_PTR_RO' const SEXP *s = STRING_PTR_RO(thiscol); // to reduce overhead of STRING_ELT() inside loop below. Read-only hence const. ^~~~~~~~~~~~~ gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c forder.c -o forder.o forder.c: In function 'free_ustr': forder.c:74:5: warning: implicit declaration of function 'SET_TRUELENGTH'; did you mean 'SET_RAW_ELT'? [-Wimplicit-function-declaration] SET_TRUELENGTH(ustr[i],0); ^~~~~~~~~~~~~~ SET_RAW_ELT forder.c: In function 'range_str': forder.c:297:9: warning: implicit declaration of function 'TRUELENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] if (TRUELENGTH(s)<0) continue; // seen this group before ^~~~~~~~~~ XLENGTH In file included from forder.c:1:0: data.table.h:39:22: warning: implicit declaration of function 'LEVELS' [-Wimplicit-function-declaration] #define IS_ASCII(x) (LEVELS(x) & 64) // API expected in R >= 4.5 ^ forder.c:313:14: note: in expansion of macro 'IS_ASCII' !IS_ASCII(s)) { // anynotutf8 implies anynotascii and IS_ASCII will be cheaper than IS_UTF8, so start with this one ^~~~~~~~ In file included from /usr/include/string.h:127:0, from /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/R_ext/RS.h:34, from /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/R.h:78, from data.table.h:3, from forder.c:1: data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ forder.c:335:19: note: in expansion of macro 'STRING_PTR_RO' memcpy(ustr3, STRING_PTR_RO(ustr2), ustr_n*sizeof(SEXP)); ^~~~~~~~~~~~~ data.table.h:19:23: warning: passing argument 2 of '__builtin___memcpy_chk' makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ forder.c:335:19: note: in expansion of macro 'STRING_PTR_RO' memcpy(ustr3, STRING_PTR_RO(ustr2), ustr_n*sizeof(SEXP)); ^~~~~~~~~~~~~ data.table.h:19:23: note: expected 'const void *' but argument is of type 'int' #define STRING_PTR_RO STRING_PTR ^ forder.c:335:19: note: in expansion of macro 'STRING_PTR_RO' memcpy(ustr3, STRING_PTR_RO(ustr2), ustr_n*sizeof(SEXP)); ^~~~~~~~~~~~~ data.table.h:19:23: warning: passing argument 2 of '__memcpy_ichk' makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ forder.c:335:19: note: in expansion of macro 'STRING_PTR_RO' memcpy(ustr3, STRING_PTR_RO(ustr2), ustr_n*sizeof(SEXP)); ^~~~~~~~~~~~~ /usr/include/ssp/string.h:82:1: note: expected 'const void * restrict' but argument is of type 'int' __ssp_bos_icheck3_restrict(memcpy, void *, const void *) ^ In file included from forder.c:1:0: data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ forder.c:354:22: note: in expansion of macro 'STRING_PTR_RO' const SEXP *tt = STRING_PTR_RO(ustr2); ^~~~~~~~~~~~~ forder.c: In function 'forder': data.table.h:19:23: warning: passing argument 1 of 'range_str' makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ forder.c:586:17: note: in expansion of macro 'STRING_PTR_RO' range_str(STRING_PTR_RO(x), nrow, &min, &max, &na_count, &anynotascii, &anynotutf8); ^~~~~~~~~~~~~ forder.c:281:13: note: expected 'struct SEXPREC * const*' but argument is of type 'int' static void range_str(const SEXP *x, int n, uint64_t *out_min, uint64_t *out_max, int *out_na_count, bool *out_anynotascii, bool *out_anynotutf8) ^~~~~~~~~ In file included from forder.c:1:0: data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ forder.c:735:24: note: in expansion of macro 'STRING_PTR_RO' const SEXP *xd = STRING_PTR_RO(x); ^~~~~~~~~~~~~ forder.c: In function 'issorted': data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ forder.c:1374:24: note: in expansion of macro 'STRING_PTR_RO' const SEXP *xd = STRING_PTR_RO(x); ^~~~~~~~~~~~~ forder.c:1417:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ptrs[j] = (const char *)STRING_PTR_RO(col); ^ forder.c: In function 'GetUseIndex': forder.c:1596:14: warning: implicit declaration of function 'GetOption'; did you mean 'GetOption1'? [-Wimplicit-function-declaration] SEXP opt = GetOption(install("datatable.use.index"), R_NilValue); ^~~~~~~~~ GetOption1 forder.c:1596:14: warning: initialization makes pointer from integer without a cast [-Wint-conversion] forder.c: In function 'GetAutoIndex': forder.c:1607:14: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SEXP opt = GetOption(install("datatable.forder.auto.index"), R_NilValue); ^~~~~~~~~ gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c frank.c -o frank.o In file included from frank.c:1:0: frank.c: In function 'dt_na': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ frank.c:37:24: note: in expansion of macro 'STRING_PTR_RO' const SEXP *sv = STRING_PTR_RO(v); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ frank.c:37:24: note: in expansion of macro 'STRING_PTR_RO' const SEXP *sv = STRING_PTR_RO(v); ^~~~~~~~~~~~~ frank.c: In function 'anyNA': data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ frank.c:212:24: note: in expansion of macro 'STRING_PTR_RO' const SEXP *sv = STRING_PTR_RO(v); ^~~~~~~~~~~~~ gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c fread.c -o fread.o gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c freadR.c -o freadR.o In file included from freadR.h:7:0, from fread.h:12, from freadR.c:1: freadR.c: In function 'freadR': freadR.c:132:23: warning: implicit declaration of function 'GetOption'; did you mean 'GetOption1'? [-Wimplicit-function-declaration] SEXP tt = PROTECT(GetOption(sym_old_fread_datetime_character, R_NilValue)); ^ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:31: note: in definition of macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ freadR.c:132:23: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] SEXP tt = PROTECT(GetOption(sym_old_fread_datetime_character, R_NilValue)); ^ /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:31: note: in definition of macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ In file included from freadR.h:7:0, from fread.h:12, from freadR.c:1: /tmp/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:6: note: expected 'SEXP {aka struct SEXPREC *}' but argument is of type 'int' SEXP Rf_protect(SEXP); ^~~~~~~~~~ freadR.c: In function 'allocateDT': freadR.c:516:7: warning: implicit declaration of function 'SET_TRUELENGTH'; did you mean 'SET_RAW_ELT'? [-Wimplicit-function-declaration] SET_TRUELENGTH(thiscol, allocNrow); ^~~~~~~~~~~~~~ SET_RAW_ELT freadR.c: In function 'setFinalNrow': freadR.c:533:7: warning: implicit declaration of function 'SETLENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] SETLENGTH(VECTOR_ELT(DT,i), nrow); ^~~~~~~~~ XLENGTH freadR.c:535:7: warning: implicit declaration of function 'SET_GROWABLE_BIT'; did you mean 'SET_REAL_ELT'? [-Wimplicit-function-declaration] SET_GROWABLE_BIT(VECTOR_ELT(DT,i)); // #3292 ^~~~~~~~~~~~~~~~ SET_REAL_ELT gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c froll.c -o froll.o gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c frollR.c -o frollR.o gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c frolladaptive.c -o frolladaptive.o gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c fsort.c -o fsort.o gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c fwrite.c -o fwrite.o gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c fwriteR.c -o fwriteR.o In file included from fwriteR.c:2:0: fwriteR.c: In function 'getString': data.table.h:39:22: warning: implicit declaration of function 'LEVELS' [-Wimplicit-function-declaration] #define IS_ASCII(x) (LEVELS(x) & 64) // API expected in R >= 4.5 ^ data.table.h:73:24: note: in expansion of macro 'IS_ASCII' #define NEED2UTF8(s) !(IS_ASCII(s) || (s)==NA_STRING || IS_UTF8(s)) ^~~~~~~~ fwriteR.c:10:29: note: in expansion of macro 'NEED2UTF8' #define TO_UTF8(s) (utf8 && NEED2UTF8(s)) ^~~~~~~~~ fwriteR.c:12:26: note: in expansion of macro 'TO_UTF8' #define ENCODED_CHAR(s) (TO_UTF8(s) ? translateCharUTF8(s) : (TO_NATIVE(s) ? translateChar(s) : CHAR(s))) ^~~~~~~ fwriteR.c:24:32: note: in expansion of macro 'ENCODED_CHAR' return x==NA_STRING ? NULL : ENCODED_CHAR(x); ^~~~~~~~~~~~ In file included from fwriteR.c:2:0: fwriteR.c: In function 'getMaxCategLen': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ fwriteR.c:47:27: note: in expansion of macro 'STRING_PTR_RO' return getMaxStringLen( STRING_PTR_RO(col), LENGTH(col) ); ^~~~~~~~~~~~~ data.table.h:19:23: warning: passing argument 1 of 'getMaxStringLen' makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ fwriteR.c:47:27: note: in expansion of macro 'STRING_PTR_RO' return getMaxStringLen( STRING_PTR_RO(col), LENGTH(col) ); ^~~~~~~~~~~~~ fwriteR.c:31:5: note: expected 'struct SEXPREC * const*' but argument is of type 'int' int getMaxStringLen(const SEXP *col, const int64_t n) { ^~~~~~~~~~~~~~~ gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -DNOZLIB -fpic -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -Dz_off_t=long -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -c gsumm.c -o gsumm.o In file included from gsumm.c:1:0: gsumm.c: In function 'gminmax': data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] #define STRING_PTR_RO STRING_PTR ^ gsumm.c:766:24: note: in expansion of macro 'STRING_PTR_RO' const SEXP *ansd = STRING_PTR_RO(ans); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ gsumm.c:766:24: note: in expansion of macro 'STRING_PTR_RO' const SEXP *ansd = STRING_PTR_RO(ans); ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define STRING_PTR_RO STRING_PTR ^ gsumm.c:767:22: note: in expansion of macro 'STRING_PTR_RO' const SEXP *xd = STRING_PTR_RO(x); ^~~~~~~~~~~~~ gsumm.c: In function 'gfirstlast': gsumm.c:935:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] const CTYPE *xd = (const CTYPE *)RTYPE(x); \ ^ gsumm.c:981:17: note: in expansion of macro 'DO' case STRSXP: DO(SEXP, STRING_PTR_RO, NA_STRING, SET_STRING_ELT(ans,ansi++,val)) break; ^~ gsumm.c: In function 'gshift': gsumm.c:1231:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] const CTYPE *xd = (const CTYPE *)RTYPE(x); \ ^ gsumm.c:1269:22: note: in expansion of macro 'SHIFT' case STRSXP: { SHIFT(SEXP, STRING_PTR_RO, SET_STRING_ELT(tmp,ansi++,val)); } break; ^~~~~ gsumm.c:1232:41: error: subscripted value is neither array nor pointer nor vector const CTYPE fill = RTYPE(thisfill)[0]; \ ^ gsumm.c:1269:22: note: in expansion of macro 'SHIFT' case STRSXP: { SHIFT(SEXP, STRING_PTR_RO, SET_STRING_ELT(tmp,ansi++,val)); } break; ^~~~~ *** Error code 1 Stop. make: stopped in /tmp/textproc/R-data.table/work/data.table/src ERROR: compilation failed for package 'data.table' * removing '/tmp/textproc/R-data.table/work/.destdir/usr/pkg/lib/R/library/data.table' *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/textproc/R-data.table *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/textproc/R-data.table