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.95
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 .. 19 Next › Last »

eliohann commented on 2018-03-24 12:41 (UTC)

Hi,

There is no install-module cmdlet present. I did post on official github and can you take a look to the answer : https://github.com/PowerShell/PowerShell/issues/6472

So you can modify your build to let us have access to install-module

kylesferrazza commented on 2018-03-19 16:39 (UTC)

I added the TERM fix to the PKGBUILD until the problem is fixed upstream.

cortiz commented on 2018-03-19 14:48 (UTC)

Add TERM=xterm $srcdir/build.sh if build fails, looks like it's a ncurses 6.1+ in the dotnet corefx

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.