kou commented on PR #41313:
URL: https://github.com/apache/arrow/pull/41313#issuecomment-2067778412

   
https://github.com/apache/arrow/actions/runs/8766189015/job/24058044138?pr=41313#step:5:2198
   
   ```text
   [567/568] Install the project...
   -- Install configuration: "DEBUG"
   CMake Error at cmake_install.cmake:41 (file):
     file cannot create directory: /usr/local/lib/cmake/Arrow.  Maybe need
     administrative privileges.
   ```
   
   How about using other directory for `ARROW_HOME`? Something like:
   
   ```diff
   diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
   index 2db9b17e89..f06d7d2a65 100644
   --- a/.github/workflows/python.yml
   +++ b/.github/workflows/python.yml
   @@ -133,7 +133,7 @@ jobs:
        if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
        timeout-minutes: 60
        env:
   -      ARROW_HOME: /usr/local
   +      ARROW_HOME: "${GITHUB_WORKSPACE}/local"
          ARROW_AZURE: ON
          ARROW_DATASET: ON
          ARROW_FLIGHT: ON
   ```
   
   ```diff
   diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
   index 2db9b17e89..c441ace812 100644
   --- a/.github/workflows/python.yml
   +++ b/.github/workflows/python.yml
   @@ -133,7 +133,7 @@ jobs:
        if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
        timeout-minutes: 60
        env:
   -      ARROW_HOME: /usr/local
   +      ARROW_HOME: /tmp/local
          ARROW_AZURE: ON
          ARROW_DATASET: ON
          ARROW_FLIGHT: ON
   ```
   
   Could you open a new issue for this? GH-41312 should be used for a PR that 
fixes the crash.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to