* installing *source* package ‘RJSONIO’ ...
** this is package ‘RJSONIO’ version ‘2.0.0’
** package ‘RJSONIO’ successfully unpacked and MD5 sums checked
** using staged installation
Trying to find libjson.h header file
checking for gcc... /usr/local/clang21/bin/clang -std=gnu23
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /usr/local/clang21/bin/clang -std=gnu23 accepts -g... yes
checking for /usr/local/clang21/bin/clang -std=gnu23 option to enable C11 features... -std=gnu11
USE_LOCAL = ""
Minor Version: 6
Using local libjson code. Copying files from src/libjson/Source
/data/gannet/ripley/R/packages/tests-clang/RJSONIO
JSONAllocator.cpp
JSONChildren.cpp
JSONDebug.cpp
JSONIterators.cpp
JSONMemory.cpp
JSONNode.cpp
JSONNode_Mutex.cpp
JSONPreparse.cpp
JSONStream.cpp
JSONValidator.cpp
JSONWorker.cpp
JSONWriter.cpp
internalJSONNode.cpp
libjson.cpp
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating tools/cleanup
** libs
using C compiler: ‘clang version 21.1.5’
using C++ compiler: ‘clang version 21.1.5’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RJSONIO/src'
/usr/local/clang21/bin/clang -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c ConvertUTF.c -o ConvertUTF.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONAllocator.cpp -o JSONAllocator.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONChildren.cpp -o JSONChildren.o
In file included from JSONChildren.cpp:2:
In file included from libjson/Source/JSONNode.h:5:
In file included from libjson/Source/internalJSONNode.h:11:
libjson/Source/JSONSharedString.h:87:31: warning: private field 'parent' is not used [-Wunused-private-field]
87 | const json_shared_string * parent;
| ^
1 warning generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONDebug.cpp -o JSONDebug.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONIterators.cpp -o JSONIterators.o
In file included from JSONIterators.cpp:1:
In file included from libjson/Source/JSONNode.h:5:
In file included from libjson/Source/internalJSONNode.h:11:
libjson/Source/JSONSharedString.h:87:31: warning: private field 'parent' is not used [-Wunused-private-field]
87 | const json_shared_string * parent;
| ^
1 warning generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONMemory.cpp -o JSONMemory.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONNode.cpp -o JSONNode.o
In file included from JSONNode.cpp:1:
In file included from libjson/Source/JSONNode.h:5:
In file included from libjson/Source/internalJSONNode.h:11:
libjson/Source/JSONSharedString.h:87:31: warning: private field 'parent' is not used [-Wunused-private-field]
87 | const json_shared_string * parent;
| ^
1 warning generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONNode_Mutex.cpp -o JSONNode_Mutex.o
In file included from JSONNode_Mutex.cpp:1:
In file included from libjson/Source/JSONNode.h:5:
In file included from libjson/Source/internalJSONNode.h:11:
libjson/Source/JSONSharedString.h:87:31: warning: private field 'parent' is not used [-Wunused-private-field]
87 | const json_shared_string * parent;
| ^
1 warning generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONPreparse.cpp -o JSONPreparse.o
In file included from JSONPreparse.cpp:10:
In file included from libjson/Source/JSONPreparse.h:5:
In file included from libjson/Source/JSONNode.h:5:
In file included from libjson/Source/internalJSONNode.h:11:
libjson/Source/JSONSharedString.h:87:31: warning: private field 'parent' is not used [-Wunused-private-field]
87 | const json_shared_string * parent;
| ^
1 warning generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONStream.cpp -o JSONStream.o
In file included from JSONStream.cpp:4:
In file included from libjson/Source/JSONWorker.h:4:
In file included from libjson/Source/JSONNode.h:5:
In file included from libjson/Source/internalJSONNode.h:11:
libjson/Source/JSONSharedString.h:87:31: warning: private field 'parent' is not used [-Wunused-private-field]
87 | const json_shared_string * parent;
| ^
1 warning generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONValidator.cpp -o JSONValidator.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONWorker.cpp -o JSONWorker.o
In file included from JSONWorker.cpp:1:
In file included from libjson/Source/JSONWorker.h:4:
In file included from libjson/Source/JSONNode.h:5:
In file included from libjson/Source/internalJSONNode.h:11:
libjson/Source/JSONSharedString.h:87:31: warning: private field 'parent' is not used [-Wunused-private-field]
87 | const json_shared_string * parent;
| ^
1 warning generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c JSONWriter.cpp -o JSONWriter.o
In file included from JSONWriter.cpp:1:
In file included from libjson/Source/JSONNode.h:5:
In file included from libjson/Source/internalJSONNode.h:11:
libjson/Source/JSONSharedString.h:87:31: warning: private field 'parent' is not used [-Wunused-private-field]
87 | const json_shared_string * parent;
| ^
1 warning generated.
/usr/local/clang21/bin/clang -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c JSON_parser.c -o JSON_parser.o
JSON_parser.c:487:25: warning: unused variable 'ok' [-Wunused-variable]
487 | int ok = sscanf(jc->parse_buffer, "%lf", &tmp);
| ^~
1 warning generated.
/usr/local/clang21/bin/clang -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c RJSON.c -o RJSON.o
/usr/local/clang21/bin/clang -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c init.c -o init.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c internalJSONNode.cpp -o internalJSONNode.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c libjson.cpp -o libjson.o
/usr/local/clang21/bin/clang -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c rlibjson.c -o rlibjson.o
In file included from internalJSONNode.cpp:1:
In file included from libjson/Source/internalJSONNode.h:11:
libjson/Source/JSONSharedString.h:87:31: warning: private field 'parent' is not used [-Wunused-private-field]
87 | const json_shared_string * parent;
| ^
1 warning generated.
In file included from libjson.cpp:11:
In file included from libjson/Source/JSONNode.h:5:
In file included from libjson/Source/internalJSONNode.h:11:
libjson/Source/JSONSharedString.h:87:31: warning: private field 'parent' is not used [-Wunused-private-field]
87 | const json_shared_string * parent;
| ^
1 warning generated.
/usr/local/clang21/bin/clang -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -Ilibjson -Ilibjson/Source -DNEW_JSON_NEW_STREAM -DNDEBUG=1 -DJSON_VALIDATE -DJSON_STREAM=1 -DJSON_READ_PRIORITY=1 -DJSON_LIBRARY=1 -DJSON_ISO_STRICT -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c rparser.c -o rparser.o
rparser.c:152:18: warning: assigning to 'ParserCallback' (aka 'void (*)(void *, void *)') from 'void *' converts between void pointer and function pointer [-Wpedantic]
152 | callback = R_ExternalPtrAddr(cbCall);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -o RJSONIO.so ConvertUTF.o JSONAllocator.o JSONChildren.o JSONDebug.o JSONIterators.o JSONMemory.o JSONNode.o JSONNode_Mutex.o JSONPreparse.o JSONStream.o JSONValidator.o JSONWorker.o JSONWriter.o JSON_parser.o RJSON.o init.o internalJSONNode.o libjson.o rlibjson.o rparser.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RJSONIO/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RJSONIO/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RJSONIO/src'
installing to /data/gannet/ripley/R/packages/tests-clang/RJSONIO.Rcheck/00LOCK-RJSONIO/00new/RJSONIO/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (RJSONIO)