* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘QuickJSR’ ...
** package ‘QuickJSR’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-16) 14.2.0’
using C++ compiler: ‘g++-14 (Debian 14.2.0-16) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfEy5jk/R.INSTALL16652627b89d7f/QuickJSR/src'
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -funsigned-char -std=gnu11 -c libquickjs.c
In file included from libquickjs.c:5:
quickjs/quickjs.c: In function ‘num_keys_cmp’:
quickjs/quickjs.c:7741:28: warning: variable ‘atom2_is_integer’ set but not used [-Wunused-but-set-variable]
 7741 |     bool atom1_is_integer, atom2_is_integer;
      |                            ^~~~~~~~~~~~~~~~
quickjs/quickjs.c:7741:10: warning: variable ‘atom1_is_integer’ set but not used [-Wunused-but-set-variable]
 7741 |     bool atom1_is_integer, atom2_is_integer;
      |          ^~~~~~~~~~~~~~~~
quickjs/quickjs.c: In function ‘reset_weak_ref’:
quickjs/quickjs.c:55587:17: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
55587 |     JSMapState *s;
      |                 ^
In file included from libquickjs.c:6:
quickjs/quickjs-libc.c: At top level:
quickjs/quickjs-libc.c:97:9: warning: "MAX_SAFE_INTEGER" redefined
   97 | #define MAX_SAFE_INTEGER (((int64_t) 1 << 53) - 1)
      |         ^~~~~~~~~~~~~~~~
quickjs/quickjs.c:11148:9: note: this is the location of the previous definition
11148 | #define MAX_SAFE_INTEGER (((int64_t)1 << 53) - 1)
      |         ^~~~~~~~~~~~~~~~
quickjs/quickjs-libc.c: In function ‘js_os_exec_once_init’:
quickjs/quickjs-libc.c:3048:26: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]
 3048 |     js_os_exec_closefrom = dlsym(RTLD_DEFAULT, "closefrom");
      |                          ^
ar -rs ../inst/lib//libquickjs.a libquickjs.o
ar: creating ../inst/lib//libquickjs.a
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c quickjsr.cpp -o quickjsr.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c init.cpp -o init.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o QuickJSR.so quickjsr.o init.o ../inst/lib//libquickjs.a -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfEy5jk/R.INSTALL16652627b89d7f/QuickJSR/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpfEy5jk/R.INSTALL16652627b89d7f/QuickJSR/src'
gcc-14 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -funsigned-char -std=gnu11 -c libquickjs.c
In file included from libquickjs.c:5:
quickjs/quickjs.c: In function ‘num_keys_cmp’:
quickjs/quickjs.c:7741:28: warning: variable ‘atom2_is_integer’ set but not used [-Wunused-but-set-variable]
 7741 |     bool atom1_is_integer, atom2_is_integer;
      |                            ^~~~~~~~~~~~~~~~
quickjs/quickjs.c:7741:10: warning: variable ‘atom1_is_integer’ set but not used [-Wunused-but-set-variable]
 7741 |     bool atom1_is_integer, atom2_is_integer;
      |          ^~~~~~~~~~~~~~~~
quickjs/quickjs.c: In function ‘reset_weak_ref’:
quickjs/quickjs.c:55587:17: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
55587 |     JSMapState *s;
      |                 ^
In file included from libquickjs.c:6:
quickjs/quickjs-libc.c: At top level:
quickjs/quickjs-libc.c:97:9: warning: "MAX_SAFE_INTEGER" redefined
   97 | #define MAX_SAFE_INTEGER (((int64_t) 1 << 53) - 1)
      |         ^~~~~~~~~~~~~~~~
quickjs/quickjs.c:11148:9: note: this is the location of the previous definition
11148 | #define MAX_SAFE_INTEGER (((int64_t)1 << 53) - 1)
      |         ^~~~~~~~~~~~~~~~
quickjs/quickjs-libc.c: In function ‘js_os_exec_once_init’:
quickjs/quickjs-libc.c:3048:26: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]
 3048 |     js_os_exec_closefrom = dlsym(RTLD_DEFAULT, "closefrom");
      |                          ^
ar -rs ../inst/lib//libquickjs.a libquickjs.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c quickjsr.cpp -o quickjsr.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I"../inst/include/" -I"../inst/include/quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c init.cpp -o init.o
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpfEy5jk/R.INSTALL16652627b89d7f/QuickJSR/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-QuickJSR/00new/QuickJSR/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘QuickJSR’
    finding HTML links ... done
    JSContext-method-assign                 html  
    JSContext-method-call                   html  
    JSContext-method-get                    html  
    JSContext-method-source                 html  
    JSContext-method-validate               html  
    JSContext                               html  
    QuickJSR-package                        html  
    cxxflags                                html  
    from_json                               html  
    ldflags                                 html  
    qjs_eval                                html  
    quickjs_version                         html  
    to_json                                 html  
** building package indices
** installing vignettes
** 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 (QuickJSR)