delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/10/18/16:59:16

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49IKxFgI1072197
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=UtzYCTfh
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8689C3858410
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1729285153;
bh=PGg6ZcGwMiB3uZ9uSVy/UFbie8e2gRbMf8NmEjLVewM=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=UtzYCTfhxf38D3dKw3KSC5K+Iixw+OkoloQHEPaDC2nqhldeaVAYrVrzBDWWFEZ+s
HTjjgAvcTsmgr1MnNbr6H0+cKejU6MfqFFsA33nNrc9rfmSwyh/iO8TwwpKYaICAJc
4ruRgiPBMsTAMhclYKeWNh7eobJEy72OBCrf/Zl8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C1BB33858431
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C1BB33858431
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729285132; cv=none;
b=OreLhbqWcVn7VEcBSN04goU+FeihCaZLurMhXBXSzXAuT0Ck9/SmhxdYcdbtOEcJjdYJi7eLiWEuTcTVaiWB4SgKJrRYz46hLtRee6CFQxJhzpA12IhgRlf7mTdAma6p+pv3zm/yWUf6Paph/qyJc8CxPa1Oy12YYLbbWRBw5Sw=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1729285132; c=relaxed/simple;
bh=zU6CZaT4Yink08wpdI/gcshBBtNO9r13OCoZ4l2wkgM=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=iK9PpUEnvvhh0flNq3j7BEo+d6M4c10vmzs2QeFNMC0GfAvfTxJVKlxoNW0S9NABCy3U265qqXgSv8tmlMLs8MOcODqSn0hasLPhZItz5LdF50yzenI67i0Nq9FEqoG/DuulgwzBhVXFOss4G75CzTLEHUf07CGCfrq3u5rzWso=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Gm-Message-State: AOJu0YwfIoVp7aToEWWL+ni5XVQk+8K26uPVIlF8zk6ITI+0HS4DfuJx
+8kO09H8OQcdjQFXWp22TRiqygzpYfb3xnR6AC4n1h6vNU/IiHibkAOABO4fvF6k2YQvYXLYdMD
M6DwpoesijMW4W9zUTgUmIjRF/Gg=
X-Google-Smtp-Source: AGHT+IHqjj1vo/gQrCeAtsTGqUFMtEAQsZBEuAdDvSXjrkapTO0r1DjCoNIG198hFwALMosTLd0Yd3+8OC9SLF59WaE=
X-Received: by 2002:a05:6a00:2e12:b0:71e:5132:da7b with SMTP id
d2e1a72fcca58-71ea31dcb2cmr2460469b3a.3.1729285125406; Fri, 18 Oct 2024
13:58:45 -0700 (PDT)
MIME-Version: 1.0
Date: Fri, 18 Oct 2024 22:58:34 +0200
X-Gmail-Original-Message-ID: <CAGen01ickv9cenzeT3SkV9buugEh5CSGW-JWKkWfHUQUsCoVxg AT mail DOT gmail DOT com>
Message-ID: <CAGen01ickv9cenzeT3SkV9buugEh5CSGW-JWKkWfHUQUsCoVxg@mail.gmail.com>
Subject: Installer freezes in windows-2022 GitHub Action
To: cygwin AT cygwin DOT com
X-CMAE-Envelope: MS4xfO8DhTzyERfUwAgldEJILAT9gzkWz/4P8lowW0CG/ls+uCazUt1SMw+C6mczCKeacTEF/uKa1zN1quQsUtC3MSQdJEH9eCM64AzWIkO3epsZONShlW/L
bOD0bwleqoTQEZItGk9eVLEB7+26DO0orqs+N6AnkzdMPIawXkY8DxC9QHk5Bhs6LSD1FPkkYUmr67PJAh5iuQBKFqxSB/2uzn4=
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIMWL_WL_MED,
DKIM_SIGNED, DKIM_VALID, KAM_EXEURI, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Michele Locati via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Michele Locati <michele AT locati DOT it>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello everybody,

In a GitHub Action running on windows-2022 [1], I have a couple of
steps like this:

-
  name: Download Cygwin installer
  shell: pwsh
  run: |
    Invoke-WebRequest -Uri https://cygwin.com/setup-x86_64.exe
-OutFile C:\CygwinInstaller.exe
    $expectedHash = (Invoke-WebRequest -Uri
https://cygwin.com/sha512.sum).ToString()
    $actualHash = Get-FileHash -LiteralPath C:\CygwinInstaller.exe
-Algorithm SHA512
    if (-not($expectedHash.ToLower().Contains("${$actualHash.Hash.ToLower()}
 setup-x86_64.exe"))) {
      throw 'Invalid hash of downloaded cygwin installer'
    }
-
  name: Install Cygwin
  shell: cmd
  run: >
    C:\CygwinInstaller.exe
    --root C:\cygwin
    --local-package-dir C:\cygwin-packages
    --packages wget,file,make,unzip,dos2unix,mingw64-x86_64-gcc-core,mingw64-x86_64-gcc-g++,mingw64-x86_64-headers,mingw64-x86_64-runtime
    --site https://mirrors.kernel.org/sourceware/cygwin/
    --only-site
    --quiet-mode
    --upgrade-also
    --no-shortcuts
    --no-admin
    --no-replaceonreboot
    --no-version-check
    --no-write-registry
    --verbose

The problem is that sometimes (but not always) the second step gets
stuck: absolutely nothing is printed (even if the --verbose option is
specified) and GitHub aborts the execution after a few hours.

Has anyone encountered this problem before? What could be the cause?
Is there a solution?

--
Michele

[1] https://github.com/mlocati/gettext-iconv-windows/blob/main/.github/workflows/build.yml

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019