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

Antoine Pitrou commented on ARROW-12086:
----------------------------------------

The attached PR should fix this for bzip2 and utf8proc (I tested it locally 
after disconnecting my Ethernet).
Note that S3 and ORC seem to need Internet connectivity to build their 
dependencies, but that's a separate issue.

> [C++] offline builds does not use ARROW_$LIBRARY_URL to search for packages
> ---------------------------------------------------------------------------
>
>                 Key: ARROW-12086
>                 URL: https://issues.apache.org/jira/browse/ARROW-12086
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Developer Tools
>    Affects Versions: 2.0.0, 3.0.0
>         Environment: uname -a
> Linux xxx.xxx 3.10.0-1160.11.1.el7.x86_64 #1 SMP Fri Dec 18 16:34:56 UTC 2020 
> x86_64 x86_64 x86_64 GNU/Linux
> cmake -version
> cmake version 3.9.0-rc4
>            Reporter: Daniel Blumenfeld
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: cmake.log, make.log, utf8proc_ep-download-err.log, 
> utf8proc_ep-download-out.log
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I am following the instructions in order to build the parquet libraries, and 
> there are some firewall restrictions in our dvpmt environment.
> I have followed the instructions mentioned in 
> [https://github.com/apache/arrow/blob/master/docs/source/developers/cpp/building.rst]
> regarding Offline Builds: 
> {code:java}
> ./thirdparty/download_dependencies.sh $HOME/arrow-thirdparty >env.sh
> . ./env.sh
> cd cpp
> mkdir debug
> cd debug
> cmake -DCMAKE_BUILD_TYPE=Debug -DARROW_PARQUET=ON -DARROW_DATASET=ON ..
> make parquet arrow_dataset{code}
> The result is that the process simply ignores the environment variables and 
> tries to download the packages from the cloud - facing the firewall 
> restrictions, and then it fails after a number of attempts at trying to 
> download the packages.
> h3.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to