Skip to content

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

@aaraney

Description

@aaraney

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

https://github.com/lynker-spatial/hfsubsetCLI/blob/73c31a952fb09d17db702780064d7a9cf9b9dd41/infra/api.dockerfile#L16

Attached is the full build log.

build.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions