* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘lazy’ ...
** this is package ‘lazy’ version ‘1.2-18’
** package ‘lazy’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-15 (Debian 15.2.0-7) 15.2.0’
make[1]: Entering directory '/tmp/RtmpdHMxBp/R.INSTALL1057186bd8378/lazy/src'
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-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-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c lazy.c -o lazy.o
lazy.c: In function ‘packOutput’:
lazy.c:859:32: error: assignment of read-only location ‘*(STRING_PTR_RO(names) + (sizetype)((long unsigned int)i++ * 8))’
859 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("h");
| ^
lazy.c:862:38: error: assignment of read-only location ‘*(STRING_PTR_RO(names) + (sizetype)((long unsigned int)i++ * 8))’
862 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("t");
| ^
lazy.c:865:38: error: assignment of read-only location ‘*(STRING_PTR_RO(names) + (sizetype)((long unsigned int)i++ * 8))’
865 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("k");
| ^
lazy.c:872:40: error: assignment of read-only location ‘*(STRING_PTR_RO(S_names) + (sizetype)((long unsigned int)j * 8))’
872 | CHARACTER_POINTER(S_names)[j]=CREATE_STRING_VECTOR(name[j]);
| ^
lazy.c:875:36: error: assignment of read-only location ‘*(STRING_PTR_RO(names) + (sizetype)((long unsigned int)i++ * 8))’
875 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("S");
| ^
lazy.c:883:38: error: assignment of read-only location ‘*(STRING_PTR_RO(T_names) + (sizetype)((long unsigned int)j * 8))’
883 | CHARACTER_POINTER(T_names)[j]=CREATE_STRING_VECTOR(name[j]);
| ^
lazy.c:886:36: error: assignment of read-only location ‘*(STRING_PTR_RO(names) + (sizetype)((long unsigned int)i++ * 8))’
886 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("T");
| ^
lazy.c:890:36: error: assignment of read-only location ‘*(STRING_PTR_RO(names) + (sizetype)((long unsigned int)i++ * 8))’
890 | CHARACTER_POINTER(names)[i++]=CREATE_STRING_VECTOR("I");
| ^
lazy.c: At top level:
lazy.c:32:14: warning: ‘id’ defined but not used [-Wunused-variable]
32 | static char *id="$Id: lazy.c,v 1.4 2003/09/30 15:02:28 mbiro Exp $";
| ^~
make[1]: *** [/home/hornik/tmp/R.check/r-devel-gcc/Work/build/etc/Makeconf:202: lazy.o] Error 1
make[1]: Leaving directory '/tmp/RtmpdHMxBp/R.INSTALL1057186bd8378/lazy/src'
ERROR: compilation failed for package ‘lazy’
* removing ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/lazy’