Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cabal v3.2.0.0 - Passed - Package Tests Results

cabal v3.2.0.0 - Passed - Package Test Results

  • https://chocolatey.org/packages/cabal/3.2.0.0
  • Tested 10 Apr 2020 08:06:40 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v0.4.0-38-g3187e94
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip.txt" checksum="349FF1674E570288F6DC142A0AC4273B" />
<file path="C:\ProgramData\chocolatey\lib\cabal\cabal.nupkg" checksum="B67AB931A209FEA69F294FE9AFAC8EBB" />
<file path="C:\ProgramData\chocolatey\lib\cabal\cabal.nuspec" checksum="4DA5B585FE7EBC73855DD1B472B77430" />
<file path="C:\ProgramData\chocolatey\lib\cabal\LICENSE.txt" checksum="6C95C8C06AF5336177AB668148E093AF" />
<file path="C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1" checksum="BB1E5B218BB45410478BB7206B6A7118" />
<file path="C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1" checksum="65F8F19578F07F891679889546E3784E" />
<file path="C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1" checksum="8792394360CF3B40E1B330C25C035D6D" />
<file path="C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe" checksum="57963445500FC7B93619E26001D84799" />
<file path="C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe.sig" checksum="5BFCDAE6B80977C4B6C4F20082DA3602" />
</files>
</fileSnapshot>
2020-04-10 08:04:42,682 2508 [DEBUG] - XmlConfiguration is now operational
2020-04-10 08:04:42,916 2508 [INFO ] - ============================================================
2020-04-10 08:04:43,713 2508 [INFO ] - Chocolatey v0.10.15
2020-04-10 08:04:43,744 2508 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-04-10 08:04:43,760 2508 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-04-10 08:04:43,760 2508 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-04-10 08:04:43,791 2508 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install cabal --version 3.2.0.0 -fdvy --execution-timeout=2700 --allow-downgrade
2020-04-10 08:04:43,791 2508 [DEBUG] - Received arguments: install cabal --version 3.2.0.0 -fdvy --execution-timeout=2700 --allow-downgrade
2020-04-10 08:04:43,916 2508 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-04-10 08:04:43,932 2508 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-04-10 08:04:43,963 2508 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-04-10 08:04:44,135 2508 [DEBUG] - Performing validation checks.
2020-04-10 08:04:44,166 2508 [DEBUG] - Global Configuration Validation Checks:
2020-04-10 08:04:44,166 2508 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-04-10 08:04:44,182 2508 [DEBUG] - System State Validation Checks:
2020-04-10 08:04:44,197 2508 [DEBUG] - Reboot Requirement Checks:
2020-04-10 08:04:44,197 2508 [DEBUG] - - Pending Computer Rename = Checked
2020-04-10 08:04:44,213 2508 [DEBUG] - - Pending Component Based Servicing = Checked
2020-04-10 08:04:44,213 2508 [DEBUG] - - Pending Windows Auto Update = Checked
2020-04-10 08:04:44,228 2508 [DEBUG] - - Pending File Rename Operations = Checked
2020-04-10 08:04:44,228 2508 [DEBUG] - - Pending Windows Package Installer = Checked
2020-04-10 08:04:44,244 2508 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-04-10 08:04:44,260 2508 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-04-10 08:04:44,275 2508 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-04-10 08:04:44,291 2508 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2020-04-10 08:04:44,353 2508 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='cabal'|Version='3.2.0.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='cabal'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-04-10 08:04:44,353 2508 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-04-10 08:04:44,369 2508 [INFO ] - Installing the following packages:
2020-04-10 08:04:44,385 2508 [INFO ] - cabal
2020-04-10 08:04:44,385 2508 [INFO ] - By installing you accept licenses for the packages.
2020-04-10 08:04:44,416 2508 [DEBUG] - Current environment values (may contain sensitive data):
2020-04-10 08:04:44,416 2508 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-10 08:04:44,416 2508 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-10 08:04:44,432 2508 [DEBUG] - * 'ChocolateyLastPathUpdate'='132308964450735233' ('User')
2020-04-10 08:04:44,432 2508 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-04-10 08:04:44,432 2508 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-04-10 08:04:44,432 2508 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-04-10 08:04:44,447 2508 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-04-10 08:04:44,447 2508 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-04-10 08:04:44,447 2508 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-04-10 08:04:44,447 2508 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-04-10 08:04:44,447 2508 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-04-10 08:04:44,463 2508 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-04-10 08:04:44,463 2508 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-04-10 08:04:44,463 2508 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-04-10 08:04:44,463 2508 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2020-04-10 08:04:44,478 2508 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2020-04-10 08:04:44,478 2508 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2020-04-10 08:04:44,478 2508 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2020-04-10 08:04:44,478 2508 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-04-10 08:04:44,494 2508 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-04-10 08:04:48,824 2508 [INFO ] - [NuGet] Installing 'cabal 3.2.0.0'.
2020-04-10 08:04:48,853 2508 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'cabal'.
2020-04-10 08:04:48,869 2508 [DEBUG] - [NuGet] Added file 'chocolateyBeforeModify.ps1' to folder 'cabal\tools'.
2020-04-10 08:04:48,869 2508 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'cabal\tools'.
2020-04-10 08:04:48,869 2508 [DEBUG] - [NuGet] Added file 'mingw64-pkg.ps1' to folder 'cabal\tools'.
2020-04-10 08:04:48,885 2508 [DEBUG] - [NuGet] Added file 'cabal.nupkg' to folder 'cabal'.
2020-04-10 08:04:49,275 2508 [DEBUG] - [NuGet] Added file 'cabal.nuspec' to folder 'cabal'.
2020-04-10 08:04:49,275 2508 [INFO ] - [NuGet] Successfully installed 'cabal 3.2.0.0'.
2020-04-10 08:04:49,291 2508 [INFO ] -
cabal v3.2.0.0 (forced)
2020-04-10 08:04:49,354 2508 [INFO ] - cabal package files install completed. Performing other installation steps.
2020-04-10 08:04:49,557 2508 [DEBUG] - Setting installer args for cabal
2020-04-10 08:04:49,572 2508 [DEBUG] - Setting package parameters for cabal
2020-04-10 08:04:49,572 2508 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1':
2020-04-10 08:04:49,619 2508 [DEBUG] - $version = '3.2.0.0'
$packageName = 'cabal'
$url = 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-i386-unknown-mingw32.zip'
$url64 = 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip'
$binRoot = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$packageFullName = Join-Path $binRoot ($packageName + '-' + $version)
$is64 = (Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true'
Install-ChocolateyZipPackage `
-PackageName $packageName `
-UnzipLocation $packageFullName `
-Url $url -ChecksumType sha256 -Checksum 01e14a9c4ec96452087b5cc90157693bbc4e0045b9c11e48f5f324b7977d837b `
-Url64bit $url64 -ChecksumType64 sha256 -Checksum64 17778c3ade0482bc37f451eec326f8fce8fbe1f12b1d6aacb2e2b9e34786c054
$cabal = Join-Path $packageFullName "cabal.exe"
# Simplified version of Install-ChocolateyPath that prepends instead of
# Appends to a path. We use this in certain cases when we need to Override an
# existing path entry. Such as on AppVeyor which adds both cygwin and msys2
# on PATH.
function Install-AppVeyorPath {
param(
[parameter(Mandatory=$true, Position=0)][string] $pathToInstall
)
Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters
## Called from chocolateysetup.psm1 - wrap any Write-Host in try/catch
$pathType = [System.EnvironmentVariableTarget]::Machine
# get the PATH variable
Update-SessionEnvironment
$envPath = $env:PATH
if (!$envPath.ToLower().Contains($pathToInstall.ToLower()))
{
try {
Write-Host "PATH environment variable does not have $pathToInstall in it. Adding..."
} catch {
Write-Verbose "PATH environment variable does not have $pathToInstall in it. Adding..."
}
$actualPath = Get-EnvironmentVariable -Name 'Path' -Scope $pathType -PreserveVariables
$statementTerminator = ";"
if (!$pathToInstall.EndsWith($statementTerminator)) {$pathToInstall = $pathToInstall + $statementTerminator}
$actualPath = $pathToInstall + $actualPath
Set-EnvironmentVariable -Name 'Path' -Value $actualPath -Scope $pathType
# add it to the local path as well so users will be off and running
$envPSPath = $env:PATH
$env:Path = $pathToInstall + $envPSPath
}
}
# uninstall a path entry from AppVeyor
function UnInstall-AppVeyorPath {
param(
[parameter(Mandatory=$true, Position=0)][string] $pathToRemove
)
Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters
## Called from chocolateysetup.psm1 - wrap any Write-Host in try/catch
$pathType = [System.EnvironmentVariableTarget]::Machine
# get the PATH variable
Update-SessionEnvironment
$envPath = $env:PATH
if ($envPath.ToLower().Contains($pathToRemove.ToLower()))
{
try {
Write-Host "PATH environment variable contains $pathToRemove in it. Removing..."
} catch {
Write-Verbose "PATH environment variable contains $pathToRemove in it. Removing..."
}
$statementTerminator = ";"
$actualPath = Get-EnvironmentVariable -Name 'Path' -Scope $pathType -PreserveVariables
$actualPath = ($path.Split($statementTerminator) | Where-Object { $_ -ne $pathToRemove }) -join $statementTerminator
Set-EnvironmentVariable -Name 'Path' -Value $actualPath -Scope $pathType
# Remove it from the local path as well so users will be off and running
$env:Path = $actualPath
}
}
function Find-Entry {
param( [string] $app )
Get-Command -ErrorAction SilentlyContinue $app `
| Select-Object -first 1 `
| ForEach-Object { Split-Path $_.Path -Parent }
}
Function Execute-Command {
param( [string] $commandTitle
, [string] $commandPath
, [string] $commandArguments
)
Try {
$pinfo = New-Object System.Diagnostics.ProcessStartInfo
$pinfo.FileName = $commandPath
$pinfo.RedirectStandardError = $true
$pinfo.RedirectStandardOutput = $true
$pinfo.UseShellExecute = $false
$pinfo.Arguments = $commandArguments
$pinfo.WindowStyle = [Diagnostics.ProcessWindowStyle]::Hidden
$pinfo.CreateNoWindow = $true
$p = New-Object System.Diagnostics.Process
$p.StartInfo = $pinfo
$p.Start() | Out-Null
[pscustomobject]@{
commandTitle = $commandTitle
stdout = $p.StandardOutput.ReadToEnd()
stderr = $p.StandardError.ReadToEnd()
ExitCode = $p.ExitCode
}
$p.WaitForExit()
}
Catch {
exit
}
}
function Detect-GHC-Versions {
return Get-ChildItem "C:\ghc\ghc-*\bin" -ErrorAction SilentlyContinue `
| Sort-Object CreationTime -Descending `
| ForEach-Object { $_.ToString() }
}
function Find-MSYS2 {
param()
# See if the user has msys2 already installed.
$msys2 = Find-Entry "msys2_shell.cmd"
if (($null -eq $msys2) -or ($msys2 -eq "")) {
$msys2 = Find-Entry "mingw*_shell.bat"
}
$dir_name = if ($is64) { 'msys64' } else { 'msys32' }
# Detect AppVeyor installs
if (($null -ne $Env:APPVEYOR) -and ("" -ne $Env:APPVEYOR)) {
Write-Host "AppVeyor detected. Using AppVeyor default paths."
$msys2 = Join-Path $Env:SystemDrive $dir_name
}
# Check for standalone msys2 installs
if (($null -eq $msys2) -or ($msys2 -eq "")) {
$tmp = Join-Path $Env:SystemDrive $dir_name
if (Test-Path $tmp -PathType Container) {
Write-Host "Standalone msys2 detected. Using default paths."
$msys2 = $tmp
}
}
if (($null -eq $msys2) -or ($msys2 -eq "")) {
# msys2 was not found already installed, assume user will install
# it in the default directory, so create the expected default msys2
# installation path.
$msys2 = "{0}\{1}" -f (Get-ToolsLocation), $dir_name
}
Write-Debug "Msys2 directory: ${msys2}"
return $msys2
}
function ReadCabal-Config {
param( [string] $key )
$prog = "$cabal"
$cmd = "user-config diff -a ${key}:"
$proc = Execute-Command "Reading cabal config key '${key}'." $prog $cmd
if ($proc.ExitCode -ne 0) {
Write-Debug $proc.stdout
Write-Debug $proc.stderr
Write-Host "Could not read cabal configuration key '${key}'."
}
$option = [System.StringSplitOptions]::RemoveEmptyEntries
$procout = $proc.stdout.Split([Environment]::NewLine) | Select-String "- ${key}" | Select-Object -First 1
if (!$procout) {
Write-Debug "No Cabal config for ${key}"
return {@()}.Invoke()
} else {
$value = $procout.ToString().Split(@(':'), 2, $option)[1].ToString()
$value = $value.Split([Environment]::NewLine)[0].Trim()
Write-Debug "Read Cabal config ${key}: ${value}"
return {$value.Replace('"','').Split(@(','), $option)}.Invoke()
}
}
function UpdateCabal-Config {
param( [string] $key
, [string[]] $values
)
if ((!$values) -or ($values.Count -eq 0)) {
$values = ""
} else {
#$value = '"' + [String]::Join("`",`"", $values) + '"'
$value = [String]::Join(",", $values)
}
$prog = "$cabal"
$cmd = "user-config update -a `"${key}: $value`""
$proc = Execute-Command "Update cabal config key '${key}'." $prog $cmd
if ($proc.ExitCode -ne 0) {
Write-Error $proc.stdout
Write-Error $proc.stderr
throw ("Could not update cabal configuration key '${key}'.")
}
Write-Debug "Wrote Cabal config ${key}: ${value}"
}
function UpdateCabal-Config-Raw {
param( [string] $value
)
$prog = "$cabal"
$cmd = "user-config update $value"
$proc = Execute-Command "Update cabal config key '${value}'." $prog $cmd
if ($proc.ExitCode -ne 0) {
Write-Error $proc.stdout
Write-Error $proc.stderr
throw ("Could not update cabal configuration key '${value}'.")
}
Write-Debug "Wrote Cabal config ${value}"
}
function Configure-Cabal {
param()
$ErrorActionPreference = 'Stop'
$msys2_path = Find-MSYS2
# Initialize cabal
$prog_path = ReadCabal-Config "extra-prog-path"
$lib_dirs = ReadCabal-Config "extra-lib-dirs"
$include_dirs = ReadCabal-Config "extra-include-dirs"
$method = ReadCabal-Config "install-method"
$native_path = if ($is64) { 'mingw64' } else { 'mingw32' }
$native_path = Join-Path $msys2_path $native_path
$msys_lib_dir = Join-Path $native_path "lib"
# Build new binary paths
$native_bin = Join-Path $native_path "bin"
$new_prog_paths = @()
$new_prog_paths += $native_bin
$new_prog_paths += $prog_path
$new_prog_paths += Join-Path (Join-Path $Env:APPDATA "cabal") "bin"
$new_prog_paths += Join-Path (Join-Path $msys2_path "usr") "bin"
$new_prog_paths = $new_prog_paths | Select-Object -Unique
# Build new library paths
# If the directory doesn't exist, we can't add it to prevent GHC from throwing
# an error when the linker tries to add the dir.
if (Test-Path $msys_lib_dir -PathType Container)
{
$new_lib_dirs = @($msys_lib_dir)
}
else
{
$new_lib_dirs = @()
}
$new_lib_dirs += $lib_dirs
$new_lib_dirs = $new_lib_dirs | Select-Object -Unique
# Build new include paths
$new_include_dirs = @(Join-Path $native_path "include")
$new_include_dirs += $include_dirs
$new_include_dirs = $new_include_dirs | Select-Object -Unique
# Set install method if no default is set
if ($method -ne "copy" -and $method -ne "symlink" -and $method -ne "auto")
{
UpdateCabal-Config "install-method" "copy"
}
UpdateCabal-Config "extra-prog-path" $new_prog_paths
UpdateCabal-Config "extra-lib-dirs" $new_lib_dirs
UpdateCabal-Config "extra-include-dirs" $new_include_dirs
Write-Host "Updated cabal configuration."
$cabal_path = Join-Path (Join-Path "$Env:APPDATA" "cabal") "bin"
Install-ChocolateyPath "$cabal_path"
# Add a PATH to pkg-config location if exists
$pkg_config = Join-Path $native_bin "pkg-config.exe"
if (Test-Path $pkg_config)
{
UpdateCabal-Config-Raw `
"-a `"program-locations`" -a `" pkg-config-location: $pkg_config`""
}
# If running on Github actions, configure the package to pick things up
if (($null -ne $Env:GITHUB_ACTIONS) -and ("" -ne $Env:GITHUB_ACTIONS)) {
# Update the path on github actions as without so it won't be able to find
# cabal.
Write-Host "::add-path::$cabal_path"
# We probably don't need this since choco itself is already on the PATH
# But it won't hurt to make sure.
$choco_bin = Join-Path $env:ChocolateyInstall "bin"
Write-Host "::add-path::$choco_bin"
# New GHC Packages will add themselves to the PATH, but older ones don't.
# So let's find which one the user installed and add them to the pathh.
$files = get-childitem $binRoot -include ghc.exe -recurse
foreach ($file in $files) {
$fileDir = Split-Path "$file"
Write-Host "::add-path::$fileDir"
}
}
# If running on Appveyor, configure the package to pick things up
if (($null -ne $Env:APPVEYOR) -and ("" -ne $Env:APPVEYOR)) {
Write-Host "Configuring AppVeyor PATH."
# We need to fix up some paths for AppVeyor
$ghcpaths = Detect-GHC-Versions
ForEach ($path in $ghcpaths) { Install-ChocolateyPath $path }
# Remove the global /usr/bin that's before the local one.
UnInstall-AppVeyorPath (Join-Path (Join-Path "${msys2_path}" "usr") "bin")
# Override msys2 git with git for Windows
Install-AppVeyorPath "$($env:SystemDrive)\Program Files\Git\cmd"
Install-AppVeyorPath "$($env:SystemDrive)\Program Files\Git\mingw64\bin"
# I'm not a fan of doing this, but we need auto-reconf available.
# Add the /usr/bin path first so it appears last in the list
Install-AppVeyorPath (Join-Path (Join-Path "${msys2_path}" "usr") "bin")
Install-AppVeyorPath (Join-Path (Join-Path "${msys2_path}" "mingw64") "bin")
# Also set a global SR.
UpdateCabal-Config "store-dir" "$($env:SystemDrive)\SR"
}
}
function Find-Bash {
param()
$ErrorActionPreference = 'Stop'
$msys2_path = Find-MSYS2
$bin = Join-Path (Join-Path $msys2_path "usr") "bin"
$bash = Join-Path $bin "bash.exe"
return $bash
}
# Now execute cabal configuration updates
Configure-Cabal
$bash = Find-Bash
$prefix = if ($is64) { 'x86_64' } else { 'i686' }
Install-ChocolateyEnvironmentVariable "_MSYS2_BASH" "$bash"
Install-ChocolateyEnvironmentVariable "_MSYS2_PREFIX" "$prefix"
$psFile = Join-Path $(Split-Path -Parent $MyInvocation.MyCommand.Definition) "mingw64-pkg.ps1"
Install-ChocolateyPowershellCommand -PackageName '${packageName}.powershell' -PSFileFullPath $psFile
2020-04-10 08:04:49,791 2508 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-04-10 08:04:49,807 2508 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-04-10 08:04:50,978 2508 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-04-10 08:04:51,291 2508 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-04-10 08:04:51,307 2508 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-04-10 08:04:51,307 2508 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-04-10 08:04:51,307 2508 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-04-10 08:04:51,322 2508 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-04-10 08:04:51,322 2508 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-04-10 08:04:51,322 2508 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-04-10 08:04:51,338 2508 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-04-10 08:04:51,338 2508 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-04-10 08:04:51,338 2508 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-04-10 08:04:51,338 2508 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-04-10 08:04:51,353 2508 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-04-10 08:04:51,353 2508 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-04-10 08:04:51,353 2508 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-04-10 08:04:51,369 2508 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-04-10 08:04:51,369 2508 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-04-10 08:04:51,369 2508 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-04-10 08:04:51,385 2508 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-04-10 08:04:51,385 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-04-10 08:04:51,385 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-04-10 08:04:51,400 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-04-10 08:04:51,400 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-04-10 08:04:51,400 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-04-10 08:04:51,416 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-04-10 08:04:51,416 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-04-10 08:04:51,416 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-10 08:04:51,416 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-04-10 08:04:51,432 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-04-10 08:04:51,432 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-04-10 08:04:51,432 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-04-10 08:04:51,447 2508 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-04-10 08:04:51,447 2508 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-04-10 08:04:51,447 2508 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-04-10 08:04:51,463 2508 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-04-10 08:04:51,463 2508 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-04-10 08:04:51,463 2508 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-04-10 08:04:51,478 2508 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-10 08:04:51,478 2508 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-04-10 08:04:51,478 2508 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-04-10 08:04:51,494 2508 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-04-10 08:04:51,494 2508 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-04-10 08:04:51,494 2508 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-04-10 08:04:51,494 2508 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-04-10 08:04:51,510 2508 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-04-10 08:04:51,510 2508 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-04-10 08:04:51,510 2508 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-04-10 08:04:51,525 2508 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-04-10 08:04:51,525 2508 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-04-10 08:04:51,525 2508 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-04-10 08:04:51,541 2508 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-04-10 08:04:51,541 2508 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-04-10 08:04:51,541 2508 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-04-10 08:04:51,557 2508 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-04-10 08:04:51,588 2508 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-04-10 08:04:51,603 2508 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-04-10 08:04:51,603 2508 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-04-10 08:04:51,603 2508 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-04-10 08:04:51,619 2508 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-04-10 08:04:51,619 2508 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-04-10 08:04:51,619 2508 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-04-10 08:04:51,619 2508 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-04-10 08:04:51,635 2508 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-04-10 08:04:51,635 2508 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-04-10 08:04:51,635 2508 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-04-10 08:04:51,650 2508 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-04-10 08:04:51,650 2508 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-04-10 08:04:51,666 2508 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-04-10 08:04:51,666 2508 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-04-10 08:04:51,666 2508 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-04-10 08:04:51,682 2508 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-04-10 08:04:51,682 2508 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-04-10 08:04:51,682 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-04-10 08:04:51,697 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-04-10 08:04:51,697 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-04-10 08:04:51,697 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-04-10 08:04:51,713 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-04-10 08:04:51,713 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-04-10 08:04:51,713 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-04-10 08:04:51,713 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-10 08:04:51,728 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-04-10 08:04:51,728 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-04-10 08:04:51,728 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-04-10 08:04:51,744 2508 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-04-10 08:04:51,744 2508 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-04-10 08:04:51,744 2508 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-04-10 08:04:51,760 2508 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-04-10 08:04:51,760 2508 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-04-10 08:04:51,760 2508 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-04-10 08:04:51,760 2508 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-04-10 08:04:51,775 2508 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-10 08:04:51,775 2508 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-04-10 08:04:51,791 2508 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-04-10 08:04:51,791 2508 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-04-10 08:04:51,791 2508 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-04-10 08:04:51,807 2508 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-04-10 08:04:51,807 2508 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-04-10 08:04:51,807 2508 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-04-10 08:04:51,822 2508 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-04-10 08:04:51,822 2508 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-04-10 08:04:51,822 2508 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-04-10 08:04:51,822 2508 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-04-10 08:04:51,838 2508 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-04-10 08:04:51,838 2508 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-04-10 08:04:51,838 2508 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-04-10 08:04:51,853 2508 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-04-10 08:04:51,853 2508 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-04-10 08:04:51,853 2508 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-04-10 08:04:51,869 2508 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-04-10 08:04:51,869 2508 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-04-10 08:04:51,869 2508 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-04-10 08:04:51,885 2508 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-04-10 08:04:51,885 2508 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-04-10 08:04:51,885 2508 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-04-10 08:04:51,900 2508 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-04-10 08:04:51,900 2508 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-04-10 08:04:51,900 2508 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-04-10 08:04:51,916 2508 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-04-10 08:04:51,916 2508 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-04-10 08:04:51,916 2508 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-04-10 08:04:51,932 2508 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-04-10 08:04:51,932 2508 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-04-10 08:04:51,932 2508 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-04-10 08:04:51,932 2508 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-04-10 08:04:51,947 2508 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-04-10 08:04:51,947 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-04-10 08:04:51,947 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-04-10 08:04:51,963 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-04-10 08:04:51,963 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-04-10 08:04:51,963 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-04-10 08:04:51,963 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-04-10 08:04:51,978 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-04-10 08:04:51,978 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-10 08:04:51,978 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-04-10 08:04:51,994 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-04-10 08:04:51,994 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-04-10 08:04:51,994 2508 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-04-10 08:04:52,010 2508 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-04-10 08:04:52,010 2508 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-04-10 08:04:52,010 2508 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-04-10 08:04:52,010 2508 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-04-10 08:04:52,025 2508 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-04-10 08:04:52,025 2508 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-04-10 08:04:52,025 2508 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-10 08:04:52,041 2508 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-04-10 08:04:52,041 2508 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-04-10 08:04:52,041 2508 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-04-10 08:04:52,057 2508 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-04-10 08:04:52,057 2508 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-04-10 08:04:52,057 2508 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-04-10 08:04:52,072 2508 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-04-10 08:04:52,072 2508 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-04-10 08:04:52,072 2508 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-04-10 08:04:52,088 2508 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-04-10 08:04:52,088 2508 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-04-10 08:04:52,103 2508 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-04-10 08:04:52,103 2508 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-04-10 08:04:52,103 2508 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-04-10 08:04:52,119 2508 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-04-10 08:04:52,119 2508 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-04-10 08:04:52,291 2508 [DEBUG] - ---------------------------Script Execution---------------------------
2020-04-10 08:04:52,322 2508 [DEBUG] - Running 'ChocolateyScriptRunner' for cabal v3.2.0.0 with packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\cabal', installArguments: '', packageParameters: '',
2020-04-10 08:04:52,369 2508 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1'
2020-04-10 08:04:52,511 2508 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2020-04-10 08:04:52,682 2508 [DEBUG] - Running Install-ChocolateyZipPackage -packageName 'cabal' -unzipLocation 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0' -url 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-i386-unknown-mingw32.zip' -checksumType 'sha256' -checksum '01e14a9c4ec96452087b5cc90157693bbc4e0045b9c11e48f5f324b7977d837b' -url64bit 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip' -checksumType64 'sha256' -checksum64 '17778c3ade0482bc37f451eec326f8fce8fbe1f12b1d6aacb2e2b9e34786c054'
2020-04-10 08:04:52,869 2508 [DEBUG] - Running Get-ChocolateyWebFile -checksum '01e14a9c4ec96452087b5cc90157693bbc4e0045b9c11e48f5f324b7977d837b' -checksumType 'sha256' -checksum64 '17778c3ade0482bc37f451eec326f8fce8fbe1f12b1d6aacb2e2b9e34786c054' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'cabal' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabalInstall.zip' -url 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-i386-unknown-mingw32.zip' -url64bit 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip'
2020-04-10 08:04:52,916 2508 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-04-10 08:04:52,916 2508 [DEBUG] - CPU is 64 bit
2020-04-10 08:04:52,932 2508 [DEBUG] - Setting url to 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip' and bitPackage to 64
2020-04-10 08:04:53,072 2508 [DEBUG] - Running Get-WebFileName -url 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip' -defaultName 'cabalInstall.zip'
2020-04-10 08:04:53,557 2508 [DEBUG] - Using response url to determine file name. 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip'
2020-04-10 08:04:53,572 2508 [DEBUG] - File name determined from url is 'cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip'
2020-04-10 08:04:53,666 2508 [DEBUG] - Running Get-WebHeaders -url 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip' -ErrorAction 'Stop'
2020-04-10 08:04:53,666 2508 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-04-10 08:04:53,682 2508 [DEBUG] - Request Headers:
2020-04-10 08:04:53,698 2508 [DEBUG] - 'Accept':'*/*'
2020-04-10 08:04:53,698 2508 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-04-10 08:04:53,713 2508 [DEBUG] - Response Headers:
2020-04-10 08:04:53,728 2508 [DEBUG] - 'Age':'3738'
2020-04-10 08:04:53,728 2508 [DEBUG] - 'Accept-Ranges':'bytes,bytes'
2020-04-10 08:04:53,728 2508 [DEBUG] - 'Content-Length':'5395236'
2020-04-10 08:04:53,744 2508 [DEBUG] - 'Cache-Control':'max-age=2592000, public'
2020-04-10 08:04:53,744 2508 [DEBUG] - 'Content-Type':'application/zip'
2020-04-10 08:04:53,744 2508 [DEBUG] - 'Expires':'Sun, 10 May 2020 07:03:05 GMT'
2020-04-10 08:04:53,744 2508 [DEBUG] - 'ETag':'"5e84fb98-525324"'
2020-04-10 08:04:53,744 2508 [DEBUG] - 'Last-Modified':'Wed, 01 Apr 2020 20:37:44 GMT'
2020-04-10 08:04:53,760 2508 [DEBUG] - 'Server':'nginx/1.14.0 (Ubuntu)'
2020-04-10 08:04:53,760 2508 [DEBUG] - 'Via':'1.1 varnish,1.1 varnish'
2020-04-10 08:04:53,760 2508 [DEBUG] - 'Date':'Fri, 10 Apr 2020 08:05:24 GMT'
2020-04-10 08:04:53,760 2508 [DEBUG] - 'Connection':'keep-alive'
2020-04-10 08:04:53,775 2508 [DEBUG] - 'X-Served-By':'cache-dfw18630-DFW, cache-sea4477-SEA'
2020-04-10 08:04:53,775 2508 [DEBUG] - 'X-Cache':'MISS, HIT'
2020-04-10 08:04:53,775 2508 [DEBUG] - 'X-Cache-Hits':'0, 0'
2020-04-10 08:04:53,775 2508 [DEBUG] - 'X-Timer':'S1586505924.402571,VS0,VE0'
2020-04-10 08:04:53,822 2508 [INFO ] - Downloading cabal 64 bit
from 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip'
2020-04-10 08:04:53,822 2508 [INFO ] -
2020-04-10 08:04:53,869 2508 [DEBUG] - Running Get-WebFile -url 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip' -options 'System.Collections.Hashtable'
2020-04-10 08:04:53,885 2508 [DEBUG] - Setting request timeout to 30000
2020-04-10 08:04:53,885 2508 [DEBUG] - Setting read/write timeout to 2700000
2020-04-10 08:04:53,885 2508 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-04-10 08:04:54,479 2508 [DEBUG] - Downloading https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip to C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip
2020-04-10 08:04:55,025 2508 [INFO ] -
2020-04-10 08:04:55,041 2508 [INFO ] - Download of cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip (5.15 MB) completed.
2020-04-10 08:04:55,041 2508 [INFO ] -
2020-04-10 08:04:58,104 2508 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-04-10 08:04:58,119 2508 [DEBUG] - Verifying package provided checksum of '17778c3ade0482bc37f451eec326f8fce8fbe1f12b1d6aacb2e2b9e34786c054' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip'.
2020-04-10 08:04:58,150 2508 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip' -checksum '17778c3ade0482bc37f451eec326f8fce8fbe1f12b1d6aacb2e2b9e34786c054' -checksumType 'sha256' -originalUrl 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip'
2020-04-10 08:04:58,182 2508 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-04-10 08:04:58,182 2508 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="17778c3ade0482bc37f451eec326f8fce8fbe1f12b1d6aacb2e2b9e34786c054" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip"]
2020-04-10 08:04:58,619 2508 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="17778c3ade0482bc37f451eec326f8fce8fbe1f12b1d6aacb2e2b9e34786c054" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip"] exited with '0'.
2020-04-10 08:04:58,666 2508 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip' -destination 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0' -specificFolder '' -packageName 'cabal'
2020-04-10 08:04:58,666 2508 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-04-10 08:04:58,697 2508 [INFO ] - Extracting C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip to C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0...
2020-04-10 08:04:58,697 2508 [INFO ] -
2020-04-10 08:04:58,744 2508 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2020-04-10 08:04:58,807 2508 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0" -y "C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip"]
2020-04-10 08:04:59,385 2508 [INFO ] - VERBOSE:
2020-04-10 08:04:59,385 2508 [INFO ] - VERBOSE: 7-Zip 18.06 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
2020-04-10 08:04:59,400 2508 [INFO ] - VERBOSE:
2020-04-10 08:04:59,400 2508 [INFO ] - VERBOSE: Scanning the drive for archives:
2020-04-10 08:04:59,400 2508 [INFO ] - VERBOSE: 1 file, 5395236 bytes (5269 KiB)
2020-04-10 08:04:59,416 2508 [INFO ] - VERBOSE:
2020-04-10 08:04:59,416 2508 [INFO ] - VERBOSE: Extracting archive: C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip
2020-04-10 08:04:59,416 2508 [INFO ] - VERBOSE: --
2020-04-10 08:04:59,432 2508 [INFO ] - VERBOSE: Path = C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip
2020-04-10 08:04:59,432 2508 [INFO ] - VERBOSE: Type = zip
2020-04-10 08:04:59,432 2508 [INFO ] - VERBOSE: Physical Size = 5395236
2020-04-10 08:04:59,432 2508 [INFO ] - VERBOSE:
2020-04-10 08:04:59,447 2508 [INFO ] - VERBOSE: - cabal.exe
2020-04-10 08:04:59,478 2508 [INFO ] - VERBOSE: - cabal.exe.sig
2020-04-10 08:04:59,478 2508 [INFO ] - VERBOSE: Everything is Ok
2020-04-10 08:04:59,478 2508 [INFO ] - VERBOSE:
2020-04-10 08:04:59,494 2508 [INFO ] - VERBOSE: Files: 2
2020-04-10 08:04:59,494 2508 [INFO ] - VERBOSE: Size: 5602335
2020-04-10 08:04:59,510 2508 [INFO ] - VERBOSE: Compressed: 5395236
2020-04-10 08:04:59,619 2508 [DEBUG] - $exitCode was passed null
2020-04-10 08:04:59,619 2508 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0" -y "C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip"] exited with '0'.
2020-04-10 08:04:59,652 2508 [DEBUG] - 7z exit code: 0
2020-04-10 08:04:59,682 2508 [INFO ] - C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0
2020-04-10 08:05:27,572 2508 [DEBUG] - Running Get-ToolsLocation
2020-04-10 08:05:27,682 2508 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2020-04-10 08:05:27,791 2508 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2020-04-10 08:05:27,838 2508 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2020-04-10 08:05:28,229 2508 [DEBUG] - Running Update-SessionEnvironment
2020-04-10 08:05:28,229 2508 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-04-10 08:05:28,713 2508 [DEBUG] - Msys2 directory: C:\tools\msys64
2020-04-10 08:05:29,525 2508 [DEBUG] - No Cabal config for extra-prog-path
2020-04-10 08:05:29,838 2508 [DEBUG] - No Cabal config for extra-lib-dirs
2020-04-10 08:05:30,135 2508 [DEBUG] - No Cabal config for extra-include-dirs
2020-04-10 08:05:30,416 2508 [DEBUG] -
2020-04-10 08:05:30,432 2508 [DEBUG] - cabal.exe: Error parsing additional config lines
:1:
Parse of field 'install-method' failed ('' isn't a valid install-method):
2020-04-10 08:05:30,432 2508 [INFO ] - Could not read cabal configuration key 'install-method'.
2020-04-10 08:05:30,447 2508 [INFO ] -
2020-04-10 08:05:30,447 2508 [DEBUG] - No Cabal config for install-method
2020-04-10 08:05:30,791 2508 [DEBUG] - Wrote Cabal config install-method: copy
2020-04-10 08:05:31,073 2508 [DEBUG] - Wrote Cabal config extra-prog-path: C:\tools\msys64\mingw64\bin,C:\Users\Administrator\AppData\Roaming\cabal\bin,C:\tools\msys64\usr\bin
2020-04-10 08:05:31,385 2508 [DEBUG] - Wrote Cabal config extra-lib-dirs:
2020-04-10 08:05:31,682 2508 [DEBUG] - Wrote Cabal config extra-include-dirs: C:\tools\msys64\mingw64\include
2020-04-10 08:05:31,682 2508 [INFO ] - Updated cabal configuration.
2020-04-10 08:05:31,697 2508 [INFO ] -
2020-04-10 08:05:31,713 2508 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\Users\Administrator\AppData\Roaming\cabal\bin'
2020-04-10 08:05:31,744 2508 [DEBUG] - Running Update-SessionEnvironment
2020-04-10 08:05:31,744 2508 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-04-10 08:05:31,900 2508 [INFO ] - PATH environment variable does not have C:\Users\Administrator\AppData\Roaming\cabal\bin in it. Adding...
2020-04-10 08:05:31,916 2508 [INFO ] -
2020-04-10 08:05:31,916 2508 [INFO ] - VERBOSE: Choosing not to expand environment names
2020-04-10 08:05:31,947 2508 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value ';C:\Users\Administrator\AppData\Roaming\cabal\bin;' -Scope 'User'
2020-04-10 08:05:31,947 2508 [DEBUG] - Registry type for Path is/will be String
2020-04-10 08:05:32,103 2508 [DEBUG] - Running Update-SessionEnvironment
2020-04-10 08:05:32,119 2508 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-04-10 08:05:32,510 2508 [DEBUG] - Running Get-ToolsLocation
2020-04-10 08:05:32,510 2508 [DEBUG] - Msys2 directory: C:\tools\msys64
2020-04-10 08:05:32,525 2508 [DEBUG] - Running Install-ChocolateyEnvironmentVariable -variableName '_MSYS2_BASH' -variableValue 'C:\tools\msys64\usr\bin\bash.exe'
2020-04-10 08:05:32,541 2508 [DEBUG] - Running Set-EnvironmentVariable -Name '_MSYS2_BASH' -Value 'C:\tools\msys64\usr\bin\bash.exe' -Scope 'User'
2020-04-10 08:05:32,541 2508 [DEBUG] - Registry type for _MSYS2_BASH is/will be String
2020-04-10 08:05:32,666 2508 [DEBUG] - Running Update-SessionEnvironment
2020-04-10 08:05:32,666 2508 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-04-10 08:05:32,807 2508 [DEBUG] - Running Install-ChocolateyEnvironmentVariable -variableName '_MSYS2_PREFIX' -variableValue 'x86_64'
2020-04-10 08:05:32,822 2508 [DEBUG] - Running Set-EnvironmentVariable -Name '_MSYS2_PREFIX' -Value 'x86_64' -Scope 'User'
2020-04-10 08:05:32,822 2508 [DEBUG] - Registry type for _MSYS2_PREFIX is/will be String
2020-04-10 08:05:32,932 2508 [DEBUG] - Running Update-SessionEnvironment
2020-04-10 08:05:32,947 2508 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2020-04-10 08:05:33,104 2508 [DEBUG] - Running Install-ChocolateyPowershellCommand -packageName '${packageName}.powershell' -psFileFullPath 'C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1'
2020-04-10 08:05:33,135 2508 [INFO ] - Adding C:\ProgramData\chocolatey\bin\mingw64-pkg.bat and pointing it to powershell command C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1
2020-04-10 08:05:33,135 2508 [INFO ] -
2020-04-10 08:05:33,244 2508 [DEBUG] - ----------------------------------------------------------------------
2020-04-10 08:05:33,260 2508 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-04-10 08:05:33,275 2508 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-04-10 08:05:33,322 2508 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-04-10 08:05:33,432 2508 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-04-10 08:05:33,432 2508 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-04-10 08:05:33,447 2508 [DEBUG] - * ChocolateyLastPathUpdate='132309795328695841' (User)
2020-04-10 08:05:33,447 2508 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2020-04-10 08:05:33,447 2508 [DEBUG] - * Path=';C:\Users\Administrator\AppData\Roaming\cabal\bin;' (User)
2020-04-10 08:05:33,447 2508 [DEBUG] - * _MSYS2_BASH='C:\tools\msys64\usr\bin\bash.exe' (User)
2020-04-10 08:05:33,463 2508 [DEBUG] - * _MSYS2_PREFIX='x86_64' (User)
2020-04-10 08:05:33,713 2508 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\cabal'
2020-04-10 08:05:33,729 2508 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip.txt'
with checksum '349FF1674E570288F6DC142A0AC4273B'
2020-04-10 08:05:33,729 2508 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal.nupkg'
with checksum 'B67AB931A209FEA69F294FE9AFAC8EBB'
2020-04-10 08:05:33,729 2508 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal.nuspec'
with checksum '4DA5B585FE7EBC73855DD1B472B77430'
2020-04-10 08:05:33,744 2508 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\LICENSE.txt'
with checksum '6C95C8C06AF5336177AB668148E093AF'
2020-04-10 08:05:33,744 2508 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1'
with checksum 'BB1E5B218BB45410478BB7206B6A7118'
2020-04-10 08:05:33,744 2508 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1'
with checksum '65F8F19578F07F891679889546E3784E'
2020-04-10 08:05:33,744 2508 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1'
with checksum '8792394360CF3B40E1B330C25C035D6D'
2020-04-10 08:05:33,807 2508 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe'
with checksum '57963445500FC7B93619E26001D84799'
2020-04-10 08:05:33,807 2508 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe.sig'
with checksum '5BFCDAE6B80977C4B6C4F20082DA3602'
2020-04-10 08:05:33,869 2508 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\cabal\tools\cabal-3.2.0.0\cabal.exe" --output="C:\ProgramData\chocolatey\bin\cabal.exe" --iconpath="C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe"']
2020-04-10 08:05:34,416 2508 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2020-04-10 08:05:34,416 2508 [DEBUG] - [ShimGen] Selected Icon is invalid
2020-04-10 08:05:34,760 2508 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.0.30319.33440
2020-04-10 08:05:34,775 2508 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\cabal\tools\cabal-3.2.0.0\cabal.exe" --output="C:\ProgramData\chocolatey\bin\cabal.exe" --iconpath="C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe"'] exited with '0'
2020-04-10 08:05:34,775 2508 [DEBUG] - [ShimGen] for Microsoft (R) .NET Framework 4.5
2020-04-10 08:05:34,775 2508 [INFO ] - ShimGen has successfully created a shim for cabal.exe
2020-04-10 08:05:34,775 2508 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2020-04-10 08:05:34,791 2508 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\cabal.exe
Targeting: C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe
IsGui:False
2020-04-10 08:05:34,791 2508 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\cabal.exe'
2020-04-10 08:05:34,900 2508 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2020-04-10 08:05:34,947 2508 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\cabal.3.2.0.0".
2020-04-10 08:05:34,979 2508 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\cabal.3.2.0.0\.files'
2020-04-10 08:05:34,994 2508 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cabal.3.2.0.0\.extra".
2020-04-10 08:05:35,010 2508 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cabal.3.2.0.0\.version".
2020-04-10 08:05:35,010 2508 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cabal.3.2.0.0\.sxs".
2020-04-10 08:05:35,010 2508 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cabal.3.2.0.0\.pin".
2020-04-10 08:05:35,025 2508 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-04-10 08:05:35,025 2508 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\.chocolateyPending".
2020-04-10 08:05:35,041 2508 [INFO ] - The install of cabal was successful.
2020-04-10 08:05:35,041 2508 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0'
2020-04-10 08:05:35,057 2508 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\cabal.3.2.0.0.nupkg".
2020-04-10 08:05:35,103 2508 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-04-10 08:05:35,103 2508 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-04-10 08:05:35,166 2508 [DEBUG] - Exiting with 0
2020-04-10 08:06:18,900 452 [DEBUG] - XmlConfiguration is now operational
2020-04-10 08:06:19,150 452 [INFO ] - ============================================================
2020-04-10 08:06:19,838 452 [INFO ] - Chocolatey v0.10.15
2020-04-10 08:06:19,870 452 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-04-10 08:06:19,901 452 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-04-10 08:06:19,901 452 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-04-10 08:06:19,932 452 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall cabal --version 3.2.0.0 -dvy --execution-timeout=2700
2020-04-10 08:06:19,932 452 [DEBUG] - Received arguments: uninstall cabal --version 3.2.0.0 -dvy --execution-timeout=2700
2020-04-10 08:06:20,120 452 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-04-10 08:06:20,135 452 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-04-10 08:06:20,167 452 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-04-10 08:06:20,400 452 [DEBUG] - Performing validation checks.
2020-04-10 08:06:20,417 452 [DEBUG] - Global Configuration Validation Checks:
2020-04-10 08:06:20,432 452 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-04-10 08:06:20,432 452 [DEBUG] - System State Validation Checks:
2020-04-10 08:06:20,447 452 [DEBUG] - Reboot Requirement Checks:
2020-04-10 08:06:20,463 452 [DEBUG] - - Pending Computer Rename = Checked
2020-04-10 08:06:20,479 452 [DEBUG] - - Pending Component Based Servicing = Checked
2020-04-10 08:06:20,479 452 [DEBUG] - - Pending Windows Auto Update = Checked
2020-04-10 08:06:20,479 452 [DEBUG] - - Pending File Rename Operations = Checked
2020-04-10 08:06:20,494 452 [DEBUG] - - Pending Windows Package Installer = Checked
2020-04-10 08:06:20,494 452 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-04-10 08:06:20,525 452 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-04-10 08:06:20,525 452 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-04-10 08:06:20,542 452 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2020-04-10 08:06:20,603 452 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='cabal'|Version='3.2.0.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='cabal'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-04-10 08:06:20,603 452 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-04-10 08:06:20,635 452 [INFO ] - Uninstalling the following packages:
2020-04-10 08:06:20,635 452 [INFO ] - cabal
2020-04-10 08:06:20,666 452 [DEBUG] - Current environment values (may contain sensitive data):
2020-04-10 08:06:20,682 452 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-10 08:06:20,682 452 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-04-10 08:06:20,682 452 [DEBUG] - * 'ChocolateyLastPathUpdate'='132309795328695841' ('User')
2020-04-10 08:06:20,682 452 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2020-04-10 08:06:20,697 452 [DEBUG] - * 'Path'=';C:\Users\Administrator\AppData\Roaming\cabal\bin;' ('User')
2020-04-10 08:06:20,697 452 [DEBUG] - * '_MSYS2_BASH'='C:\tools\msys64\usr\bin\bash.exe' ('User')
2020-04-10 08:06:20,697 452 [DEBUG] - * '_MSYS2_PREFIX'='x86_64' ('User')
2020-04-10 08:06:20,697 452 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-04-10 08:06:20,713 452 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-04-10 08:06:20,713 452 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-04-10 08:06:20,713 452 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-04-10 08:06:20,713 452 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-04-10 08:06:20,729 452 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-04-10 08:06:20,729 452 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-04-10 08:06:20,729 452 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-04-10 08:06:20,729 452 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-04-10 08:06:20,744 452 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-04-10 08:06:20,744 452 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-04-10 08:06:20,744 452 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2020-04-10 08:06:20,760 452 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2020-04-10 08:06:20,760 452 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2020-04-10 08:06:20,760 452 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2020-04-10 08:06:20,760 452 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-04-10 08:06:20,775 452 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-04-10 08:06:21,042 452 [DEBUG] - Running list with the following filter = ''
2020-04-10 08:06:21,042 452 [DEBUG] - --- Start of List ---
2020-04-10 08:06:21,494 452 [DEBUG] - cabal 3.2.0.0
2020-04-10 08:06:21,525 452 [DEBUG] - --- End of List ---
2020-04-10 08:06:21,697 452 [DEBUG] - Setting installer args for cabal
2020-04-10 08:06:21,697 452 [DEBUG] - Setting package parameters for cabal
2020-04-10 08:06:21,713 452 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1':
2020-04-10 08:06:21,744 452 [DEBUG] - $version = '3.2.0.0'
$packageName = 'cabal'
$url = 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-i386-unknown-mingw32.zip'
$url64 = 'https://downloads.haskell.org/cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip'
$binRoot = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$packageFullName = Join-Path $binRoot ($packageName + '-' + $version)
$is64 = (Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true'
$cabal = Join-Path $packageFullName "cabal.exe"
function Find-Entry {
param( [string] $app )
Get-Command -ErrorAction SilentlyContinue $app `
| Select-Object -first 1 `
| ForEach-Object { Split-Path $_.Path -Parent }
}
Function Execute-Command {
param( [string] $commandTitle
, [string] $commandPath
, [string] $commandArguments
)
Try {
$pinfo = New-Object System.Diagnostics.ProcessStartInfo
$pinfo.FileName = $commandPath
$pinfo.RedirectStandardError = $true
$pinfo.RedirectStandardOutput = $true
$pinfo.UseShellExecute = $false
$pinfo.Arguments = $commandArguments
$pinfo.WindowStyle = [Diagnostics.ProcessWindowStyle]::Hidden
$pinfo.CreateNoWindow = $true
$p = New-Object System.Diagnostics.Process
$p.StartInfo = $pinfo
$p.Start() | Out-Null
[pscustomobject]@{
commandTitle = $commandTitle
stdout = $p.StandardOutput.ReadToEnd()
stderr = $p.StandardError.ReadToEnd()
ExitCode = $p.ExitCode
}
$p.WaitForExit()
}
Catch {
exit
}
}
function Find-MSYS2 {
param()
# See if the user has msys2 already installed.
$msys2 = Find-Entry "msys2_shell.cmd"
if (($null -eq $msys2) -or ($msys2 -eq "")) {
$msys2 = Find-Entry "mingw*_shell.bat"
}
$dir_name = if ($is64) { 'msys64' } else { 'msys32' }
# Check for standalone msys2 installs
if (($null -eq $msys2) -or ($msys2 -eq "")) {
$tmp = Join-Path $Env:SystemDrive $dir_name
if (Test-Path $tmp -PathType Container) {
Write-Host "Standalone msys2 detected. Using default paths."
$msys2 = $tmp
}
}
if (($null -eq $msys2) -or ($msys2 -eq "")) {
# msys2 was not found already installed, assume user will install
# it in the default directory, so create the expected default msys2
# installation path.
$msys2 = "{0}\\{1}" -f (Get-ToolsLocation), $dir_name
}
Write-Debug "Msys2 directory: ${msys2}"
return $msys2
}
function ReadCabal-Config {
param( [string] $key )
$prog = "$cabal"
$cmd = "user-config diff -a ${key}:"
$proc = Execute-Command "Reading cabal config key '${key}'." $prog $cmd
if ($proc.ExitCode -ne 0) {
Write-Error $proc.stdout
Write-Error $proc.stderr
throw ("Could not read cabal configuration key '${key}'.")
}
$option = [System.StringSplitOptions]::RemoveEmptyEntries
$procout = $proc.stdout.Split([Environment]::NewLine) | Select-String "- ${key}" | Select-Object -First 1
if (!$procout) {
Write-Debug "No Cabal config for ${key}"
return {@()}.Invoke()
} else {
$value = $procout.ToString().Split(@(':'), 2, $option)[1].ToString()
$value = $value.Split([Environment]::NewLine)[0].Trim()
Write-Debug "Read Cabal config ${key}: ${value}"
return {$value.Replace('"','').Split(@(','), $option)}.Invoke()
}
}
function UpdateCabal-Config {
param( [string] $key
, [string[]] $values
)
if ((!$values) -or ($values.Count -eq 0)) {
$values = ""
} else {
#$value = '"' + [String]::Join("`",`"", $values) + '"'
$value = [String]::Join(",", $values)
}
$prog = "$cabal"
$cmd = "user-config update -a `"${key}: $value`""
$proc = Execute-Command "Update cabal config key '${key}'." $prog $cmd
if ($proc.ExitCode -ne 0) {
Write-Error $proc.stdout
Write-Error $proc.stderr
throw ("Could not update cabal configuration key '${key}'.")
}
Write-Debug "Wrote Cabal config ${key}: ${value}"
}
function Restore-Config-Cabal {
param()
$ErrorActionPreference = 'Stop'
$msys2_path = Find-MSYS2
$prog_path = ReadCabal-Config "extra-prog-path"
$lib_dirs = ReadCabal-Config "extra-lib-dirs"
$include_dirs = ReadCabal-Config "extra-include-dirs"
$native_path = if ($is64) { 'mingw64' } else { 'mingw32' }
$native_path = Join-Path $msys2_path $native_path
$msys_lib_dir = Join-Path $native_path "lib"
# Build new binary paths
$native_bin = Join-Path $native_path "bin"
$new_prog_paths = {$prog_path}.Invoke()
$new_prog_paths.Remove((Join-Path (Join-Path $msys2_path "usr") "bin")) | Out-Null
$new_prog_paths.Remove(($native_bin)) | Out-Null
$new_prog_paths = $new_prog_paths | Select-Object -Unique
# Build new library paths
$new_lib_dirs = {$lib_dirs}.Invoke()
$new_lib_dirs.Remove((Join-Path $native_path "lib")) | Out-Null
$new_lib_dirs = $new_lib_dirs | Select-Object -Unique
# Build new include paths
$new_include_dirs = {$include_dirs}.Invoke()
$new_include_dirs.Remove((Join-Path $native_path "include")) | Out-Null
$new_include_dirs = $new_include_dirs | Select-Object -Unique
UpdateCabal-Config "extra-prog-path" $new_prog_paths
UpdateCabal-Config "extra-lib-dirs" $new_lib_dirs
UpdateCabal-Config "extra-include-dirs" $new_include_dirs
Write-Host "Restored cabal configuration."
}
# Now execute cabal configuration updates
Restore-Config-Cabal
Uninstall-ChocolateyEnvironmentVariable -VariableName '_MSYS2_BASH'
Uninstall-ChocolateyEnvironmentVariable -VariableName '_MSYS2_PREFIX'
# Cleanup the batch file we created
Get-Command "mingw64-pkg.bat" -ErrorAction SilentlyContinue `
| ForEach-Object { Remove-Item -Force $_ -ErrorAction SilentlyContinue }
2020-04-10 08:06:21,822 452 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters ''']
2020-04-10 08:06:21,822 452 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-04-10 08:06:22,510 452 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-04-10 08:06:23,011 452 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-04-10 08:06:23,011 452 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-04-10 08:06:23,011 452 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-04-10 08:06:23,025 452 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-04-10 08:06:23,025 452 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-04-10 08:06:23,041 452 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-04-10 08:06:23,041 452 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-04-10 08:06:23,041 452 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-04-10 08:06:23,057 452 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-04-10 08:06:23,057 452 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-04-10 08:06:23,057 452 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-04-10 08:06:23,072 452 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-04-10 08:06:23,072 452 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-04-10 08:06:23,088 452 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-04-10 08:06:23,088 452 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-04-10 08:06:23,088 452 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-04-10 08:06:23,088 452 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-04-10 08:06:23,103 452 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-04-10 08:06:23,103 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-04-10 08:06:23,103 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-04-10 08:06:23,119 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-04-10 08:06:23,119 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-04-10 08:06:23,119 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-04-10 08:06:23,135 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-04-10 08:06:23,135 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-04-10 08:06:23,135 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-10 08:06:23,150 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-04-10 08:06:23,150 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-04-10 08:06:23,150 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-04-10 08:06:23,166 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-04-10 08:06:23,166 452 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-04-10 08:06:23,182 452 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-04-10 08:06:23,182 452 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-04-10 08:06:23,182 452 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-04-10 08:06:23,197 452 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-04-10 08:06:23,197 452 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-04-10 08:06:23,197 452 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-10 08:06:23,213 452 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-04-10 08:06:23,213 452 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-04-10 08:06:23,213 452 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-04-10 08:06:23,228 452 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-04-10 08:06:23,228 452 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-04-10 08:06:23,244 452 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-04-10 08:06:23,244 452 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-04-10 08:06:23,244 452 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-04-10 08:06:23,260 452 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-04-10 08:06:23,260 452 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-04-10 08:06:23,260 452 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-04-10 08:06:23,275 452 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-04-10 08:06:23,275 452 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-04-10 08:06:23,275 452 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-04-10 08:06:23,291 452 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-04-10 08:06:23,291 452 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-04-10 08:06:23,322 452 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-04-10 08:06:23,338 452 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-04-10 08:06:23,338 452 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-04-10 08:06:23,338 452 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-04-10 08:06:23,354 452 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-04-10 08:06:23,354 452 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-04-10 08:06:23,354 452 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-04-10 08:06:23,369 452 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-04-10 08:06:23,369 452 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-04-10 08:06:23,369 452 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-04-10 08:06:23,385 452 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-04-10 08:06:23,385 452 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-04-10 08:06:23,385 452 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-04-10 08:06:23,400 452 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-04-10 08:06:23,400 452 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-04-10 08:06:23,400 452 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-04-10 08:06:23,416 452 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-04-10 08:06:23,416 452 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-04-10 08:06:23,416 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-04-10 08:06:23,432 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-04-10 08:06:23,432 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-04-10 08:06:23,432 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-04-10 08:06:23,447 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-04-10 08:06:23,447 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-04-10 08:06:23,447 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-04-10 08:06:23,463 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-10 08:06:23,463 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-04-10 08:06:23,463 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-04-10 08:06:23,478 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-04-10 08:06:23,478 452 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-04-10 08:06:23,478 452 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-04-10 08:06:23,494 452 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-04-10 08:06:23,494 452 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-04-10 08:06:23,494 452 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-04-10 08:06:23,510 452 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-04-10 08:06:23,510 452 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-04-10 08:06:23,510 452 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-10 08:06:23,525 452 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-04-10 08:06:23,525 452 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-04-10 08:06:23,525 452 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-04-10 08:06:23,541 452 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-04-10 08:06:23,541 452 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-04-10 08:06:23,541 452 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-04-10 08:06:23,557 452 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-04-10 08:06:23,557 452 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-04-10 08:06:23,557 452 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-04-10 08:06:23,572 452 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-04-10 08:06:23,572 452 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-04-10 08:06:23,572 452 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-04-10 08:06:23,588 452 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-04-10 08:06:23,588 452 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-04-10 08:06:23,588 452 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-04-10 08:06:23,604 452 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-04-10 08:06:23,604 452 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-04-10 08:06:23,604 452 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-04-10 08:06:23,619 452 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-04-10 08:06:23,619 452 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-04-10 08:06:23,619 452 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-04-10 08:06:23,635 452 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-04-10 08:06:23,635 452 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-04-10 08:06:23,635 452 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-04-10 08:06:23,650 452 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-04-10 08:06:23,650 452 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-04-10 08:06:23,650 452 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-04-10 08:06:23,666 452 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-04-10 08:06:23,666 452 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-04-10 08:06:23,666 452 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-04-10 08:06:23,682 452 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-04-10 08:06:23,682 452 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-04-10 08:06:23,682 452 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-04-10 08:06:23,697 452 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-04-10 08:06:23,697 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-04-10 08:06:23,697 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-04-10 08:06:23,713 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-04-10 08:06:23,713 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-04-10 08:06:23,713 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-04-10 08:06:23,729 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-04-10 08:06:23,729 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-04-10 08:06:23,729 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-04-10 08:06:23,744 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-04-10 08:06:23,744 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-04-10 08:06:23,744 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-04-10 08:06:23,760 452 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-04-10 08:06:23,760 452 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-04-10 08:06:23,760 452 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-04-10 08:06:23,775 452 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-04-10 08:06:23,775 452 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-04-10 08:06:23,775 452 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-04-10 08:06:23,791 452 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-04-10 08:06:23,791 452 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-04-10 08:06:23,791 452 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-04-10 08:06:23,807 452 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-04-10 08:06:23,807 452 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-04-10 08:06:23,807 452 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-04-10 08:06:23,822 452 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-04-10 08:06:23,822 452 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-04-10 08:06:23,822 452 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-04-10 08:06:23,838 452 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-04-10 08:06:23,838 452 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-04-10 08:06:23,838 452 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-04-10 08:06:23,853 452 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-04-10 08:06:23,853 452 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-04-10 08:06:23,853 452 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-04-10 08:06:23,853 452 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-04-10 08:06:23,869 452 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-04-10 08:06:23,869 452 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-04-10 08:06:23,994 452 [DEBUG] - ---------------------------Script Execution---------------------------
2020-04-10 08:06:24,010 452 [DEBUG] - Running 'ChocolateyScriptRunner' for cabal v3.2.0.0 with packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\cabal', installArguments: '', packageParameters: '',
2020-04-10 08:06:24,072 452 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1'
2020-04-10 08:06:24,213 452 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2020-04-10 08:06:24,791 452 [DEBUG] - Running Get-ToolsLocation
2020-04-10 08:06:24,807 452 [DEBUG] - Msys2 directory: C:\tools\\msys64
2020-04-10 08:06:25,541 452 [DEBUG] - Read Cabal config extra-prog-path: C:\Users\Administrator\AppData\Roaming\cabal\bin
2020-04-10 08:06:25,932 452 [DEBUG] - No Cabal config for extra-lib-dirs
2020-04-10 08:06:26,213 452 [DEBUG] - No Cabal config for extra-include-dirs
2020-04-10 08:06:26,697 452 [DEBUG] - Wrote Cabal config extra-prog-path: C:\Users\Administrator\AppData\Roaming\cabal\bin
2020-04-10 08:06:27,025 452 [DEBUG] - Wrote Cabal config extra-lib-dirs:
2020-04-10 08:06:27,322 452 [DEBUG] - Wrote Cabal config extra-include-dirs:
2020-04-10 08:06:27,338 452 [INFO ] - Restored cabal configuration.
2020-04-10 08:06:27,355 452 [INFO ] -
2020-04-10 08:06:27,385 452 [DEBUG] - Running Uninstall-ChocolateyEnvironmentVariable -variableName '_MSYS2_BASH'
2020-04-10 08:06:27,479 452 [DEBUG] - Running Set-EnvironmentVariable -Name '_MSYS2_BASH' -Value '' -Scope 'User'
2020-04-10 08:06:30,588 452 [DEBUG] - Running Uninstall-ChocolateyEnvironmentVariable -variableName '_MSYS2_PREFIX'
2020-04-10 08:06:30,588 452 [DEBUG] - Running Set-EnvironmentVariable -Name '_MSYS2_PREFIX' -Value '' -Scope 'User'
2020-04-10 08:06:33,822 452 [DEBUG] - ----------------------------------------------------------------------
2020-04-10 08:06:33,839 452 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-04-10 08:06:34,088 452 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2020-04-10 08:06:34,103 452 [DEBUG] - Backing up existing cabal prior to operation.
2020-04-10 08:06:34,119 452 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\cabal'
to 'C:\ProgramData\chocolatey\lib-bkp\cabal'
2020-04-10 08:06:36,136 452 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\cabal".
2020-04-10 08:06:36,136 452 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip.txt"
to "C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip.txt".
2020-04-10 08:06:36,150 452 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\cabal.nupkg"
to "C:\ProgramData\chocolatey\lib\cabal\cabal.nupkg".
2020-04-10 08:06:36,150 452 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\cabal.nuspec"
to "C:\ProgramData\chocolatey\lib\cabal\cabal.nuspec".
2020-04-10 08:06:36,166 452 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\cabal\LICENSE.txt".
2020-04-10 08:06:36,166 452 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\cabal\tools".
2020-04-10 08:06:36,166 452 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\tools\chocolateyBeforeModify.ps1"
to "C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1".
2020-04-10 08:06:36,182 452 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1".
2020-04-10 08:06:36,182 452 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\tools\mingw64-pkg.ps1"
to "C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1".
2020-04-10 08:06:36,182 452 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0".
2020-04-10 08:06:36,197 452 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\tools\cabal-3.2.0.0\cabal.exe"
to "C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe".
2020-04-10 08:06:36,197 452 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\cabal\tools\cabal-3.2.0.0\cabal.exe.sig"
to "C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe.sig".
2020-04-10 08:06:37,744 452 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\cabal'
2020-04-10 08:06:37,760 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip.txt'
with checksum '349FF1674E570288F6DC142A0AC4273B'
2020-04-10 08:06:37,760 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal.nupkg'
with checksum 'B67AB931A209FEA69F294FE9AFAC8EBB'
2020-04-10 08:06:37,760 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal.nuspec'
with checksum '4DA5B585FE7EBC73855DD1B472B77430'
2020-04-10 08:06:37,775 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\LICENSE.txt'
with checksum '6C95C8C06AF5336177AB668148E093AF'
2020-04-10 08:06:37,775 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyBeforeModify.ps1'
with checksum 'BB1E5B218BB45410478BB7206B6A7118'
2020-04-10 08:06:37,775 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\chocolateyInstall.ps1'
with checksum '65F8F19578F07F891679889546E3784E'
2020-04-10 08:06:37,791 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\mingw64-pkg.ps1'
with checksum '8792394360CF3B40E1B330C25C035D6D'
2020-04-10 08:06:37,822 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe'
with checksum '57963445500FC7B93619E26001D84799'
2020-04-10 08:06:37,838 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe.sig'
with checksum '5BFCDAE6B80977C4B6C4F20082DA3602'
2020-04-10 08:06:38,182 452 [INFO ] - [NuGet] Uninstalling 'cabal 3.2.0.0'.
2020-04-10 08:06:38,213 452 [INFO ] -
cabal v3.2.0.0
2020-04-10 08:06:38,260 452 [DEBUG] - Removing shim for cabal.exe at 'C:\ProgramData\chocolatey\bin\cabal.exe
2020-04-10 08:06:38,260 452 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\cabal.exe".
2020-04-10 08:06:38,307 452 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2020-04-10 08:06:38,324 452 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-04-10 08:06:38,369 452 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-04-10 08:06:38,401 452 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\cabal".
2020-04-10 08:06:38,494 452 [DEBUG] - [NuGet] Removed file 'chocolateyBeforeModify.ps1' to folder 'C:\ProgramData\chocolatey\lib\cabal\tools'.
2020-04-10 08:06:38,494 452 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\cabal\tools'.
2020-04-10 08:06:38,557 452 [DEBUG] - [NuGet] Removed file 'mingw64-pkg.ps1' to folder 'C:\ProgramData\chocolatey\lib\cabal\tools'.
2020-04-10 08:06:38,573 452 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\cabal'.
2020-04-10 08:06:38,588 452 [DEBUG] - [NuGet] Removed file 'cabal.nuspec' to folder 'C:\ProgramData\chocolatey\lib\cabal'.
2020-04-10 08:06:38,588 452 [DEBUG] - [NuGet] Removed file 'cabal.nupkg' to folder 'C:\ProgramData\chocolatey\lib\cabal'.
2020-04-10 08:06:38,603 452 [DEBUG] - [NuGet] The directory is not empty.
2020-04-10 08:06:38,619 452 [INFO ] - [NuGet] Successfully uninstalled 'cabal 3.2.0.0'.
2020-04-10 08:06:38,636 452 [INFO ] - cabal has been successfully uninstalled.
2020-04-10 08:06:38,650 452 [DEBUG] - Removing nupkg if it still exists.
2020-04-10 08:06:38,666 452 [DEBUG] - Ensuring removal of installation files.
2020-04-10 08:06:38,682 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip.txt'
with checksum '349FF1674E570288F6DC142A0AC4273B'
2020-04-10 08:06:38,682 452 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\cabal-install-3.2.0.0-x86_64-unknown-mingw32.zip.txt".
2020-04-10 08:06:38,729 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe'
with checksum '57963445500FC7B93619E26001D84799'
2020-04-10 08:06:38,729 452 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe".
2020-04-10 08:06:38,744 452 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe.sig'
with checksum '5BFCDAE6B80977C4B6C4F20082DA3602'
2020-04-10 08:06:38,744 452 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cabal\tools\cabal-3.2.0.0\cabal.exe.sig".
2020-04-10 08:06:38,744 452 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\cabal".
2020-04-10 08:06:38,760 452 [DEBUG] - Ensuring removal of package cache files.
2020-04-10 08:06:38,760 452 [DEBUG] - Attempting to delete directory "C:\Users\Administrator\AppData\Local\Temp\chocolatey\cabal\3.2.0.0".
2020-04-10 08:06:38,807 452 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-04-10 08:06:38,807 452 [DEBUG] - The following values have been removed:
2020-04-10 08:06:38,807 452 [DEBUG] - * _MSYS2_BASH='C:\tools\msys64\usr\bin\bash.exe' (User)
2020-04-10 08:06:38,807 452 [DEBUG] - * _MSYS2_PREFIX='x86_64' (User)
2020-04-10 08:06:38,854 452 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-04-10 08:06:38,947 452 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-04-10 08:06:38,994 452 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.