* installing *source* package ‘topmodel’ ... ** package ‘topmodel’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (GCC) 13.2.0’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/topmodel/src' gcc-13 -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 NS.c -o NS.o gcc-13 -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 c_flowlength.c -o c_flowlength.o c_flowlength.c: In function 'c_flowlength': c_flowlength.c:103:35: warning: 'idown' may be used uninitialized [-Wmaybe-uninitialized] 103 | flowi[flowlength] = i + idown; | ~~^~~~~~~ c_flowlength.c:10:25: note: 'idown' was declared here 10 | int i,j,ii,jj,i2,j2,k,idown,jdown,orig_i,orig_j,flowlength,endflow; | ^~~~~ c_flowlength.c:104:35: warning: 'jdown' may be used uninitialized [-Wmaybe-uninitialized] 104 | flowj[flowlength] = j + jdown; | ~~^~~~~~~ c_flowlength.c:10:31: note: 'jdown' was declared here 10 | int i,j,ii,jj,i2,j2,k,idown,jdown,orig_i,orig_j,flowlength,endflow; | ^~~~~ c_flowlength.c:101:34: warning: 'divdown' may be used uninitialized [-Wmaybe-uninitialized] 101 | distance[flowlength] = divdown; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ c_flowlength.c:13:18: note: 'divdown' was declared here 13 | double max,div,divdown,exclude; | ^~~~~~~ gcc-13 -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 c_infiltration.c -o c_infiltration.o gcc-13 -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 c_sinkfill.c -o c_sinkfill.o gcc-13 -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 c_streamorder.c -o c_streamorder.o c_streamorder.c: In function 'c_streamorder': c_streamorder.c:73:15: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized] 73 | if(((dem[i+ii][j+jj] - dem[i][j])/div) > max) { | ^ c_streamorder.c:15:43: note: 'max' was declared here 15 | double upslope, downslope, div,exclude, max; | ^~~ c_streamorder.c:134:39: warning: 'idown' may be used uninitialized [-Wmaybe-uninitialized] 134 | flowi[flowlength-1] = i + idown; | ~~^~~~~~~ c_streamorder.c:12:23: note: 'idown' was declared here 12 | int i,j,ii,jj,i2,j2,idown,jdown,orig_i,orig_j,flowlength; | ^~~~~ c_streamorder.c:135:39: warning: 'jdown' may be used uninitialized [-Wmaybe-uninitialized] 135 | flowj[flowlength-1] = j + jdown; | ~~^~~~~~~ c_streamorder.c:12:29: note: 'jdown' was declared here 12 | int i,j,ii,jj,i2,j2,idown,jdown,orig_i,orig_j,flowlength; | ^~~~~ c_streamorder.c:175:23: warning: 'bifurc' may be used uninitialized [-Wmaybe-uninitialized] 175 | if(bifurc == 0) { | ^ c_streamorder.c:13:7: note: 'bifurc' was declared here 13 | int bifurc,order,endflow; | ^~~~~~ gcc-13 -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 c_subcatch.c -o c_subcatch.o c_subcatch.c: In function 'c_subcatch': c_subcatch.c:112:37: warning: 'idown' may be used uninitialized [-Wmaybe-uninitialized] 112 | flowi[flowlength-1] = i + idown; | ~~^~~~~~~ c_subcatch.c:11:7: note: 'idown' was declared here 11 | int idown,jdown,origin_i,origin_j,flowlength; | ^~~~~ c_subcatch.c:113:37: warning: 'jdown' may be used uninitialized [-Wmaybe-uninitialized] 113 | flowj[flowlength-1] = j + jdown; | ~~^~~~~~~ c_subcatch.c:11:13: note: 'jdown' was declared here 11 | int idown,jdown,origin_i,origin_j,flowlength; | ^~~~~ gcc-13 -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 c_topidx.c -o c_topidx.o gcc-13 -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 c_topmodel.c -o c_topmodel.o gcc-13 -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 core_topmodel.c -o core_topmodel.o gcc-13 -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 get_f.c -o get_f.o gcc-13 -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 misc.c -o misc.o gcc-13 -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 output.c -o output.o gcc-13 -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 param_init.c -o param_init.o gcc-13 -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 river.c -o river.o river.c: In function 'findrivers': river.c:142:28: warning: 'idown' may be used uninitialized [-Wmaybe-uninitialized] 142 | riveri[nriv] = i + idown; | ~~^~~~~~~ river.c:24:13: note: 'idown' was declared here 24 | int i,j,k,idown,jdown,river_origin_i,river_origin_j,endriver,nriv; | ^~~~~ river.c:143:28: warning: 'jdown' may be used uninitialized [-Wmaybe-uninitialized] 143 | riverj[nriv] = j + jdown; | ~~^~~~~~~ river.c:24:19: note: 'jdown' was declared here 24 | int i,j,k,idown,jdown,river_origin_i,river_origin_j,endriver,nriv; | ^~~~~ river.c:140:22: warning: 'addist' may be used uninitialized [-Wmaybe-uninitialized] 140 | dist[nriv] = addist; | ~~~~~~~~~~~^~~~~~~~ river.c:28:15: note: 'addist' was declared here 28 | double max, addist, exclude, dist3; | ^~~~~~ gcc-13 -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 startroutines.c -o startroutines.o gcc-13 -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 topmodel_init.c -o topmodel_init.o gcc-13 -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/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o topmodel.so NS.o c_flowlength.o c_infiltration.o c_sinkfill.o c_streamorder.o c_subcatch.o c_topidx.o c_topmodel.o core_topmodel.o get_f.o misc.o output.o param_init.o river.o startroutines.o topmodel_init.o make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/topmodel/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/topmodel/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/topmodel/src' installing to /data/gannet/ripley/R/packages/tests-devel/topmodel.Rcheck/00LOCK-topmodel/00new/topmodel/libs ** R ** data ** 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 (topmodel)