You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Marcin Juszkiewicz (JIRA)" <ji...@apache.org> on 2019/08/06 09:51:00 UTC
[jira] [Commented] (ARROW-5953) Thrift download ERRORS with
apache-arrow-0.14.0
[ https://issues.apache.org/jira/browse/ARROW-5953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900831#comment-16900831 ]
Marcin Juszkiewicz commented on ARROW-5953:
-------------------------------------------
On Debian 'buster' I have similar failure with Arrow 0.14.1 when tried to rebuild package for arm64 architecture:
{{– 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 "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open}}
{{ encode_chunked=req.has_header('Transfer-encoding'))}}
{{ File "/usr/lib/python3.7/http/client.py", line 1229, in request}}
{{ self._send_request(method, url, body, headers, encode_chunked)}}
{{ File "/usr/lib/python3.7/http/client.py", line 1275, in _send_request}}
{{ self.endheaders(body, encode_chunked=encode_chunked)}}
{{ File "/usr/lib/python3.7/http/client.py", line 1224, in endheaders}}
{{ self._send_output(message_body, encode_chunked=encode_chunked)}}
{{ File "/usr/lib/python3.7/http/client.py", line 1016, in _send_output}}
{{ self.send(msg)}}
{{ File "/usr/lib/python3.7/http/client.py", line 956, in send}}
{{ self.connect()}}
{{ File "/usr/lib/python3.7/http/client.py", line 1392, in connect}}
{{ server_hostname=server_hostname)}}
{{ File "/usr/lib/python3.7/ssl.py", line 412, in wrap_socket}}
{{ session=session}}
{{ File "/usr/lib/python3.7/ssl.py", line 853, in _create}}
{{ self.do_handshake()}}
{{ File "/usr/lib/python3.7/ssl.py", line 1117, in do_handshake}}
{{ self._sslobj.do_handshake()}}
{{ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)}}
> Thrift download ERRORS with apache-arrow-0.14.0
> -----------------------------------------------
>
> Key: ARROW-5953
> URL: https://issues.apache.org/jira/browse/ARROW-5953
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Affects Versions: 0.13.0, 0.14.0
> Environment: RHEL 6.7
> Reporter: Brian
> Priority: Major
>
> {color:#333333}cmake returns:{color}
> requests.excetions.SSLError: hostname 'www.apache.org' doesn't match either of '*.openoffice.org', 'openoffice.org'/thrift/0.12.0/thrift-0.12.0.tar.gz
> {color:#333333}during check for thrift download location. {color}
> {color:#333333}This occurs with a freshly inflated arrow source release tree where cmake is running for the first time. {color}
> {color:#333333}Reproducible with the release levels of apache-arrow-0.14.0 and 0.13.0. I tried this 3-5x on 15Jul2019 and see it consistently each time.{color}
> {color:#333333}Here's the full context from cmake output: {color}
> {quote}-- 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
> {quote}
> {color:#FF0000} {color}
> {color:#FF0000}{color:#333333}Per Wes' suggestion I ran the following directly:{color}{color}
> {color:#FF0000}{color:#333333}python cpp/build-support/get_apache_mirror.py [https://www-eu.apache.org/dist/] [http://us.mirrors.quenda.co/apache/]
> {color}{color}
> {color:#FF0000}{color:#333333}with this output:{color}{color}
> [https://www-eu.apache.org/dist/] [http://us.mirrors.quenda.co/apache/]
>
>
> *NOTE:* here are the cmake thrift log lines from a build of apache-arrow git clone on 06Jul2019 where cmake/make were run fine.pwd
>
> {quote}-- Checking for module 'thrift'
> -- No package 'thrift' found
> -- Could NOT find Thrift (missing: THRIFT_STATIC_LIB)
> Building Apache Thrift from source
> Downloading Apache Thrift from http://mirror.metrocast.net/apache//thrift/0.12.0/thrift-0.12.0.tar.gz
> {quote}
> Currently, cmake runs successfully on this apache-arrow-0.14.0 directory.
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)