Comments (9)
@relapids please open a new issue (and just copy what you posted here)
from msys2-installer.
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.
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.
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.
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.
Since the above works here and in CI and the extraction isn't really MSYS2 specific I'm out of ideas.
from msys2-installer.
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.
I think it's working now, by excluding '--isolation process' from the docker run.
Need to see my full process working..
from msys2-installer.
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)
- Fresh install using `msys2-x86_64-20230127.exe` can't run msys2 on Windows. HOT 7
- Debug information of msys-2.0.dll available? HOT 5
- If Mandatory ASLR is enabled, msys2 will not run HOT 1
- Install hangs on `'C:\Windows\system32\drivers\etc\networks' -> '/etc/networks'` HOT 1
- Update start menu shortcuts on pacman -Syu HOT 3
- MSYS2 安装程序出错 HOT 3
- pacman return error: key "5F944B027F7FE2091985AA2EFA11531AA0AA7F57" is unknown HOT 4
- Installing MSYS2 does not create Icons for all users HOT 2
- Github communication error HOT 3
- I'm trying to compile this file but msys2 cant find the directory for it.
- Signing the installer HOT 4
- My Antivirus kills C:\msys64\usr\bin\install-info.exe HOT 3
- stuck updating trust database HOT 7
- No Warning When Installing on Unsupported File System
- user directory after CLI installation HOT 1
- Prevent users installing to an existing directory even if they acknowledge the danger
- Can't install and is looking for steam_api64.dll?
- Make it work again with windows7 HOT 2
- pacman update and winget update both fails due to conflicting python versions
- Installer looks broken with dark theme HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msys2-installer.