Giter Club home page Giter Club logo

Comments (9)

lazka avatar lazka commented on August 19, 2024 1

@relapids please open a new issue (and just copy what you posted here)

from msys2-installer.

greenkalx avatar greenkalx commented on August 19, 2024

These other installers are working in the same Docker container:
vs_buildtools.exe, winsdksetup.exe, 7z2107-x64.exe, PortableGit-2.27.0-64-bit.7z.exe, python-3.7.8-embed-amd64.zip, cmake-3.18.0-win64-x64.zip, nasm-2.15.03-win64.zip, v1.10.0/ninja-win.zip, strawberry-perl-5.28.2.1-64bit-portable.zip

I will post to MSYS2-packages as well, as I see more 'docker' traffic there.

from msys2-installer.

lazka avatar lazka commented on August 19, 2024

This repo installs the sfx one every day in docker and tests it at least.

https://github.com/msys2/msys2-installer/actions/runs/3606759674

from msys2-installer.

lazka avatar lazka commented on August 19, 2024

Can you give the Dockerfile we use in CI a try? https://github.com/msys2/msys2-installer/blob/e3ead38d71e4a760eb78068f00d30331b957bb7b/.ci/Dockerfile.2019

from msys2-installer.

greenkalx avatar greenkalx commented on August 19, 2024

I tried with the flags from that Dockerfile,

$ErrorActionPreference = 'Stop'
$ProgressPreference = 'SilentlyContinue'

But it still only partially installs, it's missing C:\msys64\usr\bin\bash.exe and pacman.exe etc.

PS C:\> Invoke-WebRequest https://github.com/msys2/msys2-installer/releases/download/2022-01-18/msys2-base-x86_64-20220118.sfx.exe -Outfile C:\msys2.exe;
PS C:\> $ErrorActionPreference = 'Stop'
PS C:\> $ProgressPreference = 'SilentlyContinue'

PS C:\> \msys2.exe -y -oC:\

7-Zip SFX 21.03 ZS v1.5.0 R2 (x64) : Copyright (c) 1999-2021 Igor Pavlov, 2016-2021 Tino Reichardt : 2021-10-05

Extracting archive: C:\msys2.exe
--
Path = C:\msys2.exe
Type = 7z

  5% 1946 - msys64\usr\lib\terminfo\61\adm22

from msys2-installer.

lazka avatar lazka commented on August 19, 2024

Since the above works here and in CI and the extraction isn't really MSYS2 specific I'm out of ideas.

from msys2-installer.

greenkalx avatar greenkalx commented on August 19, 2024

I ran the setup without 'Start-Process' and got an exit code:

PS C:\> ./msys2.exe -y -oC:\
7-Zip SFX 21.03 ZS v1.5.0 R2 (x64) : Copyright (c) 1999-2021 Igor Pavlov, 2016-2021 Tino Reichardt : 2021-10-05
Extracting archive: C:\msys2.exe
--
Path = C:\msys2.exe
Type = 7z
  5% 1908 - msys64\usr\lib\terminfo\61\aaa-48-rv
PS C:\> $LastExitCode
-1073741819

from msys2-installer.

greenkalx avatar greenkalx commented on August 19, 2024

I think it's working now, by excluding '--isolation process' from the docker run.
Need to see my full process working..

from msys2-installer.

relapids avatar relapids commented on August 19, 2024

Same thing started happening to me yesterday with no changes on my end (been working for months up until now). Was definitely working two days ago since I have a script to force-rebuild my image daily. I see this on multiple machines and OS versions.

Tried both isolation modes (hyperv and process) and neither are currently working for me. One slight difference to the original reporter is that I'm using servercore:ltsc2022.

Still trying to diagnose further but unfortunately it's difficult to get diagnostic information from Windows containers for these sorts of issues. Trying to investigate using the information here: https://learn.microsoft.com/en-us/virtualization/windowscontainers/troubleshooting

EDIT:

Actually, I think I may have misunderstood the original issue in this thread and conflated it with mine. In my case the processes all appear to run successfully and terminate normally, but then the RUN step never finishes and just hangs indefinitely when finalizing the layer. I'm guessing this is probably a distinct issue and I misclassified it as the same as the one here due to the timing.

Strange though that it's happening on multiple machines and seems to coincide with the latest installer release. I tried rolling back to an earlier installer but that didn't help. Likely because whatever is causing the issue gets updated to the same version as in the latest installer anyway, but that's just a guess on my part so far - I need to do additional testing.

from msys2-installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.