question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Arch Linux] MSBUILD : error MSB1025

See original GitHub issue

.NET Command Line Tools (2.1.4)

Product Information: Version: 2.1.4 Commit SHA-1 hash: 5e8add2190

Runtime Environment: OS Name: arch OS Version:
OS Platform: Linux RID: linux-x64 Base Path: /opt/dotnet/sdk/2.1.4/

Microsoft .NET Core Shared Framework Host Version : 2.0.5 Build : 17373eb129b3b05aa18ece963f8795d65ef8ea54

Attempting to run dotnet on Arch Linux SERVER restore ends with an error. And it is very strange. I have a PC with Arch Linux and Gnome and it works there perfectly (checked just now). However, I rented and checked 2 different servers dedicated to OVH from Arch Linux without gui and there are always these errors. Clean systems, the only difference that I have on a PC with Gnome and there is only a server version. Regardless of what project it is. On the example of neo-cli:

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.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.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.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.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

Steps to reproduce:

git clone https://github.com/neo-project/neo-cli
cd neo-cli
dotnet restore

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

28reactions
peterhuenecommented, Feb 20, 2018

Per @lewurm on the corefx issue: another workaround to this issue when using a 6.1 ncurses is to invoke dotnet with TERM=xterm:

$ TERM=xterm dotnet
2reactions
wfurtcommented, Mar 10, 2018

New terminfo database start using some new features and older dotnet is not able to parse it correctly. ‘xterm’ however did not change so everything works as it used to.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FS#57260 : [dotnet-sdk] MSBUILD : error MSB1025
Regardless of what project it is. On the example of neo-cli: MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. System....
Read more >
[Arch Linux] MSBUILD : error MSB1025
NET Command Line Tools (2.1.4). Product Information: Version: 2.1.4. Commit SHA-1 hash: 5e8add2190. Runtime Environment: OS Name: arch
Read more >
[SOLVED] Woes building F# projects using ionide and VS ...
local/share/dotnetcore/dotnet restore MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. System.
Read more >
Arch Linux Bugtracker:: All Projects: Tasklist
ID Project Task Type Category Severity 72767 Community Packages Bug Report Packages High 72738 Community Packages Bug Report Packages Medium 70371 Community Packages Bug Report Packages...
Read more >
msbuild-stable missing from the AUR page, causing ...
and when i looked up msnuild-stable i found an AUR page of it (https://aur.archlinux.org/pkgbase/msbuild-stable), but it redirects to 404 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found