##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL netboost
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library’
* installing *source* package ‘netboost’ ...
** using staged installation
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking build system type... arm-apple-darwin22.1.0
checking host system type... arm-apple-darwin22.1.0
checking for x86 cpuid  output... unknown
checking for x86-AVX xgetbv  output... unknown
checking whether C compiler accepts -Wno-deprecated... yes
checking for strip... strip
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating src/mcupgma/clustering_util/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
** libs
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/RcppParallel/include' -I/opt/R/arm64/include  `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()"`  -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    ::sprintf(buff, "%02x", from);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/RcppParallel/include' -I/opt/R/arm64/include  `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()"`  -fPIC  -falign-functions=64 -Wall -g -O2  -c boosting.cpp -o boosting.o
In file included from boosting.cpp:37:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    ::sprintf(buff, "%02x", from);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
boosting.cpp:79:15: warning: unused variable 'AVX_UNROLL' [-Wunused-const-variable]
constexpr int AVX_UNROLL = 4;
              ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/RcppParallel/include' -I/opt/R/arm64/include  `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()"`  -fPIC  -falign-functions=64 -Wall -g -O2  -c dist_tom.cpp -o dist_tom.o
In file included from dist_tom.cpp:19:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    ::sprintf(buff, "%02x", from);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
clang++ -arch arm64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/RcppParallel/include' -I/opt/R/arm64/include  `/Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()"`  -fPIC  -falign-functions=64 -Wall -g -O2  -c tree_sort.cpp -o tree_sort.o
In file included from tree_sort.cpp:12:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp.h:27:
In file included from /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/RcppCommon.h:168:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include/Rcpp/internal/r_coerce.h:255:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
    ::sprintf(buff, "%02x", from);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
clang++ -arch arm64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o netboost.so RcppExports.o boosting.o dist_tom.o tree_sort.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: -undefined dynamic_lookup may not work with chained fixups
strip -S netboost.so
installing via 'install.libs.R' to /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-netboost/00new/netboost
[1] "R_PACKAGE_SRC:  /Volumes/External/bbs-3.16-bioc-m1/meat/netboost"
[1] "R_PACKAGE_DIR:  /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-netboost/00new/netboost"
[1] "R_ARCH:         "
[1] "SHLIB_EXT:      .so"
[1] "INSTALL PATH:  /Volumes/External/bbs-3.16-bioc-m1/meat/netboost/src/mcupgma/scripts/install_path.mk"
Clean build.
==== compiling clustering_util sources using external Makefile (clustering_util/Makefile) recursively 
make -C clustering_util  -f Makefile mcupgma_install
mkdir -p bin
mkdir -p obj.arm64_Darwin
c++ -Wall  -Wno-deprecated -O3 -DNDEBUG -c -o obj.arm64_Darwin/HashingMergerMain.cmdline.o HashingMergerMain.cmdline.c
c++ -Wall  -Wno-deprecated -O3 -DNDEBUG  -Wall  -Wno-deprecated -O3 -DNDEBUG -c -o obj.arm64_Darwin/ClusteringUtil.o ClusteringUtil.cpp
c++ -Wall  -Wno-deprecated -O3 -DNDEBUG  -Wall  -Wno-deprecated -O3 -DNDEBUG -c -o obj.arm64_Darwin/Tree.o Tree.cpp
c++ -Wall  -Wno-deprecated -O3 -DNDEBUG   -o bin/edges2valid_clusters HashingMergerMain.cpp obj.arm64_Darwin/HashingMergerMain.cmdline.o obj.arm64_Darwin/ClusteringUtil.o obj.arm64_Darwin/Tree.o 
c++ -Wall  -Wno-deprecated -O3 -DNDEBUG -c -o obj.arm64_Darwin/EdgeCollatorMain.cmdline.o EdgeCollatorMain.cmdline.c
c++ -Wall  -Wno-deprecated -O3 -DNDEBUG  -o bin/edge_collator EdgeCollatorMain.cpp obj.arm64_Darwin/EdgeCollatorMain.cmdline.o obj.arm64_Darwin/ClusteringUtil.o obj.arm64_Darwin/Tree.o 
==== compiling  sources using external Makefile (clustering_round/Makefile) recursively 
make -C clustering_round  -f Makefile
mkdir -p dep.arm64_Darwin 
test -d dep.arm64_Darwin && c++ -MM -MT 'dep.arm64_Darwin/test_heap.d  obj.arm64_Darwin/test_heap.o  obj.arm64_Darwin.debug/test_heap.o' -O3 -ftemplate-depth-64 -I./ test_heap.cpp > dep.arm64_Darwin/test_heap.d
test -d dep.arm64_Darwin && c++ -MM -MT 'dep.arm64_Darwin/HierarchicalClustering_with_unknown_edges.d  obj.arm64_Darwin/HierarchicalClustering_with_unknown_edges.o  obj.arm64_Darwin.debug/HierarchicalClustering_with_unknown_edges.o' -O3 -ftemplate-depth-64 -I./ HierarchicalClustering_with_unknown_edges.cpp > dep.arm64_Darwin/HierarchicalClustering_with_unknown_edges.d
test -d dep.arm64_Darwin && c++ -MM -MT 'dep.arm64_Darwin/HierarchicalClustering_main.d  obj.arm64_Darwin/HierarchicalClustering_main.o  obj.arm64_Darwin.debug/HierarchicalClustering_main.o' -O3 -ftemplate-depth-64 -I./ HierarchicalClustering_main.cpp > dep.arm64_Darwin/HierarchicalClustering_main.d
mkdir -p obj.arm64_Darwin 
mkdir -p bin
c++ -O3 -ftemplate-depth-64 -I./ -c HierarchicalClustering_main.cpp -o obj.arm64_Darwin/HierarchicalClustering_main.o
HierarchicalClustering_main.cpp:79:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
cc -O3 -I./ -c HierarchicalClustering_main.cmdline.c -o obj.arm64_Darwin/HierarchicalClustering_main.cmdline.o
c++ -O3 -ftemplate-depth-64 -I./ -c HierarchicalClustering_with_unknown_edges.cpp -o obj.arm64_Darwin/HierarchicalClustering_with_unknown_edges.o
HierarchicalClustering_with_unknown_edges.cpp:26:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
HierarchicalClustering_with_unknown_edges.cpp:78:68: warning: field 'isLeftGreater' is uninitialized when used here [-Wuninitialized]
  ubEdgeHeap(edges.begin(), edges.size(), CompareEdgesByUpperBound(isLeftGreater)),
                                                                   ^
HierarchicalClustering_with_unknown_edges.cpp:79:68: warning: field 'isLeftGreater' is uninitialized when used here [-Wuninitialized]
  lbEdgeHeap(edges.begin(), edges.size(), CompareEdgesByLowerBound(isLeftGreater)),
                                                                   ^
3 warnings generated.
c++ obj.arm64_Darwin/HierarchicalClustering_main.o obj.arm64_Darwin/HierarchicalClustering_main.cmdline.o obj.arm64_Darwin/HierarchicalClustering_with_unknown_edges.o  -o bin/hierarchical_clustering  -O3
c++ -O3 -ftemplate-depth-64 -I./ -c test_heap.cpp -o obj.arm64_Darwin/test_heap.o
test_heap.cpp:20:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
1 warning generated.
cc -O3 -I./ -c test_heap.cmdline.c -o obj.arm64_Darwin/test_heap.cmdline.o
c++ obj.arm64_Darwin/test_heap.o obj.arm64_Darwin/test_heap.cmdline.o  -o bin/test_heap  -O3
[1] "SRC:  /Volumes/External/bbs-3.16-bioc-m1/meat/netboost/src/mcupgma"
[1] "DEST: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-netboost/00new/netboost/mcupgma"
[1] "INSTALL FROM: /Volumes/External/bbs-3.16-bioc-m1/meat/netboost/src/mcupgma/clustering_round/bin TO: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-netboost/00new/netboost/mcupgma"
[1] "INSTALL FROM: /Volumes/External/bbs-3.16-bioc-m1/meat/netboost/src/mcupgma/clustering_util/bin TO: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-netboost/00new/netboost/mcupgma"
[1] "INSTALL FROM: /Volumes/External/bbs-3.16-bioc-m1/meat/netboost/src/mcupgma/scripts TO: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/00LOCK-netboost/00new/netboost/mcupgma"
[1] "netboost.so"
** R
** data
*** moving datasets to lazyload DB
** 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 (netboost)