Package Details: powershell 7.5.0-1

Git Clone URL: https://aur.archlinux.org/powershell.git (read-only, click to copy)
Package Base: powershell
Description: A cross-platform automation and configuration tool/framework
Upstream URL: https://microsoft.com/PowerShell
Keywords: automation dotnet microsoft net powershell script scripting shell
Licenses: MIT
Submitter: jsteel
Maintainer: yataro
Last Packager: yataro
Votes: 85
Popularity: 0.39
First Submitted: 2016-11-26 22:16 (UTC)
Last Updated: 2025-01-31 11:17 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 21 Next › Last »

yataro commented on 2025-01-23 06:14 (UTC)

I've add exports back to build() and check(), let me know why it didn't work for you before. Is some AUR helper involved in this?

yataro commented on 2025-01-23 05:58 (UTC)

@patlefort for me it's defined in build as it's export'ed in prepare. It also builds fine in chroot, is there some makepkg behavior I miss?

patlefort commented on 2025-01-22 22:27 (UTC)

Failure:

cp: cannot stat '/microsoft.powershell.archive/1.2.5/.': No such file or directory
==> ERROR: A failure occurred in build().

NUGET_PACKAGES need to be defined in build() as well.

simona commented on 2025-01-22 16:42 (UTC)

thx.

yataro commented on 2025-01-22 16:38 (UTC)

@simona just rolled a fix for that, sorry I should have try to build it in clean chroot first

yataro commented on 2025-01-22 15:58 (UTC)

@cozzos84

Installed SDKs: 8.0.110

You need to update dotnet-sdk, it is 8.0.11.sdk111 in repos

simona commented on 2025-01-22 15:44 (UTC)

/home/simona/.cache/yay/powershell/src/PowerShell/test/tools/Modules/PSGalleryTestModules.csproj : error NU1102: Unable to find package SelfSignedCertificate with version (>= 0.0.4)
/home/simona/.cache/yay/powershell/src/PowerShell/test/tools/Modules/PSGalleryTestModules.csproj : error NU1102: - Found 1 version(s) in nuget.org [ Nearest version: 0.0.1 ]
Failed to restore /home/simona/.cache/yay/powershell/src/PowerShell/test/tools/Modules/PSGalleryTestModules.csproj (in 204 ms).

cozzos84 commented on 2025-01-22 13:34 (UTC)

i've this problem when update:

==> Avvio di prepare() in corso...
patching file global.json
patching file nuget.config
patching file test/tools/Modules/nuget.config
patching file tools/wix/nuget.config
patching file src/System.Management.Automation/SourceGenerators/PSVersionInfoGenerator/PSVersionInfoGenerator.csproj
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application 'restore' does not exist.
  * You intended to execute a .NET SDK command:
      A compatible .NET SDK was not found.

Requested SDK version: 8.0.111
global.json file: /home/rardcode/.cache/yay/powershell/src/PowerShell/global.json

Installed SDKs:
8.0.110 [/usr/share/dotnet/sdk]

Install the [8.0.111] .NET SDK or update [/home/rardcode/.cache/yay/powershell/src/PowerShell/global.json] to match an installed SDK.

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
==> ERRORE: Si è verificato un errore in prepare().
    L'operazione sta per essere interrotta...
 -> errore durante la creazione: powershell-exit status 4
 -> Installazione dei seguenti pacchetti non riuscita. È richiesto l'intervento manuale:
powershell - exit status 4

yataro commented on 2025-01-22 12:40 (UTC)

I've slapped few patches to build it with extra/dotnet-sdk, kinda ugly but works

nroth commented on 2024-12-20 01:34 (UTC)

This currently does not build due to "warning as error" vulnerabilities:

/home/nroth/.cache/yay/powershell/src/PowerShell/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj : error NU1903: Warning As Error: Package 'System.Text.Json' 6.0.9 has a known high severity vulnerability, https://github.com/advisories/GHSA-8g4q-xg66-9fp4 [/home/nroth/.cache/yay/powershell/src/PowerShell/src/powershell-unix/powershell-unix.csproj] /home/nroth/.cache/yay/powershell/src/PowerShell/src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj : error NU1903: Warning As Error: Package 'System.IO.Packaging' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-f32c-w444-8ppv [/home/nroth/.cache/yay/powershell/src/PowerShell/src/powershell-unix/powershell-unix.csproj] /home/nroth/.cache/yay/powershell/src/PowerShell/src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj : error NU1903: Warning As Error: Package 'System.IO.Packaging' 8.0.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-qj66-m88j-hmgj [/home/nroth/.cache/yay/powershell/src/PowerShell/src/powershell-unix/powershell-unix.csproj]