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

Latest Comments

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

simona commented on 2018-03-16 08:29 (UTC)

MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. System.InvalidOperationException: The terminfo database is invalid. [...] at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine) in E:\A_work\82\s\src\MSBuild\XMake.cs:line 755 at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args) in E:\A_work\82\s\src\MSBuild\XMake.cs:line 216

nrh1703 commented on 2018-02-28 22:59 (UTC)

There is a warning that suggests a language problem:

/usr/bin/sh : warning : setlocale: LC_ALL: cannot change locale (en_US.UTF-8) [/tmp/yaourt-tmp-myuser/aur-powershell/src/powershell/src/powershell-unix/powershell-unix.csproj]

Which resulted in the following build errors:

MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. System.InvalidOperationException: The terminfo database is invalid. at System.TermInfo.Database..ctor(String term, Byte[] data) at System.TermInfo.Database.ReadDatabase(String term, String directoryPath) at System.TermInfo.Database.ReadDatabase(String term) at System.TermInfo.Database.ReadActiveDatabase() at System.ConsolePal.TerminalFormatStrings.<>c.<.cctor>b__27_0() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at System.ConsolePal.EnsureInitializedCore() at System.ConsolePal.ControlCHandlerRegistrar.Register() at System.Console.add_CancelKeyPress(ConsoleCancelEventHandler value) at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine) in E:\A_work\17\s\src\MSBuild\XMake.cs:line 526

Unhandled Exception: System.InvalidOperationException: The terminfo database is invalid. at System.TermInfo.Database..ctor(String term, Byte[] data) at System.TermInfo.Database.ReadDatabase(String term, String directoryPath) at System.TermInfo.Database.ReadDatabase(String term) at System.TermInfo.Database.ReadActiveDatabase() at System.ConsolePal.TerminalFormatStrings.<>c.<.cctor>b__27_0() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at System.ConsolePal.EnsureInitializedCore() at System.ConsolePal.ControlCHandlerRegistrar.Register() at System.Console.add_CancelKeyPress(ConsoleCancelEventHandler value) at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine) in E:\A_work\17\s\src\MSBuild\XMake.cs:line 748 at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args) in E:\A_work\17\s\src\MSBuild\XMake.cs:line 215

I resolved it by adding "en_US.UTF-8 UTF-8" to /etc/locale.gen and running locale-gen. Hope this helps others.

kylesferrazza commented on 2018-02-26 05:09 (UTC)

@krprescott That's a strange error - can you pastebin a whole build?

kylesferrazza commented on 2018-02-22 23:58 (UTC)

@mgd It built successfully by setting TERM to xterm? What is your term value usually? I use "xterm-256color"

mgd commented on 2018-02-18 12:42 (UTC)

I had a problem building this package:

==> Beginne build()... MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. System.InvalidOperationException: The terminfo database is invalid. at System.TermInfo.Database..ctor(String term, Byte[] data) at System.TermInfo.Database.ReadDatabase(String term, String directoryPath) at System.TermInfo.Database.ReadDatabase(String term) at System.TermInfo.Database.ReadActiveDatabase() at System.ConsolePal.TerminalFormatStrings.<>c.<.cctor>b__27_0() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at System.ConsolePal.EnsureInitializedCore() at System.ConsolePal.ControlCHandlerRegistrar.Register() at System.Console.add_CancelKeyPress(ConsoleCancelEventHandler value) at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine) in E:\A_work\17\s\src\MSBuild\XMake.cs:line 526

Unhandled Exception: System.InvalidOperationException: The terminfo database is invalid. at System.TermInfo.Database..ctor(String term, Byte[] data) at System.TermInfo.Database.ReadDatabase(String term, String directoryPath) at System.TermInfo.Database.ReadDatabase(String term) at System.TermInfo.Database.ReadActiveDatabase() at System.ConsolePal.TerminalFormatStrings.<>c.<.cctor>b__27_0() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at System.ConsolePal.EnsureInitializedCore() at System.ConsolePal.ControlCHandlerRegistrar.Register() at System.Console.add_CancelKeyPress(ConsoleCancelEventHandler value) at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine) in E:\A_work\17\s\src\MSBuild\XMake.cs:line 748 at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args) in E:\A_work\17\s\src\MSBuild\XMake.cs:line 215 ==> FEHLER: Ein Fehler geschah in build(). Breche ab...

Searching for this error I found https://bugs.archlinux.org/task/57260 There two workarounds are presented: 1) Downgrading ncurses-6.1-3 to ncurses-6.0-4 2) Setting TERM=xterm (e.g. invoke 'TERM=xterm makepkg')

I could not try 1) because I did not find the ncurses package on the archlinux website. However 2) worked for me.

Kind regards, Michael

kylesferrazza commented on 2018-02-16 19:29 (UTC) (edited on 2018-02-16 19:29 (UTC) by kylesferrazza)

@ghotrix

I don't think so - powershell-bin comes with Install-Module though.

kylesferrazza commented on 2018-02-16 19:28 (UTC) (edited on 2018-02-16 19:29 (UTC) by kylesferrazza)

@Daniel_GT

Is it fixed in 6.0.1?

ghotrix commented on 2018-02-16 17:22 (UTC)

Wondering whether it should contain Install-Module cmdlet or not? In my case it doesn't which is very frustrating.

Daniel_GT commented on 2018-01-12 11:15 (UTC)

Hi @kylesferrazza I'd be grateful if you could take a look at https://pastebin.com/mM6W3Dtx, I'm getting a build error and would appreciate your help...

/opt/dotnet/sdk/2.1.4/Sdks/Microsoft.NET.Sdk/build/Microsoft.NET.GenerateAssemblyInfo.targets(146,5): error MSB4044: The "GetAssemblyVersion" task was not given a value for the required parameter "NuGetVersion". [/data/source/powershell/src/powershell/src/Microsoft.PowerShell.CoreCLR.Eventing/Microsoft.PowerShell.CoreCLR.Eventing.csproj]

...Is this something you've come across, am I missing something obvious? Thanks.