This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 63c7c4a327 GH-39874: [CI][C++][Windows] Use pre-installed OpenSSL 
(#39882)
63c7c4a327 is described below

commit 63c7c4a327ff5b27a1ba6838253408e965c0a348
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Feb 1 23:43:21 2024 +0900

    GH-39874: [CI][C++][Windows] Use pre-installed OpenSSL (#39882)
    
    ### Rationale for this change
    
    It seems that we can't use OpenSSL via Chocolatey.
    
    ```text
    openssl v3.2.0 [Approved]
    openssl package files install completed. Performing other installation 
steps.
    Attempt to get headers for 
https://slproweb.com/download/Win64OpenSSL-3_2_0.exe failed.
      The remote file either doesn't exist, is unauthorized, or is forbidden 
for url 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'. Exception 
calling "GetResponse" with "0" argument(s): "The remote server returned an 
error: (404) Not Found."
    Downloading openssl 64 bit
      from 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'
    ERROR: The remote file either doesn't exist, is unauthorized, or is 
forbidden for url 'https://slproweb.com/download/Win64OpenSSL-3_2_0.exe'. 
Exception calling "GetResponse" with "0" argument(s): "The remote server 
returned an error: (404) Not Found."
    This package is likely not broken for licensed users - see 
https://docs.chocolatey.org/en-us/features/private-cdn.
    The install of openssl was NOT successful.
    Error while running 
'C:\ProgramData\chocolatey\lib\openssl\tools\chocolateyinstall.ps1'.
     See log for details.
    ```
    
    ### What changes are included in this PR?
    
    Use pre-installed OpenSSL on self-hosted GitHub runner instead.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    No.
    * Closes: #39874
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 .github/workflows/cpp.yml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index bd14f1b895..9fbad06692 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -284,10 +284,6 @@ jobs:
             /t REG_DWORD `
             /d 1 `
             /f
-      - name: Installed Packages
-        run: choco list
-      - name: Install Dependencies
-        run: choco install -y --no-progress openssl
       - name: Checkout Arrow
         uses: actions/checkout@v4
         with:

Reply via email to