* installing *source* package ‘mdbx’ ...
** this is package ‘mdbx’ version ‘0.1.2’
** package ‘mdbx’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.1.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivendor/libmdbx -D__dll_export= -DMDBX_BUILD_FLAGS='"R-CMD-SHLIB"' -DMDBX_ENV_CHECKPID=1 -DMDBX_TXN_CHECKOWNER=1 -DMDBX_UNALIGNED_OK=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/cpp11/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c cpp11.cpp -o cpp11.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivendor/libmdbx -D__dll_export= -DMDBX_BUILD_FLAGS='"R-CMD-SHLIB"' -DMDBX_ENV_CHECKPID=1 -DMDBX_TXN_CHECKOWNER=1 -DMDBX_UNALIGNED_OK=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/cpp11/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_flags.cpp -o r_flags.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivendor/libmdbx -D__dll_export= -DMDBX_BUILD_FLAGS='"R-CMD-SHLIB"' -DMDBX_ENV_CHECKPID=1 -DMDBX_TXN_CHECKOWNER=1 -DMDBX_UNALIGNED_OK=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/cpp11/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_mdbx.cpp -o r_mdbx.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivendor/libmdbx -D__dll_export= -DMDBX_BUILD_FLAGS='"R-CMD-SHLIB"' -DMDBX_ENV_CHECKPID=1 -DMDBX_TXN_CHECKOWNER=1 -DMDBX_UNALIGNED_OK=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/cpp11/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_mdbx_hooks.cpp -o r_mdbx_hooks.o
clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivendor/libmdbx -D__dll_export= -DMDBX_BUILD_FLAGS='"R-CMD-SHLIB"' -DMDBX_ENV_CHECKPID=1 -DMDBX_TXN_CHECKOWNER=1 -DMDBX_UNALIGNED_OK=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/cpp11/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c vendor/libmdbx/mdbx.c -o vendor/libmdbx/mdbx.o
vendor/libmdbx/mdbx.c:381:25: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (CHECKS0_ENABLED() && /* In the non-ancient versions, this is became a dangerous extra check, as there are
^
vendor/libmdbx/mdbx.c:381:25: note: use '&' for a bitwise operation
if (CHECKS0_ENABLED() && /* In the non-ancient versions, this is became a dangerous extra check, as there are
^~
&
vendor/libmdbx/mdbx.c:381:25: note: remove constant to silence this warning
if (CHECKS0_ENABLED() && /* In the non-ancient versions, this is became a dangerous extra check, as there are
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:5774:33: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
(!err_fcntl && !err_flock && MDBX_CHECKING < 1) ? MDBX_SUCCESS :
^ ~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:5774:33: note: use '&' for a bitwise operation
(!err_fcntl && !err_flock && MDBX_CHECKING < 1) ? MDBX_SUCCESS :
^~
&
vendor/libmdbx/mdbx.c:5774:33: note: remove constant to silence this warning
(!err_fcntl && !err_flock && MDBX_CHECKING < 1) ? MDBX_SUCCESS :
~^~~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:14430:32: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (MDBX_UNALIGNED_OK >= 8 && sizeof(size_t) > 7 && likely(l < 17))
^ ~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:14430:32: note: use '&' for a bitwise operation
if (MDBX_UNALIGNED_OK >= 8 && sizeof(size_t) > 7 && likely(l < 17))
^~
&
vendor/libmdbx/mdbx.c:14430:32: note: remove constant to silence this warning
if (MDBX_UNALIGNED_OK >= 8 && sizeof(size_t) > 7 && likely(l < 17))
~^~~~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:18096:63: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (env->kvs[MAIN_DBI].clc.k.cmp(&new_name, &old_name) == 0 && MDBX_DEBUG < 1)
^ ~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:18096:63: note: use '&' for a bitwise operation
if (env->kvs[MAIN_DBI].clc.k.cmp(&new_name, &old_name) == 0 && MDBX_DEBUG < 1)
^~
&
vendor/libmdbx/mdbx.c:18096:63: note: remove constant to silence this warning
if (env->kvs[MAIN_DBI].clc.k.cmp(&new_name, &old_name) == 0 && MDBX_DEBUG < 1)
~^~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:19641:39: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (dl->sorted > unsorted / 4 + 4 &&
^
vendor/libmdbx/mdbx.c:19641:39: note: use '&' for a bitwise operation
if (dl->sorted > unsorted / 4 + 4 &&
^~
&
vendor/libmdbx/mdbx.c:19641:39: note: remove constant to silence this warning
if (dl->sorted > unsorted / 4 + 4 &&
~^~
vendor/libmdbx/mdbx.c:22522:63: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (likely(on_page_safe_mask & (uintptr_t)(range + offset)) && !RUNNING_ON_VALGRIND) {
^ ~~~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:22522:63: note: use '&' for a bitwise operation
if (likely(on_page_safe_mask & (uintptr_t)(range + offset)) && !RUNNING_ON_VALGRIND) {
^~
&
vendor/libmdbx/mdbx.c:22522:63: note: remove constant to silence this warning
if (likely(on_page_safe_mask & (uintptr_t)(range + offset)) && !RUNNING_ON_VALGRIND) {
~^~~~~~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:32172:34: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (MAP_FIXED_NOREPLACE != 0 && MAP_FIXED_NOREPLACE != MAP_FIXED && unlikely(ptr == MAP_FAILED) &&
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:32172:34: note: use '&' for a bitwise operation
if (MAP_FIXED_NOREPLACE != 0 && MAP_FIXED_NOREPLACE != MAP_FIXED && unlikely(ptr == MAP_FAILED) &&
^~
&
vendor/libmdbx/mdbx.c:32172:34: note: remove constant to silence this warning
if (MAP_FIXED_NOREPLACE != 0 && MAP_FIXED_NOREPLACE != MAP_FIXED && unlikely(ptr == MAP_FAILED) &&
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:32184:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
if (MAP_FIXED_NOREPLACE != 0 && MAP_FIXED_NOREPLACE != MAP_FIXED && unlikely(ptr == MAP_FAILED) &&
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:32184:36: note: use '&' for a bitwise operation
if (MAP_FIXED_NOREPLACE != 0 && MAP_FIXED_NOREPLACE != MAP_FIXED && unlikely(ptr == MAP_FAILED) &&
^~
&
vendor/libmdbx/mdbx.c:32184:36: note: remove constant to silence this warning
if (MAP_FIXED_NOREPLACE != 0 && MAP_FIXED_NOREPLACE != MAP_FIXED && unlikely(ptr == MAP_FAILED) &&
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:32868:23: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
if (!got_boottime || !MDBX_TRUST_RTC)
^ ~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:32868:23: note: use '|' for a bitwise operation
if (!got_boottime || !MDBX_TRUST_RTC)
^~
|
vendor/libmdbx/mdbx.c:36128:51: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
if (unlikely(swap_cost < new_insert_cost) || MDBX_DEBUG > 0) {
^ ~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:36128:51: note: use '|' for a bitwise operation
if (unlikely(swap_cost < new_insert_cost) || MDBX_DEBUG > 0) {
^~
|
vendor/libmdbx/mdbx.c:40432:53: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
!need_flush_for_nometasync && !head.is_steady && !CHECKS2_ENABLED()) {
^ ~~~~~~~~~~~~~~~~~~
vendor/libmdbx/mdbx.c:40432:53: note: use '&' for a bitwise operation
!need_flush_for_nometasync && !head.is_steady && !CHECKS2_ENABLED()) {
^~
&
vendor/libmdbx/mdbx.c:40432:53: note: remove constant to silence this warning
!need_flush_for_nometasync && !head.is_steady && !CHECKS2_ENABLED()) {
~^~~~~~~~~~~~~~~~~~~~~
11 warnings generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o mdbx.so cpp11.o r_flags.o r_mdbx.o r_mdbx_hooks.o vendor/libmdbx/mdbx.o -pthread -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.5/mdbx.Rcheck/00LOCK-mdbx/00new/mdbx/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (mdbx)