Package Details: powershell 6.0.0.beta.1-1

Git Clone URL: https://aur.archlinux.org/powershell.git (read-only)
Package Base: powershell
Description: A cross-platform automation and configuration tool/framework
Upstream URL: https://github.com/PowerShell/PowerShell
Keywords: microsoft powershell shell
Licenses: MIT
Conflicts: powershell-git
Submitter: jsteel
Maintainer: kylesferrazza
Last Packager: kylesferrazza
Votes: 11
Popularity: 4.225364
First Submitted: 2016-11-26 22:16
Last Updated: 2017-05-25 21:45

Dependencies (5)

Required by (0)

Sources (4)

Latest Comments

kylesferrazza commented on 2017-05-25 21:48

Fixed and updated to work with dotnet 2.0!

kylesferrazza commented on 2017-05-16 01:31

fixed

dcbaker commented on 2017-05-16 01:00

the link function for creating /usr/bin/powershell is wrong, it ends up trying to create a symlink to the build directory rather than the actual install directory.
You need to remove the "$pkgdir" from the first path to ln.

I also noticed that powershell is installed with mode 744, which seems wrong, 755 seems correct.

kylesferrazza commented on 2017-05-15 11:26

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

nonyy commented on 2017-05-07 11:34

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

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:27

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.

kylesferrazza commented on 2017-04-29 13:26

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.

the_lf commented on 2017-04-10 03:18

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

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

All comments