* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘epanet2toolkit’ ...
** this is package ‘epanet2toolkit’ version ‘1.0.8’
** package ‘epanet2toolkit’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-16 (Debian 16-20260425-1) 16.0.1 20260425 (prerelease) [gcc-16 r16-8812-gd9c07462a22]’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpQKLs2N/R.INSTALLe69dc3fe074e9/epanet2toolkit/src'
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c Repanet2.c -o Repanet2.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c cstr_helper.c -o cstr_helper.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c epanet.c -o epanet.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c epanet2.c -o epanet2.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c errormanager.c -o errormanager.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c filemanager.c -o filemanager.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c genmmd.c -o genmmd.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c hash.c -o hash.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c hydcoeffs.c -o hydcoeffs.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c hydraul.c -o hydraul.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c hydsolver.c -o hydsolver.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c hydstatus.c -o hydstatus.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c init.c -o init.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c inpfile.c -o inpfile.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c input1.c -o input1.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c input2.c -o input2.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c input3.c -o input3.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c mempool.c -o mempool.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c output.c -o output.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c project.c -o project.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c quality.c -o quality.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c qualreact.c -o qualreact.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c qualroute.c -o qualroute.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c report.c -o report.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c rules.c -o rules.o
rules.c: In function ‘writerule’:
rules.c:1371:62: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
 1371 |         int ret = snprintf(timetxt, timetxtlen, "%d:%02d:%02d", hours, minutes, seconds);
      |                                                              ^
In file included from /usr/include/stdio.h:970,
                 from rules.c:15:
In function ‘snprintf’,
    inlined from ‘gettimetxt’ at rules.c:1371:19,
    inlined from ‘writepremise’ at rules.c:1288:13,
    inlined from ‘writerule’ at rules.c:487:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 8 and 30 bytes into a destination of size 20
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c smatrix.c -o smatrix.o
gcc-16 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c toolkit.c -o toolkit.o
gcc-16 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o epanet2toolkit.so Repanet2.o cstr_helper.o epanet.o epanet2.o errormanager.o filemanager.o genmmd.o hash.o hydcoeffs.o hydraul.o hydsolver.o hydstatus.o init.o inpfile.o input1.o input2.o input3.o mempool.o output.o project.o quality.o qualreact.o qualroute.o report.o rules.o smatrix.o toolkit.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpQKLs2N/R.INSTALLe69dc3fe074e9/epanet2toolkit/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpQKLs2N/R.INSTALLe69dc3fe074e9/epanet2toolkit/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpQKLs2N/R.INSTALLe69dc3fe074e9/epanet2toolkit/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-epanet2toolkit/00new/epanet2toolkit/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 (epanet2toolkit)