hi Brian,

Can you please open a JIRA issue?

Does running the "get_apache_mirror.py" script work for you by itself?

$ python cpp/build-support/get_apache_mirror.py
https://www-eu.apache.org/dist/

- Wes

On Mon, Jul 15, 2019 at 10:54 AM Brian Bowman <[email protected]> wrote:
>
> Is there a workaround for the following error?
>
> requests.exceptions.SSLError: hostname 'www.apache.org' doesn't match either 
> of '*.openoffice.org', 'openoffice.org'/thrift/0.12.0/thrift-0.12.0.tar.gz
>
> I’ve inflated apache-arrow-0.14.0.tar and the thrift-0.12.0.tar.gz is not 
> being found curing cmake.  This results in downstream compile errors during 
> make.
>
> Here’s the log info from cmake:
>
> -- Checking for module 'thrift'
> --   No package 'thrift' found
> -- Could NOT find Thrift (missing: THRIFT_STATIC_LIB THRIFT_INCLUDE_DIR 
> THRIFT_COMPILER)
> Building Apache Thrift from source
> Downloading Apache Thrift from Traceback (most recent call last):
>   File "…/apache-arrow-0.14.0/cpp/build-support/get_apache_mirror.py", line 
> 38, in <module>
>     suggested_mirror = get_url('https://www.apache.org/dyn/'
>   File "…/apache-arrow-0.14.0/cpp/build-support/get_apache_mirror.py", line 
> 27, in get_url
>     return requests.get(url).content
>   File "/usr/lib/python2.6/site-packages/requests/api.py", line 68, in get
>     return request('get', url, **kwargs)
>   File "/usr/lib/python2.6/site-packages/requests/api.py", line 50, in request
>     response = session.request(method=method, url=url, **kwargs)
>   File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 464, in 
> request
>     resp = self.send(prep, **send_kwargs)
>   File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 576, in 
> send
>     r = adapter.send(request, **kwargs)
>   File "/usr/lib/python2.6/site-packages/requests/adapters.py", line 431, in 
> send
>     raise SSLError(e, request=request)
> requests.exceptions.SSLError: hostname 'www.apache.org' doesn't match either 
> of '*.openoffice.org', 'openoffice.org'/thrift/0.12.0/thrift-0.12.0.tar.gz
>
>
> Thanks,
>
>
> Brian
>

Reply via email to