Package Details: powershell 6.0.2-3

Git Clone URL: https://aur.archlinux.org/powershell.git (read-only)
Package Base: powershell
Description: A cross-platform automation and configuration tool/framework (latest release)
Upstream URL: https://github.com/PowerShell/PowerShell
Keywords: microsoft powershell shell
Licenses: MIT
Submitter: jsteel
Maintainer: kylesferrazza
Last Packager: kylesferrazza
Votes: 36
Popularity: 1.742908
First Submitted: 2016-11-26 22:16
Last Updated: 2018-06-13 17:03

Dependencies (4)

Required by (0)

Sources (5)

Pinned Comments

kylesferrazza commented on 2017-10-26 18:01

Note that the binary is now called "pwsh"

Latest Comments

1 2 3 4 5 6 ... Next › Last »

kylesferrazza commented on 2018-07-29 15:19

@nomad980 @anakha I will be back from vacation this Tuesday night and will look into updating to 6.0.3 and the error you bring up.

nomad980 commented on 2018-07-29 11:38

@kylesferrazza : I want to thank you for your work on making this available to us. Also wonder wondering when the 6.0.3 update would be happening or if you are waiting for 6.1.0 to come out of preview?

anakha commented on 2018-07-23 18:57

Build fails on 4.14.54-1-MANJARO #1 SMP PREEMPT Sun Jul 8 19:14:13 UTC 2018 x86_64 GNU/Linux

with:

aur-powershell/src/powershell/src/powershell-unix/powershell-unix.csproj : error : Project is targeting runtime 'arch-x64' but did not resolve any runtime-specific packages. This runtime may not be supported by the target framework.

powershell-bin package seems to install without any issues however.

Thank you for making this package.

kylesferrazza commented on 2018-07-22 01:59

I will update for 6.0.3 tomorrow night.

kylesferrazza commented on 2018-06-13 17:23

@Anaximander

Great!

Anaximander commented on 2018-06-13 17:22

removed pkg, downloaded the snapshot, verified dotnet-version.patch contained 2.1.300. Ran makepkg, install proceed. got to Build Target psl-native-test Started check and failed. Google -- looks like a locale issue.

Checked my locale, and it is not set correctly. Verified /etc/locale.gen -- set correctly. Verified /etc/locale.conf -- nothing. Create it, set to proper locale. restart.

Locale is now correct.

makepkg -- build target psl-native-test -- success.

Profit!

kylesferrazza commented on 2018-06-13 17:04

The dotnet version issues should now be fixed.

@Anaximander @allenhs @krprescott Let me know if the latest PKGBUILD fixes the build issues you were having.

kylesferrazza commented on 2018-06-13 15:28

@Anaximander @allenhs @krprescott

I fixed the dotnet version issue by adding the trailing zeroes in global.json (2.1.300). I encountered another problem in the build process and I'm waiting for a response from upstream. I will keep this page updated as I hear back.

https://github.com/PowerShell/PowerShell/issues/7057

Anaximander commented on 2018-06-13 13:35

Same situation as krprescott: Installed -- (dotnet-host [2.1.0-3]) (dotnet-runtime [2.1.0-3]) (dotnet-sdk [2.1.300-2])

A compatible SDK version for global.json version: [2.1.3] from [/tmp/trizen-user/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 ==> ERROR: A failure occurred in build(). Aborting... :: Unable to build powershell - makepkg exited with code: 4

==========

Attempted to edit the dotnet-version.patch while trizen was installing, that results in validity check error.

==========

I cloned the package and attempted a manual install. Before initiating the makepkg, I edited dotnet-version.patch from 2.1.3 to 2.1.*; I then updated the file hashes in the pkgbuild. makepkg then generates this error:

The specified SDK version '2.1.*' could not be parsed A compatible SDK version for global.json version: [2.1.*] from [/home/chris/packages/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409

I'm now past my knowledge to troubleshoot this.

allenhs commented on 2018-06-12 05:38

I get the same error as krprescott.

A compatible SDK version for global.json version: [2.1.3] from [/tmp/trizen-user/powershell/src/powershell/global.json] was not found Did you mean to run dotnet SDK commands? Please install dotnet SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409