[
https://issues.apache.org/jira/browse/ARROW-15092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495066#comment-17495066
]
Karl Dunkle Werner commented on ARROW-15092:
--------------------------------------------
Thanks for flagging these! I helped with parts of the offline installation
scripting, and I'd be happy to help here.
{{create_package_with_all_dependencies()}} is currently designed to be run on a
linux machine to produce a dependency bundle for offline installation on
another linux machine. As you all have found, it hits minor snags on a Mac, and
major snags when it tries to run the
[download_dependencies.sh|https://github.com/apache/arrow/blob/master/cpp/thirdparty/download_dependencies.sh]
shell script on a Windows machine.
The underlying files that are downloaded are listed in
[versions.txt|https://github.com/apache/arrow/blob/master/cpp/thirdparty/versions.txt].
The files that get downloaded do not depend on the system running the command,
and cmake will check the files' hashes to be sure.
One way to make this function more platform-independent would be to continue
using {{{}versions.txt{}}}, but run the downloads in R instead of using
{{{}download_dependencies.sh{}}}. Does that seem reasonable? This change might
be easier said than done, because we need the [{{DEPENDENCIES}}
array|https://github.com/apache/arrow/blob/f9f2c0827e1e605717d954c6899fe07b08f599cb/cpp/thirdparty/versions.txt#L106-L139]
with all the variables substituted in.
> [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)