Title: Rcpp compilation issue on Alpine distribution · Issue #448 · RcppCore/Rcpp · GitHub
Open Graph Title: Rcpp compilation issue on Alpine distribution · Issue #448 · RcppCore/Rcpp
X Title: Rcpp compilation issue on Alpine distribution · Issue #448 · RcppCore/Rcpp
Description: "Command failed (1) Failed to run system command: '/usr/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/RtmpDPDGNf/Rcpp' --library='/app/packrat/lib/x86_64-alpine-linux-musl/3.2.3' --install-tests --no-docs --no-multiarch --no-demo The command ...
Open Graph Description: "Command failed (1) Failed to run system command: '/usr/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/RtmpDPDGNf/Rcpp' --library='/app/packrat/lib/x86_64-alpine-linux-musl/3.2.3' --install-tests --no-do...
X Description: "Command failed (1) Failed to run system command: '/usr/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/RtmpDPDGNf/Rcpp' --library='/app/packrat/lib/x86_64-alpine-linux-musl/3.2.3...
Opengraph URL: https://github.com/RcppCore/Rcpp/issues/448
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rcpp compilation issue on Alpine distribution","articleBody":"```\n\"Command failed (1)\n\nFailed to run system command:\n\n'/usr/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/RtmpDPDGNf/Rcpp' --library='/app/packrat/lib/x86_64-alpine-linux-musl/3.2.3' --install-tests --no-docs --no-multiarch --no-demo\nThe command failed with output:\n* installing *source* package 'Rcpp' ...\n** package 'Rcpp' successfully unpacked and MD5 sums checked\n** libs\nx86_64-alpine-linux-musl-g++ -I/usr/lib/R/include -DNDEBUG -I../inst/include/ -Os -fomit-frame-pointer -fpic -Os -fomit-frame-pointer -c Date.cpp -o Date.o\nx86_64-alpine-linux-musl-g++ -I/usr/lib/R/include -DNDEBUG -I../inst/include/ -Os -fomit-frame-pointer -fpic -Os -fomit-frame-pointer -c Module.cpp -o Module.o\nx86_64-alpine-linux-musl-g++ -I/usr/lib/R/include -DNDEBUG -I../inst/include/ -Os -fomit-frame-pointer -fpic -Os -fomit-frame-pointer -c Rcpp_init.cpp -o Rcpp_init.o\nx86_64-alpine-linux-musl-g++ -I/usr/lib/R/include -DNDEBUG -I../inst/include/ -Os -fomit-frame-pointer -fpic -Os -fomit-frame-pointer -c api.cpp -o api.o\napi.cpp:40:30: fatal error: execinfo.h: No such file or directory\ncompilation terminated.\n/usr/lib/R/etc/Makeconf:141: recipe for target 'api.o' failed\nmake: *** [api.o] Error 1\nERROR: compilation failed for package 'Rcpp'\n* removing '/app/packrat/lib/x87_64-alpine-linux-musl/3.2.3/Rcpp'\"\n```\n\nIt seems related to https://github.com/RcppCore/Rcpp/issues/360 (although on a diferrent platform).\n\nThe code it is hitting seems to be https://github.com/RcppCore/Rcpp/blob/0.12.3/src/api.cpp#L40 \n\nAccording to the [gnulib page](https://www.gnu.org/software/gnulib/manual/html_node/execinfo_002eh.html) it seems that for platforms that the file is missing it should only have a stub (do nothing).\n\n\u003e Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc\n\u003e http://wiki.alpinelinux.org/wiki/Main_Page\n\nAlpine seems to use a [different](http://www.etalabs.net/compare_libcs.html) `libc` as mentioned above\n\nIs that the Alpine distribution be covered by the `Rcpp api.cpp` to just use a stub?\n","author":{"url":"https://github.com/lostie","@type":"Person","name":"lostie"},"datePublished":"2016-03-21T14:13:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/448/Rcpp/issues/448"}
| 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:135e81ee-938d-3586-62c4-ed4e981ba53a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF0C:9124A:2EFB39:3CF5D6:696ADB4A |
| html-safe-nonce | 84ff16a3520b83ce3b7d9089479f6992e030d1e65ab0362e603b2ebfc1abd41e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjBDOjkxMjRBOjJFRkIzOTozQ0Y1RDY6Njk2QURCNEEiLCJ2aXNpdG9yX2lkIjoiMjUxNTc3Mzk0Mjg5NDYxNTM3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 276648ba1af189621a9b59421f470b616ac299164c5d35b8502bd479f0347d7f |
| hovercard-subject-tag | issue:142360540 |
| 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/Rcpp/448/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bce0b2c546d4aa71cc4c2e46d186ad1e25985f2cc273c4c7d07c2156e91c132d/RcppCore/Rcpp/issues/448 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bce0b2c546d4aa71cc4c2e46d186ad1e25985f2cc273c4c7d07c2156e91c132d/RcppCore/Rcpp/issues/448 |
| og:image:alt | "Command failed (1) Failed to run system command: '/usr/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/RtmpDPDGNf/Rcpp' --library='/app/packrat/lib/x86_64-alpine-linux-musl/3.2.3' --install-tests --no-do... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lostie |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/RcppCore/Rcpp git https://github.com/RcppCore/Rcpp.git |
| octolytics-dimension-user_id | 5811336 |
| octolytics-dimension-user_login | RcppCore |
| octolytics-dimension-repository_id | 14005591 |
| octolytics-dimension-repository_nwo | RcppCore/Rcpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14005591 |
| octolytics-dimension-repository_network_root_nwo | RcppCore/Rcpp |
| 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 | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width