* installing *source* package ‘RApiSerialize’ ... ** package ‘RApiSerialize’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (GCC) 13.2.0’ using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/RApiSerialize/src' gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c init.c -o init.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c serialize.cpp -o serialize.o serialize.cpp: In function 'void resize_buffer(membuf_t, R_xlen_t)': serialize.cpp:89:9: error: 'error' was not declared in this scope; did you mean 'perror'? 89 | error("serialization is too large to store in a raw vector"); | ^~~~~ | perror serialize.cpp:106:9: error: 'error' was not declared in this scope; did you mean 'perror'? 106 | error("cannot allocate buffer"); | ^~~~~ | perror serialize.cpp: In function 'int InCharMem(R_inpstream_t)': serialize.cpp:137:9: error: 'error' was not declared in this scope; did you mean 'perror'? 137 | error("read error"); | ^~~~~ | perror serialize.cpp: In function 'void InBytesMem(R_inpstream_t, void*, int)': serialize.cpp:145:9: error: 'error' was not declared in this scope; did you mean 'perror'? 145 | error("read error"); | ^~~~~ | perror In file included from serialize.cpp:68: serialize.cpp: In function 'SEXPREC* CloseMemOutPStream(R_outpstream_t)': serialize.cpp:191:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 191 | PROTECT(val = allocVector(RAWSXP, mb->count)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ serialize.cpp: In function 'SEXPREC* unserializeFromRaw(SEXP)': serialize.cpp:247:5: error: 'error' was not declared in this scope; did you mean 'perror'? 247 | error("can't unserialize object"); | ^~~~~ | perror make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: serialize.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/RApiSerialize/src' ERROR: compilation failed for package ‘RApiSerialize’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/RApiSerialize-lib/RApiSerialize’ Command exited with non-zero status 1 Time 0:01.07, 0.65 + 0.21