{"action":"created","issue":{"url":"https://api.github.com/repos/apache/arrow/issues/2068","repository_url":"https://api.github.com/repos/apache/arrow","labels_url":"https://api.github.com/repos/apache/arrow/issues/2068/labels{/name}","comments_url":"https://api.github.com/repos/apache/arrow/issues/2068/comments","events_url":"https://api.github.com/repos/apache/arrow/issues/2068/events","html_url":"https://github.com/apache/arrow/pull/2068","id":324633642,"number":2068,"title":"ARROW-2613: [Docs] Update the gen_apidocs docker script","user":{"login":"xhochy","id":70274,"avatar_url":"https://avatars2.githubusercontent.com/u/70274?v=4","gravatar_id":"","url":"https://api.github.com/users/xhochy","html_url":"https://github.com/xhochy","followers_url":"https://api.github.com/users/xhochy/followers","following_url":"https://api.github.com/users/xhochy/following{/other_user}","gists_url":"https://api.github.com/users/xhochy/gists{/gist_id}","starred_url":"https://api.github.com/users/xhochy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhochy/subscriptions","organizations_url":"https://api.github.com/users/xhochy/orgs","repos_url":"https://api.github.com/users/xhochy/repos","events_url":"https://api.github.com/users/xhochy/events{/privacy}","received_events_url":"https://api.github.com/users/xhochy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-19T14:27:55Z","updated_at":"2018-05-19T22:32:49Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apache/arrow/pulls/2068","html_url":"https://github.com/apache/arrow/pull/2068","diff_url":"https://github.com/apache/arrow/pull/2068.diff","patch_url":"https://github.com/apache/arrow/pull/2068.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/apache/arrow/issues/comments/390437009","html_url":"https://github.com/apache/arrow/pull/2068#issuecomment-390437009","issue_url":"https://api.github.com/repos/apache/arrow/issues/2068","id":390437009,"user":{"login":"kou","id":27350,"avatar_url":"https://avatars3.githubusercontent.com/u/27350?v=4","gravatar_id":"","url":"https://api.github.com/users/kou","html_url":"https://github.com/kou","followers_url":"https://api.github.com/users/kou/followers","following_url":"https://api.github.com/users/kou/following{/other_user}","gists_url":"https://api.github.com/users/kou/gists{/gist_id}","starred_url":"https://api.github.com/users/kou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kou/subscriptions","organizations_url":"https://api.github.com/users/kou/orgs","repos_url":"https://api.github.com/users/kou/repos","events_url":"https://api.github.com/users/kou/events{/privacy}","received_events_url":"https://api.github.com/users/kou/received_events","type":"User","site_admin":false},"created_at":"2018-05-19T22:32:49Z","updated_at":"2018-05-19T22:32:49Z","author_association":"MEMBER","body":"It's caused by GLib version mismatch.\r\n\r\nThe system GLib is 2.56.1 and the GLib installed by Miniconda is 2.55.0.\r\nIn the current configuration, we find the system GLib by `pkg-config` but we use `libglib.so` of the Miniconda GLib.\r\n\r\nThe following patch fixes this situation:\r\n\r\n```diff\r\ndiff --git a/dev/gen_apidocs/create_documents.sh b/dev/gen_apidocs/create_documents.sh\r\nindex c6b19fd0..8571624a 100755\r\n--- a/dev/gen_apidocs/create_documents.sh\r\n+++ b/dev/gen_apidocs/create_documents.sh\r\n@@ -26,7 +26,6 @@ export ARROW_BUILD_TYPE=release\r\n export ARROW_HOME=$(pwd)/apidocs-dist\r\n export PARQUET_HOME=$(pwd)/apidocs-dist\r\n CONDA_BASE=/home/ubuntu/miniconda\r\n-export PKG_CONFIG_PATH=$(pwd)/apidocs-dist/lib/pkgconfig:${PKG_CONFIG_PATH}\r\n export PATH=${CONDA_BASE}/bin:${PATH}\r\n # For newer GCC per https://arrow.apache.org/docs/python/development.html#known-issues\r\n export CXXFLAGS=\"-D_GLIBCXX_USE_CXX11_ABI=0\"\r\n@@ -52,6 +51,8 @@ source activate pyarrow-dev\r\n export ARROW_BUILD_TOOLCHAIN=$CONDA_PREFIX\r\n export PARQUET_BUILD_TOOLCHAIN=$CONDA_PREFIX\r\n export LD_LIBRARY_PATH=$(pwd)/apidocs-dist/lib:${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}\r\n+export PKG_CONFIG_PATH=${CONDA_PREFIX}/lib/pkgconfig:${PKG_CONFIG_PATH}\r\n+export PKG_CONFIG_PATH=$(pwd)/apidocs-dist/lib/pkgconfig:${PKG_CONFIG_PATH}\r\n \r\n CPP_BUILD_DIR=$(pwd)/arrow/cpp/build_apidocs\r\n \r\n``` \r\n"}}
{"actor":{"display_login":"kou"}}