AUR (en) - powershell
yataro commented on 2025-11-11 13:03 (UTC)
airbreather commented on 2025-11-11 12:48 (UTC)
Another consistent test failure (on my machine)
[-] Call Get-TimeZone using Name param and singe item 578ms
Expected 'American Samoa Standard Time', but got @('American Samoa Standard Time', 'American Samoa Standard Time').
104: $observed.StandardName | Should -Be $timezoneName
at <ScriptBlock>, /path/to/powershell/src/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/TimeZone.Tests.ps1: line 104
--nocheck works, of course.
yataro commented on 2025-11-03 06:49 (UTC)
@ComradeAkei what's the motivation of this?
ComradeAkei commented on 2025-11-02 19:13 (UTC) (edited on 2025-11-02 19:13 (UTC) by ComradeAkei)
makedepends=(
dotnet-sdk-9.0
dotnet-targeting-pack-9.0
git
unzip
jq
)
yataro commented on 2025-01-31 11:18 (UTC)
After updating to 7.5.0 some more failing tests popped up. I can't handle it at the moment. If someone wants to step-in, your patch will be appreciated
cozzos84 commented on 2025-01-23 13:13 (UTC) (edited on 2025-01-23 13:15 (UTC) by cozzos84)
@yataro
Thanks! it works!!! :) Thank you for your patience and kindness!!
[mypc ~ ] > pwsh -V
PowerShell 7.4.6-0-g81930547a20205e5bfed32c66ab6fed50d6e2008
yataro commented on 2025-01-23 13:00 (UTC) (edited on 2025-01-23 13:01 (UTC) by yataro)
You can skip tests with makepkg --nocheck, they are optional. The log you provided doesn't include the test failed (and these warning are expected), it should be marked with [-]
cozzos84 commented on 2025-01-23 12:32 (UTC)
Thanks @yataro
Making exit with error:
Tests completed in 345.72s
Tests Passed: 6943, Failed: 1, Skipped: 6762, Pending: 201, Inconclusive: 2
==> ERROR: A failure occurred in check().
I suppose this error:
Push-Location: /home/rardcode/.local/src/powershell/src/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/FileSystemProviderExtended.Tests.ps1:666
Line |
666 | Push-Location $rootDir
| ~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path 'TestDrive:/TestDir' because it does not exist.
WARNING: Context 'Environment provider': Tags are only effective on the outermost test group, for now.
New-Item: /home/rardcode/.local/src/powershell/src/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/Set-Location.Tests.ps1:243
Line |
243 | New-Item -Path 'TestDrive:\' -Name 'Directory1' -ItemType …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| An item with the specified name /tmp/5af17be1-9ca0-4358-b6b4-a6e73cb0a424/Directory1 already exists.
New-Item: /home/rardcode/.local/src/powershell/src/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management/Set-Location.Tests.ps1:259
Line |
259 | New-Item -Path 'TestDrive:\Directory1' -Name 'Directory2' …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| An item with the specified name /tmp/5af17be1-9ca0-4358-b6b4-a6e73cb0a424/Directory1/Directory2 already exists.
WARNING: This module is use-at-your-own-risk.
It exists to test PowerShell Core builds and is not supported by Microsoft.
Please report any issues at https://github.com/rjmholt/SelfSignedCertificate.
Certificate written to /tmp/ServerCert.pfx
WARNING: Parameter 'EmailAddress' is obsolete. The email name component is deprecated by the PKIX standard
Certificate written to /tmp/ClientCert.pfx
New-Item: /home/rardcode/.local/src/powershell/src/PowerShell/test/powershell/Modules/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.Tests.ps1:58
Line |
58 | New-Item -Path $script:ProgramFilesScriptsInfoPath -ItemType Dire …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Access to the path '/usr/local/share/powershell' is denied.
But is not important...i wait dotnet-sdk package upgrade in Manjaro repo!
yataro commented on 2025-01-23 11:36 (UTC)
Try with this patch
diff --git a/PKGBUILD b/PKGBUILD
index 67fea74..8dfee3d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -39,7 +39,7 @@ noextract=('pester.4.10.1.nupkg')
sha256sums=('38671446c6944fa0d7238dc8c571390a18a9070d55bd360bcc1dbc26b7073b28'
'0c81200e5211a2f63bc8d9941432cbf98b5988249f0ceeb1f118a14adddbaa8e'
'6c996dc4dc8bef068cefb1680292154f45577c66fb0600dd0fb50939bbf8a3a3'
- '0c752fdfef3695109f27bb3fc8ecd9722e44ac7c21e9233a11a88bb8124e312d'
+ 'c17b453dd301687cddc9d532cb3ecbb5f92d75143c55b9fb2a3073fbe8d3c438'
'2d1947012cc4b98f1a258730b0b44dad7ae481de19b424131e0dd10f2c30b340'
'339207f86fa709d801ae64db739eafb4850fb53e4feece52db53920fa9896aa7')
diff --git a/dotnet-sdk-version.patch b/dotnet-sdk-version.patch
index a36c4ab..cf329c1 100644
--- a/dotnet-sdk-version.patch
+++ b/dotnet-sdk-version.patch
@@ -5,7 +5,7 @@ diff -r --unified PowerShell.old/global.json PowerShell.new/global.json
{
"sdk": {
- "version": "8.0.403"
-+ "version": "8.0.111",
++ "version": "8.0.0",
+ "rollForward": "latestFeature"
}
}
cozzos84 commented on 2025-01-23 11:31 (UTC)
@yataro
No change after pacman -Syu :(
Yes, my distro is Manjaro.
@airbreather looks like upstream issue, seems reasonable to report