Open bschilder opened 1 year ago
Related Issues:
Seems like it might be related to the version of arrow
being used.
Trying to run arrow::install_arrow()
but seems to hang for a very long time...
Eventually did start installing but ultimately failed:
In file included from /var/folders/rd/rbc_wrdj4k3djf3brk6z0_dc0000gp/T/RtmpUZuKSx/R.INSTALL13acd29e4a96c/arrow/tools/cpp/src/arrow/util/simd.h:37:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/nmmintrin.h:19:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/smmintrin.h:17:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/tmmintrin.h:17:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/pmmintrin.h:17:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/emmintrin.h:17:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/xmmintrin.h:17:
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
#error "This header is only meant to be used on x86 and x64 architecture"
^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:37:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
__builtin_ia32_emms();
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/math.h:507:10: note: '__builtin_isless' declared here
return __builtin_isless((type)__x, (type)__y);
^
In file included from /var/folders/rd/rbc_wrdj4k3djf3brk6z0_dc0000gp/T/RtmpUZuKSx/R.INSTALL13acd29e4a96c/arrow/tools/cpp/src/arrow/util/utf8.cc:28:
In file included from /var/folders/rd/rbc_wrdj4k3djf3brk6z0_dc0000gp/T/RtmpUZuKSx/R.INSTALL13acd29e4a96c/arrow/tools/cpp/src/arrow/util/utf8_internal.h:33:
In file included from /var/folders/rd/rbc_wrdj4k3djf3brk6z0_dc0000gp/T/RtmpUZuKSx/R.INSTALL13acd29e4a96c/arrow/tools/cpp/src/arrow/util/simd.h:37:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/nmmintrin.h:19:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/smmintrin.h:17:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/tmmintrin.h:17:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/pmmintrin.h:17:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/emmintrin.h:17:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/xmmintrin.h:17:
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:37:25: error: too few arguments to function call, expected 2, have 0
__builtin_ia32_emms();
~~~~~~~~~~~~~~~~~~~~^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:54:19: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:71:12: error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:133:19: error: use of undeclared identifier '__builtin_ia32_packsswb'
return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:163:19: error: use of undeclared identifier '__builtin_ia32_packssdw'
return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:193:19: error: use of undeclared identifier '__builtin_ia32_packuswb'
return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2);
^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:220:19: error: use of undeclared identifier '__builtin_ia32_punpckhbw'
return (__m64)__builtin_ia32_punpckhbw((__v8qi)__m1, (__v8qi)__m2);
^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:243:19: error: use of undeclared identifier '__builtin_ia32_punpckhwd'
return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2);
^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:264:19: error: use of undeclared identifier '__builtin_ia32_punpckhdq'
return (__m64)__builtin_ia32_punpckhdq((__v2si)__m1, (__v2si)__m2);
^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:291:19: error: use of undeclared identifier '__builtin_ia32_punpcklbw'
return (__m64)__builtin_ia32_punpcklbw((__v8qi)__m1, (__v8qi)__m2);
^
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/mmintrin.h:314:19: error: use of undeclared identifier '__builtin_ia32_punpcklwd'
return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [src/arrow/CMakeFiles/arrow_objlib.dir/util/utf8.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/arrow/CMakeFiles/arrow_objlib.dir/all] Error 2
make: *** [all] Error 2
**** Complete build log may still be present at /var/folders/rd/rbc_wrdj4k3djf3brk6z0_dc0000gp/T//RtmpV9U9iU/file13e264e194e16.log
------------------------- NOTE ---------------------------
There was an issue preparing the Arrow C++ libraries.
See https://arrow.apache.org/docs/r/articles/install.html
---------------------------------------------------------
ERROR: configuration failed for package ‘arrow’
* removing ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/arrow’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/arrow’
The downloaded source packages are in
‘/private/var/folders/rd/rbc_wrdj4k3djf3brk6z0_dc0000gp/T/RtmphVgkLs/downloaded_packages’
Warning message:
In install.packages("arrow", repos = arrow_repos(repos, nightly), :
installation of package ‘arrow’ had non-zero exit status
1. Bug description
Any parquet functions cause a segfault error when running unit tests with "Test" or "Check" buttons in Rstudio, but not when running manually or with "Run test" button.
Expected behaviour
Functions work in all conditions.
2. Reproducible example
Code
Console output
https://github.com/rstudio/reticulate/issues/1470
3. Session info