[ 
https://issues.apache.org/jira/browse/ARROW-12502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17332631#comment-17332631
 ] 

Neal Richardson commented on ARROW-12502:
-----------------------------------------

CRAN releases don't download Arrow source from bintray, that's for nightly 
builds and for C++ binaries, so that's why sometimes a C++ binary was found and 
sometimes not. In any case, the upcoming 4.0 release (coming this week) 
eliminates all bintray. 

In your first error log, it looks like Arrow C++ source downloaded but untar 
failed. That likely means that you got a bad response from an Apache mirror. I 
would expect that to succeed on retry.

> [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)

Reply via email to