Title: Mac ARM installation failed · Issue #227 · RcppCore/RcppParallel · GitHub
Open Graph Title: Mac ARM installation failed · Issue #227 · RcppCore/RcppParallel
X Title: Mac ARM installation failed · Issue #227 · RcppCore/RcppParallel
Description: HI I have trouble to install qs2 from @traversc in qsbase/qs2#3 He suggested me to ask you help. When I install RcppParallel I got : > remotes::install_github("RcppCore/RcppParallel",force = T) Downloading GitHub repo RcppCore/RcppParall...
Open Graph Description: HI I have trouble to install qs2 from @traversc in qsbase/qs2#3 He suggested me to ask you help. When I install RcppParallel I got : > remotes::install_github("RcppCore/RcppParallel",force = T) Dow...
X Description: HI I have trouble to install qs2 from @traversc in qsbase/qs2#3 He suggested me to ask you help. When I install RcppParallel I got : > remotes::install_github("RcppCore/RcppParallel",f...
Opengraph URL: https://github.com/RcppCore/RcppParallel/issues/227
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mac ARM installation failed","articleBody":"HI \r\nI have trouble to install qs2 from @traversc in https://github.com/qsbase/qs2/issues/3\r\n\r\nHe suggested me to ask you help. \r\n\r\nWhen I install RcppParallel I got : \r\n\r\n```\r\n\u003e remotes::install_github(\"RcppCore/RcppParallel\",force = T)\r\nDownloading GitHub repo RcppCore/RcppParallel@HEAD\r\n── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────\r\n✔ checking for file ‘/private/var/folders/k7/pk9ppb456l7c_qx99rf0sqhh0000gn/T/RtmpYjP1YW/remotes1af72d54dc10/RcppCore-RcppParallel-b478b62/DESCRIPTION’ ...\r\n─ preparing ‘RcppParallel’:\r\n✔ checking DESCRIPTION meta-information\r\n─ cleaning src\r\n─ running ‘cleanup’\r\n─ checking for LF line-endings in source and make files and shell scripts (432ms)\r\n─ checking for empty or unneeded directories\r\n─ building ‘RcppParallel_5.1.9.9000.tar.gz’\r\n \r\n* installing *source* package ‘RcppParallel’ ...\r\n** using staged installation\r\n** preparing to configure package 'RcppParallel' ...\r\n*** configured file: 'R/tbb-autodetected.R.in' =\u003e 'R/tbb-autodetected.R'\r\n*** configured file: 'src/Makevars.in' =\u003e 'src/Makevars'\r\n*** configured file: 'src/install.libs.R.in' =\u003e 'src/install.libs.R'\r\n** finished configure for package 'RcppParallel'\r\n** libs\r\nusing C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.3)’\r\nusing SDK: ‘MacOSX15.0.sdk’\r\n(tbb) Building TBB using bundled sources ...\r\nOS: macos\r\narch=arm64\r\ncompiler=clang\r\nruntime=cc16.0.0_os15.0.1\r\ntbb_build_prefix=macos_arm64_clang_cc16.0.0_os15.0.1\r\nwork_dir=/private/var/folders/k7/pk9ppb456l7c_qx99rf0sqhh0000gn/T/RtmpAcWiLW/R.INSTALL38ac364dd4fa/RcppParallel/src/build/macos_arm64_clang_cc16.0.0_os15.0.1_release\r\nCreated ../build/lib_release directory\r\nmake -C \"../build/lib_release\" -r -f ../../build/Makefile.tbb cfg=release\r\n../../build/Makefile.tbb:28: CONFIG: cfg=release arch=arm64 compiler=clang target=macos runtime=cc16.0.0_os15.0.1\r\nclang++ -arch arm64 -I../inst/include -I/opt/homebrew/include -I/opt/R/arm64/include -o concurrent_hash_map.o -c -MMD -O2 -DUSE_PTHREAD -stdlib=libc++ -arch arm64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -falign-functions=64 -Wall -g -O2 -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp\r\nIn file included from ../../src/tbb/concurrent_hash_map.cpp:17:\r\nIn file included from /opt/homebrew/include/tbb/concurrent_hash_map.h:17:\r\nIn file included from /opt/homebrew/include/tbb/../oneapi/tbb/concurrent_hash_map.h:21:\r\nIn file included from /opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:25:\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_config.h:440:13: warning: TBB Warning: Support for C++98/03 is deprecated. Please use the compiler that supports C++11 features at least. [-W#pragma-messages]\r\n 440 | #pragma message(\"TBB Warning: Support for C++98/03 is deprecated. Please use the compiler that supports C++11 features at least.\")\r\n | ^\r\nIn file included from ../../src/tbb/concurrent_hash_map.cpp:17:\r\nIn file included from /opt/homebrew/include/tbb/concurrent_hash_map.h:17:\r\nIn file included from /opt/homebrew/include/tbb/../oneapi/tbb/concurrent_hash_map.h:21:\r\nIn file included from /opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:27:\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_machine.h:58:1: warning: inline namespaces are a C++11 feature [-Wc++11-inline-namespace]\r\n 58 | inline namespace d0 {\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_machine.h:129:1: error: unknown type name 'constexpr'\r\n 129 | constexpr std::uintptr_t number_of_bits() {\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_machine.h:129:16: error: cannot define or redeclare 'uintptr_t' here because namespace 'd0' does not enclose namespace 'std'\r\n 129 | constexpr std::uintptr_t number_of_bits() {\r\n | ~~~~~^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_machine.h:129:16: warning: variable templates are a C++14 extension [-Wc++14-extensions]\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_machine.h:129:25: error: expected ';' at end of declaration\r\n 129 | constexpr std::uintptr_t number_of_bits() {\r\n | ^\r\n | ;\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_machine.h:129:26: error: a type specifier is required for all declarations\r\n 129 | constexpr std::uintptr_t number_of_bits() {\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_machine.h:130:19: error: use of undeclared identifier 'T'\r\n 130 | return sizeof(T) * CHAR_BIT;\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_machine.h:137:39: error: expected '(' for function-style cast or type construction\r\n 137 | return (number_of_bits\u003cdecltype(x)\u003e() - 1) ^ gnu_builtins::clz(x);\r\n | ~~~~~~~~~~~^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_machine.h:137:41: error: expected expression\r\n 137 | return (number_of_bits\u003cdecltype(x)\u003e() - 1) ^ gnu_builtins::clz(x);\r\n | ^\r\nIn file included from ../../src/tbb/concurrent_hash_map.cpp:17:\r\nIn file included from /opt/homebrew/include/tbb/concurrent_hash_map.h:17:\r\nIn file included from /opt/homebrew/include/tbb/../oneapi/tbb/concurrent_hash_map.h:21:\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:31:1: warning: inline namespaces are a C++11 feature [-Wc++11-inline-namespace]\r\n 31 | inline namespace d0 {\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:34:18: warning: variadic templates are a C++11 extension [-Wc++11-extensions]\r\n 34 | template\u003ctypename... T\u003e void suppress_unused_warning(T\u0026\u0026...) {}\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:34:55: warning: rvalue references are a C++11 extension [-Wc++11-extensions]\r\n 34 | template\u003ctypename... T\u003e void suppress_unused_warning(T\u0026\u0026...) {}\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:40:1: error: unknown type name 'constexpr'\r\n 40 | constexpr size_t max_nfs_size = 128;\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:40:17: error: expected ';' after top level declarator\r\n 40 | constexpr size_t max_nfs_size = 128;\r\n | ^\r\n | ;\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:41:1: error: unknown type name 'constexpr'\r\n 41 | constexpr std::size_t max_nfs_size_exp = 7;\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:41:16: error: cannot define or redeclare 'size_t' here because namespace 'd0' does not enclose namespace 'std'\r\n 41 | constexpr std::size_t max_nfs_size_exp = 7;\r\n | ~~~~~^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:41:22: error: expected ';' after top level declarator\r\n 41 | constexpr std::size_t max_nfs_size_exp = 7;\r\n | ^\r\n | ;\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:42:20: error: use of undeclared identifier 'max_nfs_size_exp'\r\n 42 | static_assert(1 \u003c\u003c max_nfs_size_exp == max_nfs_size, \"max_nfs_size_exp must be a log2(max_nfs_size)\");\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:42:40: error: use of undeclared identifier 'max_nfs_size'\r\n 42 | static_assert(1 \u003c\u003c max_nfs_size_exp == max_nfs_size, \"max_nfs_size_exp must be a log2(max_nfs_size)\");\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:49:12: error: unknown type name 'constexpr'\r\n 49 | static constexpr std::int32_t LOOPS_BEFORE_YIELD = 16;\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:49:27: error: non-friend class member 'int32_t' cannot have a qualified name\r\n 49 | static constexpr std::int32_t LOOPS_BEFORE_YIELD = 16;\r\n | ~~~~~^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:49:34: error: expected ';' at end of declaration list\r\n 49 | static constexpr std::int32_t LOOPS_BEFORE_YIELD = 16;\r\n | ^\r\n | ;\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:61:45: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n 61 | atomic_backoff(const atomic_backoff\u0026) = delete;\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:62:56: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]\r\n 62 | atomic_backoff\u0026 operator=(const atomic_backoff\u0026) = delete;\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:66:22: error: use of undeclared identifier 'LOOPS_BEFORE_YIELD'\r\n 66 | if (count \u003c= LOOPS_BEFORE_YIELD) {\r\n | ^\r\n/opt/homebrew/include/tbb/../oneapi/tbb/detail/_utils.h:79:21: error: use of undeclared identifier 'LOOPS_BEFORE_YIELD'\r\n 79 | if (count \u003c LOOPS_BEFORE_YIELD) {\r\n | ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n8 warnings and 20 errors generated.\r\nmake[2]: *** [concurrent_hash_map.o] Error 1\r\nmake[1]: *** [tbb_release] Error 2\r\nclang++ -arch arm64 -std=gnu++17 -I\"/Library/Frameworks/R.framework/Resources/include\" -DNDEBUG -I../inst/include -I/opt/homebrew/include -I/opt/R/arm64/include -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fPIC -falign-functions=64 -Wall -g -O2 -c init.cpp -o init.o\r\nclang++ -arch arm64 -std=gnu++17 -I\"/Library/Frameworks/R.framework/Resources/include\" -DNDEBUG -I../inst/include -I/opt/homebrew/include -I/opt/R/arm64/include -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fPIC -falign-functions=64 -Wall -g -O2 -c options.cpp -o options.o\r\nclang++ -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 RcppParallel.so init.o options.o -Ltbb/build/lib_release -ltbb -Wl,-rpath,@loader_path/../lib -L/opt/homebrew/lib -lgsl -lgslcblas -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation\r\ninstalling via 'install.libs.R' to /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/00LOCK-RcppParallel/00new/RcppParallel\r\n** R\r\n** inst\r\n** byte-compile and prepare package for lazy loading\r\n** help\r\n*** installing help indices\r\n** building package indices\r\n** testing if installed package can be loaded from temporary location\r\nError: package or namespace load failed for ‘RcppParallel’:\r\n .onLoad failed in loadNamespace() for 'RcppParallel', details:\r\n call: dyn.load(file, DLLpath = DLLpath, ...)\r\n error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/00LOCK-RcppParallel/00new/RcppParallel/libs/RcppParallel.so':\r\n dlopen(/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/00LOCK-RcppParallel/00new/RcppParallel/libs/RcppParallel.so, 0x0006): symbol not found in flat namespace '__ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE'\r\nError: loading failed\r\nExecution halted\r\nERROR: loading failed\r\n* removing ‘/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/RcppParallel’\r\n* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/RcppParallel’\r\nWarning messages:\r\n1: In readLines(old_path) :\r\n incomplete final line found on '/Users/benjamin/.R/Makevars'\r\n2: In i.p(...) :\r\n installation of package ‘/var/folders/k7/pk9ppb456l7c_qx99rf0sqhh0000gn/T//RtmpYjP1YW/file1af71e3bb5b0/RcppParallel_5.1.9.9000.tar.gz’ had non-zero exit status\r\n```\r\n\r\nHow can I do ? thanks in advance ","author":{"url":"https://github.com/BenjaminDEMAILLE","@type":"Person","name":"BenjaminDEMAILLE"},"datePublished":"2024-10-11T18:57:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/227/RcppParallel/issues/227"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0f1552ce-b32c-a80f-532c-799bdef08ff5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9820:AD4AF:1A8BB2F:2536729:6970DF8C |
| html-safe-nonce | 3c8d785aef9f73b4b8b6e8fbd0dcc82d479dc7929e10c970454d14cfd858d7be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODIwOkFENEFGOjFBOEJCMkY6MjUzNjcyOTo2OTcwREY4QyIsInZpc2l0b3JfaWQiOiI1OTYwODY0NTk5NDAwMDQ2NDc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a0fcc15b7341aa5c0194ce0e9348c30b6d7603e75564ef528c5395350bd2d897 |
| hovercard-subject-tag | issue:2582006879 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RcppCore/RcppParallel/227/issue_layout |
| twitter:image | https://opengraph.githubassets.com/501d4266a3625daa8a4501f8454871cd74e52b1f88bbb837f550ea159bd62149/RcppCore/RcppParallel/issues/227 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/501d4266a3625daa8a4501f8454871cd74e52b1f88bbb837f550ea159bd62149/RcppCore/RcppParallel/issues/227 |
| og:image:alt | HI I have trouble to install qs2 from @traversc in qsbase/qs2#3 He suggested me to ask you help. When I install RcppParallel I got : > remotes::install_github("RcppCore/RcppParallel",force = T) Dow... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BenjaminDEMAILLE |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9203e7efc62065329c3b7015a1e6d16fc14bce440abec7b0d3cbe9e4fb1e2e4 |
| turbo-cache-control | no-preview |
| go-import | github.com/RcppCore/RcppParallel git https://github.com/RcppCore/RcppParallel.git |
| octolytics-dimension-user_id | 5811336 |
| octolytics-dimension-user_login | RcppCore |
| octolytics-dimension-repository_id | 21576989 |
| octolytics-dimension-repository_nwo | RcppCore/RcppParallel |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21576989 |
| octolytics-dimension-repository_network_root_nwo | RcppCore/RcppParallel |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | eb3c92b74ae48a78cffd8700b8eb5f60bad61528 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width