+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-data.table-1.16.4/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-data.table-1.16.4/work.log ===> 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 -std=gnu2x 13.4.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 (GCC) 13.4.0' gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/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] 11 | tl = TRUELENGTH(p); | ^~~~~~~~~~ | XLENGTH assign.c:21:3: warning: implicit declaration of function 'SETLENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] 21 | 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' [-Wimplicit-function-declaration] 129 | SET_TRUELENGTH(names, LENGTH(names)); | ^~~~~~~~~~~~~~ assign.c: In function 'assign': assign.c:604:9: warning: implicit declaration of function 'ATTRIB' [-Wimplicit-function-declaration] 604 | s = ATTRIB(index); | ^~~~~~ assign.c:604:7: warning: assignment to 'SEXP' {aka 'struct SEXPREC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 604 | s = ATTRIB(index); | ^ assign.c:613:7: warning: assignment to 'SEXP' {aka 'struct SEXPREC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 613 | s = ATTRIB(index); // reset to first element | ^ In file included from assign.c:1: 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ assign.c:806:35: note: in expansion of macro 'STRING_PTR_RO' 806 | const SEXP *targetLevelsD=STRING_PTR_RO(targetLevels), *sourceLevelsD=STRING_PTR_RO(sourceLevels); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ assign.c:806:35: note: in expansion of macro 'STRING_PTR_RO' 806 | const SEXP *targetLevelsD=STRING_PTR_RO(targetLevels), *sourceLevelsD=STRING_PTR_RO(sourceLevels); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ assign.c:806:79: note: in expansion of macro 'STRING_PTR_RO' 806 | const SEXP *targetLevelsD=STRING_PTR_RO(targetLevels), *sourceLevelsD=STRING_PTR_RO(sourceLevels); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ assign.c:842:33: note: in expansion of macro 'STRING_PTR_RO' 842 | const SEXP *sourceD = STRING_PTR_RO(source); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ assign.c:1110:24: note: in expansion of macro 'STRING_PTR_RO' 1110 | const SEXP *ld = STRING_PTR_RO(PROTECT(getAttrib(source, R_LevelsSymbol))); protecti++; | ^~~~~~~~~~~~~ assign.c:1124:13: warning: implicit declaration of function 'OBJECT' [-Wimplicit-function-declaration] 1124 | if (OBJECT(source) && getAttrib(source, R_ClassSymbol)!=R_NilValue) { | ^~~~~~ assign.c:964:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 964 | const STYPE *sd = (const STYPE *)RFUN(source); \ | ^ assign.c:1132:7: note: in expansion of macro 'BODY' 1132 | 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] 964 | const STYPE *sd = (const STYPE *)RFUN(source); \ | ^ assign.c:1152:21: note: in expansion of macro 'BODY' 1152 | 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 -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c between.c -o between.o In file included from between.c:1: 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ between.c:163:22: note: in expansion of macro 'STRING_PTR_RO' 163 | const SEXP *lp = STRING_PTR_RO(lower); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ between.c:163:22: note: in expansion of macro 'STRING_PTR_RO' 163 | const SEXP *lp = STRING_PTR_RO(lower); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ between.c:164:22: note: in expansion of macro 'STRING_PTR_RO' 164 | const SEXP *up = STRING_PTR_RO(upper); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ between.c:165:22: note: in expansion of macro 'STRING_PTR_RO' 165 | const SEXP *xp = STRING_PTR_RO(x); | ^~~~~~~~~~~~~ In file included from data.table.h:16: data.table.h:39:22: warning: implicit declaration of function 'LEVELS' [-Wimplicit-function-declaration] 39 | #define IS_ASCII(x) (LEVELS(x) & 64) // API expected in R >= 4.5 | ^~~~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:203:24: note: in definition of macro 'CHAR' 203 | #define CHAR(x) R_CHAR(x) | ^ data.table.h:73:24: note: in expansion of macro 'IS_ASCII' 73 | #define NEED2UTF8(s) !(IS_ASCII(s) || (s)==NA_STRING || IS_UTF8(s)) | ^~~~~~~~ data.table.h:74:23: note: in expansion of macro 'NEED2UTF8' 74 | #define ENC2UTF8(s) (!NEED2UTF8(s) ? (s) : mkCharCE(translateCharUTF8(s), CE_UTF8)) | ^~~~~~~~~ between.c:171:63: note: in expansion of macro 'ENC2UTF8' 171 | if (l!=NA_STRING && u!=NA_STRING && l!=u && strcmp(CHAR(ENC2UTF8(l)), CHAR(ENC2UTF8(u)))>0) | ^~~~~~~~ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c bmerge.c -o bmerge.o In file included from bmerge.c:1: 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ bmerge.c:349:23: note: in expansion of macro 'STRING_PTR_RO' 349 | const SEXP *icv = STRING_PTR_RO(ic); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ bmerge.c:349:23: note: in expansion of macro 'STRING_PTR_RO' 349 | const SEXP *icv = STRING_PTR_RO(ic); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ bmerge.c:350:23: note: in expansion of macro 'STRING_PTR_RO' 350 | const SEXP *xcv = STRING_PTR_RO(xc); | ^~~~~~~~~~~~~ data.table.h:39:22: warning: implicit declaration of function 'LEVELS' [-Wimplicit-function-declaration] 39 | #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' 73 | #define NEED2UTF8(s) !(IS_ASCII(s) || (s)==NA_STRING || IS_UTF8(s)) | ^~~~~~~~ data.table.h:74:23: note: in expansion of macro 'NEED2UTF8' 74 | #define ENC2UTF8(s) (!NEED2UTF8(s) ? (s) : mkCharCE(translateCharUTF8(s), CE_UTF8)) | ^~~~~~~~~ bmerge.c:351:23: note: in expansion of macro 'ENC2UTF8' 351 | const SEXP ival = ENC2UTF8(icv[ir]); | ^~~~~~~~ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c chmatch.c -o chmatch.o In file included from chmatch.c:1: 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ chmatch.c:43:10: note: in expansion of macro 'STRING_PTR_RO' 43 | xd = STRING_PTR_RO(PROTECT(coerceUtf8IfNeeded(x))); nprotect++; | ^~~~~~~~~~~~~ chmatch.c:43:8: warning: assignment to 'struct SEXPREC **' from 'int' makes pointer from integer without a cast [-Wint-conversion] 43 | xd = STRING_PTR_RO(PROTECT(coerceUtf8IfNeeded(x))); nprotect++; | ^ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ chmatch.c:45:20: note: in expansion of macro 'STRING_PTR_RO' 45 | 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] 61 | const int tl = TRUELENGTH(s); | ^~~~~~~~~~ | XLENGTH chmatch.c:64:7: warning: implicit declaration of function 'SET_TRUELENGTH' [-Wimplicit-function-declaration] 64 | SET_TRUELENGTH(s,0); | ^~~~~~~~~~~~~~ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c cj.c -o cj.o In file included from cj.c:1: 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ cj.c:65:29: note: in expansion of macro 'STRING_PTR_RO' 65 | const SEXP *sourceP = STRING_PTR_RO(source); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ cj.c:65:29: note: in expansion of macro 'STRING_PTR_RO' 65 | const SEXP *sourceP = STRING_PTR_RO(source); | ^~~~~~~~~~~~~ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c coalesce.c -o coalesce.o In file included from coalesce.c:1: 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ coalesce.c:144:22: note: in expansion of macro 'STRING_PTR_RO' 144 | const SEXP *xP = STRING_PTR_RO(first); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ coalesce.c:144:22: note: in expansion of macro 'STRING_PTR_RO' 144 | const SEXP *xP = STRING_PTR_RO(first); | ^~~~~~~~~~~~~ coalesce.c:155:17: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 155 | valP[k++] = STRING_PTR_RO(item); | ^ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/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] 49 | return ALTREP(x) || TRUELENGTH(x)<0; | ^~~~~~~~~~ | XLENGTH dogroups.c:57:21: warning: implicit declaration of function 'ATTRIB' [-Wimplicit-function-declaration] 57 | for(attribs = ATTRIB(list_el); attribs != R_NilValue; attribs = CDR(attribs)) { | ^~~~~~ dogroups.c:57:19: warning: assignment to 'SEXP' {aka 'struct SEXPREC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 57 | for(attribs = ATTRIB(list_el); attribs != R_NilValue; attribs = CDR(attribs)) { | ^ In file included from data.table.h:16, from dogroups.c:1: dogroups.c: In function 'dogroups': /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:33: warning: implicit declaration of function 'Rf_findVar'; did you mean 'Rf_findFun'? [-Wimplicit-function-declaration] 918 | #define findVar Rf_findVar | ^~~~~~~~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:36: note: in definition of macro 'PROTECT' 357 | #define PROTECT(s) Rf_protect(s) | ^ dogroups.c:90:24: note: in expansion of macro 'findVar' 90 | SEXP SDall = PROTECT(findVar(install(".SDall"), env)); nprotect++; // PROTECT for rchk | ^~~~~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:33: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] 918 | #define findVar Rf_findVar /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:36: note: in definition of macro 'PROTECT' 357 | #define PROTECT(s) Rf_protect(s) | ^ dogroups.c:90:24: note: in expansion of macro 'findVar' 90 | SEXP SDall = PROTECT(findVar(install(".SDall"), env)); nprotect++; // PROTECT for rchk | ^~~~~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:17: note: expected 'SEXP' {aka 'struct SEXPREC *'} but argument is of type 'int' 1117 | SEXP Rf_protect(SEXP); | ^~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:33: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] 918 | #define findVar Rf_findVar /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:36: note: in definition of macro 'PROTECT' 357 | #define PROTECT(s) Rf_protect(s) | ^ dogroups.c:91:21: note: in expansion of macro 'findVar' 91 | SEXP SD = PROTECT(findVar(install(".SD"), env)); nprotect++; | ^~~~~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:17: note: expected 'SEXP' {aka 'struct SEXPREC *'} but argument is of type 'int' 1117 | SEXP Rf_protect(SEXP); | ^~~~ dogroups.c:105:5: warning: implicit declaration of function 'SET_TRUELENGTH'; did you mean 'SET_LENGTH'? [-Wimplicit-function-declaration] 105 | SET_TRUELENGTH(VECTOR_ELT(BY,i), -1); // marker for anySpecialStatic(); see its comments | ^~~~~~~~~~~~~~ | SET_LENGTH /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:33: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] 918 | #define findVar Rf_findVar /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:36: note: in definition of macro 'PROTECT' 357 | #define PROTECT(s) Rf_protect(s) | ^ dogroups.c:112:17: note: in expansion of macro 'findVar' 112 | N = PROTECT(findVar(install(".N"), env)); nprotect++; // PROTECT for rchk | ^~~~~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:17: note: expected 'SEXP' {aka 'struct SEXPREC *'} but argument is of type 'int' 1117 | SEXP Rf_protect(SEXP); | ^~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:33: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] 918 | #define findVar Rf_findVar /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:36: note: in definition of macro 'PROTECT' 357 | #define PROTECT(s) Rf_protect(s) | ^ dogroups.c:114:17: note: in expansion of macro 'findVar' 114 | GRP = PROTECT(findVar(install(".GRP"), env)); nprotect++; | ^~~~~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:17: note: expected 'SEXP' {aka 'struct SEXPREC *'} but argument is of type 'int' 1117 | SEXP Rf_protect(SEXP); | ^~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:33: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] 918 | #define findVar Rf_findVar /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:36: note: in definition of macro 'PROTECT' 357 | #define PROTECT(s) Rf_protect(s) | ^ dogroups.c:116:17: note: in expansion of macro 'findVar' 116 | iSD = PROTECT(findVar(install(".iSD"), env)); nprotect++; // 1-row and possibly no cols (if no i variables are used via JIS) | ^~~~~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:17: note: expected 'SEXP' {aka 'struct SEXPREC *'} but argument is of type 'int' 1117 | SEXP Rf_protect(SEXP); | ^~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:918:33: warning: passing argument 1 of 'Rf_protect' makes pointer from integer without a cast [-Wint-conversion] 918 | #define findVar Rf_findVar /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:36: note: in definition of macro 'PROTECT' 357 | #define PROTECT(s) Rf_protect(s) | ^ dogroups.c:117:17: note: in expansion of macro 'findVar' 117 | xSD = PROTECT(findVar(install(".xSD"), env)); nprotect++; | ^~~~~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:17: note: expected 'SEXP' {aka 'struct SEXPREC *'} but argument is of type 'int' 1117 | SEXP Rf_protect(SEXP); | ^~~~ dogroups.c:130:10: warning: assignment to 'SEXP' {aka 'struct SEXPREC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 130 | 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] 194 | 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] 282 | 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] 501 | 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] 504 | SET_OBJECT(to, OBJECT(from)); | ^~~~~~~~~~ | NEW_OBJECT dogroups.c:504:20: warning: implicit declaration of function 'OBJECT' [-Wimplicit-function-declaration] 504 | SET_OBJECT(to, OBJECT(from)); | ^~~~~~ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c fastmean.c -o fastmean.o gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c fcast.c -o fcast.o gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c fifelse.c -o fifelse.o In file included from fifelse.c:1: 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ fifelse.c:149:45: note: in expansion of macro 'STRING_PTR_RO' 149 | const SEXP *restrict pa = na_a ? NULL : STRING_PTR_RO(a); | ^~~~~~~~~~~~~ fifelse.c:149:43: warning: pointer/integer type mismatch in conditional expression 149 | const SEXP *restrict pa = na_a ? NULL : STRING_PTR_RO(a); | ^ fifelse.c:150:43: warning: pointer/integer type mismatch in conditional expression 150 | const SEXP *restrict pb = na_b ? NULL : STRING_PTR_RO(b); | ^ fifelse.c:151:44: warning: pointer/integer type mismatch in conditional expression 151 | const SEXP *restrict pna = na_n ? NULL : STRING_PTR_RO(na); | ^ fifelse.c: In function 'fcaseR': fifelse.c:372:26: warning: assignment to 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 372 | if (!naout) pthens = STRING_PTR_RO(thens); // the content is not useful if out is NA_LOGICAL scalar | ^ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c fmelt.c -o fmelt.o In file included from fmelt.c:1: 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ fmelt.c:405:25: note: in expansion of macro 'STRING_PTR_RO' 405 | const SEXP *targetd = STRING_PTR_RO(target); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ fmelt.c:405:25: note: in expansion of macro 'STRING_PTR_RO' 405 | const SEXP *targetd = STRING_PTR_RO(target); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ fmelt.c:411:25: note: in expansion of macro 'STRING_PTR_RO' 411 | const SEXP *thisd = STRING_PTR_RO(this); | ^~~~~~~~~~~~~ fmelt.c:416:16: warning: implicit declaration of function 'TRUELENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] 416 | int tl = TRUELENGTH(s); | ^~~~~~~~~~ | XLENGTH fmelt.c:419:7: warning: implicit declaration of function 'SET_TRUELENGTH'; did you mean 'SET_LENGTH'? [-Wimplicit-function-declaration] 419 | SET_TRUELENGTH(s,-(++nlevel)); | ^~~~~~~~~~~~~~ | SET_LENGTH fmelt.c: In function 'getidcols': data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ fmelt.c:751:25: note: in expansion of macro 'STRING_PTR_RO' 751 | const SEXP *s = STRING_PTR_RO(thiscol); // to reduce overhead of STRING_ELT() inside loop below. Read-only hence const. | ^~~~~~~~~~~~~ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/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' [-Wimplicit-function-declaration] 74 | SET_TRUELENGTH(ustr[i],0); | ^~~~~~~~~~~~~~ forder.c: In function 'range_str': forder.c:297:9: warning: implicit declaration of function 'TRUELENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] 297 | if (TRUELENGTH(s)<0) continue; // seen this group before | ^~~~~~~~~~ | XLENGTH In file included from forder.c:1: data.table.h:39:22: warning: implicit declaration of function 'LEVELS' [-Wimplicit-function-declaration] 39 | #define IS_ASCII(x) (LEVELS(x) & 64) // API expected in R >= 4.5 | ^~~~~~ forder.c:313:14: note: in expansion of macro 'IS_ASCII' 313 | !IS_ASCII(s)) { // anynotutf8 implies anynotascii and IS_ASCII will be cheaper than IS_UTF8, so start with this one | ^~~~~~~~ data.table.h:19:23: warning: implicit declaration of function 'STRING_PTR'; did you mean 'STRING_ELT'? [-Wimplicit-function-declaration] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ forder.c:335:19: note: in expansion of macro 'STRING_PTR_RO' 335 | memcpy(ustr3, STRING_PTR_RO(ustr2), ustr_n*sizeof(SEXP)); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR forder.c:335:19: note: in expansion of macro 'STRING_PTR_RO' 335 | memcpy(ustr3, STRING_PTR_RO(ustr2), ustr_n*sizeof(SEXP)); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:34, from /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/R_ext/RS.h:34, from /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/R.h:78, from data.table.h:3: /usr/include/iso/string_iso.h:70:43: note: expected 'const void * restrict' but argument is of type 'int' 70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t); | ^ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ forder.c:354:22: note: in expansion of macro 'STRING_PTR_RO' 354 | 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] 19 | #define STRING_PTR_RO STRING_PTR forder.c:586:17: note: in expansion of macro 'STRING_PTR_RO' 586 | range_str(STRING_PTR_RO(x), nrow, &min, &max, &na_count, &anynotascii, &anynotutf8); | ^~~~~~~~~~~~~ forder.c:281:35: note: expected 'struct SEXPREC * const*' but argument is of type 'int' 281 | 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) | ~~~~~~~~~~~~^ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ forder.c:735:24: note: in expansion of macro 'STRING_PTR_RO' 735 | const SEXP *xd = STRING_PTR_RO(x); | ^~~~~~~~~~~~~ forder.c: In function 'issorted': data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ forder.c:1374:24: note: in expansion of macro 'STRING_PTR_RO' 1374 | const SEXP *xd = STRING_PTR_RO(x); | ^~~~~~~~~~~~~ forder.c:1417:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1417 | 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] 1596 | SEXP opt = GetOption(install("datatable.use.index"), R_NilValue); | ^~~~~~~~~ | GetOption1 forder.c:1596:14: warning: initialization of 'SEXP' {aka 'struct SEXPREC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] forder.c: In function 'GetAutoIndex': forder.c:1607:14: warning: initialization of 'SEXP' {aka 'struct SEXPREC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1607 | SEXP opt = GetOption(install("datatable.forder.auto.index"), R_NilValue); | ^~~~~~~~~ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c frank.c -o frank.o In file included from frank.c:1: 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ frank.c:37:24: note: in expansion of macro 'STRING_PTR_RO' 37 | const SEXP *sv = STRING_PTR_RO(v); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ frank.c:37:24: note: in expansion of macro 'STRING_PTR_RO' 37 | const SEXP *sv = STRING_PTR_RO(v); | ^~~~~~~~~~~~~ frank.c: In function 'anyNA': data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ frank.c:212:24: note: in expansion of macro 'STRING_PTR_RO' 212 | const SEXP *sv = STRING_PTR_RO(v); | ^~~~~~~~~~~~~ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c fread.c -o fread.o gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c freadR.c -o freadR.o In file included from freadR.h:7, 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] 132 | SEXP tt = PROTECT(GetOption(sym_old_fread_datetime_character, R_NilValue)); | ^~~~~~~~~ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:36: note: in definition of macro 'PROTECT' 357 | #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] 132 | SEXP tt = PROTECT(GetOption(sym_old_fread_datetime_character, R_NilValue)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:357:36: note: in definition of macro 'PROTECT' 357 | #define PROTECT(s) Rf_protect(s) | ^ /home/pbulk/build/textproc/R-data.table/work/.buildlink/lib/R/include/Rinternals.h:1117:17: note: expected 'SEXP' {aka 'struct SEXPREC *'} but argument is of type 'int' 1117 | SEXP Rf_protect(SEXP); | ^~~~ freadR.c: In function 'allocateDT': freadR.c:516:7: warning: implicit declaration of function 'SET_TRUELENGTH' [-Wimplicit-function-declaration] 516 | SET_TRUELENGTH(thiscol, allocNrow); | ^~~~~~~~~~~~~~ freadR.c: In function 'setFinalNrow': freadR.c:533:7: warning: implicit declaration of function 'SETLENGTH'; did you mean 'XLENGTH'? [-Wimplicit-function-declaration] 533 | SETLENGTH(VECTOR_ELT(DT,i), nrow); | ^~~~~~~~~ | XLENGTH freadR.c:535:7: warning: implicit declaration of function 'SET_GROWABLE_BIT' [-Wimplicit-function-declaration] 535 | SET_GROWABLE_BIT(VECTOR_ELT(DT,i)); // #3292 | ^~~~~~~~~~~~~~~~ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c froll.c -o froll.o gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c frollR.c -o frollR.o gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c frolladaptive.c -o frolladaptive.o gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c fsort.c -o fsort.o gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c fwrite.c -o fwrite.o gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c fwriteR.c -o fwriteR.o In file included from fwriteR.c:2: fwriteR.c: In function 'getString': data.table.h:39:22: warning: implicit declaration of function 'LEVELS' [-Wimplicit-function-declaration] 39 | #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' 73 | #define NEED2UTF8(s) !(IS_ASCII(s) || (s)==NA_STRING || IS_UTF8(s)) | ^~~~~~~~ fwriteR.c:10:29: note: in expansion of macro 'NEED2UTF8' 10 | #define TO_UTF8(s) (utf8 && NEED2UTF8(s)) | ^~~~~~~~~ fwriteR.c:12:26: note: in expansion of macro 'TO_UTF8' 12 | #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' 24 | return x==NA_STRING ? NULL : ENCODED_CHAR(x); | ^~~~~~~~~~~~ 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ fwriteR.c:47:27: note: in expansion of macro 'STRING_PTR_RO' 47 | 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] 19 | #define STRING_PTR_RO STRING_PTR fwriteR.c:47:27: note: in expansion of macro 'STRING_PTR_RO' 47 | return getMaxStringLen( STRING_PTR_RO(col), LENGTH(col) ); | ^~~~~~~~~~~~~ fwriteR.c:31:33: note: expected 'struct SEXPREC * const*' but argument is of type 'int' 31 | int getMaxStringLen(const SEXP *col, const int64_t n) { | ~~~~~~~~~~~~^~~ gcc -std=gnu2x -I"/opt/local/lib/R/include" -DNDEBUG -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -DNOZLIB -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/opt/local/include/libxml2 -c gsumm.c -o gsumm.o In file included from gsumm.c:1: 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] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ gsumm.c:766:24: note: in expansion of macro 'STRING_PTR_RO' 766 | const SEXP *ansd = STRING_PTR_RO(ans); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ gsumm.c:766:24: note: in expansion of macro 'STRING_PTR_RO' 766 | const SEXP *ansd = STRING_PTR_RO(ans); | ^~~~~~~~~~~~~ data.table.h:19:23: warning: initialization of 'struct SEXPREC * const*' from 'int' makes pointer from integer without a cast [-Wint-conversion] 19 | #define STRING_PTR_RO STRING_PTR | ^~~~~~~~~~ gsumm.c:767:22: note: in expansion of macro 'STRING_PTR_RO' 767 | 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] 935 | const CTYPE *xd = (const CTYPE *)RTYPE(x); \ | ^ gsumm.c:981:17: note: in expansion of macro 'DO' 981 | 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] 1231 | const CTYPE *xd = (const CTYPE *)RTYPE(x); \ | ^ gsumm.c:1269:22: note: in expansion of macro 'SHIFT' 1269 | 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 1232 | const CTYPE fill = RTYPE(thisfill)[0]; \ | ^ gsumm.c:1269:22: note: in expansion of macro 'SHIFT' 1269 | case STRSXP: { SHIFT(SEXP, STRING_PTR_RO, SET_STRING_ELT(tmp,ansi++,val)); } break; | ^~~~~ *** Error code 1 Stop. make: stopped making "all" in /home/pbulk/build/textproc/R-data.table/work/data.table/src ERROR: compilation failed for package 'data.table' * removing '/home/pbulk/build/textproc/R-data.table/work/.destdir/opt/local/lib/R/library/data.table' *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/R-data.table *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/textproc/R-data.table