* installing *source* package ‘spatstat.Knet’ ...
** this is package ‘spatstat.Knet’ version ‘3.1-2’
** package ‘spatstat.Knet’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/spatstat.Knet/src'
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c Knet.c -o Knet.o
In file included from Knet.c:27:
netKcode.h: In function ‘extended_sh_path_tree_restricted’:
netKcode.h:1932:20: warning: ‘brk_pt2’ may be used uninitialized [-Wmaybe-uninitialized]
1932 | FN(break_crash_list_into_one_list)(&(brk_pt2->crashList),
| ^
netKcode.h:24:18: note: in definition of macro ‘FN’
24 | #define FN(BASE) BASE
| ^~~~
netKcode.h:1763:24: note: ‘brk_pt2’ was declared here
1763 | *brk_pt1,*brk_pt2,*brk_pt,
| ^~~~~~~
netKcode.h: In function ‘restricted_shortest_v2’:
netKcode.h:2142:33: warning: ‘adjlist’ may be used uninitialized [-Wmaybe-uninitialized]
2142 | if(((PathVertex *)(adjlist->vertex))->d > Rmax){break;}
| ~~~~~~~~^~~~~~~~~
netKcode.h:2052:32: note: ‘adjlist’ was declared here
2052 | AdjList *adjlist;
| ^~~~~~~
netKcode.h: In function ‘spTree_restricted_v1’:
netKcode.h:2432:19: warning: ‘adjlist’ may be used uninitialized [-Wmaybe-uninitialized]
2432 | for (member = list_head(&adjlist->adjacent); member != NULL;
netKcode.h:2342:27: note: ‘adjlist’ was declared here
2342 | AdjList *adjlist;
| ^~~~~~~
netKcode.h:2453:19: warning: ‘pth_vertex2’ may be used uninitialized [-Wmaybe-uninitialized]
2453 | retval = OK(graph_ins_edge)(graphTree, pth_vertex2, adj_node);
| ^
netKcode.h:35:18: note: in definition of macro ‘OK’
35 | #define OK(BASE) BASE
| ^~~~
netKcode.h:2352:27: note: ‘pth_vertex2’ was declared here
2352 | *pth_vertex2,
| ^~~~~~~~~~~
netKcode.h:2443:36: warning: ‘adj_vertex’ may be used uninitialized [-Wmaybe-uninitialized]
2443 | adj_node->edgeID = adj_vertex->edgeID;
| ~~~~~~~~~~^~~~~~~~
netKcode.h:2354:27: note: ‘adj_vertex’ was declared here
2354 | *adj_vertex;
| ^~~~~~~~~~
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c KnetInhom.c -o KnetInhom.o
In file included from KnetInhom.c:31:
netKcode.h: In function ‘I_extended_sh_path_tree_restricted’:
netKcode.h:32:18: warning: ‘brk_pt2’ may be used uninitialized [-Wmaybe-uninitialized]
32 | #define FN(BASE) I_ ## BASE
| ^
netKcode.h:1932:17: note: in expansion of macro ‘FN’
1932 | FN(break_crash_list_into_one_list)(&(brk_pt2->crashList),
| ^~
netKcode.h:1763:24: note: ‘brk_pt2’ was declared here
1763 | *brk_pt1,*brk_pt2,*brk_pt,
| ^~~~~~~
netKcode.h: In function ‘I_restricted_shortest_v2’:
netKcode.h:2142:33: warning: ‘adjlist’ may be used uninitialized [-Wmaybe-uninitialized]
2142 | if(((PathVertex *)(adjlist->vertex))->d > Rmax){break;}
| ~~~~~~~~^~~~~~~~~
netKcode.h:2052:32: note: ‘adjlist’ was declared here
2052 | AdjList *adjlist;
| ^~~~~~~
netKcode.h: In function ‘I_spTree_restricted_v1’:
netKcode.h:2432:19: warning: ‘adjlist’ may be used uninitialized [-Wmaybe-uninitialized]
2432 | for (member = list_head(&adjlist->adjacent); member != NULL;
netKcode.h:2342:27: note: ‘adjlist’ was declared here
2342 | AdjList *adjlist;
| ^~~~~~~
netKcode.h:2453:19: warning: ‘pth_vertex2’ may be used uninitialized [-Wmaybe-uninitialized]
2453 | retval = OK(graph_ins_edge)(graphTree, pth_vertex2, adj_node);
| ^
netKcode.h:35:18: note: in definition of macro ‘OK’
35 | #define OK(BASE) BASE
| ^~~~
netKcode.h:2352:27: note: ‘pth_vertex2’ was declared here
2352 | *pth_vertex2,
| ^~~~~~~~~~~
netKcode.h:2443:36: warning: ‘adj_vertex’ may be used uninitialized [-Wmaybe-uninitialized]
2443 | adj_node->edgeID = adj_vertex->edgeID;
| ~~~~~~~~~~^~~~~~~~
netKcode.h:2354:27: note: ‘adj_vertex’ was declared here
2354 | *adj_vertex;
| ^~~~~~~~~~
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c init.c -o init.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c netbase.c -o netbase.o
netbase.c: In function ‘delete_vertex_from_graph’:
netbase.c:1158:9: warning: ‘adjlist’ may be used uninitialized [-Wmaybe-uninitialized]
1158 | member=list_head(&adjlist->adjacent);
netbase.c:1143:20: note: ‘adjlist’ was declared here
1143 | AdjList *adjlist;
| ^~~~~~~
netbase.c:1156:22: warning: ‘pth_vertex’ may be used uninitialized [-Wmaybe-uninitialized]
1156 | void *data1; data1 = pth_vertex;
| ~~~~~~^~~~~~~~~~~~
netbase.c:1144:20: note: ‘pth_vertex’ was declared here
1144 | PathVertex *pth_vertex,*adj_vertex;
| ^~~~~~~~~~
gcc -shared -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -fpic -L/usr/local/lib64 -o spatstat.Knet.so Knet.o KnetInhom.o init.o netbase.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/spatstat.Knet/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/spatstat.Knet/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/spatstat.Knet/src'
installing to /data/gannet/ripley/R/packages/tests-devel/spatstat.Knet.Rcheck/00LOCK-spatstat.Knet/00new/spatstat.Knet/libs
** R
** data
** 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 (spatstat.Knet)