* installing *source* package ‘cubature’ ...
** package ‘cubature’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
(cp -f Cuba-4.2-nonwin/makefile.in Cuba-4.2-nonwin/cuba.h Cuba-4.2 && \
	cp -f Cuba-4.2-nonwin/src/common/* Cuba-4.2/src/common && \
	cp -f Cuba-4.2-nonwin/src/cuhre/common.c Cuba-4.2/src/cuhre && \
	cd Cuba-4.2 && \
	C="clang -mmacosx-version-min=10.13" CFLAGS="-Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include" ./configure && \
	make libcuba.a AR="ar" ARFLAGS="-rv" RANLIB="ranlib" && \
	touch cuba.ts)
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 for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for long double with more range or precision than double... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for pid_t... yes
checking for powl... yes
checking for erf... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking build system type... x86_64-apple-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking for shmget... yes
checking for getloadavg... yes
checking for variable-size arrays... yes
checking for MathLink... no
checking for qmake... no
configure: creating ./config.status
config.status: creating makefile
config.status: creating config.h
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -I./src/vegas -DNOUNDERSCORE -c -o Vegas.o ./src/vegas/Vegas.c
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:190,
                 from ./src/common/stddecl.h:22,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
In function ‘SobolIni’,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/vegas/Integrate.c:59:3:
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ pointer overflow between offset 0 and size [-4, 9223372036854775807] [-Warray-bounds]
     memcpy(pv, pini, inibits*sizeof *pini);
     ^~~~~~
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
ar -rv libcuba.a Vegas.o
ar: creating archive libcuba.a
a - Vegas.o
rm -f Vegas.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -I./src/suave -DNOUNDERSCORE -c -o Suave.o ./src/suave/Suave.c
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:190,
                 from ./src/common/stddecl.h:22,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
In function ‘SobolIni’,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/suave/Integrate.c:61:3:
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ pointer overflow between offset 0 and size [-4, 9223372036854775807] [-Warray-bounds]
     memcpy(pv, pini, inibits*sizeof *pini);
     ^~~~~~
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
ar -rv libcuba.a Suave.o
a - Suave.o
rm -f Suave.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -I./src/divonne -DNOUNDERSCORE -c -o Divonne.o ./src/divonne/Divonne.c
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:190,
                 from ./src/common/stddecl.h:22,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
In function ‘SobolIni’,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/divonne/Integrate.c:72:5:
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ pointer overflow between offset 0 and size [-4, 9223372036854775807] [-Warray-bounds]
     memcpy(pv, pini, inibits*sizeof *pini);
     ^~~~~~
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
ar -rv libcuba.a Divonne.o
a - Divonne.o
rm -f Divonne.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -I./src/cuhre -DNOUNDERSCORE -c -o Cuhre.o ./src/cuhre/Cuhre.c
ar -rv libcuba.a Cuhre.o
a - Cuhre.o
rm -f Cuhre.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -DNOUNDERSCORE -c -o Fork.o ./src/common/Fork.c
ar -rv libcuba.a Fork.o
a - Fork.o
rm -f Fork.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -DNOUNDERSCORE -c -o Global.o ./src/common/Global.c
ar -rv libcuba.a Global.o
a - Global.o
rm -f Global.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -c -o Data.o ./src/common/Data.c
In file included from ./src/common/Data.c:9:
./src/common/stddecl.h:433:17: warning: ‘cubafun_’ defined but not used [-Wunused-variable]
 static coreinit cubafun_;
                 ^~~~~~~~
ar -rv libcuba.a Data.o
a - Data.o
rm -f Data.o
ranlib libcuba.a
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.0/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Rcpp-Cuba.cpp -o Rcpp-Cuba.o
((cd cubature-1.0.3 && \
	(make libcubature.a CC="clang -mmacosx-version-min=10.13" CFLAGS="-Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include" AR="ar" RANLIB="ranlib")) && \
	touch cubature.ts)
clang -mmacosx-version-min=10.13 -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include   -c -o hcubature.o hcubature.c
clang -mmacosx-version-min=10.13 -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include   -c -o pcubature.o pcubature.c
ar cr libcubature.a  hcubature.o pcubature.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.0/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Rcpp-cubature.cpp -o Rcpp-cubature.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.0/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.0/Rcpp/include' -I/usr/local/include  -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -fPIC  -Wall -g -O2  -c cubature_init.c -o cubature_init.o
clang++ -mmacosx-version-min=10.13 -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/usr/local/lib -o cubature.so Rcpp-Cuba.o Rcpp-cubature.o RcppExports.o cubature_init.o -Lcubature-1.0.3 -LCuba-4.2 -lcubature -lcuba -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
(cp -f Cuba-4.2-nonwin/makefile.in Cuba-4.2-nonwin/cuba.h Cuba-4.2 && \
	cp -f Cuba-4.2-nonwin/src/common/* Cuba-4.2/src/common && \
	cp -f Cuba-4.2-nonwin/src/cuhre/common.c Cuba-4.2/src/cuhre && \
	cd Cuba-4.2 && \
	C="clang -mmacosx-version-min=10.13" CFLAGS="-Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include" ./configure && \
	make libcuba.a AR="ar" ARFLAGS="-rv" RANLIB="ranlib" && \
	touch cuba.ts)
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 for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for long double with more range or precision than double... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for pid_t... yes
checking for powl... yes
checking for erf... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking build system type... x86_64-apple-darwin17.7.0
checking host system type... x86_64-apple-darwin17.7.0
checking for shmget... yes
checking for getloadavg... yes
checking for variable-size arrays... yes
checking for MathLink... no
checking for qmake... no
configure: creating ./config.status
config.status: creating makefile
config.status: creating config.h
config.status: config.h is unchanged
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -I./src/vegas -DNOUNDERSCORE -c -o Vegas.o ./src/vegas/Vegas.c
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:190,
                 from ./src/common/stddecl.h:22,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
In function ‘SobolIni’,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/vegas/Integrate.c:59:3:
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ pointer overflow between offset 0 and size [-4, 9223372036854775807] [-Warray-bounds]
     memcpy(pv, pini, inibits*sizeof *pini);
     ^~~~~~
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
ar -rv libcuba.a Vegas.o
r - Vegas.o
rm -f Vegas.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -I./src/suave -DNOUNDERSCORE -c -o Suave.o ./src/suave/Suave.c
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:190,
                 from ./src/common/stddecl.h:22,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
In function ‘SobolIni’,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/suave/Integrate.c:61:3:
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ pointer overflow between offset 0 and size [-4, 9223372036854775807] [-Warray-bounds]
     memcpy(pv, pini, inibits*sizeof *pini);
     ^~~~~~
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
ar -rv libcuba.a Suave.o
r - Suave.o
rm -f Suave.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -I./src/divonne -DNOUNDERSCORE -c -o Divonne.o ./src/divonne/Divonne.c
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:190,
                 from ./src/common/stddecl.h:22,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
In function ‘SobolIni’,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/divonne/Integrate.c:72:5:
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ pointer overflow between offset 0 and size [-4, 9223372036854775807] [-Warray-bounds]
     memcpy(pv, pini, inibits*sizeof *pini);
     ^~~~~~
./src/common/Random.c:105:5: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
ar -rv libcuba.a Divonne.o
r - Divonne.o
rm -f Divonne.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -I./src/cuhre -DNOUNDERSCORE -c -o Cuhre.o ./src/cuhre/Cuhre.c
ar -rv libcuba.a Cuhre.o
r - Cuhre.o
rm -f Cuhre.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -DNOUNDERSCORE -c -o Fork.o ./src/common/Fork.c
ar -rv libcuba.a Fork.o
r - Fork.o
rm -f Fork.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -DNOUNDERSCORE -c -o Global.o ./src/common/Global.c
ar -rv libcuba.a Global.o
r - Global.o
rm -f Global.o
gcc -Wall -g -O2  -fPIC -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -DHAVE_CONFIG_H -DREALSIZE=8 -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I./src/common -I. -I.  -c -o Data.o ./src/common/Data.c
In file included from ./src/common/Data.c:9:
./src/common/stddecl.h:433:17: warning: ‘cubafun_’ defined but not used [-Wunused-variable]
 static coreinit cubafun_;
                 ^~~~~~~~
ar -rv libcuba.a Data.o
r - Data.o
rm -f Data.o
ranlib libcuba.a
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.0/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c Rcpp-Cuba.cpp -o Rcpp-Cuba.o
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -USOLARIS -DRCPP_USE_UNWIND_PROTECT -I. -I../inst/include -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.0/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
installing to /Volumes/Builds/packages/high-sierra-x86_64/results/4.0/cubature.Rcheck/00LOCK-cubature/00new/cubature/libs
** generating debug symbols (dSYM)
warning: (x86_64) /Volumes/Builds/packages/high-sierra-x86_64/results/4.0/cubature.Rcheck/00_pkg_src/cubature/src/Cuba-4.2/libcuba.a(Vegas.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/high-sierra-x86_64/results/4.0/cubature.Rcheck/00_pkg_src/cubature/src/Cuba-4.2/libcuba.a(Suave.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/high-sierra-x86_64/results/4.0/cubature.Rcheck/00_pkg_src/cubature/src/Cuba-4.2/libcuba.a(Divonne.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/high-sierra-x86_64/results/4.0/cubature.Rcheck/00_pkg_src/cubature/src/Cuba-4.2/libcuba.a(Cuhre.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/high-sierra-x86_64/results/4.0/cubature.Rcheck/00_pkg_src/cubature/src/Cuba-4.2/libcuba.a(Fork.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/high-sierra-x86_64/results/4.0/cubature.Rcheck/00_pkg_src/cubature/src/Cuba-4.2/libcuba.a(Global.o) unable to open object file: No such file or directory
warning: (x86_64) /Volumes/Builds/packages/high-sierra-x86_64/results/4.0/cubature.Rcheck/00_pkg_src/cubature/src/Cuba-4.2/libcuba.a(Data.o) unable to open object file: No such file or directory
** R
** 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 (cubature)