############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/R/R/bin/R CMD INSTALL GeneticsPed ### ############################################################################## ############################################################################## * installing to library ‘/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library’ * installing *source* package ‘GeneticsPed’ ... ** using staged installation ** libs using C compiler: ‘aarch64-unknown-linux-gnu-gcc (GCC) 14.2.0’ using Fortran compiler: ‘GNU Fortran (GCC) 14.2.0’ using C++ compiler: ‘aarch64-unknown-linux-gnu-g++ (GCC) 14.2.0’ /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++17 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c ainverse.cc -o ainverse.o In file included from ../include/ainverse.h:20, from ainverse.cc:9: ../include/pedtemplate.h:18:9: warning: "R_NO_REMAP" redefined 18 | #define R_NO_REMAP | ^~~~~~~~~~ : note: this is the location of the previous definition /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++17 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c eibd.cc -o eibd.o /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-gfortran -fPIC -g -O2 -Wall -Werror=format-security -c ggmatmult.f -o ggmatmult.o f951: Warning: ‘-Werror=’ argument ‘-Werror=format-security’ is not valid for Fortran /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-gfortran -fPIC -g -O2 -Wall -Werror=format-security -c gpi.f -o gpi.o f951: Warning: ‘-Werror=’ argument ‘-Werror=format-security’ is not valid for Fortran /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++17 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c inbreed.cc -o inbreed.o In file included from ../include/inbreed.h:18, from inbreed.cc:10: ../include/pedtemplate.h:18:9: warning: "R_NO_REMAP" redefined 18 | #define R_NO_REMAP | ^~~~~~~~~~ : note: this is the location of the previous definition /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++17 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c inverseAdditive.cc -o inverseAdditive.o inverseAdditive.cc:1:9: warning: "R_NO_REMAP" redefined 1 | #define R_NO_REMAP | ^~~~~~~~~~ : note: this is the location of the previous definition /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++17 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c meuwissen.cc -o meuwissen.o meuwissen.cc:1:9: warning: "R_NO_REMAP" redefined 1 | #define R_NO_REMAP | ^~~~~~~~~~ : note: this is the location of the previous definition /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++17 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c pedSort.cc -o pedSort.o pedSort.cc:1:9: warning: "R_NO_REMAP" redefined 1 | #define R_NO_REMAP | ^~~~~~~~~~ : note: this is the location of the previous definition /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++17 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c pedtemplate.cc -o pedtemplate.o In file included from pedtemplate.cc:15: ../include/pedtemplate.h:18:9: warning: "R_NO_REMAP" redefined 18 | #define R_NO_REMAP | ^~~~~~~~~~ : note: this is the location of the previous definition pedtemplate.cc: In member function ‘void Pedigree::ShowPed()’: pedtemplate.cc:373:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__normal_iterator >::difference_type’ {aka ‘long int’} [-Wformat=] 373 | Rprintf("%d\t", p - pedigree.begin()); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int __gnu_cxx::__normal_iterator >::difference_type {aka long int} | %ld /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++17 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c register.cc -o register.o In file included from ../include/../include/inbreed.h:18, from ../include/meuwissen.h:7, from register.cc:8: ../include/../include/pedtemplate.h:18:9: warning: "R_NO_REMAP" redefined 18 | #define R_NO_REMAP | ^~~~~~~~~~ : note: this is the location of the previous definition /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-gcc -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -c sargolzaei.c -o sargolzaei.o sargolzaei.c: In function ‘sargolzaei’: sargolzaei.c:52:32: warning: ‘*Ped[S][0]’ may be used uninitialized [-Wmaybe-uninitialized] 52 | rPed[rN][0] = Link[Ped[S][0]]; | ~~~~~~^~~ sargolzaei.c:53:34: warning: ‘*Ped[D][1]’ may be used uninitialized [-Wmaybe-uninitialized] 53 | rPed[rN++][1] = Link[Ped[D][1]]; | ~~~~~~^~~ sargolzaei.c:58:32: warning: ‘*Ped[D][0]’ may be used uninitialized [-Wmaybe-uninitialized] 58 | rPed[rN][0] = Link[Ped[D][0]]; | ~~~~~~^~~ sargolzaei.c:59:34: warning: ‘*Ped[D][1]’ may be used uninitialized [-Wmaybe-uninitialized] 59 | rPed[rN++][1] = Link[Ped[D][1]]; | ~~~~~~^~~ /opt/ohpc/pub/compiler/gcc/14.2.0/bin/aarch64-unknown-linux-gnu-g++ -std=gnu++17 -I"/home/biocbuild/R/R/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -Werror=format-security -DR_NO_REMAP -c sortped.cc -o sortped.o In file included from sortped.cc:1: ../include/sortped.h:5:9: warning: "R_NO_REMAP" redefined 5 | #define R_NO_REMAP | ^~~~~~~~~~ : note: this is the location of the previous definition sortped.cc: In function ‘void SortPed(Pedigree&, TPedVec&)’: sortped.cc:55:5: error: ‘error’ was not declared in this scope; did you mean ‘perror’? 55 | error("Problems in pedigree. Stopping inbreeding calculations\n"); | ^~~~~ | perror make: *** [/home/biocbuild/R/R/etc/Makeconf:202: sortped.o] Error 1 ERROR: compilation failed for package ‘GeneticsPed’ * removing ‘/home/biocbuild/R/R-4.5.0-devel_2024-11-24/site-library/GeneticsPed’