############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data DNAcopy ### ############################################################################## ############################################################################## * checking for file ‘DNAcopy/DESCRIPTION’ ... OK * preparing ‘DNAcopy’: * checking DESCRIPTION meta-information ... OK * cleaning src * installing the package to build vignettes ----------------------------------- * installing *source* package ‘DNAcopy’ ... ** this is package ‘DNAcopy’ version ‘1.81.0’ ** using staged installation ** libs using C compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using Fortran compiler: ‘GNU Fortran (GCC) 12.2.0’ using SDK: ‘MacOSX11.3.sdk’ /opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c cbsWtstats.f -o cbsWtstats.o cbsWtstats.f:283:72: 283 | iseg(2) = tmaxj | ^ Warning: ‘tmaxj’ may be used uninitialized [-Wmaybe-uninitialized] cbsWtstats.f:17:23: 17 | 2 tmaxi, tmaxj, nal0 | ^ note: ‘tmaxj’ was declared here cbsWtstats.f:282:72: 282 | iseg(1) = tmaxi | ^ Warning: ‘tmaxi’ may be used uninitialized [-Wmaybe-uninitialized] cbsWtstats.f:17:16: 17 | 2 tmaxi, tmaxj, nal0 | ^ note: ‘tmaxi’ was declared here /opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c cbststats.f -o cbststats.o cbststats.f:11:63: 11 | 1 nb2, bi, bj, ilo, ihi, jlo, jhi, alenmax, i2j, sxmxi, | ^ Warning: ‘sxmxi’ may be used uninitialized [-Wmaybe-uninitialized] /opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c changepoints-wtd.f -o changepoints-wtd.o /opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c changepoints.f -o changepoints.o /opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c esegment.f -o esegment.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c flchoose.c -o flchoose.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c fphyper.c -o fphyper.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c fpnorm.c -o fpnorm.o /opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c getbdry.f -o getbdry.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.o /opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c prune.f -o prune.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rshared.c -o rshared.o /opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c segmentp.f -o segmentp.o /opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c smoothCNA.f -o smoothCNA.o /opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c tailprobs.f -o tailprobs.o clang -arch arm64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o DNAcopy.so cbsWtstats.o cbststats.o changepoints-wtd.o changepoints.o esegment.o flchoose.o fphyper.o fpnorm.o getbdry.o init.o prune.o rshared.o segmentp.o smoothCNA.o tailprobs.o -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/14.2.0 -L/opt/gfortran/lib -lemutls_w -lheapt_w -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: search path '/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/14.2.0' not found ld: library 'emutls_w' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [DNAcopy.so] Error 1 ERROR: compilation failed for package ‘DNAcopy’ * removing ‘/private/var/folders/r0/l4fjk6cj5xj0j3brt4bplpl40000gt/T/RtmpGa7BIc/Rinst114fd64569f91/DNAcopy’ ----------------------------------- ERROR: package installation failed