[
https://issues.apache.org/jira/browse/ORC-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503386#comment-16503386
]
ASF GitHub Bot commented on ORC-375:
------------------------------------
GitHub user omalley opened a pull request:
https://github.com/apache/orc/pull/281
ORC-375: Update libhdfs to compile with gcc7.
This changes the code in the libhdfs tarball, but we need this change
applied upstream.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/omalley/orc orc-375
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/orc/pull/281.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #281
----
commit 497f8698f53148ed2cd7e7753a3d9e31e4e13389
Author: Owen O'Malley <omalley@...>
Date: 2018-06-06T05:17:16Z
ORC-375: Fix libhdfs on gcc7 by adding #include <functional> two places.
----
> v1.5.1 install from source fails under GCC 7.3.0
> ------------------------------------------------
>
> Key: ORC-375
> URL: https://issues.apache.org/jira/browse/ORC-375
> Project: ORC
> Issue Type: Bug
> Components: build, C++
> Affects Versions: 1.5.0, 1.5.1
> Reporter: Serge Fein
> Priority: Major
>
> Build fails when trying to build a dependent package:
> orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/lib/common/async_stream.h:39:16:
> error: ‘std::function’ has not been declared
> std::function<void (const asio::error_code & error,
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)