[
https://issues.apache.org/jira/browse/ARROW-12502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17332499#comment-17332499
]
Roland Weber commented on ARROW-12502:
--------------------------------------
Hello Jonathan, thanks for your response.
My build and unit tests had been working for several weeks until the change in
download behavior last week. And they had been working again for a few days
after I switched to binary downloads. So I'm reasonably sure that all the
prerequisites are in place. The message about required binary packages is
always printed for a binary install, it's not the result of a check.
The error messages from the unit tests are "cannot call <whatever>". Looks like
a generic error message when a dynamic library cannot be loaded.
test-arrow.r:48: error: arrow R is usable
Cannot call Array__from_vector(). See
https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow
C++ libraries.
1: Array$create(c("one", "two", "three", "four")) at
tests/testthat//test-arrow.r:48
2: Array__from_vector(x, type)
test-arrow.r:57: error: pyarrow is usable
Cannot call allocate_arrow_schema(). See
https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow
C++ libraries.
1: pa$array(c("five", "six", "seven", "eight")) at
tests/testthat//test-arrow.r:57
2: py_to_r(result)
3: py_to_r.pyarrow.lib.Array(result)
4: allocate_arrow_schema()
test-arrow.r:67: error: arrow R and pyarrow work together
Cannot call Array__from_vector(). See
https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow
C++ libraries.
1: Array$create(c("one", "two", "three", "four")) at
tests/testthat//test-arrow.r:67
2: Array__from_vector(x, type)
> [R] Download of C++ sources is broken
> -------------------------------------
>
> Key: ARROW-12502
> URL: https://issues.apache.org/jira/browse/ARROW-12502
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Affects Versions: 3.0.0
> Reporter: Roland Weber
> Priority: Major
>
> I'm installing Arrow 3.0.0 from CRAN on RedHat UBI. On 2021-04-21, my
> post-installation unit tests for Arrow started to fail. I found this error
> message in the build logs:
> {{*** Successfully retrieved C++ source}}
> {{/bin/gtar: This does not look like a tar archive}}
> {{/bin/gtar: Skipping to next header}}
> {{/bin/gtar: Exiting with failure status due to previous errors}}
> {{*** Proceeding without C++ dependencies}}
> {{Warning message:}}
> {{In untar(tf1, exdir = src_dir) :}}
> {{ ‘/bin/gtar -xf '/tmp/RtmpNhfLVX/file23a66db9da04' -C
> '/tmp/RtmpNhfLVX/file23a640ab53bd'’ returned error code 2}}
> Other installation steps and downloads are working, so I don't think this is
> a network connectivity issue. My guess is that the mirror selection logic
> changed on the server side, so that the source download now saves an HTML
> error page instead of the source archive.
> [https://github.com/apache/arrow/blob/maint-3.0.x/r/tools/linuxlibs.R#L221-L224]
> I'm fixing my build break by switching to binary downloads. But I thought you
> might want to have a look at that source download logic.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)