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

[R] Source package install not using precompiled libarrow binaries #44931

Closed
amoeba opened this issue Dec 4, 2024 · 5 comments
Closed

[R] Source package install not using precompiled libarrow binaries #44931

amoeba opened this issue Dec 4, 2024 · 5 comments

Comments

@amoeba
Copy link
Member

amoeba commented Dec 4, 2024

Describe the bug, including details regarding any error messages, version, and platform.

While testing the latest (18.1.0) arrow CRAN submission, I noticed the prebuilt libarrow binaries aren't being used. I'm not sure if this has been an issue for more than just this release yet.

How I can reproduce this:

git checkout maint-18.1.0-r
cd r
make build
ARROW_R_DEV=TRUE R CMD INSTALL arrow_18.1.0.tar.gz
* installing to library ‘/home/bryce/R/aarch64-unknown-linux-gnu-library/4.4’
* installing *source* package ‘arrow’ ...
** using staged installation
*** pkg-config found.
trying URL 'https://apache.jfrog.io/artifactory/arrow/r/'
downloaded 1284 bytes

*** Building on linux aarch64
*** Found local C++ source: 'tools/cpp'
*** Building libarrow from source
    For build options and troubleshooting, see the install guide:
    https://arrow.apache.org/docs/r/articles/install.html
*** Building with MAKEFLAGS=-j2

I think it would be good while fixing the issue to improve the print logging if we can.

cc @assignUser

Component(s)

R

@assignUser
Copy link
Member

improve the print logging if we can.

We have this little on purpose, we added more at some point and promptly got smacked for it on the next release.

@assignUser
Copy link
Member

on linux aarch64

We don't have Linux arm64 pre-built binaries, so non could be downloaded. Also if you are on Debian it would also built from source.

@amoeba
Copy link
Member Author

amoeba commented Dec 4, 2024

I think you've told me either one or both of those things in the past, sorry about that. In the R release guide, we have an instruction,

  • Check install.packages("arrow_X.X.X.tar.gz") on Ubuntu and ensure that the hosted binaries are used

Is that just a very out of date instruction?

@assignUser
Copy link
Member

That assumes amd64, we should add that. Ubuntu is allow listed for binaries, Debian is not (because cran runs Debian).

@amoeba
Copy link
Member Author

amoeba commented Dec 4, 2024

Ahh, thank you. I tested on x86 Ubuntu 24.04 and things are working as expected. I'll update the release guide.

@amoeba amoeba closed this as completed Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants