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

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

> My assumption about why it didn't work is that this offline feature assumes 
> that the machine, besides having the environment variables set, needs to be 
> disconnected from the internet. 

The feature doesn't assume anything like this. If the environment variable is 
set, it's used.
So, unless something else is wrong, my guess is that you made a mistake when 
pasting the changes from the PR.

> [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, download-utf8proc_ep.cmake, make.log, 
> utf8proc_ep-download-err.log, utf8proc_ep-download-out.log
>
>          Time Spent: 0.5h
>  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