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.56
First Submitted: 2016-11-26 22:16 (UTC)
Last Updated: 2025-01-31 11:17 (UTC)

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 21 Next › Last »

kylesferrazza commented on 2018-06-13 17:23 (UTC)

@Anaximander

Great!

Anaximander commented on 2018-06-13 17:22 (UTC) (edited on 2018-06-13 17:23 (UTC) by Anaximander)

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 (UTC)

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 (UTC)

@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 (UTC) (edited on 2018-06-13 13:46 (UTC) by Anaximander)

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 (UTC)

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

krprescott commented on 2018-06-02 14:04 (UTC)

I get errors when building this package. Here is the dotnet packages I have installed: dotnet-host 2.1.0-1 dotnet-runtime 2.1.0-1 dotnet-sdk 2.1.300-1 Here is the build information: Starting build()... A compatible SDK version for global.json version: [2.1.3] from [/home/kprescott/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...

kylesferrazza commented on 2018-05-14 14:50 (UTC) (edited on 2018-05-14 14:51 (UTC) by kylesferrazza)

@octav, let me know if it runs for you with env TERM=xterm pwsh

eddyready commented on 2018-05-12 10:28 (UTC)

Hi, I am getting the following download errors from Nuget

/opt/dotnet/sdk/2.1.105/NuGet.targets(104,5): error : Failed to download package 'runtime.linux-x64.Microsoft.NETCore.App.2.0.0' from 'https://api.nuget.org/v3-flatcontainer/runtime.linux-x64.microsoft.netcore.app/2.0.0/runtime.linux-x64.microsoft.netcore.app.2.0.0.nupkg'.

/opt/dotnet/sdk/2.1.105/NuGet.targets(104,5): error : Failed to download package 'runtime.linux-x64.Microsoft.NETCore.App.2.0.0' from 'https://api.nuget.org/v3-flatcontainer/runtime.linux-x64.microsoft.netcore.app/2.0.0/runtime.linux-x64.microsoft.netcore.app.2.0.0.nupkg'.