Package Details: powershell 7.4.1-4

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 (latest release)
Upstream URL: https://github.com/PowerShell/PowerShell
Keywords: .net automation microsoft net powershell script scripting shell
Licenses: MIT
Submitter: jsteel
Maintainer: kylesferrazza (richardba, carsme)
Last Packager: carsme
Votes: 83
Popularity: 0.079565
First Submitted: 2016-11-26 22:16 (UTC)
Last Updated: 2024-03-10 11:11 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 18 Next › Last »

kylesferrazza commented on 2020-03-18 21:00 (UTC) (edited on 2020-03-19 17:12 (UTC) by kylesferrazza)

Waiting on an answer from upstream for the 7.0 update here. If you need 7.0 now, check out powershell-bin:

https://aur.archlinux.org/packages/powershell-bin

EDIT: the package has been updated :)

prg commented on 2020-02-26 17:06 (UTC)

Apparently some of the standard components of powershell are not contained in the Powershell repo, but other repos like:

Does anyone know if this is packaged elsewhere? As a beginner powershell user, I was having a tough time figuring out why "Install-Module" was not working

Obi_Juanb8b commented on 2020-01-25 18:20 (UTC)

Regarding the error message from @DuBistKomisch...I had a similiar error. I think the makedepends may need to be changed. In addition to the 'dotnet-sdk' (which is .NET Core 3) I had to install 'dotnet-sdk-2.2' from community as well. Then when I built this packaged it installed correctly.

DuBistKomisch commented on 2020-01-25 10:07 (UTC)

It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
  - The following frameworks were found:
      3.1.0 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

do the makedepends need to be more specific?

DDoSolitary commented on 2019-11-29 13:25 (UTC)

@kylesferrazza https://github.com/PowerShell/PowerShell-Native/issues/33

kylesferrazza commented on 2019-11-29 13:23 (UTC)

@DDoSolitary Can you link to the issue you opened upstream?

DDoSolitary commented on 2019-11-29 13:20 (UTC)

@user981257923 I've already opened an issue in the upstream repo (#33), but unfortunately haven't got any response yet and the repo doesn't seem to be actively maintained. A simple way to work this around would be removing the -Werror flag in CMakeLists.txt of that project. However, it is not very ideal because the code will eventually get broken after glibc removes that header.

user981257923 commented on 2019-11-29 12:45 (UTC) (edited on 2019-11-29 12:48 (UTC) by user981257923)

Log:

/usr/include/sys/sysctl.h:21:2: error: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Werror=cpp]
   21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
      |  ^~~~~~~
cc1plus: all warnings being treated as errors
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: powershell

Any way to fix this which doesn't involve upstream?