You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Dewey Dunnington (Jira)" <ji...@apache.org> on 2022/01/31 18:14:00 UTC

[jira] [Commented] (ARROW-15092) [R] create_package_with_all_dependencies() fails on MacOS 11.2

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

Dewey Dunnington commented on ARROW-15092:
------------------------------------------

Thank you for reporting this! I can replicate this on MacOS as well:

{code:R}
arrow::create_package_with_all_dependencies(tempfile())
#> Downloading Arrow source file
#> Downloading files to /var/folders/gt/l87wjg8s7312zs9s7c1fgs900000gn/T//RtmplKo3qJ/file19d4737d41d5/arrow/tools/thirdparty_dependencies
#> Error in arrow::create_package_with_all_dependencies(tempfile()): Failed to download thirdparty dependencies
{code}


{noformat}
trying URL 'https://cran.rstudio.com/src/contrib/arrow_6.0.1.tar.gz'
Content type 'application/x-gzip' length 4774511 bytes (4.6 MB)
==================================================
downloaded 4.6 MB

readlink: illegal option -- f
usage: readlink [-n] [file ...]
{noformat}

It looks like the error is coming from here:

https://github.com/apache/arrow/blob/master/cpp/thirdparty/download_dependencies.sh#L33

> [R] create_package_with_all_dependencies() fails on MacOS 11.2
> --------------------------------------------------------------
>
>                 Key: ARROW-15092
>                 URL: https://issues.apache.org/jira/browse/ARROW-15092
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 6.0.1
>         Environment: R on MacOS 11.2 (Big Sur)
>            Reporter: Maximilian König
>            Priority: Major
>
> I installed the Arrow Package inside a fresh R-Install on Mac OS 11.2 (BigSur) and tried to use the function create_package_with_all_dependencies():
> {code}
> > library(arrow)
> > create_package_with_all_dependencies('/home/max/test.tar.gz')
> Downloading Arrow source file
> versuche URL 'https://mirror.dogado.de/cran/src/contrib/arrow_6.0.1.tar.gz'
> Content type 'application/octet-stream' length 4774511 bytes (4.6 MB)
> ===================================================
> downloaded 4.6 MB
> Downloading files to /var/folders/dn/v941w15111s7858wxz6xwzzh0000gn/T//RtmpBjlYTP/file78c52918a/4e/arrow/tools/thirdparty_dependencies
> readlink: illegal option -- f
> usage: readlink [-n] [file ...]
> Fehler in create_package_with_all_dependencies("/home/max/test.tar.gz") :
>   Failed to download thirdparty dependencies
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)