raulcd commented on issue #47821:
URL: https://github.com/apache/arrow/issues/47821#issuecomment-3405821266

   I pushed a newer commit with the following diff and this was successful:
   ```diff
   diff --git a/dev/tasks/macros.jinja b/dev/tasks/macros.jinja
   index ddcb0d554e..d6c0eec996 100644
   --- a/dev/tasks/macros.jinja
   +++ b/dev/tasks/macros.jinja
   @@ -244,7 +244,7 @@ env:
        uses: actions/download-artifact@v4
        with:
          name: r-libarrow-windows-x86_64
   -      path: repo/libarrow
   +      path: repo
      {% endif %}
      {% if get_nix %}
        {% for openssl_version in ["1.0", "1.1", "3.0"] %}
   @@ -252,7 +252,7 @@ env:
        uses: actions/download-artifact@v4
        with:
          name: r-libarrow-linux-x86_64-openssl-{{ openssl_version }}
   -      path: repo/libarrow
   +      path: repo
        {% endfor %}
      {% endif %}
      {% if get_mac %}
   @@ -262,7 +262,7 @@ env:
        uses: actions/download-artifact@v4
        with:
          name: r-libarrow-darwin-{{ arch }}-openssl-{{ openssl_version }}
   -      path: repo/libarrow
   +      path: repo
          {% endfor %}
        {% endfor %}
      {% endif %}
   @@ -285,7 +285,7 @@ env:
        shell: Rscript {0}
        run: |
          profile_path <- file.path(getwd(), ".Rprofile")
   -      repo <- paste0("file://", getwd(), "/repo")
   +      repo <- paste0("file://", getwd(), "/repo/")
          str <- paste0("options(arrow.repo = '", repo, "' )")
          print(str)
          write(str, file = profile_path, append = TRUE)
   diff --git a/dev/tasks/r/github.packages.yml 
b/dev/tasks/r/github.packages.yml
   index 4436694597..6dad27453c 100644
   --- a/dev/tasks/r/github.packages.yml
   +++ b/dev/tasks/r/github.packages.yml
   @@ -257,7 +257,7 @@ jobs:
              LIBARROW_BINARY: "true" # has to be set as long as allowlist not 
updated
              LIBARROW_BUILD: "false"
              ARROW_R_ENFORCE_CHECKSUM: "true"
   -          ARROW_R_CHECKSUM_PATH: "{{ '${{ github.workspace }}' 
}}/repo/libarrow"
   +          ARROW_R_CHECKSUM_PATH: "{{ '${{ github.workspace }}' }}/repo"^M
            run: |
              on_windows <- tolower(Sys.info()[["sysname"]]) == "windows"
    
   @@ -346,7 +346,7 @@ jobs:
              LIBARROW_BUILD: "FALSE"
              LIBARROW_BINARY: {{ '${{ matrix.config.libarrow_binary }}' }}
              ARROW_R_ENFORCE_CHECKSUM: "true"
   -          ARROW_R_CHECKSUM_PATH: "{{ '${{ github.workspace }}' 
}}/repo/libarrow"
   +          ARROW_R_CHECKSUM_PATH: "{{ '${{ github.workspace }}' }}/repo"^M
            shell: bash
            run: |
              Rscript -e '
   ```
   All jobs are green: 
https://github.com/ursacomputing/crossbow/actions/runs/18523473666
   and artifacts were uploaded: 
https://github.com/ursacomputing/crossbow/actions/runs/18523473666
   
   At this point I think we should remove the commit from the release candidate 
branch, this was good for validating the binaries but we probably don't want 
this to be part of the release so we have the tag for the rc and the branch on 
the same commit and we don't have to create a new RC. I haven't changed 
previous history, I can just drop that commit. We can fix this on main 
separately. @kou what do you think?
   
   The `04-binary-download.sh` script won't be able to pick up those artifacts, 
we will have to download them manually  after executing the 
`04-binary-download.sh`:
   ```
   gh run download 18523473666 --dir 
"packages/release-22.0.0-rc0-0/r-binary-packages" --repo 
"ursacomputing/crossbow"
   ```
   


-- 
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