Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infra/api.dockerfile build fails with latest version of arrow #40

Open
aaraney opened this issue Sep 19, 2024 · 1 comment
Open

infra/api.dockerfile build fails with latest version of arrow #40

aaraney opened this issue Sep 19, 2024 · 1 comment

Comments

@aaraney
Copy link
Contributor

aaraney commented Sep 19, 2024

Hey guys!

It seems that the latest version release of the R arrow library (17.0.0.1) is causing the infra/api.dockerfile's build to fail (only tested on aarm64). Pinning arrow to 16.1.0 resolved the build issues for me. Just wanted to give you a heads up!

Test compile error: <stdin>:1:10: fatal error: arrow/api.h: No such file or directory
compilation terminated.
Failing compile command: g++ -E -I/usr/local/include  -D__MUSL__ -Wall -pedantic -fdiagnostics-color=always -std=gnu++17 -xc++ -
PKG_CFLAGS=
PKG_LIBS=
ERROR: configuration failed for package ‘arrow’
* removing ‘/tmp/RtmpJpPcgB/pkg-lib3c41ef0d72/arrow’
---
Backtrace:
1. pak::pkg_install(commandArgs(TRUE))
2. pak:::remote(function(...) get("pkg_install_do_plan", asNamespace("pak"))(...), …
3. err$throw(res$error)
---
Subprocess backtrace:
 1. base::withCallingHandlers(cli_message = function(msg) { …
 2. get("pkg_install_do_plan", asNamespace("pak"))(...)
 3. proposal$install()
 4. pkgdepends::install_package_plan(plan, lib = private$library, num_workers = nw, …
 5. base::withCallingHandlers({ …
 6. pkgdepends:::handle_events(state, events)
 7. pkgdepends:::handle_event(state, i)
 8. pkgdepends:::stop_task(state, worker)
 9. pkgdepends:::stop_task_build(state, worker)
10. base::throw(pkg_error("Failed to build source package {.pkg {pkg}}.", …
11. | base::signalCondition(cond)
12. global (function (e) …
Execution halted

Attached is the full build log.

build.log

@mikejohnson51
Copy link
Member

Ha! We were just struggling through this. Thanks for the fix here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants