##############################################################################
##############################################################################
###
### Running command:
###
### rm -rf SUITOR.buildbin-libdir && mkdir SUITOR.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh SUITOR_1.13.0.tar.gz /Library/Frameworks/R.framework/Resources/bin/R SUITOR.buildbin-libdir
###
##############################################################################
##############################################################################
>>>>>>>
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=SUITOR.buildbin-libdir SUITOR_1.13.0.tar.gz'
>>>>>>>
* installing *source* package ‘SUITOR’ ...
** this is package ‘SUITOR’ version ‘1.13.0’
** using staged installation
** libs
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.6.4.2)’
using SDK: ‘MacOSX26.2.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 SUITOR_init.c -o SUITOR_init.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 source.c -o source.o
source.c:166:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
166 | static double * dVec_alloc(n, initFlag, initVal)
| ^
source.c:185:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
185 | static int * iVec_alloc(n, initFlag, initVal)
| ^
source.c:203:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
203 | static char * cVec_alloc(n, initFlag, initVal)
| ^
source.c:222:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
222 | static void copy_dVec(v, n, ret)
| ^
source.c:233:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
233 | static void matrixMult(m1, m1_nr, m1_nc, m2, m2_nc, ret)
| ^
source.c:256:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
256 | static int which_max(v, n)
| ^
source.c:280:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
280 | static void which_max_cols(mat, nr, nc, ret)
| ^
source.c:292:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
292 | static int update_cons(cons, cons_len, index, nc)
| ^
source.c:323:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
323 | static int myStopFun(cons, cons_len, inc, hMat, hnr, hnc, maxIndex)
| ^
source.c:348:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
348 | static void get_runif_vec(v, n, a, b)
| ^
source.c:359:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
359 | static int get_idxMat0(idx, nr, nc, k, kfold)
| ^
source.c:385:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
385 | static double loglike(input, log_input, input_k_hat, idxMat, delta_denom, len, which_idx)
| ^
source.c:416:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
416 | static void replaceZeroVal_dVec(v, n, minval)
| ^
source.c:428:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
428 | static double get_delta_denom(v, n)
| ^
source.c:444:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
444 | static double get_max(v, n)
| ^
source.c:460:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
460 | static void my_update_H(pV, w, h, wnr, wnc, hnc)
| ^
source.c:539:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
539 | static void my_update_W(pV, w, h, wnr, wnc, hnc)
| ^
source.c:611:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
611 | static void my_update_brunet(i, x, w, h, str)
| ^
source.c:636:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
636 | static void get_init_WH(runifVec, w, h, wlen, hlen, maxval)
| ^
source.c:655:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
655 | static void call_nmf(mat, str)
| ^
source.c:714:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
714 | static void update_x_k(x_k, x_k_hat, idxMat, n)
| ^
source.c:838:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
838 | static double get_median(v, n)
| ^
source.c:863:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
863 | static void get_init_x_k(x, x_k, idxMat, nr, nc, tmpvec, minvalue)
| ^
source.c:916:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
916 | static void get_colsums(x, nr, nc, ret)
| ^
source.c:934:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
934 | static void transpose(v, nr, nc, ret)
| ^
source.c:949:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
949 | static void ECM_update_h(h1, h0, w0, x_k, hnr, hnc, wnr, wnc, xnr, xnc, vM, vN, vN2)
| ^
source.c:983:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
983 | static void ECM_update_w(w1, h1, w0, x_k, hnr, hnc, wnr, wnc, xnr, xnc, vM, vN, vN2)
| ^
source.c:1017:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1017 | static int ECM_alg(str)
| ^
source.c:1093:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1093 | static void init_wh_rank(str, rank)
| ^
source.c:1119:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1119 | static void suitor_main(str)
| ^
source.c:1203:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1203 | static void init_logx(x, logx, n)
| ^
source.c:1221:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1221 | static void NMFSTR_init(str, iargs, dargs, xmat)
| ^
source.c:1311:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1311 | static void NMFSTR_free(str, EMflag)
| ^
source.c:1339:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1339 | void C_call_nmf(mat, iargs, dargs, retW, retH)
| ^
source.c:1361:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
1361 | void C_call_suitor(mat, iargs, dargs, rankVec, kVec, ret_train, ret_test, ret_convVec, ret_EM_niterVec)
| ^
35 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 SUITOR.so SUITOR_init.o source.o -F/Library/Frameworks/R.framework/.. -framework R
installing to /Users/biocbuild/bbs-3.23-bioc/meat/SUITOR.buildbin-libdir/00LOCK-SUITOR/00new/SUITOR/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 (SUITOR)
>>>>>>>
>>>>>>> FIXING PATHS TO DYNAMIC LIBRARIES FOR SUITOR.buildbin-libdir/SUITOR/libs/SUITOR.so
>>>>>>>
>>>>>>> Paths before fix:
SUITOR.buildbin-libdir/SUITOR/libs/SUITOR.so:
SUITOR.so (compatibility version 0.0.0, current version 0.0.0)
/Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libR.dylib (compatibility version 4.6.0, current version 4.6.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1356.0.0)
>>>>>>> Fix with install_name_tool:
install_name_tool -change "/usr/local/lib/libgcc_s.1.1.dylib" "/Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libgcc_s.1.1.dylib" "SUITOR.buildbin-libdir/SUITOR/libs/SUITOR.so"
install_name_tool -change "/usr/local/lib/libgfortran.5.dylib" "/Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libgfortran.5.dylib" "SUITOR.buildbin-libdir/SUITOR/libs/SUITOR.so"
install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libquadmath.0.dylib" "SUITOR.buildbin-libdir/SUITOR/libs/SUITOR.so"
>>>>>>> Paths after fix:
SUITOR.buildbin-libdir/SUITOR/libs/SUITOR.so:
SUITOR.so (compatibility version 0.0.0, current version 0.0.0)
/Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libR.dylib (compatibility version 4.6.0, current version 4.6.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1356.0.0)