* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’ * installing *source* package ‘RJSONIO’ ... ** package ‘RJSONIO’ successfully unpacked and MD5 sums checked ** using staged installation Trying to find libjson.h header file checking for gcc... clang-18 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 clang-18 accepts -g... yes checking for clang-18 option to enable C11 features... none needed USE_LOCAL = "" Minor Version: 6 Using local libjson code. Copying files from src/libjson/Source /tmp/RtmpXW12JJ/R.INSTALL4f9250834492/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: ‘Debian clang version 18.1.4 (1)’ using C++ compiler: ‘Debian clang version 18.1.4 (1)’ make[1]: Entering directory '/tmp/RtmpXW12JJ/R.INSTALL4f9250834492/RJSONIO/src' clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ConvertUTF.c -o ConvertUTF.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c JSONAllocator.cpp -o JSONAllocator.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -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. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c JSONDebug.cpp -o JSONDebug.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -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. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c JSONMemory.cpp -o JSONMemory.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -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. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -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. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -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. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -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. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c JSONValidator.cpp -o JSONValidator.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -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. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -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. clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c JSON_parser.c -o JSON_parser.o JSON_parser.c:485:25: warning: unused variable 'ok' [-Wunused-variable] 485 | int ok = sscanf(jc->parse_buffer, "%lf", &tmp); | ^~ 1 warning generated. clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c RJSON.c -o RJSON.o clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c init.c -o init.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c internalJSONNode.cpp -o internalJSONNode.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. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c libjson.cpp -o libjson.o 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. clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rlibjson.c -o rlibjson.o clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/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 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -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. clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -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 -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR make[1]: Leaving directory '/tmp/RtmpXW12JJ/R.INSTALL4f9250834492/RJSONIO/src' make[1]: Entering directory '/tmp/RtmpXW12JJ/R.INSTALL4f9250834492/RJSONIO/src' make[1]: Leaving directory '/tmp/RtmpXW12JJ/R.INSTALL4f9250834492/RJSONIO/src' installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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)