##############################################################################
##############################################################################
###
### Running command:
###
### rm -rf BAGS.buildbin-libdir && mkdir BAGS.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh BAGS_2.45.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R BAGS.buildbin-libdir
###
##############################################################################
##############################################################################
>>>>>>>
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=BAGS.buildbin-libdir BAGS_2.45.0.tar.gz'
>>>>>>>
* installing *source* package ‘BAGS’ ...
** using staged installation
** libs
using C compiler: ‘Apple clang version 15.0.0 (clang-1500.0.40.1)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c BAGS.c -o BAGS.o
In file included from BAGS.c:8:
./FuncionesFast-Final.h:145:70: warning: unused variable 'YMu1' [-Wunused-variable]
double media1,media,varianza1,varianza,resultado,varaux0,varaux1,YMu1;
^
./FuncionesFast-Final.h:166:92: warning: unused variable 'C' [-Wunused-variable]
double CSiDiff,CNoDiff,Cest,Mu,aux1,aux4,suma,zuma,cons,rznLog,rzn,prob,alea,resultado,C,A,varianza,MediaDiff;
^
./FuncionesFast-Final.h:166:94: warning: unused variable 'A' [-Wunused-variable]
double CSiDiff,CNoDiff,Cest,Mu,aux1,aux4,suma,zuma,cons,rznLog,rzn,prob,alea,resultado,C,A,varianza,MediaDiff;
^
./FuncionesFast-Final.h:166:105: warning: unused variable 'MediaDiff' [-Wunused-variable]
double CSiDiff,CNoDiff,Cest,Mu,aux1,aux4,suma,zuma,cons,rznLog,rzn,prob,alea,resultado,C,A,varianza,MediaDiff;
^
BAGS.c:15:15: warning: variable 'AaPi' set but not used [-Wunused-but-set-variable]
double Mm,AaPi,Ade,Ss,Rr,c0,prob,alea,forma1,forma2,shape1,shape2;
^
BAGS.c:18:80: warning: variable 'ResSgmA' set but not used [-Wunused-but-set-variable]
double ResRho1,ResRho2,ResRho3,ResRho4,ResSgmA1,ResSgmA2,ResSgmA3,ResSgmA4,ResSgmA;
^
BAGS.c:24:12: warning: unused variable 'formaAux' [-Wunused-variable]
double formaAux;
^
BAGS.c:25:12: warning: unused variable 'escala1' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI;
^
BAGS.c:25:20: warning: unused variable 'escala2' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI;
^
BAGS.c:25:28: warning: unused variable 'escala3' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI;
^
BAGS.c:25:36: warning: unused variable 'escala' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI;
^
BAGS.c:25:43: warning: unused variable 'rate' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI;
^
BAGS.c:25:48: warning: unused variable 'resI' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI;
^
BAGS.c:332:15: warning: variable 'AaPi' set but not used [-Wunused-but-set-variable]
double Mm,AaPi,Ade,Ss,Rr,c0,prob,alea,forma1,forma2,shape1,shape2;
^
BAGS.c:335:63: warning: variable 'ResSgmA' set but not used [-Wunused-but-set-variable]
double ResRho1,ResRho2,ResRho3,ResSgmA1,ResSgmA2,ResSgmA3,ResSgmA;
^
BAGS.c:341:12: warning: unused variable 'formaAux' [-Wunused-variable]
double formaAux;
^
BAGS.c:342:12: warning: unused variable 'escala1' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:342:20: warning: unused variable 'escala2' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:342:28: warning: unused variable 'escala3' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:342:36: warning: unused variable 'escala' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:342:43: warning: unused variable 'rate' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:342:48: warning: unused variable 'resI' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:583:15: warning: variable 'AaPi' set but not used [-Wunused-but-set-variable]
double Mm,AaPi,Ade,Ss,Rr,c0,prob,alea,forma1,forma2,shape1,shape2;
^
BAGS.c:586:46: warning: variable 'ResSgmA' set but not used [-Wunused-but-set-variable]
double ResRho1,ResRho2,ResSgmA1,ResSgmA2,ResSgmA;
^
BAGS.c:592:12: warning: unused variable 'formaAux' [-Wunused-variable]
double formaAux;
^
BAGS.c:593:12: warning: unused variable 'escala1' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:593:20: warning: unused variable 'escala2' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:593:28: warning: unused variable 'escala3' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:593:36: warning: unused variable 'escala' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:593:43: warning: unused variable 'rate' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:593:48: warning: unused variable 'resI' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:776:15: warning: variable 'AaPi' set but not used [-Wunused-but-set-variable]
double Mm,AaPi,Ade,Ss,Rr,c0,prob,alea,forma1,forma2,shape1,shape2;
^
BAGS.c:779:29: warning: variable 'ResSgmA' set but not used [-Wunused-but-set-variable]
double ResRho1,ResSgmA1,ResSgmA;
^
BAGS.c:785:12: warning: unused variable 'formaAux' [-Wunused-variable]
double formaAux;
^
BAGS.c:786:12: warning: unused variable 'escala1' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:786:20: warning: unused variable 'escala2' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:786:28: warning: unused variable 'escala3' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:786:36: warning: unused variable 'escala' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:786:43: warning: unused variable 'rate' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
BAGS.c:786:48: warning: unused variable 'resI' [-Wunused-variable]
double escala1,escala2,escala3,escala,rate,resI; // Aqui tengo duda
^
40 warnings generated.
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 BAGS.so BAGS.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/biocbuild/bbs-3.20-bioc/meat/BAGS.buildbin-libdir/00LOCK-BAGS/00new/BAGS/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 (BAGS)
>>>>>>>
>>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR BAGS.buildbin-libdir/BAGS/libs/BAGS.so
>>>>>>>
>>>>>>> Paths before fix:
BAGS.buildbin-libdir/BAGS/libs/BAGS.so:
BAGS.so (compatibility version 0.0.0, current version 0.0.0)
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib (compatibility version 4.4.0, current version 4.4.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1775.118.101)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.100.5)
>>>>>>> Fix with install_name_tool:
install_name_tool -change "/usr/local/lib/libgcc_s.1.1.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libgcc_s.1.1.dylib" "BAGS.buildbin-libdir/BAGS/libs/BAGS.so"
install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libgfortran.5.dylib" "BAGS.buildbin-libdir/BAGS/libs/BAGS.so"
install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libquadmath.0.dylib" "BAGS.buildbin-libdir/BAGS/libs/BAGS.so"
>>>>>>> Paths after fix:
BAGS.buildbin-libdir/BAGS/libs/BAGS.so:
BAGS.so (compatibility version 0.0.0, current version 0.0.0)
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libR.dylib (compatibility version 4.4.0, current version 4.4.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1775.118.101)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.100.5)