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: 84
Popularity: 0.35
First Submitted: 2016-11-26 22:16 (UTC)
Last Updated: 2024-03-10 11:11 (UTC)

Latest Comments

« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 Next › Last »

kylesferrazza commented on 2017-05-15 11:26 (UTC)

Alpha 18 is working now! I will update to the dotnet 2.0 builds when they are working stably.

thamerla commented on 2017-05-07 11:34 (UTC)

I managed to release a working binary package based on the official ubuntu16.04 release: https://aur.archlinux.org/packages/powershell-bin

masterkorp commented on 2017-05-02 13:14 (UTC)

Hello, I am having troubles compiling powershell. /tmp/pkgbuild-1000/powershell/src/powershell Unhandled Exception: System.TypeInitializationException: The type initializer for 'Crypto' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CryptoInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Security.Cryptography.Native.OpenSsl': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Interop.CryptoInitializer.EnsureOpenSslInitialized() at Interop.CryptoInitializer..cctor() --- End of inner exception stack trace --- at Interop.Crypto..cctor() --- End of inner exception stack trace --- at Interop.Crypto.GetRandomBytes(Byte* buf, Int32 num) at System.IO.Path.GetCryptoRandomBytesOpenSsl(Byte* bytes, Int32 byteCount) at System.IO.Path.GetCryptoRandomBytes(Byte* bytes, Int32 byteCount) at System.IO.Path.GetRandomFileName() at Microsoft.DotNet.InternalAbstractions.TemporaryDirectory..ctor() at Microsoft.Extensions.EnvironmentAbstractions.DirectoryWrapper.CreateTemporaryDirectory() at Microsoft.DotNet.Configurer.NuGetPackagesArchiver..ctor() at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(INuGetCacheSentinel nugetCacheSentinel) at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient) at Microsoft.DotNet.Cli.Program.Main(String[] args) /tmp/pkgbuild-1000/powershell/src/build.sh: line 3: 310 Aborted (core dumped) dotnet restore /tmp/pkgbuild-1000/powershell/src/powershell/src/ResGen /tmp/pkgbuild-1000/powershell/src/powershell Unhandled Exception: System.TypeInitializationException: The type initializer for 'Crypto' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CryptoInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Security.Cryptography.Native.OpenSsl': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Interop.CryptoInitializer.EnsureOpenSslInitialized() at Interop.CryptoInitializer..cctor() --- End of inner exception stack trace --- at Interop.Crypto..cctor() --- End of inner exception stack trace --- at Interop.Crypto.GetRandomBytes(Byte* buf, Int32 num) at System.IO.Path.GetCryptoRandomBytesOpenSsl(Byte* bytes, Int32 byteCount) at System.IO.Path.GetCryptoRandomBytes(Byte* bytes, Int32 byteCount) at System.IO.Path.GetRandomFileName() at Microsoft.DotNet.InternalAbstractions.TemporaryDirectory..ctor() at Microsoft.Extensions.EnvironmentAbstractions.DirectoryWrapper.CreateTemporaryDirectory() at Microsoft.DotNet.Configurer.NuGetPackagesArchiver..ctor() at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(INuGetCacheSentinel nugetCacheSentinel) at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient) at Microsoft.DotNet.Cli.Program.Main(String[] args) /tmp/pkgbuild-1000/powershell/src/build.sh: line 6: 321 Aborted (core dumped) dotnet run -c Linux /tmp/pkgbuild-1000/powershell/src/powershell /tmp/pkgbuild-1000/powershell/src/powershell/src/TypeCatalogParser /tmp/pkgbuild-1000/powershell/src/powershell Unhandled Exception: System.TypeInitializationException: The type initializer for 'Crypto' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CryptoInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Security.Cryptography.Native.OpenSsl': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Interop.CryptoInitializer.EnsureOpenSslInitialized() at Interop.CryptoInitializer..cctor() --- End of inner exception stack trace --- at Interop.Crypto..cctor() --- End of inner exception stack trace --- at Interop.Crypto.GetRandomBytes(Byte* buf, Int32 num) at System.IO.Path.GetCryptoRandomBytesOpenSsl(Byte* bytes, Int32 byteCount) at System.IO.Path.GetCryptoRandomBytes(Byte* bytes, Int32 byteCount) at System.IO.Path.GetRandomFileName() at Microsoft.DotNet.InternalAbstractions.TemporaryDirectory..ctor() at Microsoft.Extensions.EnvironmentAbstractions.DirectoryWrapper.CreateTemporaryDirectory() at Microsoft.DotNet.Configurer.NuGetPackagesArchiver..ctor() at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(INuGetCacheSentinel nugetCacheSentinel) at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient) at Microsoft.DotNet.Cli.Program.Main(String[] args) /tmp/pkgbuild-1000/powershell/src/build.sh: line 10: 335 Aborted (core dumped) dotnet run -c Linux /tmp/pkgbuild-1000/powershell/src/powershell /tmp/pkgbuild-1000/powershell/src/powershell/src/TypeCatalogGen /tmp/pkgbuild-1000/powershell/src/powershell Unhandled Exception: System.TypeInitializationException: The type initializer for 'Crypto' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CryptoInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Security.Cryptography.Native.OpenSsl': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Interop.CryptoInitializer.EnsureOpenSslInitialized() at Interop.CryptoInitializer..cctor() --- End of inner exception stack trace --- at Interop.Crypto..cctor() --- End of inner exception stack trace --- at Interop.Crypto.GetRandomBytes(Byte* buf, Int32 num) at System.IO.Path.GetCryptoRandomBytesOpenSsl(Byte* bytes, Int32 byteCount) at System.IO.Path.GetCryptoRandomBytes(Byte* bytes, Int32 byteCount) at System.IO.Path.GetRandomFileName() at Microsoft.DotNet.InternalAbstractions.TemporaryDirectory..ctor() at Microsoft.Extensions.EnvironmentAbstractions.DirectoryWrapper.CreateTemporaryDirectory() at Microsoft.DotNet.Configurer.NuGetPackagesArchiver..ctor() at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(INuGetCacheSentinel nugetCacheSentinel) at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient) at Microsoft.DotNet.Cli.Program.Main(String[] args) /tmp/pkgbuild-1000/powershell/src/build.sh: line 14: 351 Aborted (core dumped) dotnet run -c Linux ../Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/CorePsTypeCatalog.cs powershell.inc /tmp/pkgbuild-1000/powershell/src/powershell Unhandled Exception: System.TypeInitializationException: The type initializer for 'Crypto' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CryptoInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Security.Cryptography.Native.OpenSsl': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Interop.CryptoInitializer.EnsureOpenSslInitialized() at Interop.CryptoInitializer..cctor() --- End of inner exception stack trace --- at Interop.Crypto..cctor() --- End of inner exception stack trace --- at Interop.Crypto.GetRandomBytes(Byte* buf, Int32 num) at System.IO.Path.GetCryptoRandomBytesOpenSsl(Byte* bytes, Int32 byteCount) at System.IO.Path.GetCryptoRandomBytes(Byte* bytes, Int32 byteCount) at System.IO.Path.GetRandomFileName() at Microsoft.DotNet.InternalAbstractions.TemporaryDirectory..ctor() at Microsoft.Extensions.EnvironmentAbstractions.DirectoryWrapper.CreateTemporaryDirectory() at Microsoft.DotNet.Configurer.NuGetPackagesArchiver..ctor() at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(INuGetCacheSentinel nugetCacheSentinel) at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient) at Microsoft.DotNet.Cli.Program.Main(String[] args) /tmp/pkgbuild-1000/powershell/src/build.sh: line 18: 369 Aborted (core dumped) dotnet build -c Linux

kylesferrazza commented on 2017-04-29 13:26 (UTC)

I will be able to fix this as soon as dotnet and dotnetsdk start working with clang 4. I cannot get dotnet to compile at all, even after downgrading clang and llvm.

jade1 commented on 2017-04-10 03:18 (UTC)

Just reproduced https://github.com/PowerShell/PowerShell/issues/3476. Workaround is in there, but it will probably be fixed in upstream.

kylesferrazza commented on 2017-03-27 19:18 (UTC)

@optlink Ah ok. Will update pkgbuild accordingly for next release.

<deleted-account> commented on 2017-03-27 17:37 (UTC)

@kylesferrazza Based on my previous comment I believe these are what you are looking for: https://github.com/PowerShell/PowerShell/issues/3140 https://github.com/PowerShell/PowerShell/pull/3398 The referenced merge happened after the release of alpha 17 so we will have to wait until the next one.

kylesferrazza commented on 2017-03-24 17:28 (UTC) (edited on 2017-06-21 18:09 (UTC) by kylesferrazza)

I tried a bunch of different configurations with dotnet-cli. Dotnet-bin will need to be used until dotnet issue is fixed. Unless someone else is able to figure it out? https://github.com/PowerShell/PowerShell/issues/673

patch3 commented on 2017-03-22 18:38 (UTC) (edited on 2017-03-22 18:49 (UTC) by patch3)

Am also having the same issue. Going to give dotnet-bin a go. Edit: Worked like a charm.