Downloads:
826,523
Downloads of v 20210725.0.0:
75
Last Update:
26 Jul 2021
Package Maintainer(s):
Software Author(s):
- Alexpux
- martell
- mingwandroid
- elieux
- renatosilva
- niXman
Tags:
msys2 msys cygwin mingw gnu linux unix posix arch pacman bash makepkg gcc shell cli foss development- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
MSYS2
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
826,523
Downloads of v 20210725.0.0:
75
Maintainer(s):
Software Author(s):
- Alexpux
- martell
- mingwandroid
- elieux
- renatosilva
- niXman
MSYS2
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
This package was rejected on 30 Aug 2021. The reviewer chocolatey-ops has listed the following reason(s):
MSYS2 is a software distro and building platform for Windows.
At its core is an independent rewrite of MSYS, based on modern Cygwin (POSIX compatibility layer) and MinGW-w64 with the aim of better interoperability with native Windows software. It provides a bash shell, Autotools, revision control systems and the like for building native Windows applications using MinGW-w64 toolchains.
It features a package management system to provide easy installation of packages, Pacman. It brings many powerful features such as dependency resolution and simple complete system upgrades, as well as straight-forward package building.
Package parameters
/InstallDir
- Path to installation directory, by default msys will be installed inGet-ToolsLocation
./NoPath
- Do not add msys installation directory to system PATH./NoUpdate
- Do not automatically update with Pacman according to the official instructions.
Example: choco install msys2 --params "/NoUpdate /InstallDir:C:\your\install\path"
Notes
- MSYS2 itself will not be installed again on updating or reinstalling the Chocolatey package. Instead, the existing MSYS2 will be updated with Pacman. Manually delete the installation folder to force complete reinstallation.
Ruby integration
This package can be used with ruby package to provide native building environment for gems.
- The ruby installer comes with
ridk
function which offers interactive GUI installation wizard of msys2 and hence can't be used unattended (ridk install 1
). - Its system update is the same as initialization done with this package (
ridk install 2
). - Ruby installer offers unattended setup of MSYS2 and MINGW development toolchain (
ridk install 3
).
You can also just install the msys2 package without system update and use ridk
afterwards:
cinst ruby # install ruby
cinst msys2 --params "/NoUpdate" # install msys2 without system update
Update-SessionEnvironment # refresh environment vars
ridk install 2 3 # use ruby's ridk to update the system and install development toolchain
Copyright (c) 2013, Алексей
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
* Neither the name of the {organization} nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
Package can be verified like this:
1. Go to
x64: https://github.com/msys2/msys2-installer/releases/download/2021-07-25/msys2-base-x86_64-20210725.tar.xz
to download the installer.
2. You can use one of the following methods to obtain the SHA256 checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'
checksum64: 4013A9D5E51B448343EFC24FC6A324CC999BB96B4C01B13A6BD3C661BB5C8A82
File 'LICENSE.txt' is obtained from:
https://raw.githubusercontent.com/Alexpux/MSYS2-packages/master/LICENSE
File 'COPYING' is obtained from:
https://github.com/Alexpux/MSYS2-pacman/blob/master/COPYING
$ErrorActionPreference = 'Stop'
$toolsDir = Split-Path $MyInvocation.MyCommand.Definition
$pp = Import-Clixml $toolsDir\pp.xml
if (!$pp.NoPath) {
$user_path = [System.Environment]::GetEnvironmentVariable('PATH', 'User')
$newPath = $user_path.Replace(";" + $pp.InstallDir, '')
if ($newPath -ne $user_path) {
Write-Host "Removing from user PATH"
[System.Environment]::SetEnvironmentVariable('PATH', $newPath, 'User')
}
}
Write-Host "Please remove install dir manually when you don't need it anymore."
Write-Host "Install dir: " $pp.InstallDir
$pp = Get-PackageParameters
$is64 = (Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true'
$dir_name = if ($is64) { 'msys64' } else { 'msys32' }
if (!$pp.InstallDir) { $pp.InstallDir = "{0}\{1}" -f (Get-ToolsLocation), $dir_name }
$pp | Export-Clixml $toolsPath\pp.xml
$InstallPath = $pp.InstallDir
function Invoke-Msys2Shell($Arguments) {
if (![string]::IsNullOrWhiteSpace($Arguments)) { $Arguments += "; " }
$Arguments += "ps -ef | grep '[?]' | awk '{print `$2}' | xargs -r kill"
$params = @{
FilePath = Join-Path $InstallPath msys2_shell.cmd
NoNewWindow = $true
Wait = $true
ArgumentList = "-defterm", "-no-start", "-c", "`"$Arguments`""
}
Write-Host "Invoking msys2 shell command:" $params.ArgumentList
Start-Process @params
}
# For full expected output see https://gist.github.com/majkinetor/bd5e9aa8ee6c1f55513cc67b02289fa6
function Invoke-Msys2ShellFirstRun {
Write-Host "Invoking first run to setup things like bash profile, gpg etc..."
Invoke-Msys2Shell
}
function Update-MSys2 {
if ($pp.NoUpdate) {
Write-Host "Skipping updates due to the 'NoUpdate' option"
return
}
$logPath = Join-Path $InstallPath update.log
$stopSentence = 'there is nothing to do'
$cntSentence = 2
$shellArgs = "pacman --noconfirm -Syuu --disable-download-timeout | tee -a /update.log"
$max = 5
Write-Host "Repeating system update until there are no more updates or max $max iterations"
Write-Host "Output is recorded in: $logPath"
Remove-Item $logPath -ea 0
$ErrorActionPreference = 'Continue' #otherwise bash warnings will exit
while (!$done) {
Write-Host "`n================= SYSTEM UPDATE $((++$i)) =================`n"
Invoke-Msys2Shell $shellArgs
$done = (Get-Content $logPath) -match $stopSentence | Measure-Object | ForEach-Object { $_.Count -ge $cntSentence }
$done = $done -or ($i -ge $max)
}
}
# requires $pp.InstallDir & toolsPath in upper scope
function Install-Msys2 {
if (Test-Path $InstallPath) {
Write-Host "'$InstallPath' already exists and will only be updated."
return
}
Write-Host "Installing to:" $InstallPath
$packageArgs = @{
PackageName = $Env:ChocolateyPackageName
FileFullPath = Get-Item $ToolsPath\*-i686*
FileFullPath64 = Get-Item $ToolsPath\*-x86_64*
Destination = $InstallPath
}
Get-ChocolateyUnzip @packageArgs
Remove-Item $ToolsPath\*.xz -ea 0
$tarFile = Get-Item "$InstallPath\*.tar"
Get-ChocolateyUnzip $tarFile $InstallPath
Remove-Item "$InstallPath\*.tar" -ea 0
$tardir = Get-Item "$InstallPath\msys*"
if ([String]::IsNullOrWhiteSpace($tardir)) { throw "Can't find msys* directory from tar archive" }
Move-Item $tardir\* $InstallPath
Remove-Item $tardir
}
function Set-Msys2Proxy {
$proxy = Get-EffectiveProxy
if (!$proxy) { return }
Write-Host "Using CLI proxy:" $proxy
$Env:http_proxy = $Env:https_proxy = $proxy
}
md5: A51ECB69E185D5A7238F2C25BFDF4BEA | sha1: C082DA491164D761103A1AC30247DF8C5868995B | sha256: 4013A9D5E51B448343EFC24FC6A324CC999BB96B4C01B13A6BD3C661BB5C8A82 | sha512: 88369B49842A319F765B625E356B46357FD7FD3D7C0811067337CF51FABAAAC7302FA572C7AFD785223D2ED5C91DA655FBD260E5D27D5D7AECD8CB9BF178AFAB
No results available for this package. We are building up results for older packages over time so expect to see results. If this is a new package, it should have results within a day or two.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
MSYS2 20240113.0.0 | 18428 | Saturday, January 13, 2024 | Approved | |
MSYS2 20231026.0.0 | 15553 | Thursday, October 26, 2023 | Approved | |
MSYS2 20230718.0.0 | 23392 | Tuesday, July 18, 2023 | Approved | |
MSYS2 20230526.0.0 | 15915 | Friday, May 26, 2023 | Approved | |
MSYS2 20230318.0.0 | 22562 | Saturday, March 18, 2023 | Approved | |
MSYS2 20230127.0.0 | 13442 | Friday, January 27, 2023 | Approved | |
MSYS2 20221216.0.0 | 10394 | Friday, December 16, 2022 | Approved | |
MSYS2 20220904.0.0 | 29472 | Sunday, September 4, 2022 | Approved | |
MSYS2 20220603.0.0 | 21025 | Friday, June 3, 2022 | Approved | |
MSYS2 20220503.0.0 | 9636 | Tuesday, May 3, 2022 | Approved | |
MSYS2 20220319.0.0 | 15005 | Saturday, March 19, 2022 | Approved | |
MSYS2 20220128.0.0 | 18196 | Friday, January 28, 2022 | Approved | |
MSYS2 20220118.0.0 | 5554 | Wednesday, January 19, 2022 | Approved | |
MSYS2 20211130.0.0 | 32377 | Wednesday, December 1, 2021 | Approved | |
MSYS2 20210604.0.0 | 80004 | Sunday, June 6, 2021 | Approved | |
MSYS2 20210419.0.0 | 23233 | Monday, April 19, 2021 | Approved | |
MSYS2 20210228.0.0 | 11912 | Sunday, February 28, 2021 | Approved | |
MSYS2 20210215.0.0 | 29655 | Tuesday, February 16, 2021 | Approved | |
MSYS2 20210105.0.0 | 24384 | Wednesday, January 6, 2021 | Approved | |
MSYS2 20201109.0.0 | 22758 | Saturday, November 14, 2020 | Approved | |
MSYS2 20200903.0.0 | 75678 | Friday, September 4, 2020 | Approved | |
MSYS2 20200816.0.0 | 11272 | Sunday, August 16, 2020 | Approved | |
MSYS2 20200720.0.0 | 12830 | Tuesday, July 21, 2020 | Approved | |
MSYS2 20200719.0.0 | 1121 | Sunday, July 19, 2020 | Approved | |
MSYS2 20200629.0.0 | 8408 | Tuesday, June 30, 2020 | Approved | |
MSYS2 20200602.0.0 | 14664 | Wednesday, June 3, 2020 | Approved | |
MSYS2 20200522.0.0 | 7159 | Sunday, May 24, 2020 | Approved | |
MSYS2 20190524.0.0.20191030 | 87208 | Wednesday, October 30, 2019 | Approved | |
MSYS2 20180531.0.0 | 114117 | Friday, June 1, 2018 | Approved | |
MSYS2 20161025.0.0 | 8267 | Monday, November 6, 2017 | Approved | |
MSYS2 20160719.1.1 | 38674 | Wednesday, October 12, 2016 | Approved | |
MSYS2 20160719.1.0 | 772 | Monday, October 10, 2016 | Approved | |
MSYS2 20150916.0.1 | 2466 | Sunday, November 22, 2015 | Approved | |
MSYS2 20150916.0.0 | 482 | Sunday, September 27, 2015 | Approved |
MSYS2 Copyright (c) 2013, Алексей
-
- chocolatey (≥ 0.10.8)
- chocolatey-core.extension (≥ 1.3.3)
Ground Rules:
- This discussion is only about MSYS2 and the MSYS2 package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or MSYS2, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
chocolatey-community (maintainer) on 26 Jul 2021 00:10:41 +00:00:
User 'chocolatey-community' (maintainer) submitted package.
chocolatey-ops (reviewer) on 26 Jul 2021 00:44:04 +00:00:
msys2 has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.
Guidelines
Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.
Notes
Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.
chocolatey-ops (reviewer) on 26 Jul 2021 00:58:21 +00:00:
msys2 has failed automated package testing (verification).
Please visit https://gist.github.com/e16fe244058ff7322c6b0963818a000f for details.
The package status will be changed and will be waiting on your next actions.
chocolatey-ops (reviewer) on 15 Aug 2021 00:43:14 +00:00:
We've found msys2 v20210725.0.0 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.
Take action:
If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.
Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.
TheCakeIsNaOH (reviewer) on 26 Aug 2021 15:02:06 +00:00:
rerun
Verification Status Change - Verification tests have been set to rerun.
chocolatey-ops (reviewer) on 26 Aug 2021 15:21:29 +00:00:
msys2 has failed automated package testing (verification).
Please visit https://gist.github.com/4048430a5a308c70a3d4c8993acd9ebc for details.
The package status will be changed and will be waiting on your next actions.
chocolatey-ops (reviewer) on 30 Aug 2021 00:45:55 +00:00:
Unfortunately there has not been progress to move msys2 v20210725.0.0 towards an approved status within 15 days after the last review message, so we need to close (reject) the package version at this time. If you want to pick this version up and move it towards approval in the future, use the contact site admins link on the package page and we can move it back into a submitted status so you can submit updates.
Status Change - Changed status of package from 'submitted' to 'rejected'.